scenes

Api reference content
put/api/scenes/{sceneId}

Updates an existing scene.

Parameters

ParameterPlaceRequiredDescription
sceneIdpathrequired

Request body

Content typeSchema
application/json
{
  "name": "string",
  "start_at": "double",
  "days_of_week": "string",
  "date_range": {
    "to": "date-time",
    "from": "date-time"
  },
  "actions": {
    "leave_channel": [
      {
        "devices": "[string]"
      }
    ],
    "join_emitter_channel": [
      {
        "emitter": "string",
        "devices": "[string]"
      }
    ],
    "join_local_channel": [
      {
        "channel_id": "string",
        "devices": "[string]"
      }
    ],
    "change_volume": [
      {
        "volume": "double",
        "devices": "[string]"
      }
    ]
  }
}

Responses

StatusDescription
204
400
application/json
{
  "errors": "[string]"
}
404