PATCH
/
themes
/
{slug}
/
versions
/
{version}
curl --request PATCH \
  --url https://registry.wp-content.io/themes/{slug}/versions/{version} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "release_notes": "Release notes for this version\n_Markdown is accepted_."
}'
{
  "version": "1.0.1",
  "release_notes": "Release notes for this version\n_Markdown is accepted_.",
  "download_link": "https://wp-content-staging.s3.fr-par.scw.cloud/artifacts/themes/my-theme/my-theme-1.0.1-2f5fafc05b11f83c15a8b72ce15609c8.zip",
  "checksum": "2f5fafc05b11f83c15a8b72ce15609c8",
  "latest": true
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

slug
string
required

Slug of theme

version
string
required

Theme version to update

Body

application/json · object

Response

200
application/json

OK

The response is of type object.