Get Tags from a Schedule
Endpoint: GET /api/scheduler/schedules/{name}/tags
Retrieves the tags associated with a schedule.
Path parameters
| Parameter | Description | Type | Required/ Optional |
|---|---|---|---|
| name | The name of the schedule from which the tags are to be retrieved. | string | Required. |
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"
}
]