curl --request GET \
--url https://api.ctrl-hub.com/v3/training-standards \
--header 'X-Session-Token: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"title": "<string>",
"status": "ingested",
"provenance": "citb",
"grant_ts_code": "<string>",
"occupational_area": "<string>",
"product_type": "Recognised",
"url": "<string>",
"citb_status": "Published",
"grant_tier": "<string>",
"grant_amount_pence": 123,
"renewal_period_months": 123,
"last_updated_at": "2023-11-07T05:31:56Z",
"last_synced_at": "2023-11-07T05:31:56Z"
},
"meta": {
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"standards_body": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
},
"categories": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
}
}
}
],
"meta": {
"pagination": {
"counts": {
"pages": 123,
"resources": 123
},
"current_page": 123,
"offsets": {
"next": 123,
"previous": 123
},
"requested": {
"limit": 123,
"offset": 123
}
},
"features": {
"include": {
"options": [
"<string>"
]
}
}
},
"jsonapi": {
"version": "<string>"
},
"included": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"name": "<string>",
"provenance": "citb",
"acronym": "<string>",
"website": "<string>"
}
}
]
}Retrieve a list of training standards from the training standards library.
curl --request GET \
--url https://api.ctrl-hub.com/v3/training-standards \
--header 'X-Session-Token: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"title": "<string>",
"status": "ingested",
"provenance": "citb",
"grant_ts_code": "<string>",
"occupational_area": "<string>",
"product_type": "Recognised",
"url": "<string>",
"citb_status": "Published",
"grant_tier": "<string>",
"grant_amount_pence": 123,
"renewal_period_months": 123,
"last_updated_at": "2023-11-07T05:31:56Z",
"last_synced_at": "2023-11-07T05:31:56Z"
},
"meta": {
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"standards_body": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
},
"categories": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
]
}
}
}
],
"meta": {
"pagination": {
"counts": {
"pages": 123,
"resources": 123
},
"current_page": 123,
"offsets": {
"next": 123,
"previous": 123
},
"requested": {
"limit": 123,
"offset": 123
}
},
"features": {
"include": {
"options": [
"<string>"
]
}
}
},
"jsonapi": {
"version": "<string>"
},
"included": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"name": "<string>",
"provenance": "citb",
"acronym": "<string>",
"website": "<string>"
}
}
]
}Session token for authentication.
A comma separated list of fields to sort by.
title, -title, occupational_area, -occupational_area, created_at, -created_at A comma separated list of related resources to include.
standards_body, categories Limit the number of resources returned by the API
x >= 1Offset the resources returned by the API
x >= 0Get a list of training standards.
JSON API response object
Show child attributes
Show child attributes
Show child attributes
Related resources that can be included when a training standard is returned
A standards body
Show child attributes