Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,14 @@
/.venv
*.pyc
__pycache__

#
# Artifacts from the Rust client generation process
#
/crates/tower-api/.openapi-generator-ignore
/crates/tower-api/.openapi-generator/
/crates/tower-api/.travis.yml
/crates/tower-api/git_push.sh
/crates/tower-api/.gitignore
/scripts/openapi.json
/scripts/openapi-generator-cli-*.jar
18 changes: 10 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resolver = "2"

[workspace.package]
edition = "2021"
version = "0.3.10"
version = "0.3.11"
description = "Tower is the best way to host Python data apps in production"
rust-version = "1.77"
authors = ["Brad Heller <[email protected]>"]
Expand Down
3 changes: 2 additions & 1 deletion crates/tower-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ license = "Unlicense"
edition = "2021"

[dependencies]
log = { workspace = true }
serde = { version = "^1.0", features = ["derive"] }
serde_with = { version = "^3.8", default-features = false, features = ["base64", "std", "macros"] }
serde_json = "^1.0"
serde_repr = "^0.1"
url = "^2.5"
reqwest = { version = "^0.12", features = ["json", "multipart"] }
reqwest = { version = "^0.12", default-features = false, features = ["json", "multipart"] }
12 changes: 10 additions & 2 deletions crates/tower-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ For more information, please visit [https://tower.dev](https://tower.dev)

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: v0.5.1
- API version: v0.5.9
- Package version: 1.0.0
- Generator version: 7.13.0-SNAPSHOT
- Generator version: 7.13.0
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`

## Installation
Expand All @@ -28,6 +28,7 @@ All URIs are relative to *https://api.tower.dev/v1*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**accept_invitation**](docs/DefaultApi.md#accept_invitation) | **POST** /accounts/invite | Accept an invitation code
*DefaultApi* | [**acknowledge_alert**](docs/DefaultApi.md#acknowledge_alert) | **POST** /alerts/{alert_id}/acknowledge | Acknowledge alert
*DefaultApi* | [**cancel_run**](docs/DefaultApi.md#cancel_run) | **POST** /apps/{slug}/runs/{seq} | Cancel run
*DefaultApi* | [**claim_device_login_ticket**](docs/DefaultApi.md#claim_device_login_ticket) | **POST** /login/device/claim | Claim a device login ticket
*DefaultApi* | [**create_account**](docs/DefaultApi.md#create_account) | **POST** /accounts | Create account
Expand All @@ -38,6 +39,7 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**create_secret**](docs/DefaultApi.md#create_secret) | **POST** /secrets | Create secret
*DefaultApi* | [**create_session**](docs/DefaultApi.md#create_session) | **POST** /session | Create session
*DefaultApi* | [**create_team**](docs/DefaultApi.md#create_team) | **POST** /teams | Create team
*DefaultApi* | [**delete_alert**](docs/DefaultApi.md#delete_alert) | **DELETE** /alerts/{alert_id} | Delete alert
*DefaultApi* | [**delete_api_key**](docs/DefaultApi.md#delete_api_key) | **DELETE** /api-keys | Delete API key
*DefaultApi* | [**delete_app**](docs/DefaultApi.md#delete_app) | **DELETE** /apps/{slug} | Delete app
*DefaultApi* | [**delete_catalog**](docs/DefaultApi.md#delete_catalog) | **DELETE** /catalogs/{slug} | Delete catalog
Expand All @@ -57,6 +59,7 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**generate_run_statistics**](docs/DefaultApi.md#generate_run_statistics) | **GET** /stats/runs | Generate run statistics
*DefaultApi* | [**invite_team_member**](docs/DefaultApi.md#invite_team_member) | **POST** /teams/{slug}/invites | Invite team member
*DefaultApi* | [**leave_team**](docs/DefaultApi.md#leave_team) | **POST** /teams/{slug}/leave | Leave team
*DefaultApi* | [**list_alerts**](docs/DefaultApi.md#list_alerts) | **GET** /alerts | List alerts
*DefaultApi* | [**list_api_keys**](docs/DefaultApi.md#list_api_keys) | **GET** /api-keys | List API keys
*DefaultApi* | [**list_app_environments**](docs/DefaultApi.md#list_app_environments) | **GET** /apps/{slug}/environments | List app environments
*DefaultApi* | [**list_app_versions**](docs/DefaultApi.md#list_app_versions) | **GET** /apps/{name}/versions | List app versions
Expand Down Expand Up @@ -88,6 +91,9 @@ Class | Method | HTTP request | Description
- [AcceptInvitationParams](docs/AcceptInvitationParams.md)
- [AcceptInvitationResponse](docs/AcceptInvitationResponse.md)
- [Account](docs/Account.md)
- [AcknowledgeAlertResponse](docs/AcknowledgeAlertResponse.md)
- [Alert](docs/Alert.md)
- [AlertDetail](docs/AlertDetail.md)
- [ApiKey](docs/ApiKey.md)
- [App](docs/App.md)
- [AppStatistics](docs/AppStatistics.md)
Expand Down Expand Up @@ -141,6 +147,7 @@ Class | Method | HTTP request | Description
- [InviteTeamMemberParams](docs/InviteTeamMemberParams.md)
- [InviteTeamMemberResponse](docs/InviteTeamMemberResponse.md)
- [LeaveTeamResponse](docs/LeaveTeamResponse.md)
- [ListAlertsResponse](docs/ListAlertsResponse.md)
- [ListApiKeysResponse](docs/ListApiKeysResponse.md)
- [ListAppEnvironmentsResponse](docs/ListAppEnvironmentsResponse.md)
- [ListAppVersionsResponse](docs/ListAppVersionsResponse.md)
Expand All @@ -167,6 +174,7 @@ Class | Method | HTTP request | Description
- [RunAppParams](docs/RunAppParams.md)
- [RunAppResponse](docs/RunAppResponse.md)
- [RunLogLine](docs/RunLogLine.md)
- [RunParameter](docs/RunParameter.md)
- [RunResults](docs/RunResults.md)
- [RunStatistics](docs/RunStatistics.md)
- [Secret](docs/Secret.md)
Expand Down
4 changes: 2 additions & 2 deletions crates/tower-api/src/apis/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* REST API to interact with Tower Services.
*
* The version of the OpenAPI document: v0.5.1
* The version of the OpenAPI document: v0.5.9
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
*/
Expand Down Expand Up @@ -40,7 +40,7 @@ impl Default for Configuration {
fn default() -> Self {
Configuration {
base_path: "https://api.tower.dev/v1".to_owned(),
user_agent: Some("tower_cli_client".to_owned()),
user_agent: Some("Tower CLI".to_owned()),
client: reqwest::Client::new(),
basic_auth: None,
oauth_access_token: None,
Expand Down
Loading
Loading