diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c15232d0429..7514c4ca8f3 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -163368,7 +163368,12 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/incidents/{incident_id}/cases/page: post: - description: Create a page from an incident using the Cases service. + deprecated: true + description: |- + Create a page from an incident using the Cases service. + + **Deprecated**: This endpoint is deprecated. Use + [Create an on-call page from an incident](#create-an-on-call-page-from-an-incident) instead. operationId: CreatePageFromIncident parameters: - $ref: "#/components/parameters/IncidentIDPathParameter" diff --git a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java index f400aaf0355..0422a295a32 100644 --- a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java @@ -3971,7 +3971,9 @@ public ApiResponse createOnCallPageFromIncidentWithHtt * @param body Page creation payload. (required) * @return IncidentPageUUIDResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public IncidentPageUUIDResponse createPageFromIncident( String incidentId, IncidentCreatePageFromIncidentRequest body) throws ApiException { return createPageFromIncidentWithHttpInfo(incidentId, body).getData(); @@ -3985,7 +3987,9 @@ public IncidentPageUUIDResponse createPageFromIncident( * @param incidentId The UUID of the incident. (required) * @param body Page creation payload. (required) * @return CompletableFuture<IncidentPageUUIDResponse> + * @deprecated */ + @Deprecated public CompletableFuture createPageFromIncidentAsync( String incidentId, IncidentCreatePageFromIncidentRequest body) { return createPageFromIncidentWithHttpInfoAsync(incidentId, body) @@ -3998,6 +4002,10 @@ public CompletableFuture createPageFromIncidentAsync( /** * Create a page from an incident using the Cases service. * + *

Deprecated: This endpoint is deprecated. Use Create an on-call page from an incident + * instead. + * * @param incidentId The UUID of the incident. (required) * @param body Page creation payload. (required) * @return ApiResponse<IncidentPageUUIDResponse> @@ -4013,7 +4021,10 @@ public CompletableFuture createPageFromIncidentAsync( * 404 Not Found - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse createPageFromIncidentWithHttpInfo( String incidentId, IncidentCreatePageFromIncidentRequest body) throws ApiException { // Check if unstable operation is enabled @@ -4072,7 +4083,9 @@ public ApiResponse createPageFromIncidentWithHttpInfo( * @param incidentId The UUID of the incident. (required) * @param body Page creation payload. (required) * @return CompletableFuture<ApiResponse<IncidentPageUUIDResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> createPageFromIncidentWithHttpInfoAsync( String incidentId, IncidentCreatePageFromIncidentRequest body) {