Statuses Edit

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: embed, view, edit

private

boolean
Whether posts with this status should be private.

Read only

Context: edit

protected

boolean
Whether posts with this status should be protected.

Read only

Context: edit

public

boolean
Whether posts of this status should be shown in the front end of the site.

Read only

Context: view, edit

queryable

boolean
Whether posts with this status should be publicly-queryable.

Read only

Context: view, edit

show_in_list

boolean
Whether to include posts in the edit listing for their post type.

Read only

Context: edit

slug

string
An alphanumeric identifier for the status.

Read only

Context: embed, view, edit

date_floating

boolean
Whether posts of this status may have floating published dates.

Read only

Context: view, edit

Top ↑

Retrieve a Status Retrieve a Status

Top ↑

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

Top ↑

Arguments Arguments

context Scope under which the request is made; determines fields present in response.

Default: view

One of: view, embed, edit

Top ↑

Retrieve a Status Retrieve a Status

Top ↑

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>

Top ↑

Arguments Arguments

status An alphanumeric identifier for the status.
context Scope under which the request is made; determines fields present in response.

Default: view

One of: view, embed, edit