ash_api

Crates.ioash_api
lib.rsash_api
version0.1.7
sourcesrc
created_at2023-11-10 11:17:53.227269
updated_at2024-06-24 10:05:06.278124
descriptionNo description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
homepage
repositoryhttps://github.com/AshAvalanche/ash-api-rs
max_upload_size
id1030954
size330,438
Léo Schoukroun (leopaul36)

documentation

https://ash.center/docs/console/

README

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

To get access to the crate's generated documentation, use:

cargo doc --open

Author

E36 Knots

Commit count: 0

cargo fmt