Skip to content

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

3.6 KB
Raw Blame
{
    meta: {
        createdAt: '2022-08-27T13:36:46.998Z',
        host: 'https://api.openverse.org',
        resHumanReadable: true,
        resUncompressed: true,
    },
    req: {
        headers: {
            connection: 'keep-alive',
        },
        url: '/v1/images/f9384235-b72e-4f1e-9b05-e1b116262a29/',
        method: 'GET',
        body: '',
    },
    res: {
        status: 200,
        headers: {
            date: [
                'Sat, 27 Aug 2022 13:36:47 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': [
                '60eaf9a0f454423cb771c293ff5d3649',
            ],
            'cache-control': [
                'max-age=14400',
            ],
            'cf-cache-status': [
                'MISS',
            ],
            'last-modified': [
                'Sat, 27 Aug 2022 13:36:47 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': [
                '741532b7cfd29208-FRA',
            ],
            'content-encoding': [
                'br',
            ],
            'alt-svc': [
                'h3=":443"; ma=86400, h3-29=":443"; ma=86400',
            ],
        },
        body: {
            id: 'f9384235-b72e-4f1e-9b05-e1b116262a29',
            title: 'Cat',
            foreign_landing_url: 'https://www.flickr.com/photos/7788419@N05/15218475961',
            url: 'https://live.staticflickr.com/3903/15218475961_963a4c116e_b.jpg',
            creator: 'strogoscope/ photographer ? creator',
            creator_url: 'https://www.flickr.com/photos/7788419@N05',
            license: 'by',
            license_version: '2.0',
            license_url: 'https://creativecommons.org/licenses/by/2.0/',
            provider: 'flickr',
            source: 'flickr',
            category: null,
            filesize: null,
            filetype: null,
            tags: [
                {
                    name: 'cat',
                },
            ],
            attribution: '"Cat" by strogoscope is licensed under CC BY 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by/2.0/.',
            fields_matched: [],
            mature: null,
            height: 678,
            width: 1024,
            thumbnail: 'http://localhost:49153/v1/images/f9384235-b72e-4f1e-9b05-e1b116262a29/thumb/',
            detail_url: 'http://localhost:49153/v1/images/f9384235-b72e-4f1e-9b05-e1b116262a29/',
            related_url: 'http://localhost:49153/v1/images/f9384235-b72e-4f1e-9b05-e1b116262a29/related/',
        },
    },
}