Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
{
meta: {
createdAt: '2022-09-20T13:09:29.471Z',
host: 'https://api.openverse.org',
resHumanReadable: true,
resUncompressed: true,
},
req: {
headers: {
connection: 'keep-alive',
},
url: '/v1/audio/?q=ecommerce&peaks=true',
method: 'GET',
body: '',
},
res: {
status: 200,
headers: {
date: [
'Tue, 20 Sep 2022 13:09:29 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',
],
'x-request-id': [
'd8c2b3335b9a410d94dce48219bcb6cc',
],
'cache-control': [
'max-age=14400',
],
'cf-cache-status': [
'HIT',
],
age: [
'4163',
],
'last-modified': [
'Tue, 20 Sep 2022 12:00:06 GMT',
],
'strict-transport-security': [
'max-age=15552000; includeSubDomains; preload',
],
server: [
'cloudflare',
],
'cf-ray': [
'74dacbbbea7ecc0b-IST',
],
'content-encoding': [
'br',
],
'alt-svc': [
'h3=":443"; ma=86400, h3-29=":443"; ma=86400',
],
},
body: {
result_count: 0,
page_count: 1,
page_size: 20,
page: 1,
results: [],
},
},
}