All URIs are relative to https://api.scaleway.com
Method | HTTP request | Description |
---|---|---|
create_project | POST /account/v2/projects | Create project |
delete_project | DELETE /account/v2/projects/{project_id} | Delete project |
get_project | GET /account/v2/projects/{project_id} | Get project |
list_projects | GET /account/v2/projects | List projects |
update_project | PATCH /account/v2/projects/{project_id} | Update project |
crate::models::ScalewayPeriodAccountPeriodV2PeriodProject create_project(create_project_request) Create project
Name | Type | Description | Required | Notes |
---|---|---|---|---|
create_project_request | CreateProjectRequest | [required] |
crate::models::ScalewayPeriodAccountPeriodV2PeriodProject
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_project(project_id) Delete project
Name | Type | Description | Required | Notes |
---|---|---|---|---|
project_id | String | The project ID of the project (UUID format) | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodAccountPeriodV2PeriodProject get_project(project_id) Get project
Name | Type | Description | Required | Notes |
---|---|---|---|---|
project_id | String | The project ID of the project (UUID format) | [required] |
crate::models::ScalewayPeriodAccountPeriodV2PeriodProject
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodAccountPeriodV2PeriodListProjectsResponse list_projects(organization_id, name, page, page_size, order_by, project_ids) List projects
Name | Type | Description | Required | Notes |
---|---|---|---|---|
organization_id | Option<String> | The organization ID of the project (UUID format) | ||
name | Option<String> | The name of the project | ||
page | Option<i32> | The page number for the returned projects | [default to 1] | |
page_size | Option<i32> | The maximum number of project per page | [default to 20] | |
order_by | Option<String> | The sort order of the returned projects | [default to created_at_asc] | |
project_ids | Option<Vec> | Filter out by a list of project ID |
crate::models::ScalewayPeriodAccountPeriodV2PeriodListProjectsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodAccountPeriodV2PeriodProject update_project(project_id, update_project_request) Update project
Name | Type | Description | Required | Notes |
---|---|---|---|---|
project_id | String | The project ID of the project (UUID format) | [required] | |
update_project_request | UpdateProjectRequest | [required] |
crate::models::ScalewayPeriodAccountPeriodV2PeriodProject
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]