Skip to content

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

9.0 KB
Raw Blame
{
    meta: {
        createdAt: '2022-08-27T13:36:01.022Z',
        host: 'https://api.openverse.org',
        resHumanReadable: true,
        resUncompressed: true,
    },
    req: {
        headers: {
            connection: 'keep-alive',
        },
        url: '/v1/audio/2e38ac1e-830c-4e9c-b13d-2c9a1ad53f95/',
        method: 'GET',
        body: '',
    },
    res: {
        status: 200,
        headers: {
            date: [
                'Sat, 27 Aug 2022 13:36:01 GMT',
            ],
            'content-type': [
                'application/json',
            ],
            'transfer-encoding': [
                'chunked',
            ],
            connection: [
                'keep-alive',
            ],
            vary: [
                'Accept-Encoding, Accept, Authorization, Origin',
            ],
            allow: [
                'GET, HEAD, OPTIONS',
            ],
            'x-frame-options': [
                'DENY',
            ],
            'access-control-allow-origin': [
                '*',
            ],
            'x-content-type-options': [
                'nosniff',
            ],
            'referrer-policy': [
                'same-origin',
            ],
            'cross-origin-opener-policy': [
                'same-origin',
            ],
            'x-request-id': [
                '5d1c9629c5e94383aa4aeb4ae689d0c3',
            ],
            'cache-control': [
                'max-age=14400',
            ],
            'cf-cache-status': [
                'HIT',
            ],
            age: [
                '89060',
            ],
            'last-modified': [
                'Fri, 26 Aug 2022 12:51:41 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': [
                '741531988ecc9186-FRA',
            ],
            'content-encoding': [
                'br',
            ],
            'alt-svc': [
                'h3=":443"; ma=86400, h3-29=":443"; ma=86400',
            ],
        },
        body: {
            id: '2e38ac1e-830c-4e9c-b13d-2c9a1ad53f95',
            title: 'Hello Black & White Bird',
            foreign_landing_url: 'https://www.jamendo.com/track/101464',
            url: 'https://prod-1.storage.jamendo.com/?trackid=101464&format=mp32',
            creator: 'The Old Dada Weatherman',
            creator_url: 'https://www.jamendo.com/artist/6079/cynicalsense',
            license: 'by-nc-sa',
            license_version: '3.0',
            license_url: 'https://creativecommons.org/licenses/by-nc-sa/3.0/',
            provider: 'jamendo',
            source: 'jamendo',
            category: 'music',
            genres: [
                'pop',
                'singersongwriter',
            ],
            filesize: null,
            filetype: 'mp32',
            tags: [
                {
                    name: 'acousticguitar',
                },
                {
                    name: 'happy',
                },
                {
                    name: 'male',
                },
                {
                    name: 'sentimental',
                },
                {
                    name: 'speed_medium',
                },
                {
                    name: 'strings',
                },
                {
                    name: 'vocal',
                },
            ],
            alt_files: null,
            attribution: '"Hello Black & White Bird" by The Old Dada Weatherman is licensed under CC BY-NC-SA 3.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/3.0/.',
            fields_matched: [],
            mature: null,
            audio_set: {
                title: 'The Dada Weatherman (In Airplane Trouble)',
                foreign_landing_url: 'https://www.jamendo.com/album/11348/the-dada-weatherman-in-airplane-trouble',
                creator: 'The Old Dada Weatherman',
                creator_url: 'https://www.jamendo.com/artist/6079/cynicalsense',
                url: null,
                filesize: null,
                filetype: null,
            },
            duration: 206000,
            bit_rate: null,
            sample_rate: null,
            thumbnail: 'http://localhost:49153/v1/audio/2e38ac1e-830c-4e9c-b13d-2c9a1ad53f95/thumb/',
            detail_url: 'http://localhost:49153/v1/audio/2e38ac1e-830c-4e9c-b13d-2c9a1ad53f95/',
            related_url: 'http://localhost:49153/v1/audio/2e38ac1e-830c-4e9c-b13d-2c9a1ad53f95/related/',
            waveform: 'http://localhost:49153/v1/audio/2e38ac1e-830c-4e9c-b13d-2c9a1ad53f95/waveform/',
            peaks: [
                0.02675,
                0.27565,
                0.2679,
                0.23959,
                0.22644,
                0.29817,
                0.24629,
                0.2772,
                0.28962,
                0.28973,
                0.32376,
                0.38114,
                0.35828,
                0.39978,
                0.41544,
                0.31784,
                0.31368,
                0.41178,
                0.37089,
                0.46305,
                0.34795,
                0.32195,
                0.275,
                0.3127,
                0.38984,
                0.39726,
                0.40985,
                0.37952,
                0.55234,
                0.42126,
                0.52033,
                0.40126,
                0.44173,
                0.45127,
                0.40942,
                0.48323,
                0.43572,
                0.43303,
                0.40242,
                0.47704,
                0.38604,
                0.53222,
                0.40217,
                0.40991,
                0.41089,
                0.58798,
                0.45366,
                0.41167,
                0.47058,
                0.53134,
                0.50247,
                0.49552,
                0.48716,
                0.54713,
                0.48533,
                0.47867,
                0.3726,
                0.40465,
                0.43104,
                0.69888,
                0.42831,
                0.51316,
                0.46823,
                0.54819,
                0.48478,
                0.46684,
                0.39132,
                0.40641,
                0.40411,
                0.47971,
                0.37615,
                0.36552,
                0.41633,
                0.37098,
                0.44011,
                0.41915,
                0.35967,
                0.22401,
                0.26654,
                0.27132,
                0.31093,
                0.32013,
                0.35047,
                0.38305,
                0.43941,
                0.42189,
                0.38738,
                0.53917,
                0.43381,
                0.47603,
                0.33343,
                0.34684,
                0.36955,
                0.49731,
                0.42995,
                0.40623,
                0.38688,
                0.39142,
                0.45319,
                0.40357,
                0.36856,
                0.28129,
                0.35675,
                0.44017,
                0.57572,
                0.42687,
                0.45271,
                0.41909,
                0.52167,
                0.42126,
                0.41221,
                0.40709,
                0.45013,
                0.45207,
                0.38827,
                0.3511,
                0.32846,
                0.37309,
                0.45431,
                0.49202,
                0.39807,
                0.38502,
                0.36525,
                0.39919,
                0.40189,
                0.48847,
                0.48171,
                0.3473,
                0.46419,
                0.36279,
                0.35736,
                0.42808,
                0.47121,
                0.69104,
                0.42794,
                0.38421,
                0.47267,
                0.47278,
                0.42152,
                0.50563,
                0.36337,
                0.49822,
                0.33203,
                0.44716,
                0.47737,
                0.37755,
                0.44044,
                0.42448,
                0.45328,
                0.38662,
                0.39431,
                0.44033,
                0.44093,
                0.48815,
                0.26265,
                0.19973,
                0.245,
                0.25604,
                0.27532,
                0.20574,
                0.24045,
                0.30336,
                0.38543,
                0.18725,
                0.05654,
                0.02484,
                0.00791,
                0.00194,
                0.00014,
                0.00003,
                0.00003,
                0.00003,
            ],
        },
    },
}