Save_presentation
PUT
Save shared presentation state with Catalog publish permission. An outdated revision returns Conflict.
bearerAuthheader
AuthorizationBearer <token>project_id*stringapplication/json- body
Compare-and-swap one presentation. Revision zero creates it; value must be a JSON object of at most one MiB.
key*stringrevision*integerFormat
int32Range
-2147483648 <= value <= 2147483647value*unknownSuccess
application/json- response
The saved revision and document, or revision zero and no document when absent.
revision*integerFormat
int32Range
-2147483648 <= value <= 2147483647value?unknown|nullcurl -X PUT 'https://api.spiraldb.dev/api/projects/string/presentation' \ -H 'Content-Type: application/json' \ -d '{ "key": "string", "revision": -2147483648, "value": null}'{ "revision": -2147483648, "value": null}