Tags

Assign tag to output image

Additively assign tags to a specific output image version (default: the latest version; pass ?version= to target an older one). Tags are bound to that version only and do not carry over to a future regenerate/retouch version.

PUT
/jobs/{job_id}/outputs/{image_index}/tags

Authorization

token_auth
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

Path Parameters

job_id*string
image_index*integer
Formatint32

Query Parameters

group_index?Group Index
Default0
version?|
Defaultnull

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://v2.api.piktid.com/jobs/string/outputs/0/tags" \  -H "Content-Type: application/json" \  -d '{}'
{
  "tags": [
    {
      "id": "string",
      "name": "string",
      "color": "string",
      "created_by": "string",
      "created_at": "string"
    }
  ]
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty
Empty