v2 - Contents
Versions
Decide Version Approval
Approve a version, or ask for changes to it, with an optional note.
Every decision is kept in the version's history (deciding the same thing twice is two entries); the latest is the version's state. A record, not a gate: it publishes nothing and no launch waits on it. Allowed on a published piece. The piece's creator and the version's uploader are told, and the workspace's history shows it.
Access: CONTENT_REVIEW on the piece's workspace (a reviewer, a team owner or admin, a workspace admin, the workspace owner). Agent keys also need the opt-in approvals:decide scope. 404 for a version the piece lacks.
post/v2/contents/{content_id}/versions/{number}/approval
Request
- Base URLhttps://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
numberinteger required
content_idstring required
Headers
Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.