Skip to content

REST API

Settings: 1 routes.

All under /wp-json/davo/v1. Every route has a description in the source.

  • PUT1
  • PATCH1

/settings/{group}

PUTPATCHAccess check: require_login

Handles POST /settings/{group} — validates and persists one settings group.

Handler: save_group()

Parameters of PUT/PATCH /settings/{group}
ParameterTypeRequiredDefault or allowed values
groupstringYes—
valuesobjectYes—
curl
curl -X PUT -u "user:application-password" "https://example.com/wp-json/davo/v1/settings/{group}" \
  -H "Content-Type: application/json" \
  -d '{"values": …}'

src/domains/settings/routes.php:60

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