# README
Go API client for openapi
This is the public Twilio REST API.
Overview
This API client was generated by the OpenAPI Generator project from the OpenAPI specs located at twilio/twilio-oai. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit https://support.twilio.com
Installation
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import "./openapi"
Documentation for API Endpoints
All URIs are relative to https://microvisor.twilio.com
Class | Method | HTTP request | Description |
---|---|---|---|
AppsApi | DeleteApp | Delete /v1/Apps/{Sid} | |
AppsApi | FetchApp | Get /v1/Apps/{Sid} | |
AppsApi | ListApp | Get /v1/Apps | |
AppsManifestApi | FetchAppManifest | Get /v1/Apps/{AppSid}/Manifest | |
ConfigsApi | CreateAccountConfig | Post /v1/Configs | |
ConfigsApi | DeleteAccountConfig | Delete /v1/Configs/{Key} | |
ConfigsApi | FetchAccountConfig | Get /v1/Configs/{Key} | |
ConfigsApi | ListAccountConfig | Get /v1/Configs | |
ConfigsApi | UpdateAccountConfig | Post /v1/Configs/{Key} | |
DevicesApi | FetchDevice | Get /v1/Devices/{Sid} | |
DevicesApi | ListDevice | Get /v1/Devices | |
DevicesApi | UpdateDevice | Post /v1/Devices/{Sid} | |
DevicesConfigsApi | CreateDeviceConfig | Post /v1/Devices/{DeviceSid}/Configs | |
DevicesConfigsApi | DeleteDeviceConfig | Delete /v1/Devices/{DeviceSid}/Configs/{Key} | |
DevicesConfigsApi | FetchDeviceConfig | Get /v1/Devices/{DeviceSid}/Configs/{Key} | |
DevicesConfigsApi | ListDeviceConfig | Get /v1/Devices/{DeviceSid}/Configs | |
DevicesConfigsApi | UpdateDeviceConfig | Post /v1/Devices/{DeviceSid}/Configs/{Key} | |
DevicesSecretsApi | CreateDeviceSecret | Post /v1/Devices/{DeviceSid}/Secrets | |
DevicesSecretsApi | DeleteDeviceSecret | Delete /v1/Devices/{DeviceSid}/Secrets/{Key} | |
DevicesSecretsApi | FetchDeviceSecret | Get /v1/Devices/{DeviceSid}/Secrets/{Key} | |
DevicesSecretsApi | ListDeviceSecret | Get /v1/Devices/{DeviceSid}/Secrets | |
DevicesSecretsApi | UpdateDeviceSecret | Post /v1/Devices/{DeviceSid}/Secrets/{Key} | |
SecretsApi | CreateAccountSecret | Post /v1/Secrets | |
SecretsApi | DeleteAccountSecret | Delete /v1/Secrets/{Key} | |
SecretsApi | FetchAccountSecret | Get /v1/Secrets/{Key} | |
SecretsApi | ListAccountSecret | Get /v1/Secrets | |
SecretsApi | UpdateAccountSecret | Post /v1/Secrets/{Key} |
Documentation For Models
- ListAccountConfigResponse
- ListDeviceConfigResponse
- ListDeviceResponse
- MicrovisorV1App
- MicrovisorV1DeviceConfig
- MicrovisorV1AccountSecret
- MicrovisorV1AppManifest
- ListAppResponse
- MicrovisorV1Device
- MicrovisorV1AccountConfig
- ListAccountConfigResponseMeta
- ListAccountSecretResponse
- MicrovisorV1DeviceSecret
- ListDeviceSecretResponse
Documentation For Authorization
accountSid_authToken
- Type: HTTP basic authentication
Example
auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
UserName: "username",
Password: "password",
})
r, err := client.Service.Operation(auth, args)
# Functions
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
Optional parameters for the method 'CreateAccountConfig'.
Optional parameters for the method 'CreateAccountSecret'.
Optional parameters for the method 'CreateDeviceConfig'.
Optional parameters for the method 'CreateDeviceSecret'.
Optional parameters for the method 'ListAccountConfig'.
ListAccountConfigResponse struct for ListAccountConfigResponse.
ListAccountConfigResponseMeta struct for ListAccountConfigResponseMeta.
Optional parameters for the method 'ListAccountSecret'.
ListAccountSecretResponse struct for ListAccountSecretResponse.
Optional parameters for the method 'ListApp'.
ListAppResponse struct for ListAppResponse.
Optional parameters for the method 'ListDeviceConfig'.
ListDeviceConfigResponse struct for ListDeviceConfigResponse.
Optional parameters for the method 'ListDevice'.
ListDeviceResponse struct for ListDeviceResponse.
Optional parameters for the method 'ListDeviceSecret'.
ListDeviceSecretResponse struct for ListDeviceSecretResponse.
MicrovisorV1AccountConfig struct for MicrovisorV1AccountConfig.
MicrovisorV1AccountSecret struct for MicrovisorV1AccountSecret.
MicrovisorV1App struct for MicrovisorV1App.
MicrovisorV1AppManifest struct for MicrovisorV1AppManifest.
MicrovisorV1Device struct for MicrovisorV1Device.
MicrovisorV1DeviceConfig struct for MicrovisorV1DeviceConfig.
MicrovisorV1DeviceSecret struct for MicrovisorV1DeviceSecret.
Optional parameters for the method 'UpdateAccountConfig'.
Optional parameters for the method 'UpdateAccountSecret'.
Optional parameters for the method 'UpdateDeviceConfig'.
Optional parameters for the method 'UpdateDevice'.
Optional parameters for the method 'UpdateDeviceSecret'.