Edit page or site metadata
Replaces a page’s complete metadata object when page is sent, otherwise the site defaults in website_config. Takes the edit lease when no leaseToken is sent.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Body
1Page to edit. Omit to edit the site-wide default metadata in website_config.
1 - 255Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor.
1Response
The committed edit and the effective metadata.
Head version after the edit: the previous head plus one, or the unchanged head when changed is false.
false when the edit was a no-op and no new version was created.
Metadata now in the source: the page metadata when page was sent, otherwise the site-wide defaults that page metadata is layered onto.
Whether the metadata differs from its previous value.