curl --location --request GET 'https://www.pacekb.com/api/v2/tags' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"data": [
{
"other_tags": [
{
"language": "fr"
}
],
"id": "<id>",
"name": "Getting Started",
"slug": "getting-started",
"users_tags_created_byTousers": {
"username": "benj",
"first_name": "Ben",
"last_name": "Jenkins",
"email_address": "ben@example.com"
},
"tag_relationship": [
{
"added_by": "<id>",
"added_date": "2023-06-05T20:42:23.805Z",
"article_id": "<id>",
"id": "<id>",
"site_id": "<id>",
"tag_id": "<id>"
}
]
}
]
}
This endpoint gets all tags from your Knowledge Base.
curl --location --request GET 'https://www.pacekb.com/api/v2/tags' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"data": [
{
"other_tags": [
{
"language": "fr"
}
],
"id": "<id>",
"name": "Getting Started",
"slug": "getting-started",
"users_tags_created_byTousers": {
"username": "benj",
"first_name": "Ben",
"last_name": "Jenkins",
"email_address": "ben@example.com"
},
"tag_relationship": [
{
"added_by": "<id>",
"added_date": "2023-06-05T20:42:23.805Z",
"article_id": "<id>",
"id": "<id>",
"site_id": "<id>",
"tag_id": "<id>"
}
]
}
]
}
Show Toggle object in array
curl --location --request GET 'https://www.pacekb.com/api/v2/tags' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"data": [
{
"other_tags": [
{
"language": "fr"
}
],
"id": "<id>",
"name": "Getting Started",
"slug": "getting-started",
"users_tags_created_byTousers": {
"username": "benj",
"first_name": "Ben",
"last_name": "Jenkins",
"email_address": "ben@example.com"
},
"tag_relationship": [
{
"added_by": "<id>",
"added_date": "2023-06-05T20:42:23.805Z",
"article_id": "<id>",
"id": "<id>",
"site_id": "<id>",
"tag_id": "<id>"
}
]
}
]
}