Gallery Platform API
Reference

Register an artist image

Registers an already-uploaded object (from the upload-url endpoint) as an image row, appended to the end. Requires a first-party session.

POST
/gallery/artists/{id}/images

Registers an already-uploaded object (from the upload-url endpoint) as an image row, appended to the end. Requires a first-party session.

Authorization

bearerAuth artists:create
AuthorizationBearer <token>

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

In: header

Scope: artists:create

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Register an uploaded image object as an artist image.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "artist_id": "string",  "storage_path": "string",  "url": "string",  "alt_text": "string",  "kind": "headshot",  "position": -9007199254740991,  "created_at": "string"}