All URIs are relative to https://navigator-api.tweakwise.com
Method | HTTP request | Description |
---|---|---|
UserGetInstances | Get /user/instances | Returns all instances for current Tweakwise Account User |
[]UserInstance UserGetInstances(ctx).Execute()
Returns all instances for current Tweakwise Account User
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.UserApi.UserGetInstances(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UserApi.UserGetInstances``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UserGetInstances`: []UserInstance
fmt.Fprintf(os.Stdout, "Response from `UserApi.UserGetInstances`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiUserGetInstancesRequest struct via the builder pattern
apiKeyDefinition, instanceKeyDefinition
- Content-Type: Not defined
- Accept: application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]