cURL
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 }
Update plugin version details.
You can use this endpoint to change “latest” version of a plugin and add release notes.
Slug of theme
Theme version to update
OK
The response is of type object.
object