Gallery Platform API
Reference

Register a job photo

Registers an already-uploaded object (from the upload-url endpoint) as a job evidence photo. Requires a first-party session.

POST
/gallery/jobs/{id}/photos

Registers an already-uploaded object (from the upload-url endpoint) as a job evidence photo. Requires a first-party session.

Authorization

bearerAuth jobs:create
AuthorizationBearer <token>

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

In: header

Scope: jobs:create

Path Parameters

id*string

The job id.

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 object as a job photo.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "job_id": "string",  "task_id": "string",  "artwork_id": "string",  "condition_report_id": "string",  "kind": "progress",  "storage_path": "string",  "caption": "string",  "taken_at": "string",  "created_by": "string",  "created_at": "string"}