59 lines
2.3 KiB
Markdown
59 lines
2.3 KiB
Markdown
|
# Rust API client for openapi
|
||
|
|
||
|
This is the public Twilio REST API.
|
||
|
|
||
|
For more information, please visit [https://support.twilio.com](https://support.twilio.com)
|
||
|
|
||
|
## 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.46.0
|
||
|
- Package version: 1.46.0
|
||
|
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
Put the package under your project folder in a directory named `openapi` and add the following to `Cargo.toml` under `[dependencies]`:
|
||
|
|
||
|
```
|
||
|
openapi = { path = "./openapi" }
|
||
|
```
|
||
|
|
||
|
## Documentation for API Endpoints
|
||
|
|
||
|
All URIs are relative to *https://content.twilio.com*
|
||
|
|
||
|
Class | Method | HTTP request | Description
|
||
|
------------ | ------------- | ------------- | -------------
|
||
|
*DefaultApi* | [**delete_content**](docs/DefaultApi.md#delete_content) | **DELETE** /v1/Content/{Sid} |
|
||
|
*DefaultApi* | [**fetch_approval_fetch**](docs/DefaultApi.md#fetch_approval_fetch) | **GET** /v1/Content/{Sid}/ApprovalRequests |
|
||
|
*DefaultApi* | [**fetch_content**](docs/DefaultApi.md#fetch_content) | **GET** /v1/Content/{Sid} |
|
||
|
*DefaultApi* | [**list_content**](docs/DefaultApi.md#list_content) | **GET** /v1/Content |
|
||
|
*DefaultApi* | [**list_content_and_approvals**](docs/DefaultApi.md#list_content_and_approvals) | **GET** /v1/ContentAndApprovals |
|
||
|
*DefaultApi* | [**list_legacy_content**](docs/DefaultApi.md#list_legacy_content) | **GET** /v1/LegacyContent |
|
||
|
|
||
|
|
||
|
## Documentation For Models
|
||
|
|
||
|
- [ContentPeriodV1PeriodContent](docs/ContentPeriodV1PeriodContent.md)
|
||
|
- [ContentPeriodV1PeriodContentAndApprovals](docs/ContentPeriodV1PeriodContentAndApprovals.md)
|
||
|
- [ContentPeriodV1PeriodContentPeriodApprovalFetch](docs/ContentPeriodV1PeriodContentPeriodApprovalFetch.md)
|
||
|
- [ContentPeriodV1PeriodLegacyContent](docs/ContentPeriodV1PeriodLegacyContent.md)
|
||
|
- [ListContentAndApprovalsResponse](docs/ListContentAndApprovalsResponse.md)
|
||
|
- [ListContentResponse](docs/ListContentResponse.md)
|
||
|
- [ListContentResponseMeta](docs/ListContentResponseMeta.md)
|
||
|
- [ListLegacyContentResponse](docs/ListLegacyContentResponse.md)
|
||
|
|
||
|
|
||
|
To get access to the crate's generated documentation, use:
|
||
|
|
||
|
```
|
||
|
cargo doc --open
|
||
|
```
|
||
|
|
||
|
## Author
|
||
|
|
||
|
support@twilio.com
|
||
|
|