Skip to content
Merged
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 @@ -164173,7 +164173,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
6 changes: 6 additions & 0 deletions lib/datadog_api_client/v2/api/incidents_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1621,11 +1621,17 @@ def create_page_from_incident(incident_id, body, opts = {})
#
# 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.
#
# @deprecated This API is deprecated.
#
# @param incident_id [String] The UUID of the incident.
# @param body [IncidentCreatePageFromIncidentRequest] Page creation payload.
# @param opts [Hash] the optional parameters
# @return [Array<(IncidentPageUUIDResponse, Integer, Hash)>] IncidentPageUUIDResponse data, response status code and response headers
def create_page_from_incident_with_http_info(incident_id, body, opts = {})
warn "[DEPRECATION] `CreatePageFromIncident` is deprecated."
unstable_enabled = @api_client.config.unstable_operations["v2.create_page_from_incident".to_sym]
if unstable_enabled
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_page_from_incident")
Expand Down
Loading