Skip to main content
GET
Get schedule

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Path Parameters

project_id
integer
required

Project ID

Example:

1

region_id
integer
required

Region ID

Example:

1

schedule_id
string
required

Schedule ID

Example:

"1488e2ce-f906-47fb-ba32-c25a3f63df4f"

Response

OK

day
string | null
required

Day of the month (1-31, '*') or a comma-separated list of days. The value is null if the schedule does not set a day.

Example:

"5"

day_of_week
string | null
required

Weekday or a comma-separated list of weekdays (mon,tue,wed,thu,fri,sat,sun,*). The value is null if the schedule does not set a weekday.

Example:

"mon,fri"

hour
string | null
required

Hour (0-23, '*') or a comma-separated list of hours. The value is null if the schedule does not set an hour.

Example:

"0, 20"

id
string
required

Schedule ID

Example:

"1488e2ce-f906-47fb-ba32-c25a3f63df4f"

max_quantity
integer
required

Number of stored resources.

Required range: x <= 10000
Example:

2

minute
string | null
required

Minute (0-59, '*') or a comma-separated list of minutes. The value is null if the schedule does not set a minute.

Example:

"30"

month
string | null
required

Month (1-12, '*') or a comma-separated list of months. The value is null if the schedule does not set a month.

Example:

"1,6"

owner
string
required

Schedule owner

Example:

"lifecycle_policy"

owner_id
integer
required

Owner ID

Example:

1

resource_name_template
string | null
required

Template for resource names. The value is null if the schedule has no template.

Example:

"reserve snap of the volume {volume_id}"

retention_time
RetentionTimeSerializer · object | null
required

Time after which the resource will be deleted. The value is null if no retention is set.

timezone
string | null
required

A timezone name, for example Europe/Berlin. The value is null if the schedule does not set a timezone, and it then uses UTC.

Example:

"UTC"

type
string
required

Schedule type

Allowed value: "cron"
Example:

"cron"

user_id
integer
required

User ID

Example:

12

week
string | null
required

ISO week (1-53, '*') or a comma-separated list of weeks. The value is null if the schedule does not set a week.

Example:

"1"