Content

Query blog posts

Published blog posts with the full query syntax (filter, sort, select, depth).

get/api/blog-posts

Request

  • Base URL: https://www.arketa.com
  • URL: https://www.arketa.com/api/blog-posts
  • Auth: none declared

Query parameters

whereobject

Filter as where[field][operator]=value. Operators: equals, not_equals, in, not_in, contains, like, exists, greater_than, greater_than_equal, less_than, less_than_equal. Combine with where[or][0][field][operator]=value / where[and][...].

sortstring
Example:-publishedDate

Field to sort by; prefix with - for descending.

limitinteger

Page size.

pageinteger

1-based page number.

depthinteger

How many levels of relationships (parent page, category, authors, media) to populate. 0 returns ids only.

selectobject

Return only these fields: select[title]=true&select[slug]=true.

Response

Paginated blog posts

totalDocsinteger required
limitinteger
pageinteger required
totalPagesinteger required
hasNextPageboolean required
hasPrevPageboolean required
nextPageinteger nullable
prevPageinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.