REST method: GET
URL: https://app.knowledgeowl.com/api/head/comment.json
Required fields: project_id={knowledge base ID}
You may use this endpoint to retrieve a list of comments per knowledge base.
Filtering Results
You may filter results by passing fields like so:
https://app.knowledgeowl.com/api/head/comment.json?article_id=abcde12345
This example call will return only comments that belong to specified article.
Limiting Returned Fields
To reduce the amount of information returned, you may include which fields should be returned like so:
https://app.knowledgeowl.com/api/head/comment.json?_fields[]=status
This example will only return data for the status field of the comments.
Sorting Results
To sort the returned articles, you may use the following format:
https://app.knowledgeowl.com/api/head/comment.json?sort[status]=-1
The data can be sorted by any available field in ascending (1) or descending (-1) order.
Limit Results
To limit the number of returned results, use the following format:
https://app.knowledgeowl.com/api/head/comment.json?limit=5