Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
{
meta: {
createdAt: '2022-08-26T12:51:39.521Z',
host: 'https://api.openverse.org',
resHumanReadable: true,
resUncompressed: true,
},
req: {
headers: {
connection: 'keep-alive',
},
url: '/v1/images/da5cb478-c093-4d62-b721-cda18797e3fb/',
method: 'GET',
body: '',
},
res: {
status: 200,
headers: {
date: [
'Fri, 26 Aug 2022 12:51:40 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': [
'b138f46ef36e40b6b4a00561c8c8cc9f',
],
'cache-control': [
'max-age=14400',
],
'cf-cache-status': [
'MISS',
],
'last-modified': [
'Fri, 26 Aug 2022 12:51:40 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': [
'740cb33dae9d5c74-FRA',
],
'content-encoding': [
'br',
],
'alt-svc': [
'h3=":443"; ma=86400, h3-29=":443"; ma=86400',
],
},
body: {
id: 'da5cb478-c093-4d62-b721-cda18797e3fb',
title: 'bird',
foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/2385230430',
url: 'https://live.staticflickr.com/2129/2385230430_a699b25f12_b.jpg',
creator: 'Chester Zoo',
creator_url: 'https://www.flickr.com/photos/8488209@N07',
license: 'by-nd',
license_version: '2.0',
license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
provider: 'flickr',
source: 'flickr',
category: null,
filesize: null,
filetype: null,
tags: [
{
name: 'bird',
},
],
attribution: '"bird" by Chester Zoo is licensed under CC BY-ND 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nd/2.0/.',
fields_matched: [],
mature: null,
height: 768,
width: 1024,
thumbnail: 'http://localhost:49153/v1/images/da5cb478-c093-4d62-b721-cda18797e3fb/thumb/',
detail_url: 'http://localhost:49153/v1/images/da5cb478-c093-4d62-b721-cda18797e3fb/',
related_url: 'http://localhost:49153/v1/images/da5cb478-c093-4d62-b721-cda18797e3fb/related/',
},
},
}