Skip to content

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

8.2 KB
Raw Blame
{
    meta: {
        createdAt: '2022-08-19T07:14:04.537Z',
        host: 'https://api.openverse.org',
        resHumanReadable: true,
    },
    req: {
        headers: {
            connection: 'close',
        },
        url: '/v1/audio/632d0076-fdbd-4919-8b8f-b498ef246ee8/',
        method: 'GET',
        body: '',
    },
    res: {
        status: 200,
        headers: {
            date: [
                'Fri, 19 Aug 2022 07:14:05 GMT',
            ],
            'content-type': [
                'application/json',
            ],
            'transfer-encoding': [
                'chunked',
            ],
            connection: [
                'close',
            ],
            vary: [
                'Accept-Encoding, 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',
            ],
            'x-request-id': [
                'ffc290a42fbc4b489570cc58f045a3f9',
            ],
            'cache-control': [
                'max-age=14400',
            ],
            'cf-cache-status': [
                'MISS',
            ],
            'last-modified': [
                'Fri, 19 Aug 2022 07:14:05 GMT',
            ],
            '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': [
                '73d1171c7cd3624d-OTP',
            ],
            'alt-svc': [
                'h3=":443"; ma=86400, h3-29=":443"; ma=86400',
            ],
        },
        body: {
            id: '632d0076-fdbd-4919-8b8f-b498ef246ee8',
            title: 'RainBirdsThunder.wav',
            foreign_landing_url: 'https://freesound.org/people/NobodyYouKnowOf/sounds/456258',
            url: 'https://freesound.org/data/previews/456/456258_3895722-hq.mp3',
            creator: 'NobodyYouKnowOf',
            creator_url: 'https://freesound.org/people/NobodyYouKnowOf',
            license: 'cc0',
            license_version: '1.0',
            license_url: 'https://creativecommons.org/publicdomain/zero/1.0/',
            provider: 'freesound',
            source: 'freesound',
            category: null,
            genres: null,
            filesize: 4599041,
            filetype: 'mp3',
            tags: [
                {
                    name: 'thunder',
                },
                {
                    name: 'birds',
                },
                {
                    name: 'rain',
                },
            ],
            alt_files: [
                {
                    url: 'https://freesound.org/apiv2/sounds/456258/download/',
                    bit_rate: '1378000',
                    filesize: '36024182',
                    filetype: 'wav',
                    sample_rate: '44100',
                },
            ],
            attribution: '"RainBirdsThunder.wav" by NobodyYouKnowOf is marked with CC0 1.0. To view the terms, visit https://creativecommons.org/publicdomain/zero/1.0/.',
            fields_matched: [],
            mature: null,
            audio_set: null,
            duration: 204218,
            bit_rate: 128000,
            sample_rate: null,
            thumbnail: null,
            detail_url: 'http://localhost:49153/v1/audio/632d0076-fdbd-4919-8b8f-b498ef246ee8/',
            related_url: 'http://localhost:49153/v1/audio/632d0076-fdbd-4919-8b8f-b498ef246ee8/related/',
            waveform: 'http://localhost:49153/v1/audio/632d0076-fdbd-4919-8b8f-b498ef246ee8/waveform/',
            peaks: [
                0.34742,
                0.27178,
                0.17808,
                0.17306,
                0.18982,
                0.17095,
                0.16612,
                0.17354,
                0.15642,
                0.16125,
                0.1654,
                0.17214,
                0.15433,
                0.16402,
                0.15616,
                0.15761,
                0.15049,
                0.2474,
                0.255,
                0.17558,
                0.16732,
                0.16979,
                0.23521,
                0.16891,
                0.16645,
                0.14026,
                0.13582,
                0.14201,
                0.16015,
                0.15626,
                0.15196,
                0.15743,
                0.14543,
                0.14751,
                0.1407,
                0.13542,
                0.1178,
                0.13999,
                0.1088,
                0.10955,
                0.12437,
                0.11027,
                0.12266,
                0.10602,
                0.12082,
                0.12356,
                0.1378,
                0.17743,
                0.12311,
                0.14041,
                0.12109,
                0.42197,
                0.14782,
                0.16947,
                0.12462,
                0.12275,
                0.11437,
                0.14502,
                0.11937,
                0.10656,
                0.10329,
                0.11494,
                0.09457,
                0.08825,
                0.09278,
                0.08476,
                0.08529,
                0.08088,
                0.08836,
                0.08594,
                0.08868,
                0.08804,
                0.09643,
                0.08795,
                0.09312,
                0.09466,
                0.10056,
                0.09564,
                0.09787,
                0.10441,
                0.08564,
                0.09716,
                0.0897,
                0.09091,
                0.08352,
                0.09423,
                0.08315,
                0.08349,
                0.09389,
                0.09547,
                0.10878,
                0.0888,
                0.09445,
                0.08146,
                0.10465,
                0.09482,
                0.09781,
                0.0973,
                0.22495,
                0.22241,
                0.17811,
                0.12765,
                0.11112,
                0.10493,
                0.0888,
                0.09495,
                0.08774,
                0.11822,
                0.25697,
                0.0947,
                0.0964,
                0.10025,
                0.09818,
                0.0925,
                0.09378,
                0.09553,
                0.09567,
                0.09337,
                0.0911,
                0.10324,
                0.09891,
                0.09095,
                0.09789,
                0.09269,
                0.08729,
                0.09267,
                0.09628,
                0.09508,
                0.09525,
                0.09848,
                0.10014,
                0.09946,
                0.09996,
                0.09622,
                0.09112,
                0.08742,
                0.09072,
                0.11115,
                0.09944,
                0.1014,
                0.09726,
                0.0946,
                0.09082,
                0.09651,
                0.09963,
                0.09517,
                0.08795,
                0.08346,
                0.18058,
                0.14573,
                0.09743,
                0.09426,
                0.10847,
                0.18764,
                0.10121,
                0.09172,
                0.08919,
                0.08271,
                0.09083,
                0.09805,
                0.09288,
                0.09367,
                0.08266,
                0.09254,
                0.09708,
                0.09507,
                0.07788,
                0.07484,
                0.07758,
                0.0807,
                0.04888,
            ],
        },
    },
}