Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
{
meta: {
createdAt: '2022-03-28T16:01:01.417Z',
host: 'https://api.openverse.org',
resHumanReadable: true,
resUncompressed: true,
},
req: {
headers: {
connection: 'keep-alive',
pragma: 'no-cache',
'cache-control': 'no-cache',
'sec-ch-ua': '',
accept: 'application/json, text/plain, */*',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '',
'sec-fetch-site': 'same-site',
'sec-fetch-mode': 'cors',
'sec-fetch-dest': 'empty',
referer: 'http://localhost:8443/',
'accept-encoding': 'gzip, deflate, br',
},
url: '/v1/images/?q=243f6a8885a308d3',
method: 'GET',
body: '',
},
res: {
status: 200,
headers: {
date: [
'Mon, 28 Mar 2022 16:01:01 GMT',
],
'content-type': [
'application/json',
],
'transfer-encoding': [
'chunked',
],
connection: [
'keep-alive',
],
vary: [
'Accept, Authorization, Origin, Accept-Encoding',
],
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',
],
'cache-control': [
'max-age=14400',
],
'cf-cache-status': [
'HIT',
],
age: [
'106104',
],
'last-modified': [
'Sun, 27 Mar 2022 10:32:37 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': [
'6f319501bd1ad40b-BUD',
],
'content-encoding': [
'br',
],
'alt-svc': [
'h3=":443"; ma=86400, h3-29=":443"; ma=86400',
],
},
body: {
result_count: 0,
page_count: 0,
page_size: 20,
page: 1,
results: [],
},
},
}