Skip to content

Create/Update peel off monitor camera position

Request

Update a peel off monitor's camera position if it exists, create a new object linking the given peel off monitor to the given camera position otherwise.

Security
api_key
Bodyapplication/jsonrequired

A peel off monitor camera position to put.

cameraPositionIdstring, (uuid)required
countDirectionstringrequired
Enum:"direction_1""direction_2""direction_both"
countTypestringrequired
Enum:"base""peel_off"
idstring or null, (uuid)
peelOffMonitorIdstring, (uuid)required
statestring
Enum:"active""deleted"
curl -i -X PUT \
  https://coreapi.hoxton.ai/_mock/v1/peel-off-monitor-camera-positions \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150",
    "countDirection": "direction_1",
    "countType": "base",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "peelOffMonitorId": "cc189a22-8e7f-4749-b5e7-b00a5382d436",
    "state": "active"
  }'

Responses

Created.

Bodyapplication/json
cameraPositionIdstring, (uuid)required
countDirectionstringrequired
Enum:"direction_1""direction_2""direction_both"
countTypestringrequired
Enum:"base""peel_off"
deletedAtstring or null, (date-time)read-only
idstring or null, (uuid)
peelOffMonitorIdstring, (uuid)required
statestring
Enum:"active""deleted"
Response
{ "cameraPositionId": "37eacd70-df6f-462c-b57e-ba61d0ee7150", "countDirection": "direction_1", "countType": "base", "deletedAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "peelOffMonitorId": "cc189a22-8e7f-4749-b5e7-b00a5382d436", "state": "active" }