GET
/
cloud
/
v1
/
schedule
/
{project_id}
/
{region_id}
/
{schedule_id}
curl --request GET \
  --url https://api.gcore.com/cloud/v1/schedule/{project_id}/{region_id}/{schedule_id} \
  --header 'Authorization: <api-key>'
{
  "day": "5",
  "day_of_week": "mon,fri",
  "hour": "0, 20",
  "id": "1488e2ce-f906-47fb-ba32-c25a3f63df4f",
  "max_quantity": 2,
  "minute": "30",
  "month": "1,6",
  "owner": "lifecycle_policy",
  "owner_id": 1,
  "resource_name_template": "reserve snap of the volume {volume_id}",
  "retention_time": {
    "days": 0,
    "hours": 2,
    "minutes": 1,
    "weeks": 0
  },
  "timezone": "UTC",
  "type": "cron",
  "user_id": 12,
  "week": "1"
}

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

Examples:

1

region_id
integer
required

Region ID

Examples:

1

schedule_id
string
required

Schedule ID

Examples:

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

Response

200 - application/json

OK

The response is of type object.