Rust API client for tapis-meta
The Tapis Meta API provides access to a MongoDB database. A standalone service which connects to a MongoDB database and immediately exposes all of MongoDB’s capabilities through a complete REST API, which allows the user to read and write JSON messages and binary data via HTTP.
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: 0.1
- 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-meta and add the following to Cargo.toml under [dependencies]:
tapis-meta = { path = "./tapis-meta" }
Documentation for API Endpoints
All URIs are relative to http://localhost:8080/v3
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AggregationApi | add_aggregation | PUT /meta/{db}/{collection}/_aggr/{aggregation} | addAggregation |
| AggregationApi | delete_aggregation | DELETE /meta/{db}/{collection}/_aggr/{aggregation} | deleteAggregation |
| AggregationApi | submit_large_aggregation | POST /meta/{db}/{collection}/_aggr/{aggregation} | submitLargeAggregation |
| AggregationApi | use_aggregation | GET /meta/{db}/{collection}/_aggr/{aggregation} | useAggregation |
| CollectionApi | create_collection | PUT /meta/{db}/{collection} | createCollection |
| CollectionApi | delete_collection | DELETE /meta/{db}/{collection} | deleteCollection |
| CollectionApi | get_collection_metadata | GET /meta/{db}/{collection}/_meta | getCollectionMetadata |
| CollectionApi | get_collection_size | GET /meta/{db}/{collection}/_size | getCollectionSize |
| CollectionApi | list_documents | GET /meta/{db}/{collection} | listDocuments |
| CollectionApi | submit_large_query | POST /meta/{db}/{collection}/_filter | submitLargeQuery |
| DbApi | create_db | PUT /meta/{db} | createDB |
| DbApi | delete_db | DELETE /meta/{db} | deleteDB |
| DbApi | get_db_metadata | GET /meta/{db}/_meta | getDBMetadata |
| DbApi | list_collection_names | GET /meta/{db} | listCollectionNames |
| DocumentApi | create_document | POST /meta/{db}/{collection} | createDocument |
| DocumentApi | delete_document | DELETE /meta/{db}/{collection}/{docId} | deleteDocument |
| DocumentApi | get_document | GET /meta/{db}/{collection}/{docId} | getDocument |
| DocumentApi | modify_document | PATCH /meta/{db}/{collection}/{docId} | modifyDocument |
| DocumentApi | replace_document | PUT /meta/{db}/{collection}/{docId} | replaceDocument |
| GeneralApi | healthcheck | GET /meta/healthcheck | |
| IndexApi | create_index | PUT /meta/{db}/{collection}/_indexes/{indexName} | createIndex |
| IndexApi | delete_index | DELETE /meta/{db}/{collection}/_indexes/{indexName} | deleteIndex |
| IndexApi | list_indexes | GET /meta/{db}/{collection}/_indexes | listIndexes |
| RootApi | list_db_names | GET /meta/ | listDBNames |
Documentation For Models
To get access to the crate's generated documentation, use:
cargo doc --open