Count Articles
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
Query Parameters
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.
ID of the group/member with whom the item is shared.
id
Role ID of the group/member with whom the item is shared.
id
Filters for article with any of the provided tags.
Response Body
curl -X GET "https://api.devrev.ai/articles.count?ancestor=string&applies_to_parts=PROD-12345&article_type=article&authored_by=DEVU-12345&brands=string&created_by=DEVU-12345&modified_by=DEVU-12345&owned_by=DEVU-12345&parent=string&scope=0&shared_with.member=string&shared_with.role=string&tags=TAG-12345"
{
"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"
}