Skip to content

Run layout operations [Beta]

POST /layout/{layoutId}/operations

Update the Space Graph layout through operations. E.g. update space meta data, move a chair or replace a product. This endpoint is currently in beta stage, breaking changes need to be expected.

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>