API
LeaseCache
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/nodes/{id}/leases/{lease_id}/cache/restore |
create |
Success |
POST |
/api/v1/ci/nodes/{id}/leases/{lease_id}/cache/save |
create |
Success |
Fields
| Field | Type | Required | Description |
|---|
create
POST /api/v1/ci/nodes/{id}/leases/{lease_id}/cache/restore
Operation ID: post_api_v1_ci_nodes_id_leases_lease_id_cache_restore.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path |
string |
Yes | |
lease_id |
path |
string |
Yes |
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
POST /api/v1/ci/nodes/{id}/leases/{lease_id}/cache/save
Operation ID: post_api_v1_ci_nodes_id_leases_lease_id_cache_save.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path |
string |
Yes | |
lease_id |
path |
string |
Yes |
Request body
application/json
The request body is object.
Responses
200: Success
application/json
The response is object.