Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
13 changes: 13 additions & 0 deletions src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -3971,7 +3971,9 @@ public ApiResponse<IncidentPageUUIDResponse> 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();
Expand All @@ -3985,7 +3987,9 @@ public IncidentPageUUIDResponse createPageFromIncident(
* @param incidentId The UUID of the incident. (required)
* @param body Page creation payload. (required)
* @return CompletableFuture&lt;IncidentPageUUIDResponse&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<IncidentPageUUIDResponse> createPageFromIncidentAsync(
String incidentId, IncidentCreatePageFromIncidentRequest body) {
return createPageFromIncidentWithHttpInfoAsync(incidentId, body)
Expand All @@ -3998,6 +4002,10 @@ public CompletableFuture<IncidentPageUUIDResponse> createPageFromIncidentAsync(
/**
* Create a page from an incident using the Cases service.
*
* <p><strong>Deprecated</strong>: This endpoint is deprecated. Use <a
* href="#create-an-on-call-page-from-an-incident">Create an on-call page from an incident</a>
* instead.
*
* @param incidentId The UUID of the incident. (required)
* @param body Page creation payload. (required)
* @return ApiResponse&lt;IncidentPageUUIDResponse&gt;
Expand All @@ -4013,7 +4021,10 @@ public CompletableFuture<IncidentPageUUIDResponse> createPageFromIncidentAsync(
* <tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<IncidentPageUUIDResponse> createPageFromIncidentWithHttpInfo(
String incidentId, IncidentCreatePageFromIncidentRequest body) throws ApiException {
// Check if unstable operation is enabled
Expand Down Expand Up @@ -4072,7 +4083,9 @@ public ApiResponse<IncidentPageUUIDResponse> createPageFromIncidentWithHttpInfo(
* @param incidentId The UUID of the incident. (required)
* @param body Page creation payload. (required)
* @return CompletableFuture&lt;ApiResponse&lt;IncidentPageUUIDResponse&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<IncidentPageUUIDResponse>>
createPageFromIncidentWithHttpInfoAsync(
String incidentId, IncidentCreatePageFromIncidentRequest body) {
Expand Down
Loading