All URIs are relative to https://app.corellium.com/api
| Method | HTTP request | Description |
|---|---|---|
| V1AuthLogin | Post /v1/auth/login | Log In |
Token V1AuthLogin(ctx).Body(body).Execute()
Log In
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/aimoda/go-corellium-api-client"
)
func main() {
body := map[string]interface{}{ ... } // map[string]interface{} | Authorization data ( Credentials|ApiToken )
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AuthenticationApi.V1AuthLogin(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationApi.V1AuthLogin``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V1AuthLogin`: Token
fmt.Fprintf(os.Stdout, "Response from `AuthenticationApi.V1AuthLogin`: %v\n", resp)
}Other parameters are passed through a pointer to a apiV1AuthLoginRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| body | map[string]interface{} | Authorization data ( Credentials | ApiToken ) |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]