.generator/schemas/v2/openapi.yaml in datadog_api_client-2.8.0 vs .generator/schemas/v2/openapi.yaml in datadog_api_client-2.9.0
- old
+ new
@@ -209,10 +209,17 @@
required: false
schema:
items:
$ref: '#/components/schemas/IncidentRelatedObject'
type: array
+ IncidentIntegrationMetadataIDPathParameter:
+ description: The UUID of the incident integration metadata.
+ in: path
+ name: integration_metadata_id
+ required: true
+ schema:
+ type: string
IncidentSearchIncludeQueryParameter:
description: Specifies which types of related objects should be included in
the response.
in: query
name: include
@@ -345,10 +352,19 @@
schema:
default: 10
example: 10
format: int64
type: integer
+ ResourceID:
+ description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
+ `dashboard`, `notebook`, `security-rule`, `slo`.'
+ example: dashboard:abc-def-ghi
+ in: path
+ name: resource_id
+ required: true
+ schema:
+ type: string
RoleID:
description: The unique identifier of the role.
in: path
name: role_id
required: true
@@ -3094,14 +3110,16 @@
EventsDataSource:
default: logs
description: A data source that is powered by the Events Platform.
enum:
- logs
+ - rum
example: logs
type: string
x-enum-varnames:
- LOGS
+ - RUM
EventsGroupBy:
description: A dimension on which to split a query's results.
properties:
facet:
description: The facet by which to split groups.
@@ -3860,10 +3878,108 @@
type: string
x-enum-varnames:
- APP_SEC_HOST_COUNT
- OBSERVABILITY_PIPELINES_BYTES_PROCESSSED
- LAMBDA_TRACED_INVOCATIONS_COUNT
+ IPAllowlistAttributes:
+ description: Attributes of the IP allowlist.
+ properties:
+ enabled:
+ description: Whether the IP allowlist logic is enabled or not.
+ type: boolean
+ entries:
+ description: Array of entries in the IP allowlist.
+ items:
+ $ref: '#/components/schemas/IPAllowlistEntry'
+ type: array
+ type: object
+ IPAllowlistData:
+ description: IP allowlist data.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/IPAllowlistAttributes'
+ id:
+ description: The unique identifier of the org.
+ type: string
+ type:
+ $ref: '#/components/schemas/IPAllowlistType'
+ required:
+ - type
+ type: object
+ IPAllowlistEntry:
+ description: IP allowlist entry object.
+ properties:
+ data:
+ $ref: '#/components/schemas/IPAllowlistEntryData'
+ required:
+ - data
+ type: object
+ IPAllowlistEntryAttributes:
+ description: Attributes of the IP allowlist entry.
+ properties:
+ cidr_block:
+ description: The CIDR block describing the IP range of the entry.
+ type: string
+ created_at:
+ description: Creation time of the entry.
+ format: date-time
+ readOnly: true
+ type: string
+ modified_at:
+ description: Time of last entry modification.
+ format: date-time
+ readOnly: true
+ type: string
+ note:
+ description: A note describing the IP allowlist entry.
+ type: string
+ type: object
+ IPAllowlistEntryData:
+ description: Data of the IP allowlist entry object.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/IPAllowlistEntryAttributes'
+ id:
+ description: The unique identifier of the IP allowlist entry.
+ type: string
+ type:
+ $ref: '#/components/schemas/IPAllowlistEntryType'
+ required:
+ - type
+ type: object
+ IPAllowlistEntryType:
+ default: ip_allowlist_entry
+ description: IP allowlist Entry type.
+ enum:
+ - ip_allowlist_entry
+ example: ip_allowlist_entry
+ type: string
+ x-enum-varnames:
+ - IP_ALLOWLIST_ENTRY
+ IPAllowlistResponse:
+ description: Response containing information about the IP allowlist.
+ properties:
+ data:
+ $ref: '#/components/schemas/IPAllowlistData'
+ type: object
+ IPAllowlistType:
+ default: ip_allowlist
+ description: IP allowlist type.
+ enum:
+ - ip_allowlist
+ example: ip_allowlist
+ type: string
+ x-enum-varnames:
+ - IP_ALLOWLIST
+ IPAllowlistUpdateRequest:
+ description: Update the IP allowlist.
+ properties:
+ data:
+ $ref: '#/components/schemas/IPAllowlistData'
+ required:
+ - data
+ type: object
IdPMetadataFormData:
description: The form data submitted to upload IdP metadata
properties:
idp_file:
description: The IdP metadata XML file
@@ -4236,10 +4352,141 @@
x-enum-varnames:
- MULTISELECT
- TEXTARRAY
- METRICTAG
- AUTOCOMPLETE
+ IncidentIntegrationMetadataAttributes:
+ description: Incident integration metadata's attributes for a create request.
+ properties:
+ incident_id:
+ description: UUID of the incident this integration metadata is connected
+ to.
+ example: 00000000-aaaa-0000-0000-000000000000
+ type: string
+ integration_type:
+ description: 'A number indicating the type of integration this metadata
+ is for. 1 indicates Slack;
+
+ 8 indicates Jira.'
+ example: 1
+ format: int32
+ maximum: 9
+ type: integer
+ metadata:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataMetadata'
+ status:
+ description: 'A number indicating the status of this integration metadata.
+ 0 indicates unknown;
+
+ 1 indicates pending; 2 indicates complete; 3 indicates manually created;
+
+ 4 indicates manually updated; 5 indicates failed.'
+ format: int32
+ maximum: 5
+ type: integer
+ required:
+ - integration_type
+ - metadata
+ type: object
+ IncidentIntegrationMetadataCreateData:
+ description: Incident integration metadata data for a create request.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataAttributes'
+ type:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataType'
+ required:
+ - type
+ - attributes
+ type: object
+ IncidentIntegrationMetadataCreateRequest:
+ description: Create request for an incident integration metadata.
+ properties:
+ data:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataCreateData'
+ required:
+ - data
+ type: object
+ IncidentIntegrationMetadataListResponse:
+ description: Response with a list of incident integration metadata.
+ properties:
+ data:
+ description: An array of incident integration metadata.
+ items:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponseData'
+ type: array
+ included:
+ description: Included related resources that the user requested.
+ items:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponseIncludedItem'
+ readOnly: true
+ type: array
+ meta:
+ $ref: '#/components/schemas/IncidentResponseMeta'
+ required:
+ - data
+ type: object
+ IncidentIntegrationMetadataMetadata:
+ description: Incident integration metadata's metadata attribute.
+ oneOf:
+ - $ref: '#/components/schemas/SlackIntegrationMetadata'
+ - $ref: '#/components/schemas/JiraIntegrationMetadata'
+ type: object
+ IncidentIntegrationMetadataPatchData:
+ description: Incident integration metadata data for a patch request.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataAttributes'
+ type:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataType'
+ required:
+ - type
+ - attributes
+ type: object
+ IncidentIntegrationMetadataPatchRequest:
+ description: Patch request for an incident integration metadata.
+ properties:
+ data:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataPatchData'
+ required:
+ - data
+ type: object
+ IncidentIntegrationMetadataResponse:
+ description: Response with an incident integration metadata.
+ properties:
+ data:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponseData'
+ included:
+ description: Included related resources that the user requested.
+ items:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponseIncludedItem'
+ readOnly: true
+ type: array
+ required:
+ - data
+ type: object
+ IncidentIntegrationMetadataResponseData:
+ description: Incident integration metadata from a response.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataAttributes'
+ id:
+ description: The incident integration metadata's ID.
+ example: 00000000-0000-0000-1234-000000000000
+ type: string
+ type:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataType'
+ required:
+ - id
+ - type
+ type: object
+ IncidentIntegrationMetadataResponseIncludedItem:
+ description: An object related to an incident integration metadata that is included
+ in the response.
+ oneOf:
+ - $ref: '#/components/schemas/User'
+ type: object
IncidentIntegrationMetadataType:
default: incident_integrations
description: Integration metadata resource type.
enum:
- incident_integrations
@@ -5090,11 +5337,11 @@
description: Incident data for an update request.
properties:
attributes:
$ref: '#/components/schemas/IncidentUpdateAttributes'
id:
- description: The team's ID.
+ description: The incident's ID.
example: 00000000-0000-0000-4567-000000000000
type: string
relationships:
$ref: '#/components/schemas/IncidentUpdateRelationships'
type:
@@ -5237,10 +5484,49 @@
items:
description: An empty error list.
type: string
type: array
type: object
+ JiraIntegrationMetadata:
+ description: Incident integration metadata for the Jira integration.
+ properties:
+ issues:
+ description: Array of Jira issues in this integration metadata.
+ example: []
+ items:
+ $ref: '#/components/schemas/JiraIntegrationMetadataIssuesItem'
+ type: array
+ required:
+ - issues
+ type: object
+ JiraIntegrationMetadataIssuesItem:
+ description: Item in the Jira integration metadata issue array.
+ properties:
+ account:
+ description: URL of issue's Jira account.
+ example: https://example.atlassian.net
+ type: string
+ issue_key:
+ description: Jira issue's issue key.
+ example: PROJ-123
+ type: string
+ issuetype_id:
+ description: Jira issue's issue type.
+ example: '1000'
+ type: string
+ project_key:
+ description: Jira issue's project keys.
+ example: PROJ
+ type: string
+ redirect_url:
+ description: URL redirecting to the Jira issue.
+ example: https://example.atlassian.net/browse/PROJ-123
+ type: string
+ required:
+ - project_key
+ - account
+ type: object
ListApplicationKeysResponse:
description: Response for a list of application keys.
properties:
data:
description: Array of application keys.
@@ -7200,18 +7486,26 @@
- avg
- min
- max
- sum
- last
+ - percentile
+ - mean
+ - l2norm
+ - area
example: avg
type: string
x-enum-varnames:
- AVG
- MIN
- MAX
- SUM
- LAST
+ - PERCENTILE
+ - MEAN
+ - L2NORM
+ - AREA
MetricsAndMetricTagConfigurations:
description: Object for a metrics and metric tag configurations.
oneOf:
- $ref: '#/components/schemas/Metric'
- $ref: '#/components/schemas/MetricTagConfiguration'
@@ -7521,10 +7815,30 @@
$ref: '#/components/schemas/UsersType'
required:
- id
- type
type: object
+ OnDemandConcurrencyCap:
+ description: On-demand concurrency cap.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/OnDemandConcurrencyCapAttributes'
+ type: object
+ OnDemandConcurrencyCapAttributes:
+ description: On-demand concurrency cap attributes.
+ properties:
+ on_demand_concurrency_cap:
+ description: Value of the on-demand concurrency cap.
+ format: double
+ type: number
+ type: object
+ OnDemandConcurrencyCapResponse:
+ description: On-demand concurrency cap response.
+ properties:
+ data:
+ $ref: '#/components/schemas/OnDemandConcurrencyCap'
+ type: object
OpsgenieServiceCreateAttributes:
description: The Opsgenie service attributes for a create request.
properties:
custom_url:
description: The custom URL for a custom region.
@@ -8826,11 +9140,11 @@
type: incident_integrations
- id: 00000000-abcd-0006-0000-000000000000
type: incident_integrations
properties:
data:
- description: The integration metadata relationship array
+ description: Integration metadata relationship array
example:
- id: 00000000-abcd-0003-0000-000000000000
type: incident_integrations
- id: 00000000-abcd-0004-0000-000000000000
type: incident_integrations
@@ -9008,10 +9322,95 @@
description: Object describing meta attributes of response.
properties:
page:
$ref: '#/components/schemas/Pagination'
type: object
+ RestrictionPolicy:
+ description: Restriction policy object.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/RestrictionPolicyAttributes'
+ id:
+ description: The identifier, always equivalent to the value specified in
+ the `resource_id` path parameter.
+ example: dashboard:abc-def-ghi
+ type: string
+ type:
+ $ref: '#/components/schemas/RestrictionPolicyType'
+ required:
+ - type
+ - id
+ - attributes
+ type: object
+ RestrictionPolicyAttributes:
+ description: Restriction policy attributes.
+ example:
+ bindings: []
+ properties:
+ bindings:
+ description: An array of bindings.
+ items:
+ $ref: '#/components/schemas/RestrictionPolicyBinding'
+ type: array
+ required:
+ - bindings
+ type: object
+ RestrictionPolicyBinding:
+ description: Specifies which principals are associated with a relation.
+ properties:
+ principals:
+ description: 'An array of principals. A principal is a subject or group
+ of subjects.
+
+ Each principal is formatted as `type:id`. Supported types: `role` and
+ `org`.
+
+ The org ID can be obtained through the api/v2/current_user API.'
+ example:
+ - role:00000000-0000-1111-0000-000000000000
+ items:
+ description: 'Subject or group of subjects. Each principal is formatted
+ as `type:id`.
+
+ Supported types: `role` and `org`.
+
+ The org ID can be obtained through the api/v2/current_user API.'
+ type: string
+ type: array
+ relation:
+ description: The role/level of access.
+ example: editor
+ type: string
+ required:
+ - relation
+ - principals
+ type: object
+ RestrictionPolicyResponse:
+ description: Response containing information about a single restriction policy.
+ properties:
+ data:
+ $ref: '#/components/schemas/RestrictionPolicy'
+ required:
+ - data
+ type: object
+ RestrictionPolicyType:
+ default: restriction_policy
+ description: Restriction policy type.
+ enum:
+ - restriction_policy
+ example: restriction_policy
+ type: string
+ x-enum-varnames:
+ - RESTRICTION_POLICY
+ RestrictionPolicyUpdateRequest:
+ description: Update request for a restriction policy.
+ properties:
+ data:
+ $ref: '#/components/schemas/RestrictionPolicy'
+ required:
+ - data
+ type: object
Role:
description: Role object returned by the API.
properties:
attributes:
$ref: '#/components/schemas/RoleAttributes'
@@ -10018,16 +10417,18 @@
enum:
- log_detection
- infrastructure_configuration
- workload_security
- cloud_configuration
+ - application_security
type: string
x-enum-varnames:
- LOG_DETECTION
- INFRASTRUCTURE_CONFIGURATION
- WORKLOAD_SECURITY
- CLOUD_CONFIGURATION
+ - APPLICATION_SECURITY
SecurityMonitoringRuleUpdatePayload:
description: Update an existing rule.
properties:
cases:
description: Cases for generating signals.
@@ -11905,10 +12306,46 @@
description: Data representing service definitions.
items:
$ref: '#/components/schemas/ServiceDefinitionData'
type: array
type: object
+ SlackIntegrationMetadata:
+ description: Incident integration metadata for the Slack integration.
+ properties:
+ channels:
+ description: Array of Slack channels in this integration metadata.
+ example: []
+ items:
+ $ref: '#/components/schemas/SlackIntegrationMetadataChannelItem'
+ type: array
+ required:
+ - channels
+ type: object
+ SlackIntegrationMetadataChannelItem:
+ description: Item in the Slack integration metadata channel array.
+ properties:
+ channel_id:
+ description: Slack channel ID.
+ example: C0123456789
+ type: string
+ channel_name:
+ description: Name of the Slack channel.
+ example: '#example-channel-name'
+ type: string
+ redirect_url:
+ description: URL redirecting to the Slack channel.
+ example: https://slack.com/app_redirect?channel=C0123456789&team=T01234567
+ type: string
+ team_id:
+ description: Slack team ID.
+ example: T01234567
+ type: string
+ required:
+ - channel_id
+ - channel_name
+ - redirect_url
+ type: object
TagsEventAttribute:
description: Array of tags associated with your event.
example:
- team:A
items:
@@ -14251,10 +14688,193 @@
- Incidents
x-codegen-request-body-name: body
x-unstable: '**Note**: This endpoint is in public beta.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ /api/v2/incidents/{incident_id}/relationships/integrations:
+ get:
+ description: Get all integration metadata for an incident.
+ operationId: ListIncidentIntegrations
+ parameters:
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataListResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - incident_read
+ summary: Get a list of an incident's integration metadata
+ tags:
+ - Incidents
+ x-unstable: '**Note**: This endpoint is in public beta.
+
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ post:
+ description: Create an incident integration metadata.
+ operationId: CreateIncidentIntegration
+ parameters:
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataCreateRequest'
+ description: Incident integration metadata payload.
+ required: true
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponse'
+ description: CREATED
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - incident_write
+ summary: Create an incident integration metadata
+ tags:
+ - Incidents
+ x-codegen-request-body-name: body
+ x-unstable: '**Note**: This endpoint is in public beta.
+
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ /api/v2/incidents/{incident_id}/relationships/integrations/{integration_metadata_id}:
+ delete:
+ description: Delete an incident integration metadata.
+ operationId: DeleteIncidentIntegration
+ parameters:
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
+ - $ref: '#/components/parameters/IncidentIntegrationMetadataIDPathParameter'
+ responses:
+ '204':
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - incident_write
+ summary: Delete an incident integration metadata
+ tags:
+ - Incidents
+ x-codegen-request-body-name: body
+ x-unstable: '**Note**: This endpoint is in public beta.
+
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ get:
+ description: Get incident integration metadata details.
+ operationId: GetIncidentIntegration
+ parameters:
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
+ - $ref: '#/components/parameters/IncidentIntegrationMetadataIDPathParameter'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - incident_read
+ summary: Get incident integration metadata details
+ tags:
+ - Incidents
+ x-unstable: '**Note**: This endpoint is in public beta.
+
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ patch:
+ description: Update an existing incident integration metadata.
+ operationId: UpdateIncidentIntegration
+ parameters:
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
+ - $ref: '#/components/parameters/IncidentIntegrationMetadataIDPathParameter'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataPatchRequest'
+ description: Incident integration metadata payload.
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '401':
+ $ref: '#/components/responses/UnauthorizedResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - incident_write
+ summary: Update an existing incident integration metadata
+ tags:
+ - Incidents
+ x-codegen-request-body-name: body
+ x-unstable: '**Note**: This endpoint is in public beta.
+
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/integration/opsgenie/services:
get:
description: Get a list of all services from the Datadog Opsgenie integration.
operationId: ListOpsgenieServices
responses:
@@ -15033,10 +15653,68 @@
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Update Fastly service
tags:
- Fastly Integration
x-codegen-request-body-name: body
+ /api/v2/ip_allowlist:
+ get:
+ description: Returns the IP allowlist and its enabled or disabled state.
+ operationId: GetIPAllowlist
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IPAllowlistResponse'
+ description: OK
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - org_management
+ summary: Get IP Allowlist
+ tags:
+ - IP Allowlist
+ patch:
+ description: Edit the entries in the IP allowlist, and enable or disable it.
+ operationId: UpdateIPAllowlist
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IPAllowlistUpdateRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IPAllowlistResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - org_management
+ summary: Update IP Allowlist
+ tags:
+ - IP Allowlist
+ x-codegen-request-body-name: body
/api/v2/logs:
post:
description: 'Send your logs to your Datadog platform over HTTP. Limits per
HTTP request are:
@@ -15060,11 +15738,14 @@
Datadog recommends sending your logs compressed.
Add the `Content-Encoding: gzip` header to the request when sending compressed
logs.
+ Log events can be submitted up to 18 hours in the past and 2 hours in the
+ future.
+
The status codes answered by the HTTP API are:
- 202: Accepted: the request has been accepted for processing
- 400: Bad request (likely an issue in the payload formatting)
@@ -16946,15 +17627,15 @@
- timeseries_query
summary: Query scalar data across multiple products
tags:
- Metrics
x-codegen-request-body-name: body
- x-unstable: '**Note**: This endpoint is GA for the metrics and cloud cost data
- sources. Logs is
+ x-unstable: '**Note**: This endpoint is GA for the metrics, real user monitoring
+ (RUM) and cloud cost data sources.
- in beta. We are gradually onboarding support for more sources. If you have
- any
+ Support for logs is in beta. We are gradually onboarding support for more
+ sources. If you have any
feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/query/timeseries:
post:
description: 'Query timeseries data across various data sources and
@@ -16989,17 +17670,109 @@
- timeseries_query
summary: Query timeseries data across multiple products
tags:
- Metrics
x-codegen-request-body-name: body
- x-unstable: '**Note**: This endpoint is GA for the metrics and cloud cost data
- sources. Logs is
+ x-unstable: '**Note**: This endpoint is GA for the metrics, real user monitoring
+ (RUM) and cloud cost data sources.
- in beta. We are gradually onboarding support for more sources. If you have
- any
+ Support for logs is in beta. We are gradually onboarding support for more
+ sources. If you have any
feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ /api/v2/restriction_policy/{resource_id}:
+ delete:
+ description: Deletes the restriction policy associated with a specified resource.
+ operationId: DeleteRestrictionPolicy
+ parameters:
+ - $ref: '#/components/parameters/ResourceID'
+ responses:
+ '204':
+ description: No Content
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/NotAuthorizedResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ summary: Delete a restriction policy
+ tags:
+ - Restriction Policies
+ get:
+ description: Retrieves the restriction policy associated with a specified resource.
+ operationId: GetRestrictionPolicy
+ parameters:
+ - $ref: '#/components/parameters/ResourceID'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/RestrictionPolicyResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/NotAuthorizedResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ summary: Get a restriction policy
+ tags:
+ - Restriction Policies
+ post:
+ description: 'Updates the restriction policy associated with a resource.
+
+
+ #### Supported resources
+
+ Restriction policies can be applied to the following resources:
+
+ - Connections: `connection`
+
+ - Dashboards: `dashboard`
+
+ - Notebooks: `notebook`
+
+ - Security Rules: `security-rule`
+
+ - Service Level Objectives: `slo`'
+ operationId: UpdateRestrictionPolicy
+ parameters:
+ - $ref: '#/components/parameters/ResourceID'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/RestrictionPolicyUpdateRequest'
+ description: Restriction policy payload
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/RestrictionPolicyResponse'
+ description: OK
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/NotAuthorizedResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ summary: Update a restriction policy
+ tags:
+ - Restriction Policies
+ x-codegen-request-body-name: body
/api/v2/roles:
get:
description: Returns all roles, including their names and their unique identifiers.
operationId: ListRoles
parameters:
@@ -19489,10 +20262,49 @@
- Incident Services
x-codegen-request-body-name: body
x-unstable: '**Note**: This endpoint is in public beta.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
+ /api/v2/synthetics/settings/on_demand_concurrency_cap:
+ get:
+ description: Get the on-demand concurrency cap.
+ operationId: GetOnDemandConcurrencyCap
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OnDemandConcurrencyCapResponse'
+ description: OK
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Get the on-demand concurrency cap
+ tags:
+ - Synthetics
+ post:
+ description: Save new value for on-demand concurrency cap.
+ operationId: SetOnDemandConcurrencyCap
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OnDemandConcurrencyCapAttributes'
+ description: .
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OnDemandConcurrencyCapResponse'
+ description: OK
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ summary: Save new value for on-demand concurrency cap
+ tags:
+ - Synthetics
+ x-codegen-request-body-name: body
/api/v2/teams:
get:
description: Get all incident teams for the requesting user's organization.
If the `include[users]` query parameter is provided, the included attribute
will contain the users related to these incident teams.
@@ -19976,11 +20788,13 @@
format: date-time
type: string
- description: 'Comma separated list of product families to retrieve. Available
families are `all`, `analyzed_logs`,
- `application_security`, `audit_logs`, `serverless`, `ci_app`, `cloud_cost_management`,
+ `application_security`, `audit_logs`, `audit_trail`, `serverless`, `ci_app`,
+ `cloud_cost_management`,
+
`cspm`, `custom_events`, `cws`, `dbm`, `fargate`,
`infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`,
`iot`,
@@ -20654,10 +21468,21 @@
first 4000 characters are displayed.'
name: Events
- description: Configure your Datadog Fastly integration directly through the Datadog
API.
name: Fastly Integration
+- description: 'The IP allowlist API is used to manage the IP addresses that
+
+ can access the Datadog API and web UI. It does not block
+
+ access to intake APIs or public dashboards.
+
+
+ This is an enterprise-only feature. Request access by
+
+ contacting Datadog support.'
+ name: IP Allowlist
- description: Create, update, delete, and retrieve services which can be associated
with incidents.
name: Incident Services
- description: Create, update, delete and retrieve teams which can be associated with
incidents.
@@ -20731,10 +21556,18 @@
name: Organizations
- description: The processes API allows you to query processes data for your organization.
name: Processes
- description: Search or aggregate your RUM events over HTTP.
name: RUM
+- description: 'A restriction policy defines the access control rules for a resource,
+ mapping a set of relations
+
+ (such as editor and viewer) to a set of allowed principals (such as roles). The
+ restriction policy
+
+ determines who is authorized to perform what actions on the resource.'
+ name: Restriction Policies
- description: 'The Roles API is used to create and manage Datadog roles, what
[global permissions](https://docs.datadoghq.com/account_management/rbac/)
they grant, and which users belong to them.
@@ -20759,9 +21592,16 @@
name: Service Accounts
- description: API to create, update, retrieve and delete service definitions.
externalDocs:
url: https://docs.datadoghq.com/tracing/service_catalog/
name: Service Definition
+- description: "Datadog Synthetics uses simulated user requests and browser rendering
+ to help you ensure uptime,\nidentify regional issues, and track your application
+ performance. Datadog Synthetics tests come in\ntwo different flavors, [API tests](https://docs.datadoghq.com/synthetics/api_tests/)\nand
+ [browser tests](https://docs.datadoghq.com/synthetics/browser_tests). You can
+ use Datadog\u2019s API to\nmanage both test types programmatically.\n\nFor more
+ information about Synthetics, see the [Synthetics overview](https://docs.datadoghq.com/synthetics/)."
+ name: Synthetics
- description: 'The usage metering API allows you to get hourly, daily, and
monthly usage across multiple facets of Datadog.
This API is available to all Pro and Enterprise customers.