Rust API client for tapis-globus-proxy
The Tapis Globus Proxy API proxies calls to Globus coming from a Tapis service.
For more information, please visit https://tapis-project.org
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: 1.3.0
- Package version: 0.2.0
- Generator version: 7.18.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named tapis-globus-proxy and add the following to Cargo.toml under [dependencies]:
tapis-globus-proxy = { path = "./tapis-globus-proxy" }
Documentation for API Endpoints
All URIs are relative to http://localhost:8080
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthApi | check_tokens | GET /v3/globus-proxy/auth/check_tokens/{client_id}/{endpoint_id} | Check token pair and refresh as needed |
| AuthApi | get_auth_info | GET /v3/globus-proxy/auth/url/{client_id}/{endpoint_id} | Return authorization URL given client Id |
| AuthApi | get_tokens | GET /v3/globus-proxy/auth/tokens/{client_id}/{session_id}/{auth_code} | Exchange authorization code for access and refresh tokens |
| FileOperationsApi | delete_path | DELETE /v3/globus-proxy/ops/{client_id}/{endpoint_id}/{path} | Delete a path |
| FileOperationsApi | list_files | GET /v3/globus-proxy/ops/{client_id}/{endpoint_id}/{path} | List files at path |
| FileOperationsApi | make_dir | POST /v3/globus-proxy/ops/{client_id}/{endpoint_id}/{path} | Create a directory |
| FileOperationsApi | rename_path | PUT /v3/globus-proxy/ops/{client_id}/{endpoint_id}/{path} | Rename a path |
| GeneralApi | health_check | GET /v3/globus-proxy/healthcheck | |
| TransfersApi | cancel_transfer_task | DELETE /v3/globus-proxy/transfers/{client_id}/{task_id} | Cancel a transfer task |
| TransfersApi | create_transfer_task | POST /v3/globus-proxy/transfers/{client_id} | Create task to transfer paths from one endpoint to another |
| TransfersApi | get_transfer_task | GET /v3/globus-proxy/transfers/{client_id}/{task_id} | Retrieve transfer task |
Documentation For Models
- AuthTokens
- GlobusConsentInfo
- GlobusFileInfo
- GlobusTaskCancelEnum
- GlobusTaskStatusEnum
- GlobusTaskTypeEnum
- GlobusTransferItem
- GlobusTransferTask
- GlobusTransferTaskFatalError
- ReqCreateTransfer
- ReqMakeDir
- ReqRename
- RespAuthTokens
- RespBasic
- RespCancelTask
- RespConsentRequired
- RespEndpointArray
- RespFileList
- RespFileListData
- RespGlobusAuthInfo
- RespTransferTask
- RespUrl
- ResultCancelTask
- ResultEndpointArray
- ResultGlobusAuthInfo
- ResultUrl
To get access to the crate's generated documentation, use:
cargo doc --open