curl --request GET \
--url https://api.ctrl-hub.com/v3/orgs/{orgId}/governance/schemes/{schemeId} \
--header 'Authorization: Bearer <token>'{
"data": {
"type": "schemes",
"id": "5852cf16-8ec8-4aba-809e-f8d828772c4e",
"attributes": {
"name": "IMGA100000",
"code": "CODE001",
"description": "DESC-123456",
"status": "active",
"start_date": "2024-06-13T00:00:00.000Z",
"end_date": "2024-08-13T00:00:00.000Z",
"labels": [
{
"key": "your-label",
"value": "abc123"
},
{
"key": "another-label",
"value": "meaningful-value"
}
]
},
"meta": {
"created_at": "2024-06-13T07:15:23.000Z"
},
"links": {
"self": "https://api.ctrl-hub.com/v3/governance/schemes/5852cf16-8ec8-4aba-809e-f8d828772c4e"
}
}
}Returns a scheme
curl --request GET \
--url https://api.ctrl-hub.com/v3/orgs/{orgId}/governance/schemes/{schemeId} \
--header 'Authorization: Bearer <token>'{
"data": {
"type": "schemes",
"id": "5852cf16-8ec8-4aba-809e-f8d828772c4e",
"attributes": {
"name": "IMGA100000",
"code": "CODE001",
"description": "DESC-123456",
"status": "active",
"start_date": "2024-06-13T00:00:00.000Z",
"end_date": "2024-08-13T00:00:00.000Z",
"labels": [
{
"key": "your-label",
"value": "abc123"
},
{
"key": "another-label",
"value": "meaningful-value"
}
]
},
"meta": {
"created_at": "2024-06-13T07:15:23.000Z"
},
"links": {
"self": "https://api.ctrl-hub.com/v3/governance/schemes/5852cf16-8ec8-4aba-809e-f8d828772c4e"
}
}
}To understand how to authenticate, see the auth docs
The ID of the organisation
"cc9746e0-9286-4575-ae0b-ac1b0fe873a6"
The ID of the scheme
"5852cf16-8ec8-4aba-809e-f8d828772c4e"
Show child attributes
The resource type
schemes "schemes"
The ID of the schemes
"5852cf16-8ec8-4aba-809e-f8d828772c4e"
Show child attributes
The name of the scheme
"IMGA100000"
The code of the scheme
"CODE001"
The description of the scheme
"DESC-123456"
The status of the scheme
In Planning, Live, On Hold, Complete, Cancelled "active"
The start date of the scheme
"2024-06-13T00:00:00.000Z"
The end date of the scheme
"2024-08-13T00:00:00.000Z"