Skip to content

Latest commit

 

History

History

mybrc_rest_client

Rust API client for openapi

REST API for myBRC

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: v1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder and add the following to Cargo.toml under [dependencies]:

    openapi = { path = "./generated" }

Documentation for API Endpoints

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/

Documentation For Models

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

cargo doc --open

Author