All URIs are relative to https://app.torizon.io/api/v2beta
Method | HTTP request | Description |
---|---|---|
DeleteDevicesDeviceuuid | Delete /devices/{deviceUuid} | Delete a single device |
GetDevices | Get /devices | Query device information |
GetDevicesDeviceuuid | Get /devices/{deviceUuid} | Get detailed information about a single device |
GetDevicesNameDeviceuuid | Get /devices/name/{deviceUuid} | Get the display name of a single device |
GetDevicesNetwork | Get /devices/network | Get network information for many devices |
GetDevicesNetworkDeviceuuid | Get /devices/network/{deviceUuid} | Get network information for a single device |
GetDevicesNotesDeviceuuid | Get /devices/notes/{deviceUuid} | Get the device notes for a specific device |
GetDevicesPackages | Get /devices/packages | Get information about the installed packages for many devices |
GetDevicesPackagesDeviceuuid | Get /devices/packages/{deviceUuid} | Get information about the installed packages for a single device |
GetDevicesToken | Get /devices/token | Retrieve device provisioning token |
GetDevicesUptaneDeviceuuidAssignment | Get /devices/uptane/{deviceUuid}/assignment | Show detailed information about the currently-assigned update for a single device |
GetDevicesUptaneDeviceuuidComponents | Get /devices/uptane/{deviceUuid}/components | Get a list of the software components reported by a single device |
PostDevices | Post /devices | Manually create a new device |
PutDevicesHibernationDeviceuuid | Put /devices/hibernation/{deviceUuid} | Set the hibernation status of a device |
PutDevicesNameDeviceuuid | Put /devices/name/{deviceUuid} | Set the display name of a single device |
PutDevicesNotesDeviceuuid | Put /devices/notes/{deviceUuid} | Set the device notes for a specific device |
DeleteDevicesDeviceuuid(ctx, deviceUuid).Execute()
Delete a single device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DevicesAPI.DeleteDevicesDeviceuuid(context.Background(), deviceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.DeleteDevicesDeviceuuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiDeleteDevicesDeviceuuidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginationResultDeviceInfoBasic GetDevices(ctx).Offset(offset).Limit(limit).DeviceUuid(deviceUuid).NameContains(nameContains).Hibernated(hibernated).Status(status).ActivatedAfter(activatedAfter).ActivatedBefore(activatedBefore).SortBy(sortBy).SortDirection(sortDirection).Execute()
Query device information
package main
import (
"context"
"fmt"
"os"
"time"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
offset := int64(789) // int64 | (optional)
limit := int64(789) // int64 | (optional)
deviceUuid := []string{"Inner_example"} // []string | (optional)
nameContains := "nameContains_example" // string | (optional)
hibernated := true // bool | (optional)
status := openapiclient.DeviceStatus("NotSeen") // DeviceStatus | (optional)
activatedAfter := time.Now() // time.Time | (optional)
activatedBefore := time.Now() // time.Time | (optional)
sortBy := openapiclient.DeviceSort("Name") // DeviceSort | (optional)
sortDirection := openapiclient.DeviceSortDirection("Asc") // DeviceSortDirection | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevices(context.Background()).Offset(offset).Limit(limit).DeviceUuid(deviceUuid).NameContains(nameContains).Hibernated(hibernated).Status(status).ActivatedAfter(activatedAfter).ActivatedBefore(activatedBefore).SortBy(sortBy).SortDirection(sortDirection).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevices``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevices`: PaginationResultDeviceInfoBasic
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevices`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetDevicesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
offset | int64 | ||
limit | int64 | ||
deviceUuid | []string | ||
nameContains | string | ||
hibernated | bool | ||
status | DeviceStatus | ||
activatedAfter | time.Time | ||
activatedBefore | time.Time | ||
sortBy | DeviceSort | ||
sortDirection | DeviceSortDirection |
PaginationResultDeviceInfoBasic
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeviceInfoExtended GetDevicesDeviceuuid(ctx, deviceUuid).Execute()
Get detailed information about a single device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesDeviceuuid(context.Background(), deviceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesDeviceuuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesDeviceuuid`: DeviceInfoExtended
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesDeviceuuid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiGetDevicesDeviceuuidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string GetDevicesNameDeviceuuid(ctx, deviceUuid).Execute()
Get the display name of a single device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesNameDeviceuuid(context.Background(), deviceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesNameDeviceuuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesNameDeviceuuid`: string
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesNameDeviceuuid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiGetDevicesNameDeviceuuidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginationResultNetworkInfo GetDevicesNetwork(ctx).Offset(offset).Limit(limit).DeviceUuid(deviceUuid).Execute()
Get network information for many devices
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
offset := int64(789) // int64 | (optional)
limit := int64(789) // int64 | (optional)
deviceUuid := []string{"Inner_example"} // []string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesNetwork(context.Background()).Offset(offset).Limit(limit).DeviceUuid(deviceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesNetwork``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesNetwork`: PaginationResultNetworkInfo
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesNetwork`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetDevicesNetworkRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
offset | int64 | ||
limit | int64 | ||
deviceUuid | []string |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NetworkInfo GetDevicesNetworkDeviceuuid(ctx, deviceUuid).Execute()
Get network information for a single device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesNetworkDeviceuuid(context.Background(), deviceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesNetworkDeviceuuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesNetworkDeviceuuid`: NetworkInfo
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesNetworkDeviceuuid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiGetDevicesNetworkDeviceuuidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string GetDevicesNotesDeviceuuid(ctx, deviceUuid).Execute()
Get the device notes for a specific device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesNotesDeviceuuid(context.Background(), deviceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesNotesDeviceuuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesNotesDeviceuuid`: string
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesNotesDeviceuuid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiGetDevicesNotesDeviceuuidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginationResultDevicePackages GetDevicesPackages(ctx).Offset(offset).Limit(limit).DeviceUuid(deviceUuid).NameContains(nameContains).Execute()
Get information about the installed packages for many devices
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
offset := int64(789) // int64 | (optional)
limit := int64(789) // int64 | (optional)
deviceUuid := []string{"Inner_example"} // []string | (optional)
nameContains := "nameContains_example" // string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesPackages(context.Background()).Offset(offset).Limit(limit).DeviceUuid(deviceUuid).NameContains(nameContains).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesPackages``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesPackages`: PaginationResultDevicePackages
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesPackages`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetDevicesPackagesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
offset | int64 | ||
limit | int64 | ||
deviceUuid | []string | ||
nameContains | string |
PaginationResultDevicePackages
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DevicePackages GetDevicesPackagesDeviceuuid(ctx, deviceUuid).Execute()
Get information about the installed packages for a single device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesPackagesDeviceuuid(context.Background(), deviceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesPackagesDeviceuuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesPackagesDeviceuuid`: DevicePackages
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesPackagesDeviceuuid`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiGetDevicesPackagesDeviceuuidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProvisionInfo GetDevicesToken(ctx).Execute()
Retrieve device provisioning token
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesToken(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesToken``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesToken`: ProvisionInfo
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesToken`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetDevicesTokenRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]QueueResponse GetDevicesUptaneDeviceuuidAssignment(ctx, deviceUuid).Execute()
Show detailed information about the currently-assigned update for a single device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesUptaneDeviceuuidAssignment(context.Background(), deviceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesUptaneDeviceuuidAssignment``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesUptaneDeviceuuidAssignment`: []QueueResponse
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesUptaneDeviceuuidAssignment`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiGetDevicesUptaneDeviceuuidAssignmentRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]EcuInfoResponse GetDevicesUptaneDeviceuuidComponents(ctx, deviceUuid).Execute()
Get a list of the software components reported by a single device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.GetDevicesUptaneDeviceuuidComponents(context.Background(), deviceUuid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.GetDevicesUptaneDeviceuuidComponents``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDevicesUptaneDeviceuuidComponents`: []EcuInfoResponse
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.GetDevicesUptaneDeviceuuidComponents`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiGetDevicesUptaneDeviceuuidComponentsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
*os.File PostDevices(ctx).DeviceCreateReq(deviceCreateReq).Execute()
Manually create a new device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceCreateReq := *openapiclient.NewDeviceCreateReq("DeviceId_example") // DeviceCreateReq |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DevicesAPI.PostDevices(context.Background()).DeviceCreateReq(deviceCreateReq).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.PostDevices``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PostDevices`: *os.File
fmt.Fprintf(os.Stdout, "Response from `DevicesAPI.PostDevices`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiPostDevicesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
deviceCreateReq | DeviceCreateReq |
- Content-Type: application/json
- Accept: application/octet-stream, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PutDevicesHibernationDeviceuuid(ctx, deviceUuid).UpdateHibernationStatusRequest(updateHibernationStatusRequest).Execute()
Set the hibernation status of a device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
updateHibernationStatusRequest := *openapiclient.NewUpdateHibernationStatusRequest(false) // UpdateHibernationStatusRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DevicesAPI.PutDevicesHibernationDeviceuuid(context.Background(), deviceUuid).UpdateHibernationStatusRequest(updateHibernationStatusRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.PutDevicesHibernationDeviceuuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiPutDevicesHibernationDeviceuuidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
updateHibernationStatusRequest | UpdateHibernationStatusRequest | |
(empty response body)
- Content-Type: application/json
- Accept: text/plain, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PutDevicesNameDeviceuuid(ctx, deviceUuid).Body(body).Execute()
Set the display name of a single device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
body := "body_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DevicesAPI.PutDevicesNameDeviceuuid(context.Background(), deviceUuid).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.PutDevicesNameDeviceuuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiPutDevicesNameDeviceuuidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | string | |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PutDevicesNotesDeviceuuid(ctx, deviceUuid).Body(body).Execute()
Set the device notes for a specific device
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/commontorizon/torizon-openapi-go"
)
func main() {
deviceUuid := "deviceUuid_example" // string |
body := "body_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.DevicesAPI.PutDevicesNotesDeviceuuid(context.Background(), deviceUuid).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DevicesAPI.PutDevicesNotesDeviceuuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deviceUuid | string |
Other parameters are passed through a pointer to a apiPutDevicesNotesDeviceuuidRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | string | |
(empty response body)
- Content-Type: application/json
- Accept: text/plain, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]