All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| fetchNightlyDatasetTestsV2 | GET /api/v2/nightly_dataset_tests | NightlyDatasetTestController@index |
FetchDatasetLinkCheckResultsV2200Response fetchNightlyDatasetTestsV2()
NightlyDatasetTestController@index
Get the results of the nightly dataset reachability check, with a summary and a list of failures
// Import classes:
import uk.ac.hdruk.gatewayapi.ApiClient;
import uk.ac.hdruk.gatewayapi.ApiException;
import uk.ac.hdruk.gatewayapi.Configuration;
import uk.ac.hdruk.gatewayapi.models.*;
import uk.ac.hdruk.gatewayapi.api.NightlyDatasetTestsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
NightlyDatasetTestsApi apiInstance = new NightlyDatasetTestsApi(defaultClient);
try {
FetchDatasetLinkCheckResultsV2200Response result = apiInstance.fetchNightlyDatasetTestsV2();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NightlyDatasetTestsApi#fetchNightlyDatasetTestsV2");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}This endpoint does not need any parameter.
FetchDatasetLinkCheckResultsV2200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success response | - |