Count Articles (POST)
Get count of articles matching given filter.
All the DevRev APIs require a token to authenticate the user. Provide Authorization: Bearer <TOKEN>
as a header to every API request.
How do I find my token?
In: header
The ancestor directory of the articles.
id
Filters for articles belonging to any of the provided parts.
Filter for the type of articles. If this is not provided, then articles that are not content blocks are returned.
Filters for articles authored by any of the provided users.
Filters for articles belonging to any of the provided brands.
Filters for articles created by any of the provided users.
Filters for articles modified by any of the provided users.
Filters for articles owned by any of the provided users.
Filters for articles with the provided parent directories.
Filter for the scope of the articles.
Filter for articles based on intended audience.
Filters for article with any of the provided tags.
Response Body
curl -X POST "https://api.devrev.ai/articles.count" \ -H "Content-Type: application/json" \ -d '{}'
{
"count": 0
}
{
"detail": "string",
"message": "string",
"type": "artifact_already_attached_to_a_parent",
"existing_parent": "string",
"is_same": true
}
{
"detail": "string",
"message": "string",
"type": "unauthenticated"
}
{
"detail": "string",
"message": "string",
"type": "forbidden"
}
{
"detail": "string",
"message": "string",
"type": "too_many_requests",
"retry_after": 0
}
{
"detail": "string",
"message": "string",
"type": "internal_error",
"reference_id": "string"
}
{
"detail": "string",
"message": "string",
"type": "service_unavailable"
}