Mint a signed artist-image upload URL
Returns a one-time signed target for uploading an image directly to Storage. The server derives the gallery-scoped object key; the client then uploads the bytes and registers the object via POST /images. Requires a first-party session.
Returns a one-time signed target for uploading an image directly to Storage. The server derives the gallery-scoped object key; the client then uploads the bytes and registers the object via POST /images. Requires a first-party session.
Authorization
bearerAuth artists:createA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: artists:create
Path Parameters
The artist id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request a signed URL to upload an artist image object.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "storage_path": "string", "token": "string", "signed_url": "string"}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}Update an artist image PATCH
Updates an image's editable fields (alt text, kind). Requires a first-party session.
List artists GET
Lists the gallery's artists, newest first, with cursor pagination. Pass `q` to match by name — use this to resolve an artist name to an id for the artwork `artist_id` filter. The roster is gallery-scoped; RLS returns it only to principals that can read the gallery.