Work in progress
Add-on for the WordPress REST API, requires Papi 3.0.0.
GET /wp-json/papi/v1/fields/{id}
Get all page types properties on a post.
GET /wp-json/papi/v1/fields/{id}/{property_slug}
Get a single page type property on a post.
PUT /wp-json/papi/v1/fields/{id}/{property_slug}
Update a single page type property value on a post.
DELETE /wp-json/papi/v1/fields/{id}/{property_slug}
Delete a single page type property value on a post.
GET /wp-json/papi/v1/options
Get all option types properties.
GET /wp-json/papi/v1/options/{property_slug}
Get a single option type property.
PUT /wp-json/papi/v1/options/{property_slug}
Update a single option type property value.
DELETE /wp-json/papi/v1/options/{property_slug}
Delete a single option type property value.
papi/rest/property_item
- Modify the property item that is returned to the REST API.
MIT © Fredrik Forsmo