Перейти до основного вмісту

Отримати розклад

GET 

/schedules/:id

Отримати інформацію про розклад

Request

Path Parameters

    id integerrequired

    Ідентифікатор розкладу

Responses

Отримайте конкретний розклад

Schema

    successbooleanrequired

    Прапорець, який показує, чи був запит успішним

    activeboolean

    Is schedule active

    type

    string

    required

    Possible values: [thermostat, actionCall, sceneInvoke]

    Schedule type

    schedule_periods

    object[]

    Array of schedule periods

  • Array [

  • daystring

    День

    Possible values: [monday, tuesday, wednesday, thursday, friday, saturday, sunday]

    timepoints

    object[]

    .schedules.period.thermostat.timepoints.description

  • Array [

  • timestring

    .schedules.period.timepoints.time.description

    Example: 12:00
    setpointnumber

    .schedules.period.thermostat.timepoints.setpoint.description

    Example: 20.5
    modestring

    .schedules.period.thermostat.timepoints.mode.description

    Possible values: [Off, Heat, Cool, Auto]

    Example: Heat
  • ]

  • ]

  • target_typestring

    Possible values: [device, room]

    target_idsinteger[]

    IDs of targets

    period_typestring

    Schedule repeat period

    Possible values: [yearly, monthly, weekly, daily, hourly, interval]

    idinteger

    Schedule ID