Skip to main content

Get Tags from a Schedule

Endpoint: GET /api/scheduler/schedules/{name}/tags

Retrieves the tags associated with a schedule.

Path parameters

ParameterDescriptionTypeRequired/ Optional
nameThe name of the schedule from which the tags are to be retrieved.stringRequired.

Response

Returns an array of tag objects, each containing a key-value pair.

Examples

Get tags from a schedule

Request

curl -X 'GET' \
'https://<YOUR-CLUSTER>/api/scheduler/schedules/assignPRSchedule/tags' \
-H 'accept: application/json' \
-H 'X-Authorization: <TOKEN>'

Response

[
{
"key": "backend",
"value": "PR"
},
{
"key": "dev",
"value": "automation"
}
]