Skip to main content

Tags

List tags

List tags with GET

GET/api/public/v0/project/{project_code}/tag

Get a list of all tags in the project. Useful to get ids of tags to use in query plans.

Response

Status: 200

{
"type": "object",
"required": ["tags"],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "object",
"required": ["id", "title"],
"properties": {
"id": {
"type": "integer",
"description": "The unique identifier for the tag in the project. This is unique across projects."
},
"title": {
"type": "string",
"description": "The name of the tag"
}
}
}
}
}
}

Example Response

{
"tags": [
{
"id": 3,
"title": "csv"
},
{
"id": 2,
"title": "pencil"
},
{
"id": 1,
"title": "test"
}
]
}