All URIs are relative to https://app.corellium.com/api
| Method | HTTP request | Description |
|---|---|---|
| V3GetConfig | Get /v3/config | Get deployment configuration |
| V3GetVersion | Get /v3/version | Get the platform version |
ConfigResponse V3GetConfig(ctx).Execute()
Get deployment configuration
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ConfigAPI.V3GetConfig(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ConfigAPI.V3GetConfig``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V3GetConfig`: ConfigResponse
fmt.Fprintf(os.Stdout, "Response from `ConfigAPI.V3GetConfig`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiV3GetConfigRequest struct via the builder pattern
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeploymentVersion V3GetVersion(ctx).Execute()
Get the platform version
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/corellium/corellium-go-api-client"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ConfigAPI.V3GetVersion(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ConfigAPI.V3GetVersion``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `V3GetVersion`: DeploymentVersion
fmt.Fprintf(os.Stdout, "Response from `ConfigAPI.V3GetVersion`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiV3GetVersionRequest 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]