Statuses Edit
Topics
Schema Schema
The schema defines all the fields that exist within a status record. Any response from these endpoints can be expected to contain the fields below unless the `_filter` query parameter is used or the schema field only appears in a specific context.
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: |
date_floating boolean |
Whether posts of this status may have floating published dates.
Read only Context: |
Retrieve a Status Retrieve a Status
Definition & Example Request Definition & Example Request
GET /wp/v2/statuses
Query this endpoint to retrieve a specific status record.
$ curl https://example.com/wp-json/wp/v2/statuses
Retrieve a Status Retrieve a Status
Definition & Example Request Definition & Example Request
GET /wp/v2/statuses/<status>
Query this endpoint to retrieve a specific status record.
$ curl https://example.com/wp-json/wp/v2/statuses/<status>