# 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](https://tapis-project.org)
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.
- API version: 1.3.0
- Package version: 0.3.1
- 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*
*AuthApi* | [**check_tokens**](docs/AuthApi.md#check_tokens) | **GET** /v3/globus-proxy/auth/check_tokens/{client_id}/{endpoint_id} | Check token pair and refresh as needed
*AuthApi* | [**get_auth_info**](docs/AuthApi.md#get_auth_info) | **GET** /v3/globus-proxy/auth/url/{client_id}/{endpoint_id} | Return authorization URL given client Id
*AuthApi* | [**get_tokens**](docs/AuthApi.md#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**](docs/FileOperationsApi.md#delete_path) | **DELETE** /v3/globus-proxy/ops/{client_id}/{endpoint_id}/{path} | Delete a path
*FileOperationsApi* | [**list_files**](docs/FileOperationsApi.md#list_files) | **GET** /v3/globus-proxy/ops/{client_id}/{endpoint_id}/{path} | List files at path
*FileOperationsApi* | [**make_dir**](docs/FileOperationsApi.md#make_dir) | **POST** /v3/globus-proxy/ops/{client_id}/{endpoint_id}/{path} | Create a directory
*FileOperationsApi* | [**rename_path**](docs/FileOperationsApi.md#rename_path) | **PUT** /v3/globus-proxy/ops/{client_id}/{endpoint_id}/{path} | Rename a path
*GeneralApi* | [**health_check**](docs/GeneralApi.md#health_check) | **GET** /v3/globus-proxy/healthcheck |
*TransfersApi* | [**cancel_transfer_task**](docs/TransfersApi.md#cancel_transfer_task) | **DELETE** /v3/globus-proxy/transfers/{client_id}/{task_id} | Cancel a transfer task
*TransfersApi* | [**create_transfer_task**](docs/TransfersApi.md#create_transfer_task) | **POST** /v3/globus-proxy/transfers/{client_id} | Create task to transfer paths from one endpoint to another
*TransfersApi* | [**get_transfer_task**](docs/TransfersApi.md#get_transfer_task) | **GET** /v3/globus-proxy/transfers/{client_id}/{task_id} | Retrieve transfer task
## Documentation For Models
- [AuthTokens](docs/AuthTokens.md)
- [GlobusConsentInfo](docs/GlobusConsentInfo.md)
- [GlobusFileInfo](docs/GlobusFileInfo.md)
- [GlobusTaskCancelEnum](docs/GlobusTaskCancelEnum.md)
- [GlobusTaskStatusEnum](docs/GlobusTaskStatusEnum.md)
- [GlobusTaskTypeEnum](docs/GlobusTaskTypeEnum.md)
- [GlobusTransferItem](docs/GlobusTransferItem.md)
- [GlobusTransferTask](docs/GlobusTransferTask.md)
- [GlobusTransferTaskFatalError](docs/GlobusTransferTaskFatalError.md)
- [ReqCreateTransfer](docs/ReqCreateTransfer.md)
- [ReqMakeDir](docs/ReqMakeDir.md)
- [ReqRename](docs/ReqRename.md)
- [RespAuthTokens](docs/RespAuthTokens.md)
- [RespBasic](docs/RespBasic.md)
- [RespCancelTask](docs/RespCancelTask.md)
- [RespConsentRequired](docs/RespConsentRequired.md)
- [RespEndpointArray](docs/RespEndpointArray.md)
- [RespFileList](docs/RespFileList.md)
- [RespFileListData](docs/RespFileListData.md)
- [RespGlobusAuthInfo](docs/RespGlobusAuthInfo.md)
- [RespTransferTask](docs/RespTransferTask.md)
- [RespUrl](docs/RespUrl.md)
- [ResultCancelTask](docs/ResultCancelTask.md)
- [ResultEndpointArray](docs/ResultEndpointArray.md)
- [ResultGlobusAuthInfo](docs/ResultGlobusAuthInfo.md)
- [ResultUrl](docs/ResultUrl.md)
To get access to the crate's generated documentation, use:
```
cargo doc --open
```
## Author
cicsupport@tacc.utexas.edu