Was this helpful?
Delete one or more Tags by their IDs
DELETE /api/tags HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Successful response
{ "deletedCount": 1 }
Get Tag Count
Comma-separated tag IDs to filter by
Comma-separated tag names to filter by
GET /api/tags/count HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "count": 1 }
Get a Tag by its ID.
ID value. Only alphanumeric, underscore, and hyphen are allowed.
^[a-zA-Z0-9_-]+$
GET /api/tags/{id} HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "tag": { "id": "text", "name": "text", "description": "text", "createdAt": "text", "updatedAt": "text" } }
Get all tags
10
0
Field to sort by
id
name
description
updatedAt
createdAt
Sort order for the selected field
asc
desc
GET /api/tags HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "tags": [ { "id": "text", "name": "text", "description": "text", "createdAt": "text", "updatedAt": "text" } ] }
Create Tag
POST /api/tags HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 48 { "id": "text", "name": "text", "description": "text" }
{ "createdTag": { "id": "text", "name": "text", "description": "text", "createdAt": "text", "updatedAt": "text" } }
Update a Tag by its ID
PUT /api/tags/{id} HTTP/1.1 Host: Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 112 { "data": { "id": "text", "name": "text", "description": "text", "addGameObjects": [ "text" ], "removeGameObjects": [ "text" ] } }
{ "updatedTag": { "id": "text", "createdAt": "text", "updatedAt": "text", "name": "text", "description": "text", "gameObjectCount": 1 } }