@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class StatusPagesApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StatusPagesApi.CreateComponentOptionalParameters
Manage optional parameters to createComponent.
|
static class |
StatusPagesApi.CreateDegradationOptionalParameters
Manage optional parameters to createDegradation.
|
static class |
StatusPagesApi.CreateStatusPageOptionalParameters
Manage optional parameters to createStatusPage.
|
static class |
StatusPagesApi.GetComponentOptionalParameters
Manage optional parameters to getComponent.
|
static class |
StatusPagesApi.GetDegradationOptionalParameters
Manage optional parameters to getDegradation.
|
static class |
StatusPagesApi.GetStatusPageOptionalParameters
Manage optional parameters to getStatusPage.
|
static class |
StatusPagesApi.ListComponentsOptionalParameters
Manage optional parameters to listComponents.
|
static class |
StatusPagesApi.ListDegradationsOptionalParameters
Manage optional parameters to listDegradations.
|
static class |
StatusPagesApi.ListStatusPagesOptionalParameters
Manage optional parameters to listStatusPages.
|
static class |
StatusPagesApi.UpdateComponentOptionalParameters
Manage optional parameters to updateComponent.
|
static class |
StatusPagesApi.UpdateDegradationOptionalParameters
Manage optional parameters to updateDegradation.
|
static class |
StatusPagesApi.UpdateStatusPageOptionalParameters
Manage optional parameters to updateStatusPage.
|
| Constructor and Description |
|---|
StatusPagesApi() |
StatusPagesApi(ApiClient apiClient) |
public StatusPagesApi()
public StatusPagesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic StatusPagesComponent createComponent(UUID pageId, CreateComponentRequest body) throws ApiException
pageId - The ID of the status page. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<StatusPagesComponent> createComponentAsync(UUID pageId, CreateComponentRequest body)
pageId - The ID of the status page. (required)body - (required)public StatusPagesComponent createComponent(UUID pageId, CreateComponentRequest body, StatusPagesApi.CreateComponentOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<StatusPagesComponent> createComponentAsync(UUID pageId, CreateComponentRequest body, StatusPagesApi.CreateComponentOptionalParameters parameters)
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.public ApiResponse<StatusPagesComponent> createComponentWithHttpInfo(UUID pageId, CreateComponentRequest body, StatusPagesApi.CreateComponentOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<StatusPagesComponent>> createComponentWithHttpInfoAsync(UUID pageId, CreateComponentRequest body, StatusPagesApi.CreateComponentOptionalParameters parameters)
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.public Degradation createDegradation(UUID pageId, CreateDegradationRequest body) throws ApiException
pageId - The ID of the status page. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Degradation> createDegradationAsync(UUID pageId, CreateDegradationRequest body)
pageId - The ID of the status page. (required)body - (required)public Degradation createDegradation(UUID pageId, CreateDegradationRequest body, StatusPagesApi.CreateDegradationOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<Degradation> createDegradationAsync(UUID pageId, CreateDegradationRequest body, StatusPagesApi.CreateDegradationOptionalParameters parameters)
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.public ApiResponse<Degradation> createDegradationWithHttpInfo(UUID pageId, CreateDegradationRequest body, StatusPagesApi.CreateDegradationOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Degradation>> createDegradationWithHttpInfoAsync(UUID pageId, CreateDegradationRequest body, StatusPagesApi.CreateDegradationOptionalParameters parameters)
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.public StatusPage createStatusPage(CreateStatusPageRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<StatusPage> createStatusPageAsync(CreateStatusPageRequest body)
body - (required)public StatusPage createStatusPage(CreateStatusPageRequest body, StatusPagesApi.CreateStatusPageOptionalParameters parameters) throws ApiException
body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<StatusPage> createStatusPageAsync(CreateStatusPageRequest body, StatusPagesApi.CreateStatusPageOptionalParameters parameters)
body - (required)parameters - Optional parameters for the request.public ApiResponse<StatusPage> createStatusPageWithHttpInfo(CreateStatusPageRequest body, StatusPagesApi.CreateStatusPageOptionalParameters parameters) throws ApiException
body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<StatusPage>> createStatusPageWithHttpInfoAsync(CreateStatusPageRequest body, StatusPagesApi.CreateStatusPageOptionalParameters parameters)
body - (required)parameters - Optional parameters for the request.public void deleteComponent(UUID pageId, UUID componentId) throws ApiException
See deleteComponentWithHttpInfo(java.util.UUID, java.util.UUID).
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteComponentAsync(UUID pageId, UUID componentId)
See deleteComponentWithHttpInfoAsync(java.util.UUID, java.util.UUID).
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)public ApiResponse<Void> deleteComponentWithHttpInfo(UUID pageId, UUID componentId) throws ApiException
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteComponentWithHttpInfoAsync(UUID pageId, UUID componentId)
See deleteComponentWithHttpInfo(java.util.UUID, java.util.UUID).
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)public void deleteDegradation(UUID pageId, UUID degradationId) throws ApiException
See deleteDegradationWithHttpInfo(java.util.UUID, java.util.UUID).
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteDegradationAsync(UUID pageId, UUID degradationId)
See deleteDegradationWithHttpInfoAsync(java.util.UUID, java.util.UUID).
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)public ApiResponse<Void> deleteDegradationWithHttpInfo(UUID pageId, UUID degradationId) throws ApiException
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteDegradationWithHttpInfoAsync(UUID pageId, UUID degradationId)
See deleteDegradationWithHttpInfo(java.util.UUID, java.util.UUID).
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)public void deleteStatusPage(UUID pageId) throws ApiException
pageId - The ID of the status page. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteStatusPageAsync(UUID pageId)
pageId - The ID of the status page. (required)public ApiResponse<Void> deleteStatusPageWithHttpInfo(UUID pageId) throws ApiException
pageId - The ID of the status page. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteStatusPageWithHttpInfoAsync(UUID pageId)
pageId - The ID of the status page. (required)public StatusPagesComponent getComponent(UUID pageId, UUID componentId) throws ApiException
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)ApiException - if fails to make API callpublic CompletableFuture<StatusPagesComponent> getComponentAsync(UUID pageId, UUID componentId)
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)public StatusPagesComponent getComponent(UUID pageId, UUID componentId, StatusPagesApi.GetComponentOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<StatusPagesComponent> getComponentAsync(UUID pageId, UUID componentId, StatusPagesApi.GetComponentOptionalParameters parameters)
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)parameters - Optional parameters for the request.public ApiResponse<StatusPagesComponent> getComponentWithHttpInfo(UUID pageId, UUID componentId, StatusPagesApi.GetComponentOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<StatusPagesComponent>> getComponentWithHttpInfoAsync(UUID pageId, UUID componentId, StatusPagesApi.GetComponentOptionalParameters parameters)
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)parameters - Optional parameters for the request.public Degradation getDegradation(UUID pageId, UUID degradationId) throws ApiException
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)ApiException - if fails to make API callpublic CompletableFuture<Degradation> getDegradationAsync(UUID pageId, UUID degradationId)
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)public Degradation getDegradation(UUID pageId, UUID degradationId, StatusPagesApi.GetDegradationOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<Degradation> getDegradationAsync(UUID pageId, UUID degradationId, StatusPagesApi.GetDegradationOptionalParameters parameters)
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)parameters - Optional parameters for the request.public ApiResponse<Degradation> getDegradationWithHttpInfo(UUID pageId, UUID degradationId, StatusPagesApi.GetDegradationOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Degradation>> getDegradationWithHttpInfoAsync(UUID pageId, UUID degradationId, StatusPagesApi.GetDegradationOptionalParameters parameters)
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)parameters - Optional parameters for the request.public StatusPage getStatusPage(UUID pageId) throws ApiException
pageId - The ID of the status page. (required)ApiException - if fails to make API callpublic CompletableFuture<StatusPage> getStatusPageAsync(UUID pageId)
pageId - The ID of the status page. (required)public StatusPage getStatusPage(UUID pageId, StatusPagesApi.GetStatusPageOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<StatusPage> getStatusPageAsync(UUID pageId, StatusPagesApi.GetStatusPageOptionalParameters parameters)
pageId - The ID of the status page. (required)parameters - Optional parameters for the request.public ApiResponse<StatusPage> getStatusPageWithHttpInfo(UUID pageId, StatusPagesApi.GetStatusPageOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<StatusPage>> getStatusPageWithHttpInfoAsync(UUID pageId, StatusPagesApi.GetStatusPageOptionalParameters parameters)
pageId - The ID of the status page. (required)parameters - Optional parameters for the request.public StatusPagesComponentArray listComponents(UUID pageId) throws ApiException
pageId - The ID of the status page. (required)ApiException - if fails to make API callpublic CompletableFuture<StatusPagesComponentArray> listComponentsAsync(UUID pageId)
pageId - The ID of the status page. (required)public StatusPagesComponentArray listComponents(UUID pageId, StatusPagesApi.ListComponentsOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<StatusPagesComponentArray> listComponentsAsync(UUID pageId, StatusPagesApi.ListComponentsOptionalParameters parameters)
pageId - The ID of the status page. (required)parameters - Optional parameters for the request.public ApiResponse<StatusPagesComponentArray> listComponentsWithHttpInfo(UUID pageId, StatusPagesApi.ListComponentsOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<StatusPagesComponentArray>> listComponentsWithHttpInfoAsync(UUID pageId, StatusPagesApi.ListComponentsOptionalParameters parameters)
pageId - The ID of the status page. (required)parameters - Optional parameters for the request.public DegradationArray listDegradations() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<DegradationArray> listDegradationsAsync()
public DegradationArray listDegradations(StatusPagesApi.ListDegradationsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<DegradationArray> listDegradationsAsync(StatusPagesApi.ListDegradationsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<DegradationArray> listDegradationsWithHttpInfo(StatusPagesApi.ListDegradationsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DegradationArray>> listDegradationsWithHttpInfoAsync(StatusPagesApi.ListDegradationsOptionalParameters parameters)
parameters - Optional parameters for the request.public StatusPageArray listStatusPages() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<StatusPageArray> listStatusPagesAsync()
public StatusPageArray listStatusPages(StatusPagesApi.ListStatusPagesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<StatusPageArray> listStatusPagesAsync(StatusPagesApi.ListStatusPagesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<StatusPageArray> listStatusPagesWithHttpInfo(StatusPagesApi.ListStatusPagesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<StatusPageArray>> listStatusPagesWithHttpInfoAsync(StatusPagesApi.ListStatusPagesOptionalParameters parameters)
parameters - Optional parameters for the request.public StatusPagesComponent updateComponent(UUID pageId, UUID componentId, PatchComponentRequest body) throws ApiException
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<StatusPagesComponent> updateComponentAsync(UUID pageId, UUID componentId, PatchComponentRequest body)
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)body - (required)public StatusPagesComponent updateComponent(UUID pageId, UUID componentId, PatchComponentRequest body, StatusPagesApi.UpdateComponentOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<StatusPagesComponent> updateComponentAsync(UUID pageId, UUID componentId, PatchComponentRequest body, StatusPagesApi.UpdateComponentOptionalParameters parameters)
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)body - (required)parameters - Optional parameters for the request.public ApiResponse<StatusPagesComponent> updateComponentWithHttpInfo(UUID pageId, UUID componentId, PatchComponentRequest body, StatusPagesApi.UpdateComponentOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<StatusPagesComponent>> updateComponentWithHttpInfoAsync(UUID pageId, UUID componentId, PatchComponentRequest body, StatusPagesApi.UpdateComponentOptionalParameters parameters)
pageId - The ID of the status page. (required)componentId - The ID of the component. (required)body - (required)parameters - Optional parameters for the request.public Degradation updateDegradation(UUID pageId, UUID degradationId, PatchDegradationRequest body) throws ApiException
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Degradation> updateDegradationAsync(UUID pageId, UUID degradationId, PatchDegradationRequest body)
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)body - (required)public Degradation updateDegradation(UUID pageId, UUID degradationId, PatchDegradationRequest body, StatusPagesApi.UpdateDegradationOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<Degradation> updateDegradationAsync(UUID pageId, UUID degradationId, PatchDegradationRequest body, StatusPagesApi.UpdateDegradationOptionalParameters parameters)
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)body - (required)parameters - Optional parameters for the request.public ApiResponse<Degradation> updateDegradationWithHttpInfo(UUID pageId, UUID degradationId, PatchDegradationRequest body, StatusPagesApi.UpdateDegradationOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Degradation>> updateDegradationWithHttpInfoAsync(UUID pageId, UUID degradationId, PatchDegradationRequest body, StatusPagesApi.UpdateDegradationOptionalParameters parameters)
pageId - The ID of the status page. (required)degradationId - The ID of the degradation. (required)body - (required)parameters - Optional parameters for the request.public StatusPage updateStatusPage(UUID pageId, PatchStatusPageRequest body) throws ApiException
pageId - The ID of the status page. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<StatusPage> updateStatusPageAsync(UUID pageId, PatchStatusPageRequest body)
pageId - The ID of the status page. (required)body - (required)public StatusPage updateStatusPage(UUID pageId, PatchStatusPageRequest body, StatusPagesApi.UpdateStatusPageOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<StatusPage> updateStatusPageAsync(UUID pageId, PatchStatusPageRequest body, StatusPagesApi.UpdateStatusPageOptionalParameters parameters)
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.public ApiResponse<StatusPage> updateStatusPageWithHttpInfo(UUID pageId, PatchStatusPageRequest body, StatusPagesApi.UpdateStatusPageOptionalParameters parameters) throws ApiException
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<StatusPage>> updateStatusPageWithHttpInfoAsync(UUID pageId, PatchStatusPageRequest body, StatusPagesApi.UpdateStatusPageOptionalParameters parameters)
pageId - The ID of the status page. (required)body - (required)parameters - Optional parameters for the request.Copyright © 2026. All rights reserved.