Skip to content

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

2.8 KB
Raw Blame
{
    meta: {
        createdAt: '2022-03-28T15:05:18.852Z',
        host: 'https://api.openverse.org',
        resHumanReadable: true,
    },
    req: {
        headers: {
            accept: 'application/json, text/plain, */*',
            connection: 'close',
        },
        url: '/v1/audio/stats/',
        method: 'GET',
        body: '',
    },
    res: {
        status: 200,
        headers: {
            date: [
                'Mon, 28 Mar 2022 15:05:19 GMT',
            ],
            'content-type': [
                'application/json',
            ],
            'content-length': [
                '426',
            ],
            connection: [
                'close',
            ],
            vary: [
                'Accept, Authorization, Origin',
            ],
            allow: [
                'GET, HEAD, OPTIONS',
            ],
            'x-frame-options': [
                'DENY',
            ],
            'x-content-type-options': [
                'nosniff',
            ],
            'referrer-policy': [
                'same-origin',
            ],
            'cross-origin-opener-policy': [
                'same-origin',
            ],
            'cache-control': [
                'max-age=14400',
            ],
            'cf-cache-status': [
                'HIT',
            ],
            age: [
                '102890',
            ],
            'last-modified': [
                'Sun, 27 Mar 2022 10:30:29 GMT',
            ],
            'accept-ranges': [
                'bytes',
            ],
            'expect-ct': [
                'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
            ],
            'strict-transport-security': [
                'max-age=15552000; includeSubDomains; preload',
            ],
            server: [
                'cloudflare',
            ],
            'cf-ray': [
                '6f314366883668b0-BUD',
            ],
            'alt-svc': [
                'h3=":443"; ma=86400, h3-29=":443"; ma=86400',
            ],
        },
        body: [
            {
                source_name: 'jamendo',
                display_name: 'Jamendo',
                source_url: 'https://www.jamendo.com/start',
                logo_url: null,
                media_count: 47262,
            },
            {
                source_name: 'wikimedia_audio',
                display_name: 'Wikimedia Commons',
                source_url: 'https://commons.wikimedia.org/wiki/Main_Page',
                logo_url: null,
                media_count: 1238,
            },
            {
                source_name: 'freesound',
                display_name: 'Freesound',
                source_url: 'https://freesound.org/',
                logo_url: null,
                media_count: 47458,
            },
        ],
    },
}