curl --location --request GET 'https://www.pacekb.com/api/v2/articles/[id]' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"message": "Article found successfully",
"data": {
"id": "<id>",
"tags_relationship": [
{
"id": "<id>",
"tag_id": "<id>"
}
],
"article_relationships": [
{
"id": "<id>",
"category_id": "<id"
}
],
"name": "How to create a PaceKB Knowledge Base",
"content": "<p>This is how you can get started with creating a PaceKB Knowledge Base</p>",
"slug": "how-to-create-a-pacekb-knowledge-base",
"excerpt": "Starting a Knowledge Base is made easy with PaceKB",
"order_by": 20,
"status": "published",
"created_date": "2023-06-05T20:42:23.805Z",
"article_parent": "<id>",
"last_edited_Date": "2023-06-05T20:42:23.805Z",
"seo_banner_url": "https://pacekb.com/img.png",
"hide_from_search": true,
"article_review_date": "2023-06-05T20:42:23.805Z",
"language": null,
"language_parent": null
},
"isDraft": {
"id": "<id>"
},
"newVersion": true,
"categories": [
{
"id": "<id>",
"label": "Getting Started",
"value": "<id>",
},
],
"tags": [
{
"id": "<id>",
"label": "Getting Started",
"value": "<id>",
}
]
}
This endpoint gets a specific article from your Knowledge Base.
curl --location --request GET 'https://www.pacekb.com/api/v2/articles/[id]' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"message": "Article found successfully",
"data": {
"id": "<id>",
"tags_relationship": [
{
"id": "<id>",
"tag_id": "<id>"
}
],
"article_relationships": [
{
"id": "<id>",
"category_id": "<id"
}
],
"name": "How to create a PaceKB Knowledge Base",
"content": "<p>This is how you can get started with creating a PaceKB Knowledge Base</p>",
"slug": "how-to-create-a-pacekb-knowledge-base",
"excerpt": "Starting a Knowledge Base is made easy with PaceKB",
"order_by": 20,
"status": "published",
"created_date": "2023-06-05T20:42:23.805Z",
"article_parent": "<id>",
"last_edited_Date": "2023-06-05T20:42:23.805Z",
"seo_banner_url": "https://pacekb.com/img.png",
"hide_from_search": true,
"article_review_date": "2023-06-05T20:42:23.805Z",
"language": null,
"language_parent": null
},
"isDraft": {
"id": "<id>"
},
"newVersion": true,
"categories": [
{
"id": "<id>",
"label": "Getting Started",
"value": "<id>",
},
],
"tags": [
{
"id": "<id>",
"label": "Getting Started",
"value": "<id>",
}
]
}
Show Toggle object
curl --location --request GET 'https://www.pacekb.com/api/v2/articles/[id]' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"message": "Article found successfully",
"data": {
"id": "<id>",
"tags_relationship": [
{
"id": "<id>",
"tag_id": "<id>"
}
],
"article_relationships": [
{
"id": "<id>",
"category_id": "<id"
}
],
"name": "How to create a PaceKB Knowledge Base",
"content": "<p>This is how you can get started with creating a PaceKB Knowledge Base</p>",
"slug": "how-to-create-a-pacekb-knowledge-base",
"excerpt": "Starting a Knowledge Base is made easy with PaceKB",
"order_by": 20,
"status": "published",
"created_date": "2023-06-05T20:42:23.805Z",
"article_parent": "<id>",
"last_edited_Date": "2023-06-05T20:42:23.805Z",
"seo_banner_url": "https://pacekb.com/img.png",
"hide_from_search": true,
"article_review_date": "2023-06-05T20:42:23.805Z",
"language": null,
"language_parent": null
},
"isDraft": {
"id": "<id>"
},
"newVersion": true,
"categories": [
{
"id": "<id>",
"label": "Getting Started",
"value": "<id>",
},
],
"tags": [
{
"id": "<id>",
"label": "Getting Started",
"value": "<id>",
}
]
}