Gallery Platform API
Reference

Add a tag to a location

Adds a single tag to this location (idempotent — never clobbers its other tags). Returns the resulting tag set.

POST
/gallery/locations/{id}/tags/{tagId}

Adds a single tag to this location (idempotent — never clobbers its other tags). Returns the resulting tag set.

Authorization

bearerAuth locations:update
AuthorizationBearer <token>

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

In: header

Scope: locations:update

Path Parameters

id*string
tagId*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.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "data": [    {      "id": "string",      "name": "string",      "color": "slate",      "facet": "medium",      "created_at": "string",      "updated_at": "string",      "origin": "manual"    }  ]}