Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

wp-papi/papi-rest-api

Repository files navigation

Papi REST API

Work in progress

Build Status

Add-on for the WordPress REST API, requires Papi 3.0.0.

Endpoints

Fields

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.

Options

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.

Filters

papi/rest/property_item - Modify the property item that is returned to the REST API.

License

MIT © Fredrik Forsmo

About

[Deprecated with Papi 3.2.0+] - Add-on for the WordPress REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages