Gallery Platform API
Reference

Suggest an art fair

Suggests a fair edition for the shared directory. It lands as a pending suggestion (visible only to this gallery) for staff to promote to canonical.

POST
/gallery/art-fairs

Suggests a fair edition for the shared directory. It lands as a pending suggestion (visible only to this gallery) for staff to promote to canonical.

Authorization

bearerAuth shows:create
AuthorizationBearer <token>

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

In: header

Scope: shows:create

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.

Suggest a fair edition for the shared directory. It lands as a pending suggestion for staff to promote.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "name": "string",  "edition": "string",  "city": "string",  "country": "string",  "start_date": "string",  "end_date": "string",  "website_url": "string",  "status": "canonical",  "created_at": "string",  "updated_at": "string"}