# Rust API client for approveapi_openapi
The simple API to request a user's approval on anything via email + sms.
## 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.0.1
- Package version: 0.1.9
- Build package: org.openapitools.codegen.languages.RustClientCodegen
## Installation
Put the package under your project folder and add the following in import:
```
"./approveapi_openapi"
```
## Documentation for API Endpoints
All URIs are relative to *https://approve.sh*
*ApproveApi* | [**create_prompt**](docs/ApproveApi.md#create_prompt) | **POST** /prompt | Sending a prompt
*ApproveApi* | [**get_prompt**](docs/ApproveApi.md#get_prompt) | **GET** /prompt/{id} | Retrieve a prompt
*ApproveApi* | [**get_prompt_status**](docs/ApproveApi.md#get_prompt_status) | **GET** /prompt/{id}/status | Check prompt status
## Documentation For Models
- [AnswerMetadata](docs/AnswerMetadata.md)
- [CreatePromptRequest](docs/CreatePromptRequest.md)
- [Error](docs/Error.md)
- [Prompt](docs/Prompt.md)
- [PromptAnswer](docs/PromptAnswer.md)
- [PromptMetadata](docs/PromptMetadata.md)
- [PromptStatus](docs/PromptStatus.md)
## Documentation For Authorization
## apiKey
- **Type**: HTTP basic authentication
Example
```
auth := context.WithValue(context.TODO(), sw.ContextBasicAuth, sw.BasicAuth{
UserName: "username",
Password: "password",
})
r, err := client.Service.Operation(auth, args)
```
## Author
dev@approveapi.com