Skip to content

REST API

Changelog: 25 routes.

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

  • GET14
  • POST13
  • PUT3
  • PATCH3
  • DELETE4

/changelog/admin/entries

GETAccess check: auth_require_manage

Lists changelog entries for the admin, with filters for status, type, release, featured and search, and sorting.

Handler: cb_get_admin_entries()

No parameters declared in the route registration.

curl
curl -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries"

POSTAccess check: auth_require_manage

Creates a changelog entry. Returns 201.

Handler: cb_create_entry()

No parameters declared in the route registration.

curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries"

src/domains/changelog/routes.php:246

/changelog/admin/entries/{entry_id}

GETAccess check: auth_require_manage

Returns one changelog entry.

Handler: cb_get_admin_entry()

No parameters declared in the route registration.

curl
curl -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries/{entry_id}"

PUTPATCHAccess check: auth_require_manage

Updates a changelog entry.

Handler: cb_update_entry()

No parameters declared in the route registration.

curl
curl -X PUT -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries/{entry_id}"

DELETEAccess check: auth_require_manage

Deletes a changelog entry.

Handler: cb_delete_entry()

No parameters declared in the route registration.

curl
curl -X DELETE -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries/{entry_id}"

src/domains/changelog/routes.php:282

/changelog/admin/entries/{entry_id}/duplicate

POSTAccess check: auth_require_manage

Duplicates a changelog entry. Returns 201.

Handler: cb_duplicate_entry()

No parameters declared in the route registration.

curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries/{entry_id}/duplicate"

src/domains/changelog/routes.php:305

/changelog/admin/entries/{entry_id}/status

POSTAccess check: auth_require_manage

Sets an entry's status, with an optional publish time.

Handler: cb_set_entry_status()

Parameters of POST /changelog/admin/entries/{entry_id}/status
ParameterTypeRequiredDefault or allowed values
statusstringYes—
published_atstring——
curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries/{entry_id}/status" \
  -H "Content-Type: application/json" \
  -d '{"status": "…"}'

src/domains/changelog/routes.php:371

/changelog/admin/entries/{entry_id}/translations

GETAccess check: auth_require_manage

The entries that translate one another.

Handler: cb_get_entry_translations()

No parameters declared in the route registration.

curl
curl -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries/{entry_id}/translations"

POSTAccess check: auth_require_manage

Creates a translation of an entry. Returns 201.

Handler: cb_create_entry_translation()

Parameters of POST /changelog/admin/entries/{entry_id}/translations
ParameterTypeRequiredDefault or allowed values
lang_codestringYes—
curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries/{entry_id}/translations" \
  -H "Content-Type: application/json" \
  -d '{"lang_code": "…"}'

src/domains/changelog/routes.php:325

/changelog/admin/entries/reorder

POSTAccess check: auth_require_manage

Reorders changelog entries from a list of entry ids.

Handler: cb_reorder_entries()

Parameters of POST /changelog/admin/entries/reorder
ParameterTypeRequiredDefault or allowed values
entry_idsarrayYes—
curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/entries/reorder" \
  -H "Content-Type: application/json" \
  -d '{"entry_ids": []}'

src/domains/changelog/routes.php:265

/changelog/admin/languages

GETAccess check: auth_require_manage

Languages changelog content can be written in.

Handler: cb_get_languages()

No parameters declared in the route registration.

curl
curl -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/languages"

src/domains/changelog/routes.php:315

/changelog/admin/releases

GETAccess check: auth_require_manage

Lists changelog releases for the admin, filterable by status, with pagination.

Handler: cb_get_admin_releases()

Parameters of GET /changelog/admin/releases
ParameterTypeRequiredDefault or allowed values
statusarray——
pageinteger—1
per_pageinteger—20
langstring——
curl
curl -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/releases"

POSTAccess check: auth_require_manage

Creates a release. Returns 201.

Handler: cb_create_release()

