Gallery Platform API
Reference

Get the JSON-LD context

Returns the JSON-LD `@context` that maps the API's native property names to Schema.org and Linked Art terms. Every JSON response names it in a `Link` header (`rel="http://www.w3.org/ns/json-ld#context"`), so a JSON-LD processor can read any response as linked data without the body changing. The document is schema only and the same for every caller.

GET
/gallery/ontology/context.jsonld

Returns the JSON-LD @context that maps the API's native property names to Schema.org and Linked Art terms. Every JSON response names it in a Link header (rel="http://www.w3.org/ns/json-ld#context"), so a JSON-LD processor can read any response as linked data without the body changing. The document is schema only and the same for every caller.

Authorization

bearerAuth gallery:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: gallery:read

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "@context": {    "property1": "string",    "property2": "string"  }}