package
1.4.0
Repository: https://github.com/ghostmonitor/twilio-go.git
Documentation: pkg.go.dev

# 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

ClassMethodHTTP requestDescription
AppsApiDeleteAppDelete /v1/Apps/{Sid}
AppsApiFetchAppGet /v1/Apps/{Sid}
AppsApiListAppGet /v1/Apps
AppsManifestApiFetchAppManifestGet /v1/Apps/{AppSid}/Manifest
ConfigsApiCreateAccountConfigPost /v1/Configs
ConfigsApiDeleteAccountConfigDelete /v1/Configs/{Key}
ConfigsApiFetchAccountConfigGet /v1/Configs/{Key}
ConfigsApiListAccountConfigGet /v1/Configs
ConfigsApiUpdateAccountConfigPost /v1/Configs/{Key}
DevicesApiFetchDeviceGet /v1/Devices/{Sid}
DevicesApiListDeviceGet /v1/Devices
DevicesApiUpdateDevicePost /v1/Devices/{Sid}
DevicesConfigsApiCreateDeviceConfigPost /v1/Devices/{DeviceSid}/Configs
DevicesConfigsApiDeleteDeviceConfigDelete /v1/Devices/{DeviceSid}/Configs/{Key}
DevicesConfigsApiFetchDeviceConfigGet /v1/Devices/{DeviceSid}/Configs/{Key}
DevicesConfigsApiListDeviceConfigGet /v1/Devices/{DeviceSid}/Configs
DevicesConfigsApiUpdateDeviceConfigPost /v1/Devices/{DeviceSid}/Configs/{Key}
DevicesSecretsApiCreateDeviceSecretPost /v1/Devices/{DeviceSid}/Secrets
DevicesSecretsApiDeleteDeviceSecretDelete /v1/Devices/{DeviceSid}/Secrets/{Key}
DevicesSecretsApiFetchDeviceSecretGet /v1/Devices/{DeviceSid}/Secrets/{Key}
DevicesSecretsApiListDeviceSecretGet /v1/Devices/{DeviceSid}/Secrets
DevicesSecretsApiUpdateDeviceSecretPost /v1/Devices/{DeviceSid}/Secrets/{Key}
SecretsApiCreateAccountSecretPost /v1/Secrets
SecretsApiDeleteAccountSecretDelete /v1/Secrets/{Key}
SecretsApiFetchAccountSecretGet /v1/Secrets/{Key}
SecretsApiListAccountSecretGet /v1/Secrets
SecretsApiUpdateAccountSecretPost /v1/Secrets/{Key}

Documentation For Models

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'.