#client #api-client #open-api #generator #codegen #generate #user

approveapi_openapi

INTERNAL USE ONLY. OpenAPI-generated ApproveAPI rust client, used by the official client: https://crates.io/crates/approveapi.

7 releases

Uses old Rust 2015

0.1.9 Apr 1, 2019
0.1.6 Feb 26, 2019

#154 in #codegen

Download history 7/week @ 2024-04-22 6/week @ 2024-05-13 3/week @ 2024-05-20 4/week @ 2024-05-27 6/week @ 2024-06-03 6/week @ 2024-06-10 5/week @ 2024-06-17 53/week @ 2024-07-08 3/week @ 2024-07-22

56 downloads per month
Used in approveapi

MIT/Apache

29KB
586 lines

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 project. By using the openapi-spec 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

Class Method HTTP request Description
ApproveApi create_prompt POST /prompt Sending a prompt
ApproveApi get_prompt GET /prompt/{id} Retrieve a prompt
ApproveApi get_prompt_status GET /prompt/{id}/status Check prompt status

Documentation For Models

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

Dependencies

~7–17MB
~266K SLoC