List Posts
Retrieve a list of published posts from the blog. You can specify page number and size, and include tag or author information.
The post body (content_html) is not included in list responses. Request it explicitly with fields[posts] when you need it.
Query parameters
Page number (starting from 1) JSON:API style page[number] is also accepted.
Items per page JSON:API style page[size] is also accepted.
Comma-separated post fields to return. Unknown names are ignored. Include content_html to request the post body, which is omitted by default.
Specify related resources to include, separated by commas
Available values for Posts:
- tags - Post tags
- authors - Post authors
Filter by slug. Returns only posts with an exact match.
Filter by published status.
Return only posts published on or after this date. (ISO 8601 format)
Return only posts published on or before this date. (ISO 8601 format)
Return only posts with the specified tag.
Return only posts by the specified author.
Filter by content type.
Sort field.
Sort direction.
Response
Post list retrieved successfully
Changes
No recorded changes to this endpoint across all 1 revision of this API.