Statuses Edit
Topics
Schema Schema
The schema defines all the fields that exist for a status object.
name string |
The title for the status.
Read only Context: |
private boolean |
Whether posts with this status should be private.
Read only Context: |
protected boolean |
Whether posts with this status should be protected.
Read only Context: |
public boolean |
Whether posts of this status should be shown in the front end of the site.
Read only Context: |
queryable boolean |
Whether posts with this status should be publicly-queryable.
Read only Context: |
show_in_list boolean |
Whether to include posts in the edit listing for their post type.
Read only Context: |
slug string |
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>