Statuses
Edit
Topics
Schema Schema
The schema defines all the fields that exist for a status object.
namestring |
The title for the status.
Read only Context: |
privateboolean |
Whether posts with this status should be private.
Read only Context: |
protectedboolean |
Whether posts with this status should be protected.
Read only Context: |
publicboolean |
Whether posts of this status should be shown in the front end of the site.
Read only Context: |
queryableboolean |
Whether posts with this status should be publicly-queryable.
Read only Context: |
show_in_listboolean |
Whether to include posts in the edit listing for their post type.
Read only Context: |
slugstring |
An alphanumeric identifier for the status.
Read only Context: |
Example Request Example Request
$ curl -X OPTIONS -i https://example.com/wp-json/wp/v2/statuses
Retrieve a Status Retrieve a Status
Arguments Arguments
context
|
Scope under which the request is made; determines fields present in response.
Default: One of: |
Definition Definition
GET /wp/v2/statuses
Example Request Example Request
$ curl https://example.com/wp-json/wp/v2/statuses
Retrieve a Status Retrieve a Status
Arguments Arguments
status
|
An alphanumeric identifier for the status. |
context
|
Scope under which the request is made; determines fields present in response.
Default: One of: |
Definition Definition
GET /wp/v2/statuses/<status>
Example Request Example Request
$ curl https://example.com/wp-json/wp/v2/statuses/<status>