All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| DatasetsTest | Post /api/v1/datasets/test | DatasetController@datasetTest |
CreateDarIntegration201Response DatasetsTest(ctx).DatasetsTestRequest(datasetsTestRequest).Execute()
DatasetController@datasetTest
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/HDRUK/gateway-api-go-sdk"
)
func main() {
datasetsTestRequest := *openapiclient.NewDatasetsTestRequest() // DatasetsTestRequest | Pass datasets payload
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DatasetsTestAPI.DatasetsTest(context.Background()).DatasetsTestRequest(datasetsTestRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DatasetsTestAPI.DatasetsTest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DatasetsTest`: CreateDarIntegration201Response
fmt.Fprintf(os.Stdout, "Response from `DatasetsTestAPI.DatasetsTest`: %v\n", resp)
}Other parameters are passed through a pointer to a apiDatasetsTestRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| datasetsTestRequest | DatasetsTestRequest | Pass datasets payload |
CreateDarIntegration201Response
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]