Update a fair portal recipe
Revises a recipe's mapping, upload steps, submit step, or version.
Revises a recipe's mapping, upload steps, submit step, or version.
Authorization
bearerAuth artworks:updateA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: artworks:update
Path Parameters
Header Parameters
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.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "id": "string", "portal_domain": "string", "fair_list_id": "string", "version": -9007199254740991, "field_map": [ { "source": "string", "target_ref": "string", "target_label": "string", "transform": "string" } ], "upload_steps": [ { "image_slot": "string", "target_ref": "string" } ], "submit_step": { "target_ref": "string", "confirm": true }, "confirmed_by": "string", "learned_at": "string", "created_at": "string", "updated_at": "string"}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "string", "retry": "permanent", "details": null}List fair portal recipes GET
Lists the gallery's learned fair-portal recipes, newest first. Filter by portal_domain (and optionally fair_list_id) to find the recipe to replay for the portal the extension is on.
Start a fair-submission run POST
Opens a run-audit row when a submission begins. The acting user is recorded from the request principal, not the body.