PATCH
/
playgrounds
/
{playgroundId}
/
content
curl --request PATCH \
  --url https://api.icepanel.io/v1/playgrounds/{playgroundId}/content \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "connections": {
    "$add": {},
    "$remove": {},
    "$replace": {},
    "$update": {}
  },
  "objects": {
    "$add": {},
    "$remove": {},
    "$replace": {},
    "$update": {}
  },
  "version": 123
}'
{
  "playgroundContent": {
    "connections": {},
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "id": "<string>",
    "objects": {},
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>",
    "version": 123
  }
}

Headers

Authorization
string
required

Path Parameters

playgroundId
string
required

Body

application/json
connections
object
objects
object
version
number

Response

200
application/json
OK
playgroundContent
object
required