CiRunnerPool
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
POST |
/api/v1/ci/runner_pools/{id}/promote_reconciliation_runtime |
create |
Verified runtime promoted for future reconciliation generations |
POST |
/api/v1/ci/runner_pools |
create |
Success |
GET |
/api/v1/ci/runner_pools |
list |
CI runner pools |
GET |
/api/v1/ci/runner_pools/{id} |
load |
CI runner pool catalog |
PATCH |
/api/v1/ci/runner_pools/{id} |
patch |
CI runner pool catalog |
PUT |
/api/v1/ci/runner_pools/{id} |
update |
Success |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
ci_runner_pools, err := client.CiRunnerPool(nil).List(nil, nil)
if err != nil {
panic(err)
}
fmt.Println(ci_runner_pools)
ci_runner_pool, err := client.CiRunnerPool(nil).Load(map[string]any{"id": "example_id"}, nil)
if err != nil {
panic(err)
}
fmt.Println(ci_runner_pool)
created, err := client.CiRunnerPool(nil).Create(map[string]any{}, nil)
if err != nil {
panic(err)
}
fmt.Println(created)
updated, err := client.CiRunnerPool(nil).Update(map[string]any{"id": "example_id"}, nil)
if err != nil {
panic(err)
}
fmt.Println(updated)
patched, err := client.CiRunnerPool(nil).Patch(map[string]any{"id": "example_id", "description": "example", "elastic_config_json": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(patched)
Lua
Construct client as shown in the Lua setup, then call the operations:
local ci_runner_pools, err = client:CiRunnerPool():list()
local ci_runner_pool, err = client:CiRunnerPool():load({ id = "example_id" })
local created, err = client:CiRunnerPool():create({ })
local updated, err = client:CiRunnerPool():update({ id = "example_id" })
local patched, err = client:CiRunnerPool():patch({ id = "example_id", description = "example", elastic_config_json = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$ci_runner_pools = $client->CiRunnerPool()->list();
$ci_runner_pool = $client->CiRunnerPool()->load(["id" => "example_id"]);
$created = $client->CiRunnerPool()->create([]);
$updated = $client->CiRunnerPool()->update(["id" => "example_id"]);
$patched = $client->CiRunnerPool()->patch(["id" => "example_id", "description" => "example", "elastic_config_json" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
ci_runner_pools = client.CiRunnerPool().list()
ci_runner_pool = client.CiRunnerPool().load({"id": "example_id"})
created = client.CiRunnerPool().create({ })
updated = client.CiRunnerPool().update({"id": "example_id"})
patched = client.CiRunnerPool().patch({"id": "example_id", "description": "example", "elastic_config_json": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
ci_runner_pools = client.CiRunnerPool.list()
ci_runner_pool = client.CiRunnerPool.load({ "id" => "example_id" })
created = client.CiRunnerPool.create({ })
updated = client.CiRunnerPool.update({ "id" => "example_id" })
patched = client.CiRunnerPool.patch({ "id" => "example_id", "description" => "example", "elastic_config_json" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const ci_runner_pools = await client.CiRunnerPool().list()
const ci_runner_pool = await client.CiRunnerPool().load({ id: "example_id" })
const created = await client.CiRunnerPool().create({ })
const updated = await client.CiRunnerPool().update({ id: "example_id" })
const patched = await client.CiRunnerPool().patch({ id: "example_id", description: "example", elastic_config_json: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
bazel_enabled |
boolean |
Yes | Bazel Enabled |
bazel_properties_json |
one,string,null |
Yes | Bazel Properties Json |
created_at |
string |
Yes | Created At |
description |
one,string,null |
Yes | Description |
elastic_config_json |
one,string,null |
Yes | Elastic Config Json |
elastic_provider_kind |
one,string,null |
Yes | Elastic Provider Kind |
id |
string |
Yes | Id |
isolation_mode |
string |
Yes | Isolation Mode |
labels_csv |
one,string,null |
Yes | Labels Csv |
max_concurrency |
integer |
Yes | Max Concurrency |
modal_capacity |
object |
Yes | Modal Capacity |
modal_runner_invocations |
array |
Yes | Modal Runner Invocations |
name |
string |
Yes | Name |
network_space_id |
one,string,null |
Yes | Network Space Id |
node_capabilities_csv |
one,string,null |
Yes | Node Capabilities Csv |
organization_id |
string |
Yes | Organization Id |
runner_count_label |
string |
Yes | Runner Count Label |
runner_kind |
string |
Yes | Runner Kind |
runners |
array |
Yes | Runners |
slug |
string |
Yes | Slug |
status |
string |
Yes | Status |
updated_at |
string |
Yes | Updated At |
create
POST /api/v1/ci/runner_pools/{id}/promote_reconciliation_runtime
Operation ID: promote_reconciliation_runtime_api_v1_runner_pool.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
expected_image_version |
string |
Yes | |
image_version |
string |
Yes |
Responses
200: Verified runtime promoted for future reconciliation generations
application/json
| Property | Type | Required | Description |
|---|---|---|---|
runner_pool_id |
string |
Yes | |
runtime |
object |
Yes | |
runtime.image_id |
string |
Yes | |
runtime.image_version |
string |
Yes | |
runtime.retained_reconciliation_images |
boolean |
Yes | |
runtime.runtime_kind |
string |
Yes |
401: Unauthorized
403: Platform administrator required
404: Not found
409: Runtime verification or expected configuration no longer matches
422: Unprocessable entity
502: Bad gateway
POST /api/v1/ci/runner_pools
Operation ID: post_api_v1_ci_runner_pools.
Authentication: bearer token (bearerAuth).
Request body
application/json
The request body is object.
Responses
200: Success
application/json
The response is object.
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
list
GET /api/v1/ci/runner_pools
Operation ID: api_v1_runner_pools.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
query |
string |
No |
Responses
200: CI runner pools
application/json
| Property | Type | Required | Description |
|---|---|---|---|
runner_pools |
array of object |
Yes | |
runner_pools[].bazel_enabled |
boolean |
Yes | |
runner_pools[].bazel_properties_json |
string |
Yes | |
runner_pools[].created_at |
string (date-time) |
Yes | |
runner_pools[].description |
string |
Yes | |
runner_pools[].elastic_config_json |
string |
Yes | |
runner_pools[].elastic_provider_kind |
string |
Yes | |
runner_pools[].id |
string |
Yes | |
runner_pools[].isolation_mode |
string |
Yes | |
runner_pools[].labels_csv |
string |
Yes | |
runner_pools[].max_concurrency |
integer |
Yes | |
runner_pools[].name |
string |
Yes | |
runner_pools[].network_space_id |
string |
Yes | |
runner_pools[].node_capabilities_csv |
string |
Yes | |
runner_pools[].organization_id |
string |
Yes | |
runner_pools[].runner_kind |
string |
Yes | |
runner_pools[].slug |
string |
Yes | |
runner_pools[].status |
string |
Yes | |
runner_pools[].updated_at |
string (date-time) |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
load
GET /api/v1/ci/runner_pools/{id}
Operation ID: api_v1_runner_pool.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path |
string |
Yes |
Responses
200: CI runner pool catalog
application/json
| Property | Type | Required | Description |
|---|---|---|---|
runner_pool |
object and object |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
patch
PATCH /api/v1/ci/runner_pools/{id}
Operation ID: patch_api_v1_ci_runner_pools_id_.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
description |
string |
No | |
elastic_config_json |
string |
No | |
elastic_provider_kind |
string |
No | |
isolation_mode |
string |
No | |
labels_csv |
string |
No | |
max_concurrency |
integer |
No | |
node_capabilities_csv |
string |
No | |
runner_kind |
string |
No | |
status |
string |
No |
Responses
200: CI runner pool catalog
application/json
| Property | Type | Required | Description |
|---|---|---|---|
runner_pool |
object and object |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway
update
PUT /api/v1/ci/runner_pools/{id}
Operation ID: put_api_v1_ci_runner_pools_id_.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path |
string |
Yes |
Request body
application/json
The request body is object.
Responses
200: Success
application/json
The response is object.