Contents
Last updated
Last updated
Manage contents of your Knowledge Bases.
Key | Type | Description |
---|---|---|
GET
https://api.tiledesk.com/v3/:project_id/kb/
Allows to list all the content of a knowledge base
Name | Type | Description |
---|---|---|
Example
GET
https://api.tiledesk.com/v3/:project_id/kb/:content_id
Allows to get the content detail
Example
POST
https://api.tiledesk.com/v3/:project_id/kb/
Allows to create and add a content to a specific knwoledge base
Example
POST
https://api.tiledesk.com/v3/:project_id/kb/multi
Allows to add more than one content of type url to a specific knwoledge base in a single operation.
Example
POST
https://api.tiledesk.com/v3/:project_id/kb/sitemap
Allows to convert a sitemap into a list of urls to be uploaded later in a single operation.
Example
DELETE
https://api.tiledesk.com/v3/:project_id/kb/:content_id
Allows to delete a single content from the knowledge base.
Example
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
_id
String
The unique identifier for the contents which is given by Tiledesk.
name
String
The content name.
id_project
String
The unique identifier of the project
type
String
The type of the content. Supported types: url, text, pdf, docx, faq
source
String
The content source.
content
String
The textual content of a source. Is empty if the type is not text
namespace
String
The namespace id to which the content belongs
status
Number
The content status. Admissible status: -1 (not in queue), 100 (in queue), 200 (in indexing),300 (indexed), 400 (error)
project_id
string
The Project Id is a unique code assigned to your project when you create it in Tiledesk.
namespace
string
The Namespace Id is a unique code assigned to your knowledge base when you create it in Tiledesk.
status
number
(Optional) To list all content in a determined indexing status.
type
string
(Optional) To list all content of a determined status.
limit
number
(Optional) Determines the number of contents returned (used for pagination).
page
number
(Optional) Determines the number of the page (used for pagination).
sortField
string
(Optional) Determines the field on which to sort.
direction
number
(Optional) Determines the sorting direction. -1 (descending order), 1 (ascending order)
search
string
(Optional) The text to search for in the source field
Authorization
string
Authorization token. Basic Auth or JWT
project_id
string
The Project Id is a unique code assigned to your project when you create it in Tiledesk.
content_id
string
The content Id is a unique code assigned to your content.
Authorization
string
Authorization token. Basic Auth or JWT
project_id
string
The Project Id is a unique code assigned to your project when you create it in Tiledesk.
Authorization
string
Authorization token. Basic Auth or JWT
name
string
The name of the content
type
string
The type of the content. It can be text, url, pdf, docx or faq.
source
string
The source name of a content. If the content type is url, pdf or docx the source field must be the resource's url.
content
string
The content field of the content entity. Is empty if the type is url, pdf or docx. If the type is faq the content should be Question\nAnswer.
namespace
string
The namespace id to which the content belongs.
project_id
string
The Project Id is a unique code assigned to your project when you create it in Tiledesk.
namespace
string
The Namespace Id is a unique code assigned to your knowledge base when you create it in Tiledesk.
Authorization
string
Authorization token. Basic Auth or JWT
list
array
The array of URLs to be added to the knwoledge base.
project_id
string
The Project Id is a unique code assigned to your project when you create it in Tiledesk.
Authorization
string
Authorization token. Basic Auth or JWT
list
array
The array of URLs to be added to the knwoledge base.
project_id
string
The Project Id is a unique code assigned to your project when you create it in Tiledesk.
content_id
string
The Content Id is a unique code assigned to your contnet when you create it.
Authorization
string
Authorization token. Basic Auth or JWT