Skip to content

REST API

Routes: 6 routes.

All under /wp-json/davo/v1. 2 of them have a description in the source.

  • GET1
  • POST1

/get-comment-statuses

Access check: see source

The source has no description for this route.

No parameters declared in the route registration.

curl
curl -X  -u "user:application-password" "https://example.com/wp-json/davo/v1/get-comment-statuses"

src/routes/comments-routes.php:92

/get-post-statuses

Access check: see source

The source has no description for this route.

No parameters declared in the route registration.

curl
curl -X  -u "user:application-password" "https://example.com/wp-json/davo/v1/get-post-statuses"

src/routes/post-statuses-route.php:76

/get-user-roles

Access check: see source

The source has no description for this route.

No parameters declared in the route registration.

curl
curl -X  -u "user:application-password" "https://example.com/wp-json/davo/v1/get-user-roles"

src/routes/user-roles-route.php:75

/revisions/{id}

GETAccess check: permission_check

Handles fetching a revision by ID.

Handler: get_revision()

Parameters of GET /revisions/{id}
ParameterTypeRequiredDefault or allowed values
idintegerYes—
curl
curl -u "user:application-password" "https://example.com/wp-json/davo/v1/revisions/{id}"

src/routes/revisions-route.php:40

/revisions/{id}/restore

POSTAccess check: permission_check_restore

Handles revision restoration.

Handler: restore_revision()

Parameters of POST /revisions/{id}/restore
ParameterTypeRequiredDefault or allowed values
idintegerYes—
curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/revisions/{id}/restore"

src/routes/revisions-route.php:58

/take-over-post-lock

Access check: see source

The source has no description for this route.

No parameters declared in the route registration.

curl
curl -X  -u "user:application-password" "https://example.com/wp-json/davo/v1/take-over-post-lock"

src/routes/take-over-post-lock-route.php:57

Note. Generated from the plugin source. Parameters are the ones declared when the route is registered; a parameter marked “see source” uses a shared definition. Responses are not documented here. Authenticate as for any WordPress REST route, for example with an application password over HTTPS; the example paths use https://example.com.

See it on your own site.

Davo is a WordPress theme and plugin by Exorex.

  • Runs on your own WordPress
  • Guided setup wizard
  • AI is off until you switch it on
  • Read the licence on the marketplace first