No parameters declared in the route registration.

curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/releases"

src/domains/changelog/routes.php:389

/changelog/admin/releases/{release_id}

PUTPATCHAccess check: auth_require_manage

Updates a release.

Handler: cb_update_release()

No parameters declared in the route registration.

curl
curl -X PUT -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/releases/{release_id}"

DELETEAccess check: auth_require_manage

Deletes a changelog release.

Handler: cb_delete_release()

No parameters declared in the route registration.

curl
curl -X DELETE -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/releases/{release_id}"

src/domains/changelog/routes.php:439

/changelog/admin/releases/{release_id}/translations

GETAccess check: auth_require_manage

The releases that translate one another.

Handler: cb_get_release_translations()

No parameters declared in the route registration.

curl
curl -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/releases/{release_id}/translations"

POSTAccess check: auth_require_manage

Creates a translation of a release. Returns 201.

Handler: cb_create_release_translation()

Parameters of POST /changelog/admin/releases/{release_id}/translations
ParameterTypeRequiredDefault or allowed values
lang_codestringYes—
curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/releases/{release_id}/translations" \
  -H "Content-Type: application/json" \
  -d '{"lang_code": "…"}'

src/domains/changelog/routes.php:348

/changelog/admin/releases/reorder

POSTAccess check: auth_require_manage

Reorders releases from a list of release ids.

Handler: cb_reorder_releases()

Parameters of POST /changelog/admin/releases/reorder
ParameterTypeRequiredDefault or allowed values
release_idsarrayYes—
curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/releases/reorder" \
  -H "Content-Type: application/json" \
  -d '{"release_ids": []}'

src/domains/changelog/routes.php:422

/changelog/admin/subscribers

GETAccess check: auth_require_manage

Lists changelog subscribers, filterable by status and search, with pagination.

Handler: cb_get_admin_subscribers()

Parameters of GET /changelog/admin/subscribers
ParameterTypeRequiredDefault or allowed values
statusstring——
qstring——
pageinteger—1
per_pageinteger—25
curl
curl -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/subscribers"

src/domains/changelog/routes.php:211

/changelog/admin/subscribers/{subscriber_id}

DELETEAccess check: auth_require_manage

Deletes a changelog subscriber.

Handler: cb_delete_subscriber()

No parameters declared in the route registration.

curl
curl -X DELETE -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/subscribers/{subscriber_id}"

src/domains/changelog/routes.php:236

/changelog/admin/types

GETAccess check: auth_require_manage

Lists all changelog types, including disabled ones.

Handler: cb_get_admin_types()

No parameters declared in the route registration.

curl
curl -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/types"

POSTAccess check: auth_require_manage

Creates a changelog type from a label, colour and icon. Returns 201.

Handler: cb_create_type()

Parameters of POST /changelog/admin/types
ParameterTypeRequiredDefault or allowed values
labelstringYes—
colorstring——
iconstring——
curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/types" \
  -H "Content-Type: application/json" \
  -d '{"label": "…"}'

src/domains/changelog/routes.php:457

/changelog/admin/types/{key}

PUTPATCHAccess check: auth_require_manage

Updates a changelog type's label, colour, icon or enabled flag. Only the fields you send change.

Handler: cb_update_type()

Parameters of PUT/PATCH /changelog/admin/types/{key}
ParameterTypeRequiredDefault or allowed values
labelstring——
colorstring——
iconstring——
enabledboolean——
curl
curl -X PUT -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/types/{key}"

DELETEAccess check: auth_require_manage

Deletes a changelog type, optionally reassigning its entries to another type.

Handler: cb_delete_type()

Parameters of DELETE /changelog/admin/types/{key}
ParameterTypeRequiredDefault or allowed values
reassign_tostring——
curl
curl -X DELETE -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/types/{key}"

src/domains/changelog/routes.php:499

/changelog/admin/types/reorder

POSTAccess check: auth_require_manage

