Appearance
Run layout operations
POST /layout/{layoutId}/operations
Update a Space Graph layout through operations. E.g. add custom attribute values, update space meta data, move a chair or replace a product. Calling this endpoint will create a new layout revision ( optionally not published ). As base revision you can either choose the latest revision (e.g. autosave) or latest published revision.
Request
Path Parameters
layoutId
string<uuid>
Body
operations
array [object ]
baseRevision
string ;values: latest |published
The revision to base the operations on. 'latest' uses the most recent revision, while 'published' uses the last published revision
publish
boolean
Whether to publish the new revision after applying the operations
Responses
200
Returns the new layout revision
name
string
published
boolean
layoutId
string<uuid>
revisionId
string<uuid>
userId
string<uuid>
preview
string<uri>