.generator/schemas/v2/openapi.yaml in datadog_api_client-2.6.0 vs .generator/schemas/v2/openapi.yaml in datadog_api_client-2.7.0
- old
+ new
@@ -157,10 +157,24 @@
in: path
name: resource_id
required: true
schema:
type: string
+ FastlyAccountID:
+ description: Fastly Account id.
+ in: path
+ name: account_id
+ required: true
+ schema:
+ type: string
+ FastlyServiceID:
+ description: Fastly Service ID.
+ in: path
+ name: service_id
+ required: true
+ schema:
+ type: string
IncidentAttachmentFilterQueryParameter:
description: Specifies which types of attachments are included in the response.
explode: false
in: query
name: filter[attachment_type]
@@ -2165,10 +2179,134 @@
description: A list of Agent rules objects.
items:
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleData'
type: array
type: object
+ CloudflareAccountCreateRequest:
+ description: Payload schema when adding a Cloudflare account.
+ properties:
+ data:
+ $ref: '#/components/schemas/CloudflareAccountCreateRequestData'
+ required:
+ - data
+ type: object
+ CloudflareAccountCreateRequestAttributes:
+ description: Attributes object for creating a Cloudflare account.
+ properties:
+ api_key:
+ description: The API key (or token) for the Cloudflare account.
+ example: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
+ type: string
+ email:
+ description: The email associated with the Cloudflare account. If an API
+ key is provided (and not a token), this field is also required.
+ example: test-email@example.com
+ type: string
+ name:
+ description: The name of the Cloudflare account.
+ example: test-name
+ type: string
+ required:
+ - api_key
+ - name
+ type: object
+ CloudflareAccountCreateRequestData:
+ description: Data object for creating a Cloudflare account.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CloudflareAccountCreateRequestAttributes'
+ type:
+ $ref: '#/components/schemas/CloudflareAccountType'
+ required:
+ - attributes
+ - type
+ type: object
+ CloudflareAccountResponse:
+ description: The expected response schema when getting a Cloudflare account.
+ properties:
+ data:
+ $ref: '#/components/schemas/CloudflareAccountResponseData'
+ type: object
+ CloudflareAccountResponseAttributes:
+ description: Attributes object of a Cloudflare account.
+ properties:
+ email:
+ description: The email associated with the Cloudflare account.
+ example: test-email@example.com
+ type: string
+ name:
+ description: The name of the Cloudflare account.
+ example: test-name
+ type: string
+ required:
+ - name
+ type: object
+ CloudflareAccountResponseData:
+ description: Data object of a Cloudflare account.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CloudflareAccountResponseAttributes'
+ id:
+ description: The ID of the Cloudflare account, a hash of the account name.
+ example: c1a8e059bfd1e911cf10b626340c9a54
+ type: string
+ type:
+ $ref: '#/components/schemas/CloudflareAccountType'
+ required:
+ - attributes
+ - id
+ - type
+ type: object
+ CloudflareAccountType:
+ default: cloudflare-accounts
+ description: The JSON:API type for this API. Should always be `cloudflare-accounts`.
+ enum:
+ - cloudflare-accounts
+ example: cloudflare-accounts
+ type: string
+ x-enum-varnames:
+ - CLOUDFLARE_ACCOUNTS
+ CloudflareAccountUpdateRequest:
+ description: Payload schema when updating a Cloudflare account.
+ properties:
+ data:
+ $ref: '#/components/schemas/CloudflareAccountUpdateRequestData'
+ required:
+ - data
+ type: object
+ CloudflareAccountUpdateRequestAttributes:
+ description: Attributes object for updating a Cloudflare account.
+ properties:
+ api_key:
+ description: The API key of the Cloudflare account.
+ example: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
+ type: string
+ email:
+ description: The email associated with the Cloudflare account. If an API
+ key is provided (and not a token), this field is also required.
+ example: test-email@example.com
+ type: string
+ required:
+ - api_key
+ type: object
+ CloudflareAccountUpdateRequestData:
+ description: Data object for updating a Cloudflare account.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/CloudflareAccountUpdateRequestAttributes'
+ type:
+ $ref: '#/components/schemas/CloudflareAccountType'
+ type: object
+ CloudflareAccountsResponse:
+ description: The expected response schema when getting Cloudflare accounts.
+ properties:
+ data:
+ description: The JSON:API data schema.
+ items:
+ $ref: '#/components/schemas/CloudflareAccountResponseData'
+ type: array
+ type: object
ConfluentAccountCreateRequest:
description: Payload schema when adding a Confluent account.
properties:
data:
$ref: '#/components/schemas/ConfluentAccountCreateRequestData'
@@ -2486,10 +2624,14 @@
description: The organization name.
type: string
public_id:
description: The organization public ID.
type: string
+ region:
+ description: The region of the Datadog instance that the organization belongs
+ to.
+ type: string
total_cost:
description: The total cost of products for the month.
format: double
type: number
type: object
@@ -2691,10 +2833,32 @@
- CUSTOM_TIMEBOARD
- CUSTOM_SCREENBOARD
- INTEGRATION_SCREENBOARD
- INTEGRATION_TIMEBOARD
- HOST_TIMEBOARD
+ DataScalarColumn:
+ description: A column containing the numerical results for a formula or query.
+ properties:
+ meta:
+ $ref: '#/components/schemas/ScalarMeta'
+ name:
+ description: The name referencing the formula or query for this column.
+ example: a
+ type: string
+ type:
+ description: The type of column present.
+ example: number
+ type: string
+ values:
+ description: The array of numerical values for one formula or query.
+ items:
+ description: An individual value for a given column and group-by.
+ example: 0.5
+ format: double
+ type: number
+ type: array
+ type: object
Event:
description: The metadata associated with a request.
properties:
id:
description: Event ID.
@@ -3190,10 +3354,205 @@
description: A short human-readable summary of the warning.
example: One or several indexes are missing or invalid. Results hold data
from the other indexes.
type: string
type: object
+ FastlyAccounResponseAttributes:
+ description: Attributes object of a Fastly account.
+ properties:
+ name:
+ description: The name of the Fastly account.
+ example: test-name
+ type: string
+ services:
+ description: A list of services belonging to the parent account.
+ items:
+ $ref: '#/components/schemas/FastlyService'
+ type: array
+ required:
+ - name
+ type: object
+ FastlyAccountCreateRequest:
+ description: Payload schema when adding a Fastly account.
+ properties:
+ data:
+ $ref: '#/components/schemas/FastlyAccountCreateRequestData'
+ required:
+ - data
+ type: object
+ FastlyAccountCreateRequestAttributes:
+ description: Attributes object for creating a Fastly account.
+ properties:
+ api_key:
+ description: The API key for the Fastly account.
+ example: ABCDEFG123
+ type: string
+ name:
+ description: The name of the Fastly account.
+ example: test-name
+ type: string
+ services:
+ description: A list of services belonging to the parent account.
+ items:
+ $ref: '#/components/schemas/FastlyService'
+ type: array
+ required:
+ - api_key
+ - name
+ type: object
+ FastlyAccountCreateRequestData:
+ description: Data object for creating a Fastly account.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/FastlyAccountCreateRequestAttributes'
+ type:
+ $ref: '#/components/schemas/FastlyAccountType'
+ required:
+ - attributes
+ - type
+ type: object
+ FastlyAccountResponse:
+ description: The expected response schema when getting a Fastly account.
+ properties:
+ data:
+ $ref: '#/components/schemas/FastlyAccountResponseData'
+ type: object
+ FastlyAccountResponseData:
+ description: Data object of a Fastly account.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/FastlyAccounResponseAttributes'
+ id:
+ description: The ID of the Fastly account, a hash of the account name.
+ example: abc123
+ type: string
+ type:
+ $ref: '#/components/schemas/FastlyAccountType'
+ required:
+ - attributes
+ - id
+ - type
+ type: object
+ FastlyAccountType:
+ default: fastly-accounts
+ description: The JSON:API type for this API. Should always be `fastly-accounts`.
+ enum:
+ - fastly-accounts
+ example: fastly-accounts
+ type: string
+ x-enum-varnames:
+ - FASTLY_ACCOUNTS
+ FastlyAccountUpdateRequest:
+ description: Payload schema when updating a Fastly account.
+ properties:
+ data:
+ $ref: '#/components/schemas/FastlyAccountUpdateRequestData'
+ required:
+ - data
+ type: object
+ FastlyAccountUpdateRequestAttributes:
+ description: Attributes object for updating a Fastly account.
+ properties:
+ api_key:
+ description: The API key of the Fastly account.
+ example: ABCDEFG123
+ type: string
+ type: object
+ FastlyAccountUpdateRequestData:
+ description: Data object for updating a Fastly account.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/FastlyAccountUpdateRequestAttributes'
+ type:
+ $ref: '#/components/schemas/FastlyAccountType'
+ type: object
+ FastlyAccountsResponse:
+ description: The expected response schema when getting Fastly accounts.
+ properties:
+ data:
+ description: The JSON:API data schema.
+ items:
+ $ref: '#/components/schemas/FastlyAccountResponseData'
+ type: array
+ type: object
+ FastlyService:
+ description: The schema representation of a Fastly service.
+ properties:
+ id:
+ description: The id of the Fastly service
+ example: 6abc7de6893AbcDe9fghIj
+ type: string
+ tags:
+ description: A list of tags for the Fastly service.
+ example:
+ - myTag
+ - myTag2:myValue
+ items:
+ type: string
+ type: array
+ required:
+ - id
+ type: object
+ FastlyServiceAttributes:
+ description: Attributes object for Fastly service requests.
+ properties:
+ tags:
+ description: A list of tags for the Fastly service.
+ example:
+ - myTag
+ - myTag2:myValue
+ items:
+ type: string
+ type: array
+ type: object
+ FastlyServiceData:
+ description: Data object for Fastly service requests.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/FastlyServiceAttributes'
+ id:
+ description: The ID of the Fastly service.
+ example: abc123
+ type: string
+ type:
+ $ref: '#/components/schemas/FastlyServiceType'
+ required:
+ - id
+ - type
+ type: object
+ FastlyServiceRequest:
+ description: Payload schema for Fastly service requests.
+ properties:
+ data:
+ $ref: '#/components/schemas/FastlyServiceData'
+ required:
+ - data
+ type: object
+ FastlyServiceResponse:
+ description: The expected response schema when getting a Fastly service.
+ properties:
+ data:
+ $ref: '#/components/schemas/FastlyServiceData'
+ type: object
+ FastlyServiceType:
+ default: fastly-services
+ description: The JSON:API type for this API. Should always be `fastly-services`.
+ enum:
+ - fastly-services
+ example: fastly-services
+ type: string
+ x-enum-varnames:
+ - FASTLY_SERVICES
+ FastlyServicesResponse:
+ description: The expected response schema when getting Fastly services.
+ properties:
+ data:
+ description: The JSON:API data schema.
+ items:
+ $ref: '#/components/schemas/FastlyServiceResponse'
+ type: array
+ type: object
FormulaLimit:
description: Message for specifying limits to the number of values returned
by a query.
properties:
count:
@@ -3295,10 +3654,33 @@
description: Name of scope.
type: string
nullable: true
type: array
type: object
+ GroupScalarColumn:
+ description: A column containing the tag keys and values in a group.
+ properties:
+ name:
+ description: The name of the tag key or group.
+ example: env
+ type: string
+ type:
+ description: The type of column present.
+ example: group
+ type: string
+ values:
+ description: The array of tag values for each group found for the results
+ of the formulas or queries.
+ items:
+ description: An individual tag value for a given group column.
+ items:
+ description: One tag value within a values array.
+ example: production
+ type: string
+ type: array
+ type: array
+ type: object
GroupTags:
description: List of tags that apply to a single response value.
items:
description: A single tag that applies to a single response value.
type: string
@@ -6853,11 +7235,11 @@
name:
description: The variable name for use in formulas.
type: string
query:
description: A classic metrics query string.
- example: avg:system.cpu.user{*}
+ example: avg:system.cpu.user{*} by {env}
type: string
required:
- data_source
- query
- aggregator
@@ -6870,16 +7252,192 @@
name:
description: The variable name for use in formulas.
type: string
query:
description: A classic metrics query string.
- example: avg:system.cpu.user{*}
+ example: avg:system.cpu.user{*} by {env}
type: string
required:
- data_source
- query
type: object
+ MonitorConfigPolicyAttributeCreateRequest:
+ description: Policy and policy type for a monitor configuration policy.
+ properties:
+ policy:
+ $ref: '#/components/schemas/MonitorConfigPolicyPolicyCreateRequest'
+ policy_type:
+ $ref: '#/components/schemas/MonitorConfigPolicyType'
+ required:
+ - policy_type
+ - policy
+ type: object
+ MonitorConfigPolicyAttributeEditRequest:
+ description: Policy and policy type for a monitor configuration policy.
+ properties:
+ policy:
+ $ref: '#/components/schemas/MonitorConfigPolicyPolicy'
+ policy_type:
+ $ref: '#/components/schemas/MonitorConfigPolicyType'
+ required:
+ - policy_type
+ - policy
+ type: object
+ MonitorConfigPolicyAttributeResponse:
+ description: Policy and policy type for a monitor configuration policy.
+ properties:
+ policy:
+ $ref: '#/components/schemas/MonitorConfigPolicyPolicy'
+ policy_type:
+ $ref: '#/components/schemas/MonitorConfigPolicyType'
+ type: object
+ MonitorConfigPolicyCreateData:
+ description: A monitor configuration policy data.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/MonitorConfigPolicyAttributeCreateRequest'
+ type:
+ $ref: '#/components/schemas/MonitorConfigPolicyResourceType'
+ required:
+ - type
+ - attributes
+ type: object
+ MonitorConfigPolicyCreateRequest:
+ description: Request for creating a monitor configuration policy.
+ properties:
+ data:
+ $ref: '#/components/schemas/MonitorConfigPolicyCreateData'
+ required:
+ - data
+ type: object
+ MonitorConfigPolicyEditData:
+ description: A monitor configuration policy data.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/MonitorConfigPolicyAttributeEditRequest'
+ id:
+ description: ID of this monitor configuration policy.
+ example: 00000000-0000-1234-0000-000000000000
+ type: string
+ type:
+ $ref: '#/components/schemas/MonitorConfigPolicyResourceType'
+ required:
+ - id
+ - type
+ - attributes
+ type: object
+ MonitorConfigPolicyEditRequest:
+ description: Request for editing a monitor configuration policy.
+ properties:
+ data:
+ $ref: '#/components/schemas/MonitorConfigPolicyEditData'
+ required:
+ - data
+ type: object
+ MonitorConfigPolicyListResponse:
+ description: Response for retrieving all monitor configuration policies.
+ properties:
+ data:
+ description: An array of monitor configuration policies.
+ items:
+ $ref: '#/components/schemas/MonitorConfigPolicyResponseData'
+ type: array
+ type: object
+ MonitorConfigPolicyPolicy:
+ description: Configuration for the policy.
+ oneOf:
+ - $ref: '#/components/schemas/MonitorConfigPolicyTagPolicy'
+ type: object
+ MonitorConfigPolicyPolicyCreateRequest:
+ description: Configuration for the policy.
+ oneOf:
+ - $ref: '#/components/schemas/MonitorConfigPolicyTagPolicyCreateRequest'
+ type: object
+ MonitorConfigPolicyResourceType:
+ default: monitor-config-policy
+ description: Monitor configuration policy resource type.
+ enum:
+ - monitor-config-policy
+ example: monitor-config-policy
+ type: string
+ x-enum-varnames:
+ - MONITOR_CONFIG_POLICY
+ MonitorConfigPolicyResponse:
+ description: Response for retrieving a monitor configuration policy.
+ properties:
+ data:
+ $ref: '#/components/schemas/MonitorConfigPolicyResponseData'
+ type: object
+ MonitorConfigPolicyResponseData:
+ description: A monitor configuration policy data.
+ properties:
+ attributes:
+ $ref: '#/components/schemas/MonitorConfigPolicyAttributeResponse'
+ id:
+ description: ID of this monitor configuration policy.
+ example: 00000000-0000-1234-0000-000000000000
+ type: string
+ type:
+ $ref: '#/components/schemas/MonitorConfigPolicyResourceType'
+ type: object
+ MonitorConfigPolicyTagPolicy:
+ description: Tag attributes of a monitor configuration policy.
+ properties:
+ tag_key:
+ description: The key of the tag.
+ example: datacenter
+ maxLength: 255
+ type: string
+ tag_key_required:
+ description: If a tag key is required for monitor creation.
+ example: true
+ type: boolean
+ valid_tag_values:
+ description: Valid values for the tag.
+ example:
+ - prod
+ - staging
+ items:
+ maxLength: 255
+ type: string
+ type: array
+ type: object
+ MonitorConfigPolicyTagPolicyCreateRequest:
+ description: Tag attributes of a monitor configuration policy.
+ properties:
+ tag_key:
+ description: The key of the tag.
+ example: datacenter
+ maxLength: 255
+ type: string
+ tag_key_required:
+ description: If a tag key is required for monitor creation.
+ example: true
+ type: boolean
+ valid_tag_values:
+ description: Valid values for the tag.
+ example:
+ - prod
+ - staging
+ items:
+ maxLength: 255
+ type: string
+ type: array
+ required:
+ - tag_key
+ - tag_key_required
+ - valid_tag_values
+ type: object
+ MonitorConfigPolicyType:
+ default: tag
+ description: The monitor configuration policy type.
+ enum:
+ - tag
+ example: tag
+ type: string
+ x-enum-varnames:
+ - TAG
MonitorType:
description: Attributes from the monitor that triggered the event.
nullable: true
properties:
created_at:
@@ -8729,24 +9287,13 @@
type: string
x-enum-varnames:
- SAML_ASSERTION_ATTRIBUTES
ScalarColumn:
description: A single column in a scalar query response.
- properties:
- unit:
- description: List of units.
- items:
- $ref: '#/components/schemas/Unit'
- type: array
- values:
- description: Array of values for each group-by combination that results
- from one formula or query.
- items:
- description: An individual value for a given column and group-by.
- format: double
- type: number
- type: array
+ oneOf:
+ - $ref: '#/components/schemas/GroupScalarColumn'
+ - $ref: '#/components/schemas/DataScalarColumn'
type: object
ScalarFormulaQueryRequest:
description: A wrapper request around one scalar query to be executed.
properties:
data:
@@ -8823,22 +9370,37 @@
formula or query in the request and with values in parallel arrays matching
the series list.
items:
$ref: '#/components/schemas/ScalarColumn'
type: array
- series:
- $ref: '#/components/schemas/ScalarResponseSeriesList'
type: object
ScalarFormulaResponseType:
default: scalar_response
description: The type of the resource. The value should always be scalar_response.
enum:
- scalar_response
example: scalar_response
type: string
x-enum-varnames:
- SCALAR_RESPONSE
+ ScalarMeta:
+ description: Metadata for the resulting numerical values.
+ properties:
+ unit:
+ description: 'Detailed information about the unit.
+
+ First element describes the "primary unit" (for example, `bytes` in `bytes
+ per second`).
+
+ The second element describes the "per unit" (for example, `second` in
+ `bytes per second`).
+
+ If the second element is not present, the API returns null.'
+ items:
+ $ref: '#/components/schemas/Unit'
+ type: array
+ type: object
ScalarQuery:
description: An individual scalar query to one of the basic Datadog data sources.
oneOf:
- $ref: '#/components/schemas/MetricsScalarQuery'
- $ref: '#/components/schemas/EventsScalarQuery'
@@ -8849,16 +9411,10 @@
attributes:
$ref: '#/components/schemas/ScalarFormulaResponseAtrributes'
type:
$ref: '#/components/schemas/ScalarFormulaResponseType'
type: object
- ScalarResponseSeriesList:
- description: List of group-by tags for the response. Parallel array to the values
- in each scalar column.
- items:
- $ref: '#/components/schemas/GroupTags'
- type: array
SecurityFilter:
description: The security filter's properties.
properties:
attributes:
$ref: '#/components/schemas/SecurityFilterAttributes'
@@ -9179,17 +9735,19 @@
- threshold
- new_value
- anomaly_detection
- impossible_travel
- hardcoded
+ - third_party
type: string
x-enum-varnames:
- THRESHOLD
- NEW_VALUE
- ANOMALY_DETECTION
- IMPOSSIBLE_TRAVEL
- HARDCODED
+ - THIRD_PARTY
SecurityMonitoringRuleEvaluationWindow:
description: 'A time window is specified to match when at least one of the cases
matches true. This is a sliding window
and evaluates in real time.'
@@ -9399,19 +9957,21 @@
- sum
- max
- new_value
- geo_data
- event_count
+ - none
type: string
x-enum-varnames:
- COUNT
- CARDINALITY
- SUM
- MAX
- NEW_VALUE
- GEO_DATA
- EVENT_COUNT
+ - NONE
SecurityMonitoringRuleResponse:
description: Create a new rule.
oneOf:
- $ref: '#/components/schemas/SecurityMonitoringStandardRuleResponse'
- $ref: '#/components/schemas/SecurityMonitoringSignalRuleResponse'
@@ -9783,10 +10343,14 @@
type: integer
creationAuthorId:
description: User ID of the user who created the rule.
format: int64
type: integer
+ deprecationDate:
+ description: When the rule will be deprecated, timestamp in milliseconds.
+ format: int64
+ type: integer
filters:
description: Additional queries to filter matched events before they are
processed.
items:
$ref: '#/components/schemas/SecurityMonitoringFilter'
@@ -10152,10 +10716,14 @@
type: integer
creationAuthorId:
description: User ID of the user who created the rule.
format: int64
type: integer
+ deprecationDate:
+ description: When the rule will be deprecated, timestamp in milliseconds.
+ format: int64
+ type: integer
filters:
description: Additional queries to filter matched events before they are
processed.
items:
$ref: '#/components/schemas/SecurityMonitoringFilter'
@@ -10562,23 +11130,34 @@
description: Attributes of the Sensitive Data Scanner rule.
properties:
description:
description: Description of the rule.
type: string
- excluded_attributes:
- description: Attributes excluded from the scan.
+ excluded_namespaces:
+ description: Attributes excluded from the scan. If namespaces is provided,
+ it has to be a sub-path of the namespaces array.
example:
- - username
+ - admin.name
items:
type: string
type: array
is_enabled:
description: Whether or not the rule is enabled.
type: boolean
name:
description: Name of the rule.
type: string
+ namespaces:
+ description: 'Attributes included in the scan. If namespaces is empty or
+ missing, all attributes except excluded_namespaces are scanned.
+
+ If both are missing the whole event is scanned.'
+ example:
+ - admin
+ items:
+ type: string
+ type: array
pattern:
description: Not included if there is a relationship to a standard pattern.
type: string
tags:
description: List of tags.
@@ -11450,11 +12029,19 @@
example: 0
format: int32
maximum: 2147483647
type: integer
unit:
- description: List of units.
+ description: 'Detailed information about the unit.
+
+ The first element describes the "primary unit" (for example, `bytes` in
+ `bytes per second`).
+
+ The second element describes the "per unit" (for example, `second` in
+ `bytes per second`).
+
+ If the second element is not present, the API returns null.'
items:
$ref: '#/components/schemas/Unit'
type: array
type: object
TimeseriesResponseSeriesList:
@@ -11472,13 +12059,17 @@
format: int64
type: integer
type: array
TimeseriesResponseValues:
description: Array of values for an individual formula or query.
+ example:
+ - 1575317847.0
+ - 0.5
items:
description: An individual value for a given time.
format: double
+ nullable: true
type: number
type: array
TimeseriesResponseValuesList:
description: Array of value-arrays. The index here corresponds to the index
in the `formulas` or `queries` array from the request.
@@ -13796,10 +14387,163 @@
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Update a single service object
tags:
- Opsgenie Integration
x-codegen-request-body-name: body
+ /api/v2/integrations/cloudflare/accounts:
+ get:
+ description: List Cloudflare accounts.
+ operationId: ListCloudflareAccounts
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudflareAccountsResponse'
+ 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: []
+ summary: List Cloudflare accounts
+ tags:
+ - Cloudflare Integration
+ post:
+ description: Create a Cloudflare account.
+ operationId: CreateCloudflareAccount
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudflareAccountCreateRequest'
+ required: true
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudflareAccountResponse'
+ description: CREATED
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ summary: Add Cloudflare account
+ tags:
+ - Cloudflare Integration
+ x-codegen-request-body-name: body
+ /api/v2/integrations/cloudflare/accounts/{account_id}:
+ delete:
+ description: Delete a Cloudflare account.
+ operationId: DeleteCloudflareAccount
+ parameters:
+ - description: None
+ in: path
+ name: account_id
+ required: true
+ schema:
+ type: string
+ responses:
+ '204':
+ 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: []
+ summary: Delete Cloudflare account
+ tags:
+ - Cloudflare Integration
+ get:
+ description: Get a Cloudflare account.
+ operationId: GetCloudflareAccount
+ parameters:
+ - description: None
+ in: path
+ name: account_id
+ required: true
+ schema:
+ type: string
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudflareAccountResponse'
+ 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: []
+ summary: Get Cloudflare account
+ tags:
+ - Cloudflare Integration
+ patch:
+ description: Update a Cloudflare account.
+ operationId: UpdateCloudflareAccount
+ parameters:
+ - description: None
+ in: path
+ name: account_id
+ required: true
+ schema:
+ type: string
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudflareAccountUpdateRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/CloudflareAccountResponse'
+ 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: []
+ summary: Update Cloudflare account
+ tags:
+ - Cloudflare Integration
+ x-codegen-request-body-name: body
/api/v2/integrations/confluent-cloud/accounts:
get:
description: List Confluent accounts.
operationId: ListConfluentAccount
responses:
@@ -14062,10 +14806,293 @@
x-codegen-request-body-name: body
x-permission:
operator: OR
permissions:
- STANDARD
+ /api/v2/integrations/fastly/accounts:
+ get:
+ description: List Fastly accounts.
+ operationId: ListFastlyAccounts
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyAccountsResponse'
+ 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: []
+ summary: List Fastly accounts
+ tags:
+ - Fastly Integration
+ post:
+ description: Create a Fastly account.
+ operationId: CreateFastlyAccount
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyAccountCreateRequest'
+ required: true
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyAccountResponse'
+ description: CREATED
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ summary: Add Fastly account
+ tags:
+ - Fastly Integration
+ x-codegen-request-body-name: body
+ /api/v2/integrations/fastly/accounts/{account_id}:
+ delete:
+ description: Delete a Fastly account.
+ operationId: DeleteFastlyAccount
+ parameters:
+ - $ref: '#/components/parameters/FastlyAccountID'
+ responses:
+ '204':
+ 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: []
+ summary: Delete Fastly account
+ tags:
+ - Fastly Integration
+ get:
+ description: Get a Fastly account.
+ operationId: GetFastlyAccount
+ parameters:
+ - $ref: '#/components/parameters/FastlyAccountID'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyAccountResponse'
+ 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: []
+ summary: Get Fastly account
+ tags:
+ - Fastly Integration
+ patch:
+ description: Update a Fastly account.
+ operationId: UpdateFastlyAccount
+ parameters:
+ - $ref: '#/components/parameters/FastlyAccountID'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyAccountUpdateRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyAccountResponse'
+ 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: []
+ summary: Update Fastly account
+ tags:
+ - Fastly Integration
+ x-codegen-request-body-name: body
+ /api/v2/integrations/fastly/accounts/{account_id}/services:
+ get:
+ description: List Fastly services for an account.
+ operationId: ListFastlyServices
+ parameters:
+ - $ref: '#/components/parameters/FastlyAccountID'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyServicesResponse'
+ 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: []
+ summary: List Fastly services
+ tags:
+ - Fastly Integration
+ post:
+ description: Create a Fastly service for an account.
+ operationId: CreateFastlyService
+ parameters:
+ - $ref: '#/components/parameters/FastlyAccountID'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyServiceRequest'
+ required: true
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyServiceResponse'
+ description: CREATED
+ '400':
+ $ref: '#/components/responses/BadRequestResponse'
+ '403':
+ $ref: '#/components/responses/ForbiddenResponse'
+ '404':
+ $ref: '#/components/responses/NotFoundResponse'
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ summary: Add Fastly service
+ tags:
+ - Fastly Integration
+ x-codegen-request-body-name: body
+ /api/v2/integrations/fastly/accounts/{account_id}/services/{service_id}:
+ delete:
+ description: Delete a Fastly service for an account.
+ operationId: DeleteFastlyService
+ parameters:
+ - $ref: '#/components/parameters/FastlyAccountID'
+ - $ref: '#/components/parameters/FastlyServiceID'
+ responses:
+ '204':
+ 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: []
+ summary: Delete Fastly service
+ tags:
+ - Fastly Integration
+ get:
+ description: Get a Fastly service for an account.
+ operationId: GetFastlyService
+ parameters:
+ - $ref: '#/components/parameters/FastlyAccountID'
+ - $ref: '#/components/parameters/FastlyServiceID'
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyServiceResponse'
+ 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: []
+ summary: Get Fastly service
+ tags:
+ - Fastly Integration
+ patch:
+ description: Update a Fastly service for an account.
+ operationId: UpdateFastlyService
+ parameters:
+ - $ref: '#/components/parameters/FastlyAccountID'
+ - $ref: '#/components/parameters/FastlyServiceID'
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyServiceRequest'
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FastlyServiceResponse'
+ 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: []
+ summary: Update Fastly service
+ tags:
+ - Fastly Integration
+ 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:
@@ -15619,10 +16646,214 @@
appKeyAuth: []
- AuthZ: []
summary: List distinct metric volumes by metric name
tags:
- Metrics
+ /api/v2/monitor/policy:
+ get:
+ description: Get all monitor configuration policies.
+ operationId: ListMonitorConfigPolicies
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/MonitorConfigPolicyListResponse'
+ description: OK
+ '403':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Forbidden
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - monitors_read
+ summary: Get all monitor configuration policies
+ tags:
+ - Monitors
+ post:
+ description: Create a monitor configuration policy.
+ operationId: CreateMonitorConfigPolicy
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/MonitorConfigPolicyCreateRequest'
+ description: Create a monitor configuration policy request body.
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/MonitorConfigPolicyResponse'
+ description: OK
+ '400':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Bad Request
+ '403':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Forbidden
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - monitors_configuration_policy_write
+ summary: Create a monitor configuration policy
+ tags:
+ - Monitors
+ x-codegen-request-body-name: body
+ /api/v2/monitor/policy/{policy_id}:
+ delete:
+ description: Delete a monitor configuration policy.
+ operationId: DeleteMonitorConfigPolicy
+ parameters:
+ - description: ID of the monitor configuration policy.
+ in: path
+ name: policy_id
+ required: true
+ schema:
+ example: 00000000-0000-1234-0000-000000000000
+ type: string
+ responses:
+ '204':
+ description: OK
+ '400':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Bad Request
+ '403':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Forbidden
+ '404':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Not Found
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - monitors_configuration_policy_write
+ summary: Delete a monitor configuration policy
+ tags:
+ - Monitors
+ get:
+ description: Get a monitor configuration policy by `policy_id`.
+ operationId: GetMonitorConfigPolicy
+ parameters:
+ - description: ID of the monitor configuration policy.
+ in: path
+ name: policy_id
+ required: true
+ schema:
+ example: 00000000-0000-1234-0000-000000000000
+ type: string
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/MonitorConfigPolicyResponse'
+ description: OK
+ '403':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Forbidden
+ '404':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Not Found
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - monitors_read
+ summary: Get a monitor configuration policy
+ tags:
+ - Monitors
+ patch:
+ description: Edit a monitor configuration policy.
+ operationId: UpdateMonitorConfigPolicy
+ parameters:
+ - description: ID of the monitor configuration policy.
+ in: path
+ name: policy_id
+ required: true
+ schema:
+ example: 00000000-0000-1234-0000-000000000000
+ type: string
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/MonitorConfigPolicyEditRequest'
+ description: Description of the update.
+ required: true
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/MonitorConfigPolicyResponse'
+ description: OK
+ '403':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Forbidden
+ '404':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Not Found
+ '422':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Unprocessable Entity
+ '429':
+ $ref: '#/components/responses/TooManyRequestsResponse'
+ security:
+ - apiKeyAuth: []
+ appKeyAuth: []
+ - AuthZ:
+ - monitors_configuration_policy_write
+ summary: Edit a monitor configuration policy
+ tags:
+ - Monitors
+ x-codegen-request-body-name: body
/api/v2/permissions:
get:
description: Returns a list of all permissions, including name, description,
and ID.
operationId: ListPermissions
@@ -15749,13 +16980,15 @@
cursorPath: meta.page.after
limitParam: page[limit]
resultsPath: data
/api/v2/query/scalar:
post:
- description: 'The internal endpoint to query scalar/table data for multiple
- data sources and
+ description: 'Query scalar values (as seen on Query Value, Table and Toplist
+ widgets).
+ Multiple data sources are supported with the ability to
+
process the data using formulas and functions.'
operationId: QueryScalarData
requestBody:
content:
application/json:
@@ -15775,11 +17008,11 @@
$ref: '#/components/responses/UnauthorizedResponse'
'403':
$ref: '#/components/responses/ForbiddenResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
- summary: Scalar cross product 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 data source. Logs
is in beta.
@@ -15787,12 +17020,11 @@
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: 'The internal endpoint to query timeseries data for multiple data
- sources and
+ description: 'Query timeseries data across various data sources and
process the data by applying formulas and functions.'
operationId: QueryTimeseriesData
requestBody:
content:
@@ -15813,11 +17045,11 @@
$ref: '#/components/responses/UnauthorizedResponse'
'403':
$ref: '#/components/responses/ForbiddenResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
- summary: Timeseries cross product 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 data source. Logs
is in beta.
@@ -17856,11 +19088,11 @@
description: Authentication error
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Create a service account
tags:
- - Users
+ - Service Accounts
x-codegen-request-body-name: body
/api/v2/service_accounts/{service_account_id}/application_keys:
get:
description: List all application keys available for this service account.
operationId: ListServiceAccountApplicationKeys
@@ -19456,10 +20688,13 @@
- description: Search or aggregate your CI Visibility test events over HTTP.
name: CI Visibility Tests
- description: Workload activity security rules for generating events using the Datadog
security Agent.
name: Cloud Workload Security
+- description: Configure your Datadog Cloudflare integration directly through the
+ Datadog API.
+ name: Cloudflare Integration
- description: Configure your Datadog Confluent Cloud integration directly through
the Datadog API.
name: Confluent Cloud
- description: 'Interact with your dashboard lists through the API to
@@ -19475,10 +20710,13 @@
If an event is sent out with a message containing more than 4000 characters, only
the
first 4000 characters are displayed.'
name: Events
+- description: Configure your Datadog Fastly integration directly through the Datadog
+ API.
+ name: Fastly Integration
- 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.
@@ -19522,9 +20760,23 @@
points\nand as the timeframe over which a metric is viewed increases,\naggregation
between points occurs to stay below that set number.\n\nThe Post, Patch, and Delete
`manage_tags` API methods can only be performed by\na user who has the `Manage
Tags for Metrics` permission."
name: Metrics
+- description: '[Monitors](https://docs.datadoghq.com/monitors) allow you to watch
+ a metric or check that you care about and
+
+ notifies your team when a defined threshold has exceeded.
+
+
+ For more information, see [Creating Monitors](https://docs.datadoghq.com/monitors/create/types/)
+ and
+
+ [Tag Policies](https://docs.datadoghq.com/monitors/settings/).'
+ externalDocs:
+ description: Find out more at
+ url: https://docs.datadoghq.com/monitors/create/types/
+ name: Monitors
- description: 'Configure your [Datadog Opsgenie integration](https://docs.datadoghq.com/integrations/opsgenie/)
directly through the Datadog API.'
externalDocs:
url: https://docs.datadoghq.com/api/latest/opsgenie-integration