Reorders changelog types from a list of type keys.

Handler: cb_reorder_types()

Parameters of POST /changelog/admin/types/reorder
ParameterTypeRequiredDefault or allowed values
keysarrayYes—
curl
curl -X POST -u "user:application-password" "https://example.com/wp-json/davo/v1/changelog/admin/types/reorder" \
  -H "Content-Type: application/json" \
  -d '{"keys": []}'

src/domains/changelog/routes.php:482

/changelog/entries

GETPublic

Lists published changelog entries, filterable by type, release and search term. Search may be refused if public search is not allowed.

Handler: cb_get_public_entries()

No parameters declared in the route registration.

curl
curl "https://example.com/wp-json/davo/v1/changelog/entries"

src/domains/changelog/routes.php:95

/changelog/entries/{slug}

GETPublic

Returns one published changelog entry by slug.

Handler: cb_get_public_entry()

Parameters of GET /changelog/entries/{slug}
ParameterTypeRequiredDefault or allowed values
slugstringYes—
curl
curl "https://example.com/wp-json/davo/v1/changelog/entries/{slug}"

src/domains/changelog/routes.php:106

/changelog/releases

GETPublic

Lists published releases with pagination. Totals are returned in the X-WP-Total header.

Handler: cb_get_public_releases()

Parameters of GET /changelog/releases
ParameterTypeRequiredDefault or allowed values
pageinteger—1
per_pageinteger—10
curl
curl "https://example.com/wp-json/davo/v1/changelog/releases"

src/domains/changelog/routes.php:122

/changelog/releases/{slug}

GETPublic

Returns one published release, with its details, by slug.

Handler: cb_get_public_release()

Parameters of GET /changelog/releases/{slug}
ParameterTypeRequiredDefault or allowed values
slugstringYes—
curl
curl "https://example.com/wp-json/davo/v1/changelog/releases/{slug}"

src/domains/changelog/routes.php:142

/changelog/subscribers

POSTPublic

POST /changelog/subscribers — subscribe the current user, or start a guest signup from an email.

Handler: cb_subscribe()

Parameters of POST /changelog/subscribers
ParameterTypeRequiredDefault or allowed values
emailstring——
client_keysee source——
curl
curl -X POST "https://example.com/wp-json/davo/v1/changelog/subscribers"

src/domains/changelog/routes.php:163

/changelog/subscribers/status

POSTPublic

POST /changelog/subscribers/status — the caller's current subscription state.

Handler: cb_subscription_status()

Parameters of POST /changelog/subscribers/status
ParameterTypeRequiredDefault or allowed values
client_keysee source——
curl
curl -X POST "https://example.com/wp-json/davo/v1/changelog/subscribers/status"

src/domains/changelog/routes.php:183

/changelog/subscribers/unsubscribe-me

POSTPublic

POST /changelog/subscribers/unsubscribe-me — unsubscribe the current user, or the guest signup the caller's browser remembers.

Handler: cb_unsubscribe_me()

Parameters of POST /changelog/subscribers/unsubscribe-me
ParameterTypeRequiredDefault or allowed values
client_keysee source——
curl
curl -X POST "https://example.com/wp-json/davo/v1/changelog/subscribers/unsubscribe-me"

src/domains/changelog/routes.php:198

/changelog/timeline

GETPublic

Returns the public changelog timeline, filterable by type and search term. Search may be refused if public search is not allowed.

Handler: cb_get_public_timeline()

Parameters of GET /changelog/timeline
ParameterTypeRequiredDefault or allowed values
typestring——
qstring——
curl
curl "https://example.com/wp-json/davo/v1/changelog/timeline"

src/domains/changelog/routes.php:59

/changelog/types

GETPublic

Lists the enabled changelog types.

Handler: cb_get_public_types()

No parameters declared in the route registration.

curl
curl "https://example.com/wp-json/davo/v1/changelog/types"

src/domains/changelog/routes.php:49

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