Skip to Content
Publications

Atomically update all active publication variants

PATCH
/experiences/{experience_id}/publications

Authorization

cookie__Secure-avatarstudio.session_token<token>

An authenticated Studio session. Each operation enforces its resource and role permissions.

Path Parameters

experience_idrequiredstring
Match^exp_[1-9]\d{0,9}$

Header Parameters

if-matchrequiredstring

One strong ETag from the latest read of this resource or publication collection. Weak validators, wildcard and tag lists are not supported.

Match^(?:W\/)?"[\x21\x23-\x7e]*"$
Lengthlength <= 128

Request Body

application/json
  1. body
Properties1 <= properties
document_revision_idstring
Match^rev_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
allowed_originsarray<>
Itemsitems <= 128
max_concurrent_sessionsinteger
Range0 <= value <= 9007199254740990
Atomically update all active publication variants
curl -X PATCH 'https://example.com/v1/experiences/string/publications' \
  -H 'if-match: string' \
  -H 'Content-Type: application/json' \
  -d '{}'
{
  "object": "publication.collection.updated",
  "updated": 0
}

Response Body

OK

application/json
  1. response
objectrequiredunknown
updatedrequiredinteger
Range0 <= value <= 9007199254740991