8 releases
0.1.7 | Jun 24, 2024 |
---|---|
0.1.6 | Jun 5, 2024 |
0.1.5 | Feb 16, 2024 |
0.1.3 | Jan 4, 2024 |
0.1.1 | Nov 22, 2023 |
#6 in #openapitools
35 downloads per month
Used in 2 crates
(via ash_sdk)
230KB
4K
SLoC
Rust API client for ash_api
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 0.1.7
- Package version: 0.1.7
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named ash_api
and add the following to Cargo.toml
under [dependencies]
:
ash_api = { path = "./ash_api" }
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | add_project_cloud_region | POST /projects/{projectIdOrName}/regions | Add a cloud region to the project |
DefaultApi | create_project | POST /projects | Creates a new project |
DefaultApi | create_project_resource | POST /projects/{projectIdOrName}/resources | Creates a new resource |
DefaultApi | create_secret | POST /secrets | Creates a new secret |
DefaultApi | delete_project_by_id_or_name | DELETE /projects/{projectIdOrName} | Deletes a project by ID or name |
DefaultApi | delete_project_resource_by_id_or_name | DELETE /projects/{projectIdOrName}/resources/{resourceIdOrName} | Deletes a resource by ID or name |
DefaultApi | delete_secret_by_id_or_name | DELETE /secrets/{secretIdOrName} | Deletes a secret by ID or name |
DefaultApi | get_all_operations | GET /operations | Returns all the operations performed by a user |
DefaultApi | get_all_project_cloud_regions | GET /projects/{projectIdOrName}/regions | Returns all project cloud regions |
DefaultApi | get_all_project_resources | GET /projects/{projectIdOrName}/resources | Returns all project resources |
DefaultApi | get_all_projects | GET /projects | Returns all projects |
DefaultApi | get_all_secrets | GET /secrets | Returns all the secrets of a user |
DefaultApi | get_available_cloud_regions | GET /regions | Returns available regions for each cloud provider |
DefaultApi | get_operation_by_id | GET /operations/{operationId} | Returns an operation by ID |
DefaultApi | get_project_by_id_or_name | GET /projects/{projectIdOrName} | Returns a project by ID or name |
DefaultApi | get_project_cloud_region_by_id_or_name | GET /projects/{projectIdOrName}/regions/{regionIdOrName} | Returns a project cloud region by ID or name |
DefaultApi | get_project_resource_by_id_or_name | GET /projects/{projectIdOrName}/resources/{resourceIdOrName} | Returns a project resource by ID or name |
DefaultApi | get_secret_by_id_or_name | GET /secrets/{secretIdOrName} | Returns a secret by ID or name |
DefaultApi | remove_project_cloud_region_by_id_or_name | DELETE /projects/{projectIdOrName}/regions/{regionIdOrName} | Remove a project cloud region by ID or name |
DefaultApi | restart_project_resource_by_id_or_name | POST /projects/{projectIdOrName}/resources/{resourceIdOrName}/restart | Restarts a project resource by ID or name |
DefaultApi | update_project_by_id_or_name | PATCH /projects/{projectIdOrName} | Updates a project by ID or name |
DefaultApi | update_project_resource_by_id_or_name | PATCH /projects/{projectIdOrName}/resources/{resourceIdOrName} | Updates a project resource by ID or name |
DefaultApi | update_secret_by_id_or_name | PATCH /secrets/{secretIdOrName} | Updates a secret by ID or name |
Documentation For Models
- AvalancheNodeResource
- AvalancheNodeResourceBase
- AvalancheNodeResourceBaseNodeConfig
- AvalancheNodeResourceBaseNodeStatus
- AvalancheNodeResourceResponse
- AvalancheSubnetResource
- AvalancheSubnetResourceBase
- AvalancheSubnetResourceBaseSubnetConfig
- AvalancheSubnetResourceBaseSubnetStatus
- AvalancheSubnetResourceResponse
- AwsCredentialsSecret
- AwsCredentialsSecretBase
- AwsCredentialsSecretResponse
- AzureCredentialsSecret
- AzureCredentialsSecretBase
- AzureCredentialsSecretResponse
- BlockscoutResource
- BlockscoutResourceBase
- BlockscoutResourceBaseBlockscoutConfig
- BlockscoutResourceBaseBlockscoutStatus
- BlockscoutResourceResponse
- CloudProvider
- CloudRegion
- CreateProject400Response
- CreateProjectResourceRequest
- CreateSecretRequest
- GenericSecret
- GenericSecretBase
- GenericSecretResponse
- GetAllOperations401Response
- GetAllOperations403Response
- GetAllProjectResources200ResponseInner
- GetAllSecrets200ResponseInner
- GetOperationById404Response
- GoogleCredentialsSecret
- GoogleCredentialsSecretBase
- GoogleCredentialsSecretResponse
- Network
- NewAvalancheNodeResource
- NewAvalancheSubnetResource
- NewAwsCredentialsSecret
- NewAzureCredentialsSecret
- NewBlockscoutResource
- NewCloudRegion
- NewGenericSecret
- NewGoogleCredentialsSecret
- NewNodeIdSecret
- NewProject
- NewResource
- NewSecret
- NewWalletSecret
- NodeIdSecret
- NodeIdSecretBase
- NodeIdSecretResponse
- Operation
- Project
- ProjectSharedResourceConfig
- Resource
- ResourceType
- Secret
- SecretType
- SharedResourceConfig
- Size
- UpdateAvalancheNodeResource
- UpdateAvalancheSubnetResource
- UpdateAwsCredentialsSecret
- UpdateAzureCredentialsSecret
- UpdateBlockscoutResource
- UpdateGenericSecret
- UpdateGoogleCredentialsSecret
- UpdateNodeIdSecret
- UpdateProject
- UpdateProjectResourceByIdOrNameRequest
- UpdateResource
- UpdateSecret
- UpdateSecretByIdOrNameRequest
- UpdateWalletSecret
- WalletSecret
- WalletSecretBase
- WalletSecretResponse
To get access to the crate's generated documentation, use:
cargo doc --open
Author
E36 Knots
Dependencies
~5–20MB
~230K SLoC