REST API for myBRC
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: v1
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./generated" }
All URIs are relative to https://scgup-dev.lbl.gov/mybrc-rest
Class | Method | HTTP request | Description |
---|---|---|---|
ApiTokenAuthApi | api_token_auth_create | post /api_token_auth/ | |
CanSubmitJobApi | can_submit_job_read | get /can_submit_job/{job_cost}/{user_id}/{account_id}/ | |
JobsApi | jobs_create | post /jobs/ | |
JobsApi | jobs_list | get /jobs/ | |
JobsApi | jobs_update | put /jobs/{jobslurmid}/ | |
PartitionsApi | partitions_list | get /partitions/ | |
UploadCpuDataApi | upload_cpu_data_update | put /upload_cpu_data/{filename} | |
UsersApi | users_list | get /users/ |
- InlineResponse200
- InlineResponse2001
- InlineResponse2002
- InlineResponse2003
- InlineResponse400
- Job
- Node
- Partition
- ScgUser
To get access to the crate's generated documentation, use:
cargo doc --open