Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 2.39 KB

File metadata and controls

80 lines (52 loc) · 2.39 KB

gateway_api_sdk.DatasetsTestApi

All URIs are relative to http://localhost

Method HTTP request Description
datasets_test POST /api/v1/datasets/test DatasetController@datasetTest

datasets_test

CreateDarIntegration201Response datasets_test(datasets_test_request)

DatasetController@datasetTest

Datasets test

Example

import gateway_api_sdk
from gateway_api_sdk.models.create_dar_integration201_response import CreateDarIntegration201Response
from gateway_api_sdk.models.datasets_test_request import DatasetsTestRequest
from gateway_api_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = gateway_api_sdk.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with gateway_api_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = gateway_api_sdk.DatasetsTestApi(api_client)
    datasets_test_request = gateway_api_sdk.DatasetsTestRequest() # DatasetsTestRequest | Pass datasets payload

    try:
        # DatasetController@datasetTest
        api_response = api_instance.datasets_test(datasets_test_request)
        print("The response of DatasetsTestApi->datasets_test:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DatasetsTestApi->datasets_test: %s\n" % e)

Parameters

Name Type Description Notes
datasets_test_request DatasetsTestRequest Pass datasets payload

Return type

CreateDarIntegration201Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
201 Created -
401 Unauthorized -
500 Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]