Path parameters
-
User-specified Blueprinter role ID.
GET
/platform/infrastructure/blueprinter/roles/{blueprinter_role_id}
curl \
-X GET https://{{hostname}}/api/v1/platform/infrastructure/blueprinter/roles/{blueprinter_role_id}
Response examples (200)
{
"id": "constructor",
"role": {
"value": {
"id": "constructor",
"auto_blessed": true,
"containers": [
{
"name": "string",
"container_set_name": "string",
"kind": "string",
"options": {
"enabled": true,
"auths": [
{
"scheme": "digest",
"auth": "string"
}
],
"acls": [
{
"id": "string",
"perms": 42,
"scheme": "string"
}
],
"runners_secret": "string",
"container_set_secret": "string",
"enabled_by_named_feature_flag": "string",
"overrides": {
"container_config": {
"env": [
"DB=localhost:4567"
],
"host_config": {
"extra_hosts": [
"string"
],
"network_mode": "string",
"cpu_period": 42,
"restart_policy": {
"name": "string",
"maximum_retry_count": 42
},
"port_bindings": {
"additionalProperty1": [
{
"host_port": "string",
"host_ip": "0.0.0.0"
}
],
"additionalProperty2": [
{
"host_port": "string",
"host_ip": "0.0.0.0"
}
]
},
"binds": [
"string"
],
"privileged": true
}
}
}
}
}
]
},
"meta": {
"created_time": "2024-05-04T09:42:00+00:00",
"modified_time": "2024-05-04T09:42:00+00:00",
"version": "string"
}
},
"blessings": {
"value": {
"runner_ids_to_blessing": {
"additionalProperty1": {
"value": true
},
"additionalProperty2": {
"value": true
}
}
},
"meta": {
"created_time": "2024-05-04T09:42:00+00:00",
"modified_time": "2024-05-04T09:42:00+00:00",
"version": "string"
}
},
"pending": {
"value": {
"runner_ids_to_pending_state": {
"additionalProperty1": {
"value": true
},
"additionalProperty2": {
"value": true
}
}
},
"meta": {
"created_time": "2024-05-04T09:42:00+00:00",
"modified_time": "2024-05-04T09:42:00+00:00",
"version": "string"
}
}
}
Response examples (404)
# Headers
x-cloud-error-codes: roles.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}