circle-info
Squadcast is now SolarWinds Incident Response

Schedules

Overview

Available Operations

list

List Schedules

Example Usage

Parameters

Parameter
Type
Required
Description

team_id

str

✔️

N/A

schedule_i_ds

List[int]

N/A

participants

List[str]

N/A

schedule_name

Optional[str]

N/A

my_on_call

Optional[bool]

N/A

you_and_your_squads

Optional[bool]

N/A

search

Optional[str]

N/A

hide_paused

Optional[bool]

N/A

owner_id

Optional[str]

N/A

escalation_policies

List[str]

N/A

without_escalation_policy

Optional[bool]

N/A

page_size

Optional[int]

N/A

cursor

Optional[str]

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.SchedulesListSchedulesResponse

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

create

Create Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

name

str

✔️

N/A

description

str

✔️

N/A

team_id

str

✔️

N/A

owner_id

str

✔️

N/A

time_zone

str

✔️

N/A

tags

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.SchedulesCreateScheduleResponse

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

delete

Delete Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

schedule_id

str

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

bytesarrow-up-right

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

get_by_id

Get Schedule by ID

Example Usage

Parameters

Parameter
Type
Required
Description

schedule_id

str

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.SchedulesGetScheduleByIDResponse

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

update

Update Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

schedule_id

str

✔️

N/A

name

str

✔️

N/A

description

str

✔️

N/A

owner_id

str

✔️

N/A

tags

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.SchedulesUpdateScheduleResponse

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

pause_resume

Pause/Resume Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

schedule_id

str

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.SchedulesPauseresumeScheduleResponse

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

change_timezone

Change Timezone

Example Usage

Parameters

Parameter
Type
Required
Description

schedule_id

str

✔️

N/A

time_zone

Optional[str]

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.SchedulesChangeTimezoneResponse

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

clone

Clone Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

schedule_id

str

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.SchedulesCloneScheduleResponse

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

Get Schedule ICal Link

Example Usage

Parameters

Parameter
Type
Required
Description

schedule_id

str

✔️

N/A

my_on_call

bool

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.ExportGetScheduleIcalLinkResponse

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

Create Schedule ICal Link

Example Usage

Parameters

Parameter
Type
Required
Description

schedule_id

str

✔️

N/A

my_on_call

bool

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.ExportCreateScheduleIcalLinkResponse

Errors

Error Type
Status Code
Content Type

errors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

errors.CommonV4Error

500, 502, 503, 504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

Last updated