Skip to content

REST API

Sharing: 1 routes.

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

  • GET1

/share/{type}/{id}

GETPublic

Return the share payload for a target.

Handler: get_payload()

Parameters of GET /share/{type}/{id}
ParameterTypeRequiredDefault or allowed values
typestringYes—
idintegerYes—
curl
curl "https://example.com/wp-json/davo/v1/share/{type}/{id}"

src/domains/sharing/routes.php:62

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