List all Posts
Returns a collection of posts from your WordPress site.
Query Parameters
Scope under which the request is made; determines fields present in response.
view
, embed
, edit
Current page of the collection.
x >= 1
Maximum number of items to be returned in result set.
1 <= x <= 100
Limit results to those matching a string.
Limit response to posts published after a given ISO8601 compliant date.
Limit response to posts modified after a given ISO8601 compliant date.
Limit result set to posts assigned to specific authors.
Ensure result set excludes posts assigned to specific authors.
Limit response to posts published before a given ISO8601 compliant date.
Limit response to posts modified before a given ISO8601 compliant date.
Ensure result set excludes specific IDs.
Limit result set to specific IDs.
How to interpret the search input.
exact
Offset the result set by a specific number of items.
Order sort attribute ascending or descending.
asc
, desc
Sort collection by post attribute.
author
, date
, id
, include
, modified
, parent
, relevance
, slug
, include_slugs
, title
Array of column names to be searched.
post_title
, post_content
, post_excerpt
Limit result set to posts with one or more specific slugs.
Limit result set to posts assigned one or more statuses.
publish
, future
, draft
, pending
, private
, trash
, auto-draft
, inherit
, request-pending
, request-confirmed
, request-failed
, request-completed
, any
Limit result set based on relationship between multiple taxonomies.
AND
, OR
Limit result set to items with specific terms assigned in the categories taxonomy.
Limit result set to items except those with specific terms assigned in the categories taxonomy.
Limit result set to items with specific terms assigned in the tags taxonomy.
Limit result set to items except those with specific terms assigned in the tags taxonomy.
Limit result set to items that are sticky.
Whether to ignore sticky posts or not.
Limit result set to items assigned one or more given formats.
standard
, aside
, chat
, gallery
, link
, image
, quote
, status
, video
, audio
Response
The response is of type object
.