Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

2.2 KB
Raw Blame
{
    meta: {
        createdAt: '2023-07-26T07:36:08.691Z',
        host: 'https://api.openverse.org',
        resHumanReadable: true,
        resUncompressed: true,
    },
    req: {
        headers: {
            connection: 'keep-alive',
        },
        url: '/v1/audio/?q=SearchPage429error&peaks=true',
        method: 'GET',
        body: '',
    },
    res: {
      status: 429,
      headers: {
        date: [
          'Mon, 10 Jul 2023 06:54:45 GMT',
        ],
        'content-type': [
          'application/json',
        ],
        'transfer-encoding': [
          'chunked',
        ],
        connection: [
          'keep-alive',
        ],
        vary: [
          'Accept, Authorization, origin, Accept-Encoding',
        ],
        allow: [
          'GET, HEAD, OPTIONS',
        ],
        'x-ratelimit-limit-anon_burst': [
          '5/hour',
        ],
        'x-ratelimit-available-anon_burst': [
          '3',
        ],
        'x-ratelimit-limit-anon_sustained': [
          '100/day',
        ],
        'x-ratelimit-available-anon_sustained': [
          '98',
        ],
        'x-ratelimit-limit-anon_thumbnail': [
          '150/minute',
        ],
        'x-ratelimit-available-anon_thumbnail': [
          '148',
        ],
        'x-frame-options': [
          'DENY',
        ],
        'x-content-type-options': [
          'nosniff',
        ],
        'referrer-policy': [
          'same-origin',
        ],
        'cross-origin-opener-policy': [
          'same-origin',
        ],
        'access-control-allow-origin': [
          '*',
        ],
        'cache-control': [
          'max-age=14400',
        ],
        'cf-cache-status': [
          'MISS',
        ],
        'last-modified': [
          'Mon, 10 Jul 2023 06:54:45 GMT',
        ],
        'strict-transport-security': [
          'max-age=15552000; includeSubDomains; preload',
        ],
        server: [
          'cloudflare',
        ],
        'cf-ray': [
          '7e46e5abb959b9e1-OTP',
        ],
        'content-encoding': [
          'br',
        ],
        'alt-svc': [
          'h3=":443"; ma=86400',
        ],
      },
      body: {
        detail: 'Request was throttled. Expected available in 3600 seconds.',
      },
    },
}