articles

Count Post

POST
Get count of articles matching given filter.

Request

This endpoint expects an object.
ancestor
stringOptional
The ancestor directory of the articles.
applies_to_parts
list of stringsOptional
Filters for articles belonging to any of the provided parts.
article_type
list of enumsOptional
Filter for the type of articles. If this is not provided, then articles that are not content blocks are returned.
Allowed values: articlecontent_block
authored_by
list of stringsOptional
Filters for articles authored by any of the provided users.
created_by
list of stringsOptional
Filters for articles created by any of the provided users.
modified_by
list of stringsOptional
Filters for articles modified by any of the provided users.
owned_by
list of stringsOptional
Filters for articles owned by any of the provided users.
scope
list of integersOptional
Filter for the scope of the articles. If this is not provided, then only external articles are returned.
shared_with
list of maps from strings to anyOptional
Filter for articles based on intended audience.

Response

This endpoint returns an object
count
integer
The total number of articles matching the filter.