Rancher Projects
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| Core CRUD | ||
| GET | /api/rancher-projects/ |
List Rancher Projects |
| GET | /api/rancher-projects/{uuid}/ |
Retrieve |
| Other Actions | ||
| GET | /api/rancher-projects/{uuid}/secrets/ |
Returns project's secrets |
Core CRUD
List Rancher Projects
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
rancher_projects_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
cluster_uuid |
string (uuid) | |
name |
string | |
name_exact |
string | |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
settings |
string | |
settings_uuid |
string (uuid) |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
created |
string (date-time) |
modified |
string (date-time) |
runtime_state |
string |
cluster |
string (uri) |
namespaces |
array of objects |
namespaces.url |
string (uri) |
namespaces.uuid |
string (uuid) |
namespaces.name |
string |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
rancher_projects_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
created |
string (date-time) |
modified |
string (date-time) |
runtime_state |
string |
cluster |
string (uri) |
namespaces |
array of objects |
namespaces.url |
string (uri) |
namespaces.uuid |
string (uuid) |
namespaces.name |
string |
Other Actions
Returns project's secrets
Returns project's secrets.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
rancher_projects_secrets_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
created |
string (date-time) |
modified |
string (date-time) |
runtime_state |
string |
cluster |
string (uri) |
namespaces |
array of objects |
namespaces.url |
string (uri) |
namespaces.uuid |
string (uuid) |
namespaces.name |
string |