Skip to main content

Get a Specific Tag

This endpoint retrieves a specific tag

info

This operation requires authentication only if content_availability community option is false.

This operation can be done by normal (not administrators) users and it will return only a public visible and active tag and only some public tag details.

If this operation has been done by an administrator user it will show all tag details and not active, not visible or deleted tag also.

HTTP Request

GET /api/v2/tag/{id}/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this tag

Example Request


const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/tag/{id}/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeTag

Example responses

{
"id": "integer",
"type": "string",
"name": "string",
"description": "string",
"color": "string",
"visible": "boolean",
"visibility_boost": "boolean",
"created_at": "string",
"active": "boolean",
"deleted": "boolean"
}