POST/v1/experiences/{id}/publish

Publish the draft scene

Publishes the draft as the next version, checked against the latest published version of the design; scans open the latest version. A first publish takes one of the plan's published experiences.

Scope experiences.writeIdempotent with a key

Path parameters

idstringrequired

Headers

Idempotency-Keystringmax length 255

Up to 255 characters, scoped to the organisation and the endpoint, kept for 24 hours: a repeat with the same body replays the stored response with Idempotent-Replayed: true (API-004).

Returns

16 fields of the 200 answer
idstringrequired
namestringrequired
kindenumrequired
ar
templateIdstringrequired
sideenumrequired
frontback
statusenumrequired
DRAFTPUBLISHEDPAUSED
fallbackUrlstring or nullrequired
startPageobjectrequired
6 fields
titlestringrequiredmax length 80
textstringrequiredmax length 240
buttonstringrequiredmax length 40
backgroundone of or nullrequired
buttonShapeenumrequired
pillroundedsquare
buttonColourstring or nullrequired
draftRevisionintegerrequired
draftUpdatedAtdate-timerequired
latestVersionNumberintegerrequired
createdAtdate-timerequired
updatedAtdate-timerequired
sceneobjectrequired
7 fields
schemaVersionnumberrequired
kindstringrequired
startobjectrequired
2 fields
titlestringrequiredmax length 120
buttonstringrequiredmax length 40
soundobject or nullrequired
3 fields
assetIdstringrequiredmin length 1
loopbooleanrequired
volumenumberrequiredmin 0max 1
lightobject
2 fields
fromenumrequired
topLefttoptopRight
strengthenumrequired
softnormalbright
fontsarray of objectsrequiredmax items 8
3 fields
idstringrequiredmin length 1
familystringrequiredmin length 1
sourceenumrequired
curatedorganisationgoogle
elementsarray of one ofrequiredmax items 60
issuesarray of objectsrequired
4 fields
codeenumrequired
duplicate_idtap_target_missingtap_target_not_videolink_invalidfont_missingfield_unknownoutside_cardimage_missingmedia_missingmedia_processingmedia_failedkey_not_readyqr_missingrecognition_too_lowrecognition_poordepth_preparingdepth_unavailabletext_smallbutton_small
severityenumrequired
errorwarning
elementIdstring
messagestringrequired
qrobjectrequired
3 fields
publishedenumrequired
opensother_linknone
draftenumrequired
opensother_linknone
draftCodesintegerrequired

Responses

200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
409A request with this Idempotency-Key is still in progress (idempotency_in_progress)
422Validation failed, or the Idempotency-Key was used with another body (idempotency_key_reused)
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)