@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters
Manage optional parameters to getSyntheticsBrowserTestResult.
|
static class |
SyntheticsApi.GetSyntheticsTestResultOptionalParameters
Manage optional parameters to getSyntheticsTestResult.
|
static class |
SyntheticsApi.GetSyntheticsTestVersionOptionalParameters
Manage optional parameters to getSyntheticsTestVersion.
|
static class |
SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters
Manage optional parameters to listSyntheticsBrowserTestLatestResults.
|
static class |
SyntheticsApi.ListSyntheticsDowntimesOptionalParameters
Manage optional parameters to listSyntheticsDowntimes.
|
static class |
SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters
Manage optional parameters to listSyntheticsTestLatestResults.
|
static class |
SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters
Manage optional parameters to listSyntheticsTestVersions.
|
static class |
SyntheticsApi.SearchSuitesOptionalParameters
Manage optional parameters to searchSuites.
|
| Constructor and Description |
|---|
SyntheticsApi() |
SyntheticsApi(ApiClient apiClient) |
public SyntheticsApi()
public SyntheticsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic void abortTestFileMultipartUpload(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body) throws ApiException
publicId - The public ID of the Synthetic test. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> abortTestFileMultipartUploadAsync(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body)
publicId - The public ID of the Synthetic test. (required)body - (required)public ApiResponse<Void> abortTestFileMultipartUploadWithHttpInfo(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body) throws ApiException
publicId - The public ID of the Synthetic test. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | API error response. | - |
| 403 | Forbidden. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> abortTestFileMultipartUploadWithHttpInfoAsync(String publicId, SyntheticsTestFileAbortMultipartUploadRequest body)
publicId - The public ID of the Synthetic test. (required)body - (required)public SyntheticsDowntimeResponse addTestToSyntheticsDowntime(String downtimeId, String testId) throws ApiException
See addTestToSyntheticsDowntimeWithHttpInfo(java.lang.String, java.lang.String).
downtimeId - The ID of the downtime. (required)testId - The public ID of the Synthetics test to associate with the downtime. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsDowntimeResponse> addTestToSyntheticsDowntimeAsync(String downtimeId, String testId)
See addTestToSyntheticsDowntimeWithHttpInfoAsync(java.lang.String, java.lang.String).
downtimeId - The ID of the downtime. (required)testId - The public ID of the Synthetics test to associate with the downtime. (required)public ApiResponse<SyntheticsDowntimeResponse> addTestToSyntheticsDowntimeWithHttpInfo(String downtimeId, String testId) throws ApiException
downtimeId - The ID of the downtime. (required)testId - The public ID of the Synthetics test to associate with the downtime. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> addTestToSyntheticsDowntimeWithHttpInfoAsync(String downtimeId, String testId)
See addTestToSyntheticsDowntimeWithHttpInfo(java.lang.String, java.lang.String).
downtimeId - The ID of the downtime. (required)testId - The public ID of the Synthetics test to associate with the downtime. (required)public void completeTestFileMultipartUpload(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) throws ApiException
publicId - The public ID of the Synthetic test. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> completeTestFileMultipartUploadAsync(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body)
publicId - The public ID of the Synthetic test. (required)body - (required)public ApiResponse<Void> completeTestFileMultipartUploadWithHttpInfo(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body) throws ApiException
publicId - The public ID of the Synthetic test. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | API error response. | - |
| 403 | Forbidden. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> completeTestFileMultipartUploadWithHttpInfoAsync(String publicId, SyntheticsTestFileCompleteMultipartUploadRequest body)
publicId - The public ID of the Synthetic test. (required)body - (required)public SyntheticsDowntimeResponse createSyntheticsDowntime(SyntheticsDowntimeRequest body) throws ApiException
See createSyntheticsDowntimeWithHttpInfo(com.datadog.api.client.v2.model.SyntheticsDowntimeRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsDowntimeResponse> createSyntheticsDowntimeAsync(SyntheticsDowntimeRequest body)
See createSyntheticsDowntimeWithHttpInfoAsync(com.datadog.api.client.v2.model.SyntheticsDowntimeRequest).
body - (required)public ApiResponse<SyntheticsDowntimeResponse> createSyntheticsDowntimeWithHttpInfo(SyntheticsDowntimeRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> createSyntheticsDowntimeWithHttpInfoAsync(SyntheticsDowntimeRequest body)
See createSyntheticsDowntimeWithHttpInfo(com.datadog.api.client.v2.model.SyntheticsDowntimeRequest).
body - (required)public SyntheticsNetworkTestResponse createSyntheticsNetworkTest(SyntheticsNetworkTestEditRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsNetworkTestResponse> createSyntheticsNetworkTestAsync(SyntheticsNetworkTestEditRequest body)
body - (required)public ApiResponse<SyntheticsNetworkTestResponse> createSyntheticsNetworkTestWithHttpInfo(SyntheticsNetworkTestEditRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsNetworkTestResponse>> createSyntheticsNetworkTestWithHttpInfoAsync(SyntheticsNetworkTestEditRequest body)
body - (required)public SyntheticsSuiteResponse createSyntheticsSuite(SuiteCreateEditRequest body) throws ApiException
See createSyntheticsSuiteWithHttpInfo(com.datadog.api.client.v2.model.SuiteCreateEditRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteResponse> createSyntheticsSuiteAsync(SuiteCreateEditRequest body)
See createSyntheticsSuiteWithHttpInfoAsync(com.datadog.api.client.v2.model.SuiteCreateEditRequest).
body - (required)public ApiResponse<SyntheticsSuiteResponse> createSyntheticsSuiteWithHttpInfo(SuiteCreateEditRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> createSyntheticsSuiteWithHttpInfoAsync(SuiteCreateEditRequest body)
See createSyntheticsSuiteWithHttpInfo(com.datadog.api.client.v2.model.SuiteCreateEditRequest).
body - (required)public void deleteSyntheticsDowntime(String downtimeId) throws ApiException
downtimeId - The ID of the downtime to delete. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteSyntheticsDowntimeAsync(String downtimeId)
See deleteSyntheticsDowntimeWithHttpInfoAsync(java.lang.String).
downtimeId - The ID of the downtime to delete. (required)public ApiResponse<Void> deleteSyntheticsDowntimeWithHttpInfo(String downtimeId) throws ApiException
downtimeId - The ID of the downtime to delete. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteSyntheticsDowntimeWithHttpInfoAsync(String downtimeId)
downtimeId - The ID of the downtime to delete. (required)public DeletedSuitesResponse deleteSyntheticsSuites(DeletedSuitesRequestDeleteRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DeletedSuitesResponse> deleteSyntheticsSuitesAsync(DeletedSuitesRequestDeleteRequest body)
body - (required)public ApiResponse<DeletedSuitesResponse> deleteSyntheticsSuitesWithHttpInfo(DeletedSuitesRequestDeleteRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DeletedSuitesResponse>> deleteSyntheticsSuitesWithHttpInfoAsync(DeletedSuitesRequestDeleteRequest body)
body - (required)public DeletedTestsResponse deleteSyntheticsTests(DeletedTestsRequestDeleteRequest body) throws ApiException
See deleteSyntheticsTestsWithHttpInfo(com.datadog.api.client.v2.model.DeletedTestsRequestDeleteRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DeletedTestsResponse> deleteSyntheticsTestsAsync(DeletedTestsRequestDeleteRequest body)
body - (required)public ApiResponse<DeletedTestsResponse> deleteSyntheticsTestsWithHttpInfo(DeletedTestsRequestDeleteRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DeletedTestsResponse>> deleteSyntheticsTestsWithHttpInfoAsync(DeletedTestsRequestDeleteRequest body)
See deleteSyntheticsTestsWithHttpInfo(com.datadog.api.client.v2.model.DeletedTestsRequestDeleteRequest).
body - (required)public SyntheticsSuiteResponse editSyntheticsSuite(String publicId, SuiteCreateEditRequest body) throws ApiException
publicId - The public ID of the suite to edit. (required)body - New suite details to be saved. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteResponse> editSyntheticsSuiteAsync(String publicId, SuiteCreateEditRequest body)
publicId - The public ID of the suite to edit. (required)body - New suite details to be saved. (required)public ApiResponse<SyntheticsSuiteResponse> editSyntheticsSuiteWithHttpInfo(String publicId, SuiteCreateEditRequest body) throws ApiException
publicId - The public ID of the suite to edit. (required)body - New suite details to be saved. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> editSyntheticsSuiteWithHttpInfoAsync(String publicId, SuiteCreateEditRequest body)
publicId - The public ID of the suite to edit. (required)body - New suite details to be saved. (required)public SyntheticsApiMultistepParentTestsResponse getApiMultistepSubtestParents(String publicId) throws ApiException
See getApiMultistepSubtestParentsWithHttpInfo(java.lang.String).
publicId - The public ID of the subtest. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsApiMultistepParentTestsResponse> getApiMultistepSubtestParentsAsync(String publicId)
See getApiMultistepSubtestParentsWithHttpInfoAsync(java.lang.String).
publicId - The public ID of the subtest. (required)public ApiResponse<SyntheticsApiMultistepParentTestsResponse> getApiMultistepSubtestParentsWithHttpInfo(String publicId) throws ApiException
publicId - The public ID of the subtest. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsApiMultistepParentTestsResponse>> getApiMultistepSubtestParentsWithHttpInfoAsync(String publicId)
See getApiMultistepSubtestParentsWithHttpInfo(java.lang.String).
publicId - The public ID of the subtest. (required)public SyntheticsApiMultistepSubtestsResponse getApiMultistepSubtests(String publicId) throws ApiException
publicId - The public ID of the API multistep test. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsApiMultistepSubtestsResponse> getApiMultistepSubtestsAsync(String publicId)
See getApiMultistepSubtestsWithHttpInfoAsync(java.lang.String).
publicId - The public ID of the API multistep test. (required)public ApiResponse<SyntheticsApiMultistepSubtestsResponse> getApiMultistepSubtestsWithHttpInfo(String publicId) throws ApiException
publicId - The public ID of the API multistep test. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsApiMultistepSubtestsResponse>> getApiMultistepSubtestsWithHttpInfoAsync(String publicId)
publicId - The public ID of the API multistep test. (required)public OnDemandConcurrencyCapResponse getOnDemandConcurrencyCap() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<OnDemandConcurrencyCapResponse> getOnDemandConcurrencyCapAsync()
public ApiResponse<OnDemandConcurrencyCapResponse> getOnDemandConcurrencyCapWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OnDemandConcurrencyCapResponse>> getOnDemandConcurrencyCapWithHttpInfoAsync()
public SyntheticsTestResultResponse getSyntheticsBrowserTestResult(String publicId, String resultId) throws ApiException
publicId - The public ID of the Synthetic browser test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestResultResponse> getSyntheticsBrowserTestResultAsync(String publicId, String resultId)
publicId - The public ID of the Synthetic browser test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)public SyntheticsTestResultResponse getSyntheticsBrowserTestResult(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic browser test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestResultResponse> getSyntheticsBrowserTestResultAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters)
publicId - The public ID of the Synthetic browser test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)parameters - Optional parameters for the request.public ApiResponse<SyntheticsTestResultResponse> getSyntheticsBrowserTestResultWithHttpInfo(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic browser test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsTestResultResponse>> getSyntheticsBrowserTestResultWithHttpInfoAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsBrowserTestResultOptionalParameters parameters)
publicId - The public ID of the Synthetic browser test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)parameters - Optional parameters for the request.public SyntheticsDowntimeResponse getSyntheticsDowntime(String downtimeId) throws ApiException
downtimeId - The ID of the downtime to retrieve. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsDowntimeResponse> getSyntheticsDowntimeAsync(String downtimeId)
See getSyntheticsDowntimeWithHttpInfoAsync(java.lang.String).
downtimeId - The ID of the downtime to retrieve. (required)public ApiResponse<SyntheticsDowntimeResponse> getSyntheticsDowntimeWithHttpInfo(String downtimeId) throws ApiException
downtimeId - The ID of the downtime to retrieve. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> getSyntheticsDowntimeWithHttpInfoAsync(String downtimeId)
downtimeId - The ID of the downtime to retrieve. (required)public SyntheticsFastTestResult getSyntheticsFastTestResult(String id) throws ApiException
See getSyntheticsFastTestResultWithHttpInfo(java.lang.String).
id - The UUID of the fast test to retrieve the result for. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsFastTestResult> getSyntheticsFastTestResultAsync(String id)
See getSyntheticsFastTestResultWithHttpInfoAsync(java.lang.String).
id - The UUID of the fast test to retrieve the result for. (required)public ApiResponse<SyntheticsFastTestResult> getSyntheticsFastTestResultWithHttpInfo(String id) throws ApiException
id - The UUID of the fast test to retrieve the result for. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsFastTestResult>> getSyntheticsFastTestResultWithHttpInfoAsync(String id)
See getSyntheticsFastTestResultWithHttpInfo(java.lang.String).
id - The UUID of the fast test to retrieve the result for. (required)public SyntheticsNetworkTestResponse getSyntheticsNetworkTest(String publicId) throws ApiException
publicId - The public ID of the Network Path test to get details from. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsNetworkTestResponse> getSyntheticsNetworkTestAsync(String publicId)
See getSyntheticsNetworkTestWithHttpInfoAsync(java.lang.String).
publicId - The public ID of the Network Path test to get details from. (required)public ApiResponse<SyntheticsNetworkTestResponse> getSyntheticsNetworkTestWithHttpInfo(String publicId) throws ApiException
publicId - The public ID of the Network Path test to get details from. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsNetworkTestResponse>> getSyntheticsNetworkTestWithHttpInfoAsync(String publicId)
publicId - The public ID of the Network Path test to get details from. (required)public SyntheticsSuiteResponse getSyntheticsSuite(String publicId) throws ApiException
publicId - The public ID of the suite to get details from. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteResponse> getSyntheticsSuiteAsync(String publicId)
publicId - The public ID of the suite to get details from. (required)public ApiResponse<SyntheticsSuiteResponse> getSyntheticsSuiteWithHttpInfo(String publicId) throws ApiException
publicId - The public ID of the suite to get details from. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> getSyntheticsSuiteWithHttpInfoAsync(String publicId)
publicId - The public ID of the suite to get details from. (required)public SyntheticsTestResultResponse getSyntheticsTestResult(String publicId, String resultId) throws ApiException
publicId - The public ID of the Synthetic test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestResultResponse> getSyntheticsTestResultAsync(String publicId, String resultId)
publicId - The public ID of the Synthetic test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)public SyntheticsTestResultResponse getSyntheticsTestResult(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestResultResponse> getSyntheticsTestResultAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters)
publicId - The public ID of the Synthetic test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)parameters - Optional parameters for the request.public ApiResponse<SyntheticsTestResultResponse> getSyntheticsTestResultWithHttpInfo(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsTestResultResponse>> getSyntheticsTestResultWithHttpInfoAsync(String publicId, String resultId, SyntheticsApi.GetSyntheticsTestResultOptionalParameters parameters)
publicId - The public ID of the Synthetic test to which the target result belongs.
(required)resultId - The ID of the result to get. (required)parameters - Optional parameters for the request.public SyntheticsTestVersionResponse getSyntheticsTestVersion(String publicId, Long versionNumber) throws ApiException
publicId - The public ID of the Synthetic test. (required)versionNumber - The version number to retrieve. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestVersionResponse> getSyntheticsTestVersionAsync(String publicId, Long versionNumber)
publicId - The public ID of the Synthetic test. (required)versionNumber - The version number to retrieve. (required)public SyntheticsTestVersionResponse getSyntheticsTestVersion(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic test. (required)versionNumber - The version number to retrieve. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestVersionResponse> getSyntheticsTestVersionAsync(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters)
publicId - The public ID of the Synthetic test. (required)versionNumber - The version number to retrieve. (required)parameters - Optional parameters for the request.public ApiResponse<SyntheticsTestVersionResponse> getSyntheticsTestVersionWithHttpInfo(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic test. (required)versionNumber - The version number to retrieve. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsTestVersionResponse>> getSyntheticsTestVersionWithHttpInfoAsync(String publicId, Long versionNumber, SyntheticsApi.GetSyntheticsTestVersionOptionalParameters parameters)
publicId - The public ID of the Synthetic test. (required)versionNumber - The version number to retrieve. (required)parameters - Optional parameters for the request.public SyntheticsTestFileDownloadResponse getTestFileDownloadUrl(String publicId, SyntheticsTestFileDownloadRequest body) throws ApiException
publicId - The public ID of the Synthetic test. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestFileDownloadResponse> getTestFileDownloadUrlAsync(String publicId, SyntheticsTestFileDownloadRequest body)
publicId - The public ID of the Synthetic test. (required)body - (required)public ApiResponse<SyntheticsTestFileDownloadResponse> getTestFileDownloadUrlWithHttpInfo(String publicId, SyntheticsTestFileDownloadRequest body) throws ApiException
publicId - The public ID of the Synthetic test. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 403 | Forbidden. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsTestFileDownloadResponse>> getTestFileDownloadUrlWithHttpInfoAsync(String publicId, SyntheticsTestFileDownloadRequest body)
publicId - The public ID of the Synthetic test. (required)body - (required)public SyntheticsTestFileMultipartPresignedUrlsResponse getTestFileMultipartPresignedUrls(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) throws ApiException
publicId - The public ID of the Synthetic test. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestFileMultipartPresignedUrlsResponse> getTestFileMultipartPresignedUrlsAsync(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body)
publicId - The public ID of the Synthetic test. (required)body - (required)public ApiResponse<SyntheticsTestFileMultipartPresignedUrlsResponse> getTestFileMultipartPresignedUrlsWithHttpInfo(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body) throws ApiException
publicId - The public ID of the Synthetic test. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 403 | Forbidden. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsTestFileMultipartPresignedUrlsResponse>> getTestFileMultipartPresignedUrlsWithHttpInfoAsync(String publicId, SyntheticsTestFileMultipartPresignedUrlsRequest body)
publicId - The public ID of the Synthetic test. (required)body - (required)public SyntheticsTestParentSuitesResponse getTestParentSuites(String publicId) throws ApiException
publicId - The public ID of the Synthetic test. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestParentSuitesResponse> getTestParentSuitesAsync(String publicId)
publicId - The public ID of the Synthetic test. (required)public ApiResponse<SyntheticsTestParentSuitesResponse> getTestParentSuitesWithHttpInfo(String publicId) throws ApiException
publicId - The public ID of the Synthetic test. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsTestParentSuitesResponse>> getTestParentSuitesWithHttpInfoAsync(String publicId)
publicId - The public ID of the Synthetic test. (required)public SyntheticsTestLatestResultsResponse listSyntheticsBrowserTestLatestResults(String publicId) throws ApiException
publicId - The public ID of the Synthetic browser test for which to search results.
(required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestLatestResultsResponse> listSyntheticsBrowserTestLatestResultsAsync(String publicId)
publicId - The public ID of the Synthetic browser test for which to search results.
(required)public SyntheticsTestLatestResultsResponse listSyntheticsBrowserTestLatestResults(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic browser test for which to search results.
(required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestLatestResultsResponse> listSyntheticsBrowserTestLatestResultsAsync(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters)
publicId - The public ID of the Synthetic browser test for which to search results.
(required)parameters - Optional parameters for the request.public ApiResponse<SyntheticsTestLatestResultsResponse> listSyntheticsBrowserTestLatestResultsWithHttpInfo(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic browser test for which to search results.
(required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsTestLatestResultsResponse>> listSyntheticsBrowserTestLatestResultsWithHttpInfoAsync(String publicId, SyntheticsApi.ListSyntheticsBrowserTestLatestResultsOptionalParameters parameters)
publicId - The public ID of the Synthetic browser test for which to search results.
(required)parameters - Optional parameters for the request.public SyntheticsDowntimesResponse listSyntheticsDowntimes() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<SyntheticsDowntimesResponse> listSyntheticsDowntimesAsync()
public SyntheticsDowntimesResponse listSyntheticsDowntimes(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SyntheticsDowntimesResponse> listSyntheticsDowntimesAsync(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<SyntheticsDowntimesResponse> listSyntheticsDowntimesWithHttpInfo(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsDowntimesResponse>> listSyntheticsDowntimesWithHttpInfoAsync(SyntheticsApi.ListSyntheticsDowntimesOptionalParameters parameters)
parameters - Optional parameters for the request.public SyntheticsTestLatestResultsResponse listSyntheticsTestLatestResults(String publicId) throws ApiException
publicId - The public ID of the Synthetic test for which to search results. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestLatestResultsResponse> listSyntheticsTestLatestResultsAsync(String publicId)
publicId - The public ID of the Synthetic test for which to search results. (required)public SyntheticsTestLatestResultsResponse listSyntheticsTestLatestResults(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic test for which to search results. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestLatestResultsResponse> listSyntheticsTestLatestResultsAsync(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters)
publicId - The public ID of the Synthetic test for which to search results. (required)parameters - Optional parameters for the request.public ApiResponse<SyntheticsTestLatestResultsResponse> listSyntheticsTestLatestResultsWithHttpInfo(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic test for which to search results. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsTestLatestResultsResponse>> listSyntheticsTestLatestResultsWithHttpInfoAsync(String publicId, SyntheticsApi.ListSyntheticsTestLatestResultsOptionalParameters parameters)
publicId - The public ID of the Synthetic test for which to search results. (required)parameters - Optional parameters for the request.public SyntheticsTestVersionHistoryResponse listSyntheticsTestVersions(String publicId) throws ApiException
publicId - The public ID of the Synthetic test. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestVersionHistoryResponse> listSyntheticsTestVersionsAsync(String publicId)
publicId - The public ID of the Synthetic test. (required)public SyntheticsTestVersionHistoryResponse listSyntheticsTestVersions(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic test. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SyntheticsTestVersionHistoryResponse> listSyntheticsTestVersionsAsync(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters)
publicId - The public ID of the Synthetic test. (required)parameters - Optional parameters for the request.public ApiResponse<SyntheticsTestVersionHistoryResponse> listSyntheticsTestVersionsWithHttpInfo(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters) throws ApiException
publicId - The public ID of the Synthetic test. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsTestVersionHistoryResponse>> listSyntheticsTestVersionsWithHttpInfoAsync(String publicId, SyntheticsApi.ListSyntheticsTestVersionsOptionalParameters parameters)
publicId - The public ID of the Synthetic test. (required)parameters - Optional parameters for the request.public GlobalVariableResponse patchGlobalVariable(String variableId, GlobalVariableJsonPatchRequest body) throws ApiException
variableId - The ID of the global variable. (required)body - JSON Patch document with operations to apply. (required)ApiException - if fails to make API callpublic CompletableFuture<GlobalVariableResponse> patchGlobalVariableAsync(String variableId, GlobalVariableJsonPatchRequest body)
variableId - The ID of the global variable. (required)body - JSON Patch document with operations to apply. (required)public ApiResponse<GlobalVariableResponse> patchGlobalVariableWithHttpInfo(String variableId, GlobalVariableJsonPatchRequest body) throws ApiException
Common operations include: - Replace field values:
{"op": "replace", "path": "/name", "value": "new_name"} - Update nested values:
{"op": "replace", "path": "/value/value", "value": "new_value"} - Add/update tags:
{"op": "add", "path": "/tags/-", "value": "new_tag"} - Remove fields:
{"op": "remove", "path": "/description"}
variableId - The ID of the global variable. (required)body - JSON Patch document with operations to apply. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GlobalVariableResponse>> patchGlobalVariableWithHttpInfoAsync(String variableId, GlobalVariableJsonPatchRequest body)
variableId - The ID of the global variable. (required)body - JSON Patch document with operations to apply. (required)public SyntheticsSuiteResponse patchTestSuite(String publicId, SuiteJsonPatchRequest body) throws ApiException
See patchTestSuiteWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.SuiteJsonPatchRequest).
publicId - The public ID of the Synthetic test suite to patch. (required)body - JSON Patch document with operations to apply. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteResponse> patchTestSuiteAsync(String publicId, SuiteJsonPatchRequest body)
publicId - The public ID of the Synthetic test suite to patch. (required)body - JSON Patch document with operations to apply. (required)public ApiResponse<SyntheticsSuiteResponse> patchTestSuiteWithHttpInfo(String publicId, SuiteJsonPatchRequest body) throws ApiException
Common operations include: - Replace field values:
{"op": "replace", "path": "/name", "value": "new_name"} - Add/update tags:
{"op": "add", "path": "/tags/-", "value": "new_tag"} - Remove fields:
{"op": "remove", "path": "/message"}
publicId - The public ID of the Synthetic test suite to patch. (required)body - JSON Patch document with operations to apply. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsSuiteResponse>> patchTestSuiteWithHttpInfoAsync(String publicId, SuiteJsonPatchRequest body)
See patchTestSuiteWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.SuiteJsonPatchRequest).
publicId - The public ID of the Synthetic test suite to patch. (required)body - JSON Patch document with operations to apply. (required)public SyntheticsPollTestResultsResponse pollSyntheticsTestResults(String resultIds) throws ApiException
See pollSyntheticsTestResultsWithHttpInfo(java.lang.String).
resultIds - A JSON-encoded array of result IDs to poll for. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsPollTestResultsResponse> pollSyntheticsTestResultsAsync(String resultIds)
See pollSyntheticsTestResultsWithHttpInfoAsync(java.lang.String).
resultIds - A JSON-encoded array of result IDs to poll for. (required)public ApiResponse<SyntheticsPollTestResultsResponse> pollSyntheticsTestResultsWithHttpInfo(String resultIds) throws ApiException
resultIds - A JSON-encoded array of result IDs to poll for. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsPollTestResultsResponse>> pollSyntheticsTestResultsWithHttpInfoAsync(String resultIds)
See pollSyntheticsTestResultsWithHttpInfo(java.lang.String).
resultIds - A JSON-encoded array of result IDs to poll for. (required)public SyntheticsDowntimeResponse removeTestFromSyntheticsDowntime(String downtimeId, String testId) throws ApiException
See removeTestFromSyntheticsDowntimeWithHttpInfo(java.lang.String, java.lang.String).
downtimeId - The ID of the downtime. (required)testId - The public ID of the Synthetics test to disassociate from the downtime.
(required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsDowntimeResponse> removeTestFromSyntheticsDowntimeAsync(String downtimeId, String testId)
See removeTestFromSyntheticsDowntimeWithHttpInfoAsync(java.lang.String, java.lang.String).
downtimeId - The ID of the downtime. (required)testId - The public ID of the Synthetics test to disassociate from the downtime.
(required)public ApiResponse<SyntheticsDowntimeResponse> removeTestFromSyntheticsDowntimeWithHttpInfo(String downtimeId, String testId) throws ApiException
downtimeId - The ID of the downtime. (required)testId - The public ID of the Synthetics test to disassociate from the downtime.
(required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> removeTestFromSyntheticsDowntimeWithHttpInfoAsync(String downtimeId, String testId)
See removeTestFromSyntheticsDowntimeWithHttpInfo(java.lang.String, java.lang.String).
downtimeId - The ID of the downtime. (required)testId - The public ID of the Synthetics test to disassociate from the downtime.
(required)public SyntheticsSuiteSearchResponse searchSuites() throws ApiException
See searchSuitesWithHttpInfo(com.datadog.api.client.v2.api.SyntheticsApi.SearchSuitesOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteSearchResponse> searchSuitesAsync()
public SyntheticsSuiteSearchResponse searchSuites(SyntheticsApi.SearchSuitesOptionalParameters parameters) throws ApiException
See searchSuitesWithHttpInfo(com.datadog.api.client.v2.api.SyntheticsApi.SearchSuitesOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SyntheticsSuiteSearchResponse> searchSuitesAsync(SyntheticsApi.SearchSuitesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<SyntheticsSuiteSearchResponse> searchSuitesWithHttpInfo(SyntheticsApi.SearchSuitesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsSuiteSearchResponse>> searchSuitesWithHttpInfoAsync(SyntheticsApi.SearchSuitesOptionalParameters parameters)
See searchSuitesWithHttpInfo(com.datadog.api.client.v2.api.SyntheticsApi.SearchSuitesOptionalParameters).
parameters - Optional parameters for the request.public OnDemandConcurrencyCapResponse setOnDemandConcurrencyCap(OnDemandConcurrencyCapAttributes body) throws ApiException
body - . (required)ApiException - if fails to make API callpublic CompletableFuture<OnDemandConcurrencyCapResponse> setOnDemandConcurrencyCapAsync(OnDemandConcurrencyCapAttributes body)
body - . (required)public ApiResponse<OnDemandConcurrencyCapResponse> setOnDemandConcurrencyCapWithHttpInfo(OnDemandConcurrencyCapAttributes body) throws ApiException
body - . (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<OnDemandConcurrencyCapResponse>> setOnDemandConcurrencyCapWithHttpInfoAsync(OnDemandConcurrencyCapAttributes body)
body - . (required)public SyntheticsDowntimeResponse updateSyntheticsDowntime(String downtimeId, SyntheticsDowntimeRequest body) throws ApiException
downtimeId - The ID of the downtime to update. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsDowntimeResponse> updateSyntheticsDowntimeAsync(String downtimeId, SyntheticsDowntimeRequest body)
downtimeId - The ID of the downtime to update. (required)body - (required)public ApiResponse<SyntheticsDowntimeResponse> updateSyntheticsDowntimeWithHttpInfo(String downtimeId, SyntheticsDowntimeRequest body) throws ApiException
downtimeId - The ID of the downtime to update. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsDowntimeResponse>> updateSyntheticsDowntimeWithHttpInfoAsync(String downtimeId, SyntheticsDowntimeRequest body)
downtimeId - The ID of the downtime to update. (required)body - (required)public SyntheticsNetworkTestResponse updateSyntheticsNetworkTest(String publicId, SyntheticsNetworkTestEditRequest body) throws ApiException
publicId - The public ID of the Network Path test to edit. (required)body - New Network Path test details to be saved. (required)ApiException - if fails to make API callpublic CompletableFuture<SyntheticsNetworkTestResponse> updateSyntheticsNetworkTestAsync(String publicId, SyntheticsNetworkTestEditRequest body)
publicId - The public ID of the Network Path test to edit. (required)body - New Network Path test details to be saved. (required)public ApiResponse<SyntheticsNetworkTestResponse> updateSyntheticsNetworkTestWithHttpInfo(String publicId, SyntheticsNetworkTestEditRequest body) throws ApiException
publicId - The public ID of the Network Path test to edit. (required)body - New Network Path test details to be saved. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | API error response. | - |
| 404 | API error response. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<SyntheticsNetworkTestResponse>> updateSyntheticsNetworkTestWithHttpInfoAsync(String publicId, SyntheticsNetworkTestEditRequest body)
publicId - The public ID of the Network Path test to edit. (required)body - New Network Path test details to be saved. (required)Copyright © 2026. All rights reserved.