Skip to main content

List schedules

GET 

/schedules

Retrieve a list of schedules.

Request

Query Parameters

    name string

    The name of the configuration resource

    folder string

    The folder in which the resource is defined

    snippet string

    The snippet in which the resource is defined

    device string

    The device in which the resource is defined

    offset number

    Default value: 0

    The offset into the list of results returned

    limit number

    Default value: 200

    The maximum number of results per page

Responses

OK

Schema
    data object[]
  • Array [
  • id stringrequired

    The UUID of the schedule

    name stringrequired

    Possible values: <= 31 characters, Value must match regular expression ^[ a-zA-Z\d._-]+$

    The name of the schedule

    schedule_type object required
    oneOf
    recurring object
    oneOf
    weekly object
    sunday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    monday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    tuesday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    wednesday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    thursday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    friday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

    saturday string[]

    Possible values: >= 11 characters and <= 11 characters, Value must match regular expression ([01][0-9]|[2][0-3]):([0-5][0-9])-([01][0-9]|[2][0-3]):([0-5][0-9])

  • ]
  • limit number

    Default value: 200

    offset number

    Default value: 0

    total number
Loading...