datadog_api_client 2.0.2 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +6 -6
- data/.generator/schemas/v1/openapi.yaml +282 -900
- data/.generator/schemas/v2/openapi.yaml +343 -672
- data/.generator/src/generator/formatter.py +1 -1
- data/.github/workflows/test.yml +1 -1
- data/.github/workflows/test_integration.yml +5 -0
- data/CHANGELOG.md +23 -0
- data/examples/v1/dashboards/CreateDashboard_1094917386.rb +37 -0
- data/examples/v1/dashboards/CreateDashboard_1307120899.rb +61 -0
- data/examples/v1/monitors/ValidateExistingMonitor.rb +1 -0
- data/examples/v1/monitors/ValidateMonitor.rb +1 -0
- data/examples/v1/monitors/ValidateMonitor_4247196452.rb +38 -0
- data/examples/v1/synthetics/CreateGlobalVariable.rb +1 -0
- data/examples/v1/synthetics/CreateGlobalVariable_1068962881.rb +23 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +10 -0
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +6 -0
- data/examples/v1/synthetics/EditGlobalVariable.rb +1 -0
- data/examples/v1/synthetics/UpdateBrowserTest.rb +1 -0
- data/examples/v1/usage-metering/GetDailyCustomReports.rb +0 -3
- data/examples/v1/usage-metering/GetMonthlyCustomReports.rb +0 -3
- data/examples/v1/usage-metering/GetSpecifiedDailyCustomReports.rb +0 -3
- data/examples/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb +0 -3
- data/examples/v1/usage-metering/GetUsageAttribution.rb +0 -3
- data/examples/v2/metrics/SubmitMetrics_1762007427.rb +23 -0
- data/examples/v2/roles/UpdateRole.rb +13 -0
- data/examples/v2/rum/CreateRUMApplication.rb +15 -0
- data/examples/v2/rum/DeleteRUMApplication.rb +8 -0
- data/examples/v2/rum/GetRUMApplication.rb +8 -0
- data/examples/v2/rum/GetRUMApplications.rb +5 -0
- data/examples/v2/rum/UpdateRUMApplication.rb +16 -0
- data/examples/v2/usage-metering/GetHourlyUsage.rb +5 -0
- data/lib/datadog_api_client/configuration.rb +0 -5
- data/lib/datadog_api_client/inflector.rb +16 -0
- data/lib/datadog_api_client/v1/api/metrics_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +42 -62
- data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +1 -0
- data/lib/datadog_api_client/v1/models/monitor_options.rb +28 -1
- data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +13 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
- data/lib/datadog_api_client/v1/models/on_missing_data_option.rb +33 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +155 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +11 -12
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +31 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_process_status.rb +0 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +15 -1
- data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +12 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
- data/lib/datadog_api_client/v1/models/widget_monitor_summary_sort.rb +2 -0
- data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/rum_api.rb +329 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -3
- data/lib/datadog_api_client/v2/models/content_encoding.rb +1 -0
- data/lib/datadog_api_client/v2/models/metric_content_encoding.rb +2 -0
- data/lib/datadog_api_client/v2/models/role_update_data.rb +11 -1
- data/lib/datadog_api_client/v2/models/rum_application.rb +166 -0
- data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +279 -0
- data/lib/datadog_api_client/v2/models/rum_application_create.rb +145 -0
- data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +132 -0
- data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/rum_application_create_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_application_response.rb +111 -0
- data/lib/datadog_api_client/v2/models/rum_application_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_application_update.rb +155 -0
- data/lib/datadog_api_client/v2/models/rum_application_update_attributes.rb +121 -0
- data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +122 -0
- data/lib/datadog_api_client/v2/models/rum_application_update_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_applications_response.rb +113 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +29 -2
@@ -1270,10 +1270,12 @@ components:
|
|
1270
1270
|
ContentEncoding:
|
1271
1271
|
description: HTTP header used to compress the media-type.
|
1272
1272
|
enum:
|
1273
|
+
- identity
|
1273
1274
|
- gzip
|
1274
1275
|
- deflate
|
1275
1276
|
type: string
|
1276
1277
|
x-enum-varnames:
|
1278
|
+
- IDENTITY
|
1277
1279
|
- GZIP
|
1278
1280
|
- DEFLATE
|
1279
1281
|
CostByOrg:
|
@@ -1869,7 +1871,6 @@ components:
|
|
1869
1871
|
description: The API key.
|
1870
1872
|
readOnly: true
|
1871
1873
|
type: string
|
1872
|
-
x-secret: true
|
1873
1874
|
last4:
|
1874
1875
|
description: The last four characters of the API key.
|
1875
1876
|
example: abcd
|
@@ -1877,7 +1878,6 @@ components:
|
|
1877
1878
|
minLength: 4
|
1878
1879
|
readOnly: true
|
1879
1880
|
type: string
|
1880
|
-
x-secret: true
|
1881
1881
|
modified_at:
|
1882
1882
|
description: Date the API key was last modified.
|
1883
1883
|
example: '2020-11-23T10:00:00.000Z'
|
@@ -1913,7 +1913,6 @@ components:
|
|
1913
1913
|
description: The application key.
|
1914
1914
|
readOnly: true
|
1915
1915
|
type: string
|
1916
|
-
x-secret: true
|
1917
1916
|
last4:
|
1918
1917
|
description: The last four characters of the application key.
|
1919
1918
|
example: abcd
|
@@ -1921,7 +1920,6 @@ components:
|
|
1921
1920
|
minLength: 4
|
1922
1921
|
readOnly: true
|
1923
1922
|
type: string
|
1924
|
-
x-secret: true
|
1925
1923
|
name:
|
1926
1924
|
description: Name of the application key.
|
1927
1925
|
example: Application Key for managing dashboards
|
@@ -4321,9 +4319,14 @@ components:
|
|
4321
4319
|
description: HTTP header used to compress the media-type.
|
4322
4320
|
enum:
|
4323
4321
|
- deflate
|
4322
|
+
- zstd1
|
4323
|
+
- gzip
|
4324
|
+
example: deflate
|
4324
4325
|
type: string
|
4325
4326
|
x-enum-varnames:
|
4326
4327
|
- DEFLATE
|
4328
|
+
- ZSTD1
|
4329
|
+
- GZIP
|
4327
4330
|
MetricCustomAggregation:
|
4328
4331
|
description: A time and space aggregation combination for use in query.
|
4329
4332
|
example:
|
@@ -5249,7 +5252,6 @@ components:
|
|
5249
5252
|
minLength: 4
|
5250
5253
|
readOnly: true
|
5251
5254
|
type: string
|
5252
|
-
x-secret: true
|
5253
5255
|
modified_at:
|
5254
5256
|
description: Date the API key was last modified.
|
5255
5257
|
example: '2020-11-23T10:00:00.000Z'
|
@@ -5288,7 +5290,6 @@ components:
|
|
5288
5290
|
minLength: 4
|
5289
5291
|
readOnly: true
|
5290
5292
|
type: string
|
5291
|
-
x-secret: true
|
5292
5293
|
name:
|
5293
5294
|
description: Name of the application key.
|
5294
5295
|
example: Application Key for managing dashboards
|
@@ -5603,6 +5604,187 @@ components:
|
|
5603
5604
|
meta:
|
5604
5605
|
$ref: '#/components/schemas/RUMResponseMetadata'
|
5605
5606
|
type: object
|
5607
|
+
RUMApplication:
|
5608
|
+
description: RUM application.
|
5609
|
+
properties:
|
5610
|
+
attributes:
|
5611
|
+
$ref: '#/components/schemas/RUMApplicationAttributes'
|
5612
|
+
id:
|
5613
|
+
description: RUM application ID.
|
5614
|
+
example: abcd1234-0000-0000-abcd-1234abcd5678
|
5615
|
+
type: string
|
5616
|
+
type:
|
5617
|
+
$ref: '#/components/schemas/RUMApplicationType'
|
5618
|
+
required:
|
5619
|
+
- attributes
|
5620
|
+
- id
|
5621
|
+
- type
|
5622
|
+
type: object
|
5623
|
+
RUMApplicationAttributes:
|
5624
|
+
description: RUM application attributes.
|
5625
|
+
properties:
|
5626
|
+
application_id:
|
5627
|
+
description: ID of the RUM application.
|
5628
|
+
example: abcd1234-0000-0000-abcd-1234abcd5678
|
5629
|
+
type: string
|
5630
|
+
created_at:
|
5631
|
+
description: Timestamp in ms of the creation date.
|
5632
|
+
example: 1659479836169
|
5633
|
+
format: int64
|
5634
|
+
type: integer
|
5635
|
+
created_by_handle:
|
5636
|
+
description: Handle of the creator user.
|
5637
|
+
example: john.doe
|
5638
|
+
type: string
|
5639
|
+
hash:
|
5640
|
+
description: Client token of the RUM application.
|
5641
|
+
example: abcd1234efgh5678ijkl90abcd1234efgh0
|
5642
|
+
type: string
|
5643
|
+
name:
|
5644
|
+
description: Name of the RUM application.
|
5645
|
+
example: my_rum_application
|
5646
|
+
type: string
|
5647
|
+
org_id:
|
5648
|
+
description: Org ID of the RUM application.
|
5649
|
+
example: 999
|
5650
|
+
format: int32
|
5651
|
+
type: integer
|
5652
|
+
type:
|
5653
|
+
description: Type of the RUM application. Supported values are `browser`,
|
5654
|
+
`ios`, `android`, `react-native`, `flutter`.
|
5655
|
+
example: browser
|
5656
|
+
type: string
|
5657
|
+
updated_at:
|
5658
|
+
description: Timestamp in ms of the last update date.
|
5659
|
+
example: 1659479836169
|
5660
|
+
format: int64
|
5661
|
+
type: integer
|
5662
|
+
updated_by_handle:
|
5663
|
+
description: Handle of the updater user.
|
5664
|
+
example: jane.doe
|
5665
|
+
type: string
|
5666
|
+
required:
|
5667
|
+
- application_id
|
5668
|
+
- created_at
|
5669
|
+
- created_by_handle
|
5670
|
+
- name
|
5671
|
+
- org_id
|
5672
|
+
- type
|
5673
|
+
- updated_at
|
5674
|
+
- updated_by_handle
|
5675
|
+
type: object
|
5676
|
+
RUMApplicationCreate:
|
5677
|
+
description: RUM application creation.
|
5678
|
+
properties:
|
5679
|
+
attributes:
|
5680
|
+
$ref: '#/components/schemas/RUMApplicationCreateAttributes'
|
5681
|
+
type:
|
5682
|
+
$ref: '#/components/schemas/RUMApplicationCreateType'
|
5683
|
+
required:
|
5684
|
+
- attributes
|
5685
|
+
- type
|
5686
|
+
type: object
|
5687
|
+
RUMApplicationCreateAttributes:
|
5688
|
+
description: RUM application creation attributes.
|
5689
|
+
properties:
|
5690
|
+
name:
|
5691
|
+
description: Name of the RUM application.
|
5692
|
+
example: my_new_rum_application
|
5693
|
+
type: string
|
5694
|
+
type:
|
5695
|
+
description: Type of the RUM application. Supported values are `browser`,
|
5696
|
+
`ios`, `android`, `react-native`, `flutter`.
|
5697
|
+
example: browser
|
5698
|
+
type: string
|
5699
|
+
required:
|
5700
|
+
- name
|
5701
|
+
type: object
|
5702
|
+
RUMApplicationCreateRequest:
|
5703
|
+
description: RUM application creation request attributes.
|
5704
|
+
properties:
|
5705
|
+
data:
|
5706
|
+
$ref: '#/components/schemas/RUMApplicationCreate'
|
5707
|
+
required:
|
5708
|
+
- data
|
5709
|
+
type: object
|
5710
|
+
RUMApplicationCreateType:
|
5711
|
+
default: rum_application_create
|
5712
|
+
description: RUM application creation type.
|
5713
|
+
enum:
|
5714
|
+
- rum_application_create
|
5715
|
+
example: rum_application_create
|
5716
|
+
type: string
|
5717
|
+
x-enum-varnames:
|
5718
|
+
- RUM_APPLICATION_CREATE
|
5719
|
+
RUMApplicationResponse:
|
5720
|
+
description: RUM application response.
|
5721
|
+
properties:
|
5722
|
+
data:
|
5723
|
+
$ref: '#/components/schemas/RUMApplication'
|
5724
|
+
type: object
|
5725
|
+
RUMApplicationType:
|
5726
|
+
default: rum_application
|
5727
|
+
description: RUM application response type.
|
5728
|
+
enum:
|
5729
|
+
- rum_application
|
5730
|
+
example: rum_application
|
5731
|
+
type: string
|
5732
|
+
x-enum-varnames:
|
5733
|
+
- RUM_APPLICATION
|
5734
|
+
RUMApplicationUpdate:
|
5735
|
+
description: RUM application update.
|
5736
|
+
properties:
|
5737
|
+
attributes:
|
5738
|
+
$ref: '#/components/schemas/RUMApplicationUpdateAttributes'
|
5739
|
+
id:
|
5740
|
+
description: RUM application ID.
|
5741
|
+
example: abcd1234-0000-0000-abcd-1234abcd5678
|
5742
|
+
type: string
|
5743
|
+
type:
|
5744
|
+
$ref: '#/components/schemas/RUMApplicationUpdateType'
|
5745
|
+
required:
|
5746
|
+
- id
|
5747
|
+
- type
|
5748
|
+
type: object
|
5749
|
+
RUMApplicationUpdateAttributes:
|
5750
|
+
description: RUM application update attributes.
|
5751
|
+
properties:
|
5752
|
+
name:
|
5753
|
+
description: Name of the RUM application.
|
5754
|
+
example: updated_name_for_my_existing_rum_application
|
5755
|
+
type: string
|
5756
|
+
type:
|
5757
|
+
description: Type of the RUM application. Supported values are `browser`,
|
5758
|
+
`ios`, `android`, `react-native`, `flutter`.
|
5759
|
+
example: browser
|
5760
|
+
type: string
|
5761
|
+
type: object
|
5762
|
+
RUMApplicationUpdateRequest:
|
5763
|
+
description: RUM application update request.
|
5764
|
+
properties:
|
5765
|
+
data:
|
5766
|
+
$ref: '#/components/schemas/RUMApplicationUpdate'
|
5767
|
+
required:
|
5768
|
+
- data
|
5769
|
+
type: object
|
5770
|
+
RUMApplicationUpdateType:
|
5771
|
+
default: rum_application_update
|
5772
|
+
description: RUM application update type.
|
5773
|
+
enum:
|
5774
|
+
- rum_application_update
|
5775
|
+
example: rum_application_update
|
5776
|
+
type: string
|
5777
|
+
x-enum-varnames:
|
5778
|
+
- RUM_APPLICATION_UPDATE
|
5779
|
+
RUMApplicationsResponse:
|
5780
|
+
description: RUM applications response.
|
5781
|
+
properties:
|
5782
|
+
data:
|
5783
|
+
description: RUM applications array response.
|
5784
|
+
items:
|
5785
|
+
$ref: '#/components/schemas/RUMApplication'
|
5786
|
+
type: array
|
5787
|
+
type: object
|
5606
5788
|
RUMBucketResponse:
|
5607
5789
|
description: Bucket values.
|
5608
5790
|
properties:
|
@@ -6345,6 +6527,8 @@ components:
|
|
6345
6527
|
description: The unique identifier of the role.
|
6346
6528
|
example: 00000000-0000-1111-0000-000000000000
|
6347
6529
|
type: string
|
6530
|
+
relationships:
|
6531
|
+
$ref: '#/components/schemas/RoleRelationships'
|
6348
6532
|
type:
|
6349
6533
|
$ref: '#/components/schemas/RolesType'
|
6350
6534
|
required:
|
@@ -8113,8 +8297,6 @@ paths:
|
|
8113
8297
|
summary: Get all API keys
|
8114
8298
|
tags:
|
8115
8299
|
- Key Management
|
8116
|
-
x-undo:
|
8117
|
-
type: safe
|
8118
8300
|
post:
|
8119
8301
|
description: Create an API key.
|
8120
8302
|
operationId: CreateAPIKey
|
@@ -8149,19 +8331,6 @@ paths:
|
|
8149
8331
|
tags:
|
8150
8332
|
- Key Management
|
8151
8333
|
x-codegen-request-body-name: body
|
8152
|
-
x-given:
|
8153
|
-
api_key:
|
8154
|
-
parameters:
|
8155
|
-
- name: body
|
8156
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{
|
8157
|
-
unique }}\"\n },\n \"type\": \"api_keys\"\n }\n}"
|
8158
|
-
step: there is a valid "api_key" in the system
|
8159
|
-
x-undo:
|
8160
|
-
operationId: DeleteAPIKey
|
8161
|
-
parameters:
|
8162
|
-
- name: api_key_id
|
8163
|
-
source: data.id
|
8164
|
-
type: unsafe
|
8165
8334
|
/api/v2/api_keys/{api_key_id}:
|
8166
8335
|
delete:
|
8167
8336
|
description: Delete an API key.
|
@@ -8188,8 +8357,6 @@ paths:
|
|
8188
8357
|
summary: Delete an API key
|
8189
8358
|
tags:
|
8190
8359
|
- Key Management
|
8191
|
-
x-undo:
|
8192
|
-
type: idempotent
|
8193
8360
|
get:
|
8194
8361
|
description: Get an API key.
|
8195
8362
|
operationId: GetAPIKey
|
@@ -8220,8 +8387,6 @@ paths:
|
|
8220
8387
|
summary: Get API key
|
8221
8388
|
tags:
|
8222
8389
|
- Key Management
|
8223
|
-
x-undo:
|
8224
|
-
type: safe
|
8225
8390
|
patch:
|
8226
8391
|
description: Update an API key.
|
8227
8392
|
operationId: UpdateAPIKey
|
@@ -8264,8 +8429,6 @@ paths:
|
|
8264
8429
|
tags:
|
8265
8430
|
- Key Management
|
8266
8431
|
x-codegen-request-body-name: body
|
8267
|
-
x-undo:
|
8268
|
-
type: idempotent
|
8269
8432
|
/api/v2/application_keys:
|
8270
8433
|
get:
|
8271
8434
|
description: List all application keys available for your org
|
@@ -8307,8 +8470,6 @@ paths:
|
|
8307
8470
|
summary: Get all application keys
|
8308
8471
|
tags:
|
8309
8472
|
- Key Management
|
8310
|
-
x-undo:
|
8311
|
-
type: safe
|
8312
8473
|
/api/v2/application_keys/{app_key_id}:
|
8313
8474
|
delete:
|
8314
8475
|
description: Delete an application key
|
@@ -8336,8 +8497,6 @@ paths:
|
|
8336
8497
|
tags:
|
8337
8498
|
- Key Management
|
8338
8499
|
x-codegen-request-body-name: body
|
8339
|
-
x-undo:
|
8340
|
-
type: idempotent
|
8341
8500
|
get:
|
8342
8501
|
description: Get an application key for your org.
|
8343
8502
|
operationId: GetApplicationKey
|
@@ -8374,8 +8533,6 @@ paths:
|
|
8374
8533
|
summary: Get an application key
|
8375
8534
|
tags:
|
8376
8535
|
- Key Management
|
8377
|
-
x-undo:
|
8378
|
-
type: safe
|
8379
8536
|
patch:
|
8380
8537
|
description: Edit an application key
|
8381
8538
|
operationId: UpdateApplicationKey
|
@@ -8418,8 +8575,6 @@ paths:
|
|
8418
8575
|
tags:
|
8419
8576
|
- Key Management
|
8420
8577
|
x-codegen-request-body-name: body
|
8421
|
-
x-undo:
|
8422
|
-
type: idempotent
|
8423
8578
|
/api/v2/audit/events:
|
8424
8579
|
get:
|
8425
8580
|
description: 'List endpoint returns events that match a Audit Logs search query.
|
@@ -8496,14 +8651,11 @@ paths:
|
|
8496
8651
|
summary: Get a list of Audit Logs events
|
8497
8652
|
tags:
|
8498
8653
|
- Audit
|
8499
|
-
x-menu-order: 2
|
8500
8654
|
x-pagination:
|
8501
8655
|
cursorParam: page[cursor]
|
8502
8656
|
cursorPath: meta.page.after
|
8503
8657
|
limitParam: page[limit]
|
8504
8658
|
resultsPath: data
|
8505
|
-
x-undo:
|
8506
|
-
type: safe
|
8507
8659
|
/api/v2/audit/events/search:
|
8508
8660
|
post:
|
8509
8661
|
description: 'List endpoint returns Audit Logs events that match an Audit search
|
@@ -8540,14 +8692,11 @@ paths:
|
|
8540
8692
|
tags:
|
8541
8693
|
- Audit
|
8542
8694
|
x-codegen-request-body-name: body
|
8543
|
-
x-menu-order: 1
|
8544
8695
|
x-pagination:
|
8545
8696
|
cursorParam: body.page.cursor
|
8546
8697
|
cursorPath: meta.page.after
|
8547
8698
|
limitParam: body.page.limit
|
8548
8699
|
resultsPath: data
|
8549
|
-
x-undo:
|
8550
|
-
type: safe
|
8551
8700
|
/api/v2/authn_mappings:
|
8552
8701
|
get:
|
8553
8702
|
description: List all AuthN Mappings in the org.
|
@@ -8589,10 +8738,7 @@ paths:
|
|
8589
8738
|
summary: List all AuthN Mappings
|
8590
8739
|
tags:
|
8591
8740
|
- AuthN Mappings
|
8592
|
-
x-menu-order: 4
|
8593
8741
|
x-permission: OPEN()
|
8594
|
-
x-undo:
|
8595
|
-
type: safe
|
8596
8742
|
post:
|
8597
8743
|
description: Create an AuthN Mapping.
|
8598
8744
|
operationId: CreateAuthNMapping
|
@@ -8638,25 +8784,7 @@ paths:
|
|
8638
8784
|
tags:
|
8639
8785
|
- AuthN Mappings
|
8640
8786
|
x-codegen-request-body-name: body
|
8641
|
-
x-given:
|
8642
|
-
authn_mapping:
|
8643
|
-
parameters:
|
8644
|
-
- name: body
|
8645
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"attribute_key\":
|
8646
|
-
\"{{ unique_lower_alnum }}\",\n \"attribute_value\": \"{{ unique
|
8647
|
-
}}\"\n },\n \"relationships\": {\n \"role\": {\n \"data\":
|
8648
|
-
{\n \"id\": \"{{ role.data.id }}\",\n \"type\":
|
8649
|
-
\"{{ role.data.type }}\"\n }\n }\n },\n \"type\":
|
8650
|
-
\"authn_mappings\"\n }\n}"
|
8651
|
-
step: there is a valid "authn_mapping" in the system
|
8652
|
-
x-menu-order: 5
|
8653
8787
|
x-permission: OR(USER_ACCESS_MANAGE)
|
8654
|
-
x-undo:
|
8655
|
-
operationId: DeleteAuthNMapping
|
8656
|
-
parameters:
|
8657
|
-
- name: authn_mapping_id
|
8658
|
-
source: data.id
|
8659
|
-
type: unsafe
|
8660
8788
|
/api/v2/authn_mappings/{authn_mapping_id}:
|
8661
8789
|
delete:
|
8662
8790
|
description: Delete an AuthN Mapping specified by AuthN Mapping UUID.
|
@@ -8688,10 +8816,7 @@ paths:
|
|
8688
8816
|
summary: Delete an AuthN Mapping
|
8689
8817
|
tags:
|
8690
8818
|
- AuthN Mappings
|
8691
|
-
x-menu-order: 3
|
8692
8819
|
x-permission: OR(USER_ACCESS_MANAGE)
|
8693
|
-
x-undo:
|
8694
|
-
type: idempotent
|
8695
8820
|
get:
|
8696
8821
|
description: Get an AuthN Mapping specified by the AuthN Mapping UUID.
|
8697
8822
|
operationId: GetAuthNMapping
|
@@ -8725,10 +8850,7 @@ paths:
|
|
8725
8850
|
summary: Get an AuthN Mapping by UUID
|
8726
8851
|
tags:
|
8727
8852
|
- AuthN Mappings
|
8728
|
-
x-menu-order: 1
|
8729
8853
|
x-permission: OPEN()
|
8730
|
-
x-undo:
|
8731
|
-
type: safe
|
8732
8854
|
patch:
|
8733
8855
|
description: Edit an AuthN Mapping.
|
8734
8856
|
operationId: UpdateAuthNMapping
|
@@ -8788,10 +8910,7 @@ paths:
|
|
8788
8910
|
tags:
|
8789
8911
|
- AuthN Mappings
|
8790
8912
|
x-codegen-request-body-name: body
|
8791
|
-
x-menu-order: 2
|
8792
8913
|
x-permission: OR(USER_ACCESS_MANAGE)
|
8793
|
-
x-undo:
|
8794
|
-
type: idempotent
|
8795
8914
|
/api/v2/current_user/application_keys:
|
8796
8915
|
get:
|
8797
8916
|
description: List all application keys available for current user
|
@@ -8833,8 +8952,6 @@ paths:
|
|
8833
8952
|
summary: Get all application keys owned by current user
|
8834
8953
|
tags:
|
8835
8954
|
- Key Management
|
8836
|
-
x-undo:
|
8837
|
-
type: safe
|
8838
8955
|
post:
|
8839
8956
|
description: Create an application key for current user
|
8840
8957
|
operationId: CreateCurrentUserApplicationKey
|
@@ -8869,19 +8986,6 @@ paths:
|
|
8869
8986
|
tags:
|
8870
8987
|
- Key Management
|
8871
8988
|
x-codegen-request-body-name: body
|
8872
|
-
x-given:
|
8873
|
-
application_key:
|
8874
|
-
parameters:
|
8875
|
-
- name: body
|
8876
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{
|
8877
|
-
unique }}\"\n },\n \"type\": \"application_keys\"\n }\n}"
|
8878
|
-
step: there is a valid "application_key" in the system
|
8879
|
-
x-undo:
|
8880
|
-
operationId: DeleteCurrentUserApplicationKey
|
8881
|
-
parameters:
|
8882
|
-
- name: app_key_id
|
8883
|
-
source: data.id
|
8884
|
-
type: unsafe
|
8885
8989
|
/api/v2/current_user/application_keys/{app_key_id}:
|
8886
8990
|
delete:
|
8887
8991
|
description: Delete an application key owned by current user
|
@@ -8908,8 +9012,6 @@ paths:
|
|
8908
9012
|
summary: Delete an application key owned by current user
|
8909
9013
|
tags:
|
8910
9014
|
- Key Management
|
8911
|
-
x-undo:
|
8912
|
-
type: idempotent
|
8913
9015
|
get:
|
8914
9016
|
description: Get an application key owned by current user
|
8915
9017
|
operationId: GetCurrentUserApplicationKey
|
@@ -8939,8 +9041,6 @@ paths:
|
|
8939
9041
|
summary: Get one application key owned by current user
|
8940
9042
|
tags:
|
8941
9043
|
- Key Management
|
8942
|
-
x-undo:
|
8943
|
-
type: safe
|
8944
9044
|
patch:
|
8945
9045
|
description: Edit an application key owned by current user
|
8946
9046
|
operationId: UpdateCurrentUserApplicationKey
|
@@ -8983,8 +9083,6 @@ paths:
|
|
8983
9083
|
tags:
|
8984
9084
|
- Key Management
|
8985
9085
|
x-codegen-request-body-name: body
|
8986
|
-
x-undo:
|
8987
|
-
type: idempotent
|
8988
9086
|
/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards:
|
8989
9087
|
delete:
|
8990
9088
|
description: Delete dashboards from an existing dashboard list.
|
@@ -9035,9 +9133,6 @@ paths:
|
|
9035
9133
|
tags:
|
9036
9134
|
- Dashboard Lists
|
9037
9135
|
x-codegen-request-body-name: body
|
9038
|
-
x-menu-order: 4
|
9039
|
-
x-undo:
|
9040
|
-
type: idempotent
|
9041
9136
|
get:
|
9042
9137
|
description: "Fetch the dashboard list\u2019s dashboard definitions."
|
9043
9138
|
operationId: GetDashboardListItems
|
@@ -9078,9 +9173,6 @@ paths:
|
|
9078
9173
|
summary: Get items of a Dashboard List
|
9079
9174
|
tags:
|
9080
9175
|
- Dashboard Lists
|
9081
|
-
x-menu-order: 1
|
9082
|
-
x-undo:
|
9083
|
-
type: safe
|
9084
9176
|
post:
|
9085
9177
|
description: Add dashboards to an existing dashboard list.
|
9086
9178
|
operationId: CreateDashboardListItems
|
@@ -9130,26 +9222,6 @@ paths:
|
|
9130
9222
|
tags:
|
9131
9223
|
- Dashboard Lists
|
9132
9224
|
x-codegen-request-body-name: body
|
9133
|
-
x-given:
|
9134
|
-
dashboard_list_dashboard:
|
9135
|
-
parameters:
|
9136
|
-
- name: dashboard_list_id
|
9137
|
-
source: dashboard_list.id
|
9138
|
-
- name: body
|
9139
|
-
value: "{\n \"dashboards\": [\n {\n \"id\": \"{{ dashboard.id
|
9140
|
-
}}\",\n \"type\": \"custom_timeboard\"\n }\n ]\n}"
|
9141
|
-
step: the "dashboard_list" has the "dashboard"
|
9142
|
-
dashboard_list_screenboard_dashboard:
|
9143
|
-
parameters:
|
9144
|
-
- name: dashboard_list_id
|
9145
|
-
source: dashboard_list.id
|
9146
|
-
- name: body
|
9147
|
-
value: "{\n \"dashboards\": [\n {\n \"id\": \"{{ screenboard_dashboard.id
|
9148
|
-
}}\",\n \"type\": \"custom_screenboard\"\n }\n ]\n}"
|
9149
|
-
step: the "dashboard_list" has the "screenboard_dashboard"
|
9150
|
-
x-menu-order: 2
|
9151
|
-
x-undo:
|
9152
|
-
type: safe
|
9153
9225
|
put:
|
9154
9226
|
description: Update dashboards of an existing dashboard list.
|
9155
9227
|
operationId: UpdateDashboardListItems
|
@@ -9199,9 +9271,6 @@ paths:
|
|
9199
9271
|
tags:
|
9200
9272
|
- Dashboard Lists
|
9201
9273
|
x-codegen-request-body-name: body
|
9202
|
-
x-menu-order: 3
|
9203
|
-
x-undo:
|
9204
|
-
type: safe
|
9205
9274
|
/api/v2/events:
|
9206
9275
|
get:
|
9207
9276
|
description: 'List endpoint returns events that match an events search query.
|
@@ -9275,14 +9344,11 @@ paths:
|
|
9275
9344
|
summary: Get a list of events
|
9276
9345
|
tags:
|
9277
9346
|
- Events
|
9278
|
-
x-menu-order: 1
|
9279
9347
|
x-pagination:
|
9280
9348
|
cursorParam: page[cursor]
|
9281
9349
|
cursorPath: meta.page.after
|
9282
9350
|
limitParam: page[limit]
|
9283
9351
|
resultsPath: data
|
9284
|
-
x-undo:
|
9285
|
-
type: safe
|
9286
9352
|
x-unstable: '**Note**: This endpoint is in private beta.
|
9287
9353
|
|
9288
9354
|
For access, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -9314,18 +9380,20 @@ paths:
|
|
9314
9380
|
$ref: '#/components/responses/NotAuthorizedResponse'
|
9315
9381
|
'429':
|
9316
9382
|
$ref: '#/components/responses/TooManyRequestsResponse'
|
9383
|
+
security:
|
9384
|
+
- apiKeyAuth: []
|
9385
|
+
appKeyAuth: []
|
9386
|
+
- AuthZ:
|
9387
|
+
- events_read
|
9317
9388
|
summary: Search events
|
9318
9389
|
tags:
|
9319
9390
|
- Events
|
9320
9391
|
x-codegen-request-body-name: body
|
9321
|
-
x-menu-order: 2
|
9322
9392
|
x-pagination:
|
9323
9393
|
cursorParam: body.page.cursor
|
9324
9394
|
cursorPath: meta.page.after
|
9325
9395
|
limitParam: body.page.limit
|
9326
9396
|
resultsPath: data
|
9327
|
-
x-undo:
|
9328
|
-
type: safe
|
9329
9397
|
x-unstable: '**Note**: This endpoint is in private beta.
|
9330
9398
|
|
9331
9399
|
For access, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -9366,8 +9434,6 @@ paths:
|
|
9366
9434
|
limitParam: page[size]
|
9367
9435
|
pageOffsetParam: page[offset]
|
9368
9436
|
resultsPath: data
|
9369
|
-
x-undo:
|
9370
|
-
type: safe
|
9371
9437
|
x-unstable: '**Note**: This endpoint is in public beta.
|
9372
9438
|
|
9373
9439
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -9407,20 +9473,6 @@ paths:
|
|
9407
9473
|
tags:
|
9408
9474
|
- Incidents
|
9409
9475
|
x-codegen-request-body-name: body
|
9410
|
-
x-given:
|
9411
|
-
incident:
|
9412
|
-
parameters:
|
9413
|
-
- name: body
|
9414
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"title\": \"{{
|
9415
|
-
unique }}\",\n \"customer_impacted\": false\n },\n \"type\":
|
9416
|
-
\"incidents\"\n }\n}"
|
9417
|
-
step: there is a valid "incident" in the system
|
9418
|
-
x-undo:
|
9419
|
-
operationId: DeleteIncident
|
9420
|
-
parameters:
|
9421
|
-
- name: incident_id
|
9422
|
-
source: data.id
|
9423
|
-
type: unsafe
|
9424
9476
|
x-unstable: '**Note**: This endpoint is in public beta.
|
9425
9477
|
|
9426
9478
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -9451,8 +9503,6 @@ paths:
|
|
9451
9503
|
summary: Delete an existing incident
|
9452
9504
|
tags:
|
9453
9505
|
- Incidents
|
9454
|
-
x-undo:
|
9455
|
-
type: idempotent
|
9456
9506
|
x-unstable: '**Note**: This endpoint is in public beta.
|
9457
9507
|
|
9458
9508
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -9487,8 +9537,6 @@ paths:
|
|
9487
9537
|
summary: Get the details of an incident
|
9488
9538
|
tags:
|
9489
9539
|
- Incidents
|
9490
|
-
x-undo:
|
9491
|
-
type: safe
|
9492
9540
|
x-unstable: '**Note**: This endpoint is in public beta.
|
9493
9541
|
|
9494
9542
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -9532,8 +9580,6 @@ paths:
|
|
9532
9580
|
tags:
|
9533
9581
|
- Incidents
|
9534
9582
|
x-codegen-request-body-name: body
|
9535
|
-
x-undo:
|
9536
|
-
type: idempotent
|
9537
9583
|
x-unstable: '**Note**: This endpoint is in public beta.
|
9538
9584
|
|
9539
9585
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -9555,9 +9601,6 @@ paths:
|
|
9555
9601
|
summary: Get all service objects
|
9556
9602
|
tags:
|
9557
9603
|
- Opsgenie Integration
|
9558
|
-
x-menu-order: 1
|
9559
|
-
x-undo:
|
9560
|
-
type: safe
|
9561
9604
|
post:
|
9562
9605
|
description: Create a new service object in the Opsgenie integration.
|
9563
9606
|
operationId: CreateOpsgenieService
|
@@ -9587,22 +9630,6 @@ paths:
|
|
9587
9630
|
tags:
|
9588
9631
|
- Opsgenie Integration
|
9589
9632
|
x-codegen-request-body-name: body
|
9590
|
-
x-given:
|
9591
|
-
opsgenie_service:
|
9592
|
-
parameters:
|
9593
|
-
- name: body
|
9594
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{
|
9595
|
-
unique }}\",\n \"opsgenie_api_key\": \"00000000-0000-0000-0000-000000000000\",\n
|
9596
|
-
\ \"region\": \"us\"\n },\n \"type\": \"opsgenie-service\"\n
|
9597
|
-
\ }\n}"
|
9598
|
-
step: there is a valid "opsgenie_service" in the system
|
9599
|
-
x-menu-order: 2
|
9600
|
-
x-undo:
|
9601
|
-
operationId: DeleteOpsgenieService
|
9602
|
-
parameters:
|
9603
|
-
- name: integration_service_id
|
9604
|
-
source: data.id
|
9605
|
-
type: unsafe
|
9606
9633
|
/api/v2/integration/opsgenie/services/{integration_service_id}:
|
9607
9634
|
delete:
|
9608
9635
|
description: Delete a single service object in the Datadog Opsgenie integration.
|
@@ -9623,9 +9650,6 @@ paths:
|
|
9623
9650
|
summary: Delete a single service object
|
9624
9651
|
tags:
|
9625
9652
|
- Opsgenie Integration
|
9626
|
-
x-menu-order: 5
|
9627
|
-
x-undo:
|
9628
|
-
type: idempotent
|
9629
9653
|
get:
|
9630
9654
|
description: Get a single service from the Datadog Opsgenie integration.
|
9631
9655
|
operationId: GetOpsgenieService
|
@@ -9651,9 +9675,6 @@ paths:
|
|
9651
9675
|
summary: Get a single service object
|
9652
9676
|
tags:
|
9653
9677
|
- Opsgenie Integration
|
9654
|
-
x-menu-order: 3
|
9655
|
-
x-undo:
|
9656
|
-
type: safe
|
9657
9678
|
patch:
|
9658
9679
|
description: Update a single service object in the Datadog Opsgenie integration.
|
9659
9680
|
operationId: UpdateOpsgenieService
|
@@ -9687,9 +9708,6 @@ paths:
|
|
9687
9708
|
tags:
|
9688
9709
|
- Opsgenie Integration
|
9689
9710
|
x-codegen-request-body-name: body
|
9690
|
-
x-menu-order: 4
|
9691
|
-
x-undo:
|
9692
|
-
type: idempotent
|
9693
9711
|
/api/v2/logs:
|
9694
9712
|
post:
|
9695
9713
|
description: 'Send your logs to your Datadog platform over HTTP. Limits per
|
@@ -9764,17 +9782,27 @@ paths:
|
|
9764
9782
|
description: Pass multiple log objects at once.
|
9765
9783
|
summary: Multi JSON Messages
|
9766
9784
|
value:
|
9767
|
-
-
|
9768
|
-
|
9785
|
+
- ddsource: nginx
|
9786
|
+
ddtags: env:staging,version:5.1
|
9787
|
+
hostname: i-012345678
|
9788
|
+
message: 2019-11-19T14:37:58,995 INFO [process.name][20081] Hello
|
9789
|
+
service: payment
|
9790
|
+
- ddsource: nginx
|
9791
|
+
ddtags: env:staging,version:5.1
|
9792
|
+
hostname: i-012345679
|
9793
|
+
message: 2019-11-19T14:37:58,995 INFO [process.name][20081] World
|
9794
|
+
service: payment
|
9769
9795
|
simple-json-message:
|
9770
9796
|
description: Log attributes can be passed as `key:value` pairs in
|
9771
9797
|
valid JSON messages.
|
9772
9798
|
summary: Simple JSON Message
|
9773
9799
|
value:
|
9774
|
-
ddsource:
|
9775
|
-
ddtags: env:
|
9776
|
-
hostname:
|
9777
|
-
message:
|
9800
|
+
ddsource: nginx
|
9801
|
+
ddtags: env:staging,version:5.1
|
9802
|
+
hostname: i-012345678
|
9803
|
+
message: 2019-11-19T14:37:58,995 INFO [process.name][20081] Hello
|
9804
|
+
World
|
9805
|
+
service: payment
|
9778
9806
|
schema:
|
9779
9807
|
$ref: '#/components/schemas/HTTPLog'
|
9780
9808
|
application/logplex-1:
|
@@ -9782,13 +9810,13 @@ paths:
|
|
9782
9810
|
multi-raw-message:
|
9783
9811
|
description: Submit log messages.
|
9784
9812
|
summary: Multi Logplex Messages
|
9785
|
-
value: '
|
9813
|
+
value: '2019-11-19T14:37:58,995 INFO [process.name][20081] Hello
|
9786
9814
|
|
9787
|
-
|
9815
|
+
2019-11-19T14:37:58,995 INFO [process.name][20081] World'
|
9788
9816
|
simple-logplex-message:
|
9789
9817
|
description: Submit log string.
|
9790
9818
|
summary: Simple Logplex Message
|
9791
|
-
value:
|
9819
|
+
value: 2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World
|
9792
9820
|
schema:
|
9793
9821
|
type: string
|
9794
9822
|
text/plain:
|
@@ -9796,9 +9824,9 @@ paths:
|
|
9796
9824
|
multi-raw-message:
|
9797
9825
|
description: Submit log string.
|
9798
9826
|
summary: Multi Raw Messages
|
9799
|
-
value: '
|
9827
|
+
value: '2019-11-19T14:37:58,995 INFO [process.name][20081] Hello
|
9800
9828
|
|
9801
|
-
|
9829
|
+
2019-11-19T14:37:58,995 INFO [process.name][20081] World
|
9802
9830
|
|
9803
9831
|
'
|
9804
9832
|
simple-raw-message:
|
@@ -9806,7 +9834,7 @@ paths:
|
|
9806
9834
|
parameters in the URL. This enables the addition of tags or the
|
9807
9835
|
source by using the `ddtags` and `ddsource` parameters: `?host=my-hostname&service=my-service&ddsource=my-source&ddtags=env:prod,user:my-user`.'
|
9808
9836
|
summary: Simple Raw Message
|
9809
|
-
value:
|
9837
|
+
value: 2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World
|
9810
9838
|
schema:
|
9811
9839
|
type: string
|
9812
9840
|
description: Log to send (JSON format).
|
@@ -9903,9 +9931,6 @@ paths:
|
|
9903
9931
|
tags:
|
9904
9932
|
- Logs
|
9905
9933
|
x-codegen-request-body-name: body
|
9906
|
-
x-menu-order: 1
|
9907
|
-
x-undo:
|
9908
|
-
type: safe
|
9909
9934
|
/api/v2/logs/analytics/aggregate:
|
9910
9935
|
post:
|
9911
9936
|
description: The API endpoint to aggregate events into buckets and compute metrics
|
@@ -9934,9 +9959,6 @@ paths:
|
|
9934
9959
|
tags:
|
9935
9960
|
- Logs
|
9936
9961
|
x-codegen-request-body-name: body
|
9937
|
-
x-menu-order: 1
|
9938
|
-
x-undo:
|
9939
|
-
type: safe
|
9940
9962
|
/api/v2/logs/config/archive-order:
|
9941
9963
|
get:
|
9942
9964
|
description: 'Get the current order of your archives.
|
@@ -9965,9 +9987,6 @@ paths:
|
|
9965
9987
|
summary: Get archive order
|
9966
9988
|
tags:
|
9967
9989
|
- Logs Archives
|
9968
|
-
x-menu-order: 9
|
9969
|
-
x-undo:
|
9970
|
-
type: safe
|
9971
9990
|
put:
|
9972
9991
|
description: 'Update the order of your archives. Since logs are processed sequentially,
|
9973
9992
|
reordering an archive may change
|
@@ -10018,9 +10037,6 @@ paths:
|
|
10018
10037
|
tags:
|
10019
10038
|
- Logs Archives
|
10020
10039
|
x-codegen-request-body-name: body
|
10021
|
-
x-menu-order: 10
|
10022
|
-
x-undo:
|
10023
|
-
type: safe
|
10024
10040
|
/api/v2/logs/config/archives:
|
10025
10041
|
get:
|
10026
10042
|
description: Get the list of configured logs archives with their definitions.
|
@@ -10047,9 +10063,6 @@ paths:
|
|
10047
10063
|
summary: Get all archives
|
10048
10064
|
tags:
|
10049
10065
|
- Logs Archives
|
10050
|
-
x-menu-order: 1
|
10051
|
-
x-undo:
|
10052
|
-
type: safe
|
10053
10066
|
post:
|
10054
10067
|
description: Create an archive in your organization.
|
10055
10068
|
operationId: CreateLogsArchive
|
@@ -10085,13 +10098,6 @@ paths:
|
|
10085
10098
|
tags:
|
10086
10099
|
- Logs Archives
|
10087
10100
|
x-codegen-request-body-name: body
|
10088
|
-
x-menu-order: 2
|
10089
|
-
x-undo:
|
10090
|
-
operationId: DeleteLogsArchive
|
10091
|
-
parameters:
|
10092
|
-
- name: archive_id
|
10093
|
-
source: data.id
|
10094
|
-
type: unsafe
|
10095
10101
|
/api/v2/logs/config/archives/{archive_id}:
|
10096
10102
|
delete:
|
10097
10103
|
description: Delete a given archive from your organization.
|
@@ -10124,9 +10130,6 @@ paths:
|
|
10124
10130
|
summary: Delete an archive
|
10125
10131
|
tags:
|
10126
10132
|
- Logs Archives
|
10127
|
-
x-menu-order: 5
|
10128
|
-
x-undo:
|
10129
|
-
type: idempotent
|
10130
10133
|
get:
|
10131
10134
|
description: Get a specific archive from your organization.
|
10132
10135
|
operationId: GetLogsArchive
|
@@ -10166,9 +10169,6 @@ paths:
|
|
10166
10169
|
summary: Get an archive
|
10167
10170
|
tags:
|
10168
10171
|
- Logs Archives
|
10169
|
-
x-menu-order: 3
|
10170
|
-
x-undo:
|
10171
|
-
type: safe
|
10172
10172
|
put:
|
10173
10173
|
description: 'Update a given archive configuration.
|
10174
10174
|
|
@@ -10217,9 +10217,6 @@ paths:
|
|
10217
10217
|
tags:
|
10218
10218
|
- Logs Archives
|
10219
10219
|
x-codegen-request-body-name: body
|
10220
|
-
x-menu-order: 4
|
10221
|
-
x-undo:
|
10222
|
-
type: safe
|
10223
10220
|
/api/v2/logs/config/archives/{archive_id}/readers:
|
10224
10221
|
delete:
|
10225
10222
|
description: Removes a role from an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))
|
@@ -10259,9 +10256,6 @@ paths:
|
|
10259
10256
|
tags:
|
10260
10257
|
- Logs Archives
|
10261
10258
|
x-codegen-request-body-name: body
|
10262
|
-
x-menu-order: 8
|
10263
|
-
x-undo:
|
10264
|
-
type: idempotent
|
10265
10259
|
get:
|
10266
10260
|
description: Returns all read roles a given archive is restricted to.
|
10267
10261
|
operationId: ListArchiveReadRoles
|
@@ -10302,9 +10296,6 @@ paths:
|
|
10302
10296
|
tags:
|
10303
10297
|
- Logs Archives
|
10304
10298
|
x-codegen-request-body-name: body
|
10305
|
-
x-menu-order: 6
|
10306
|
-
x-undo:
|
10307
|
-
type: safe
|
10308
10299
|
post:
|
10309
10300
|
description: Adds a read role to an archive. ([Roles API](https://docs.datadoghq.com/api/v2/roles/))
|
10310
10301
|
operationId: AddReadRoleToArchive
|
@@ -10343,9 +10334,6 @@ paths:
|
|
10343
10334
|
tags:
|
10344
10335
|
- Logs Archives
|
10345
10336
|
x-codegen-request-body-name: body
|
10346
|
-
x-menu-order: 7
|
10347
|
-
x-undo:
|
10348
|
-
type: unsafe
|
10349
10337
|
/api/v2/logs/config/metrics:
|
10350
10338
|
get:
|
10351
10339
|
description: Get the list of configured log-based metrics with their definitions.
|
@@ -10368,9 +10356,6 @@ paths:
|
|
10368
10356
|
summary: Get all log-based metrics
|
10369
10357
|
tags:
|
10370
10358
|
- Logs Metrics
|
10371
|
-
x-menu-order: 1
|
10372
|
-
x-undo:
|
10373
|
-
type: safe
|
10374
10359
|
post:
|
10375
10360
|
description: 'Create a metric based on your ingested logs in your organization.
|
10376
10361
|
|
@@ -10403,22 +10388,6 @@ paths:
|
|
10403
10388
|
tags:
|
10404
10389
|
- Logs Metrics
|
10405
10390
|
x-codegen-request-body-name: body
|
10406
|
-
x-given:
|
10407
|
-
logs_metric:
|
10408
|
-
parameters:
|
10409
|
-
- name: body
|
10410
|
-
value: "{\n \"data\": {\n \"id\": \"{{ unique }}\",\n \"attributes\":
|
10411
|
-
{\n \"filter\": {\n \"query\": \"source:{{ unique }}\"\n
|
10412
|
-
\ },\n \"compute\": {\n \"aggregation_type\": \"count\"\n
|
10413
|
-
\ }\n },\n \"type\": \"logs_metrics\"\n }\n}"
|
10414
|
-
step: there is a valid "logs_metric" in the system
|
10415
|
-
x-menu-order: 2
|
10416
|
-
x-undo:
|
10417
|
-
operationId: DeleteLogsMetric
|
10418
|
-
parameters:
|
10419
|
-
- name: metric_id
|
10420
|
-
source: data.id
|
10421
|
-
type: unsafe
|
10422
10391
|
/api/v2/logs/config/metrics/{metric_id}:
|
10423
10392
|
delete:
|
10424
10393
|
description: Delete a specific log-based metric from your organization.
|
@@ -10437,9 +10406,6 @@ paths:
|
|
10437
10406
|
summary: Delete a log-based metric
|
10438
10407
|
tags:
|
10439
10408
|
- Logs Metrics
|
10440
|
-
x-menu-order: 5
|
10441
|
-
x-undo:
|
10442
|
-
type: idempotent
|
10443
10409
|
get:
|
10444
10410
|
description: Get a specific log-based metric from your organization.
|
10445
10411
|
operationId: GetLogsMetric
|
@@ -10465,9 +10431,6 @@ paths:
|
|
10465
10431
|
summary: Get a log-based metric
|
10466
10432
|
tags:
|
10467
10433
|
- Logs Metrics
|
10468
|
-
x-menu-order: 3
|
10469
|
-
x-undo:
|
10470
|
-
type: safe
|
10471
10434
|
patch:
|
10472
10435
|
description: 'Update a specific log-based metric from your organization.
|
10473
10436
|
|
@@ -10502,9 +10465,6 @@ paths:
|
|
10502
10465
|
tags:
|
10503
10466
|
- Logs Metrics
|
10504
10467
|
x-codegen-request-body-name: body
|
10505
|
-
x-menu-order: 4
|
10506
|
-
x-undo:
|
10507
|
-
type: idempotent
|
10508
10468
|
/api/v2/logs/events:
|
10509
10469
|
get:
|
10510
10470
|
description: 'List endpoint returns logs that match a log search query.
|
@@ -10599,14 +10559,11 @@ paths:
|
|
10599
10559
|
summary: Get a list of logs
|
10600
10560
|
tags:
|
10601
10561
|
- Logs
|
10602
|
-
x-menu-order: 3
|
10603
10562
|
x-pagination:
|
10604
10563
|
cursorParam: page[cursor]
|
10605
10564
|
cursorPath: meta.page.after
|
10606
10565
|
limitParam: page[limit]
|
10607
10566
|
resultsPath: data
|
10608
|
-
x-undo:
|
10609
|
-
type: safe
|
10610
10567
|
/api/v2/logs/events/search:
|
10611
10568
|
post:
|
10612
10569
|
description: 'List endpoint returns logs that match a log search query.
|
@@ -10651,14 +10608,11 @@ paths:
|
|
10651
10608
|
tags:
|
10652
10609
|
- Logs
|
10653
10610
|
x-codegen-request-body-name: body
|
10654
|
-
x-menu-order: 2
|
10655
10611
|
x-pagination:
|
10656
10612
|
cursorParam: body.page.cursor
|
10657
10613
|
cursorPath: meta.page.after
|
10658
10614
|
limitParam: body.page.limit
|
10659
10615
|
resultsPath: data
|
10660
|
-
x-undo:
|
10661
|
-
type: safe
|
10662
10616
|
/api/v2/metrics:
|
10663
10617
|
get:
|
10664
10618
|
description: 'Returns all configured count/gauge/rate/distribution metric names
|
@@ -10750,9 +10704,6 @@ paths:
|
|
10750
10704
|
summary: List tag configurations
|
10751
10705
|
tags:
|
10752
10706
|
- Metrics
|
10753
|
-
x-menu-order: 5
|
10754
|
-
x-undo:
|
10755
|
-
type: safe
|
10756
10707
|
/api/v2/metrics/config/bulk-tags:
|
10757
10708
|
delete:
|
10758
10709
|
description: 'Delete all custom lists of queryable tag keys for a set of existing
|
@@ -10807,9 +10758,6 @@ paths:
|
|
10807
10758
|
tags:
|
10808
10759
|
- Metrics
|
10809
10760
|
x-codegen-request-body-name: body
|
10810
|
-
x-menu-order: 9
|
10811
|
-
x-undo:
|
10812
|
-
type: idempotent
|
10813
10761
|
post:
|
10814
10762
|
description: 'Create and define a list of queryable tag keys for a set of existing
|
10815
10763
|
count, gauge, rate, and distribution metrics.
|
@@ -10869,13 +10817,6 @@ paths:
|
|
10869
10817
|
tags:
|
10870
10818
|
- Metrics
|
10871
10819
|
x-codegen-request-body-name: body
|
10872
|
-
x-menu-order: 8
|
10873
|
-
x-undo:
|
10874
|
-
operationId: DeleteBulkTagsMetricsConfiguration
|
10875
|
-
parameters:
|
10876
|
-
- name: body
|
10877
|
-
source: ''
|
10878
|
-
type: unsafe
|
10879
10820
|
/api/v2/metrics/{metric_name}/all-tags:
|
10880
10821
|
get:
|
10881
10822
|
description: View indexed tag key-value pairs for a given metric name.
|
@@ -10920,9 +10861,6 @@ paths:
|
|
10920
10861
|
summary: List tags by metric name
|
10921
10862
|
tags:
|
10922
10863
|
- Metrics
|
10923
|
-
x-menu-order: 6
|
10924
|
-
x-undo:
|
10925
|
-
type: safe
|
10926
10864
|
/api/v2/metrics/{metric_name}/estimate:
|
10927
10865
|
get:
|
10928
10866
|
description: Returns the estimated cardinality for a metric with a given tag,
|
@@ -11018,12 +10956,9 @@ paths:
|
|
11018
10956
|
staging_low_urgency: '@slack-points-aggr-stg-ops'
|
11019
10957
|
team: points-aggregation
|
11020
10958
|
team_escalation: '[Points Aggregation] Primary'
|
11021
|
-
x-menu-order: 10
|
11022
10959
|
x-permission:
|
11023
10960
|
operator: OPEN
|
11024
10961
|
permissions: []
|
11025
|
-
x-undo:
|
11026
|
-
type: safe
|
11027
10962
|
/api/v2/metrics/{metric_name}/tags:
|
11028
10963
|
delete:
|
11029
10964
|
description: 'Deletes a metric''s tag configuration. Can only be used with application
|
@@ -11056,9 +10991,6 @@ paths:
|
|
11056
10991
|
summary: Delete a tag configuration
|
11057
10992
|
tags:
|
11058
10993
|
- Metrics
|
11059
|
-
x-menu-order: 4
|
11060
|
-
x-undo:
|
11061
|
-
type: idempotent
|
11062
10994
|
get:
|
11063
10995
|
description: Returns the tag configuration for the given metric name.
|
11064
10996
|
operationId: ListTagConfigurationByName
|
@@ -11097,9 +11029,6 @@ paths:
|
|
11097
11029
|
summary: List tag configuration by name
|
11098
11030
|
tags:
|
11099
11031
|
- Metrics
|
11100
|
-
x-menu-order: 2
|
11101
|
-
x-undo:
|
11102
|
-
type: safe
|
11103
11032
|
patch:
|
11104
11033
|
description: 'Update the tag configuration of a metric or percentile aggregations
|
11105
11034
|
of a distribution metric or custom aggregations
|
@@ -11152,9 +11081,6 @@ paths:
|
|
11152
11081
|
tags:
|
11153
11082
|
- Metrics
|
11154
11083
|
x-codegen-request-body-name: body
|
11155
|
-
x-menu-order: 3
|
11156
|
-
x-undo:
|
11157
|
-
type: idempotent
|
11158
11084
|
post:
|
11159
11085
|
description: 'Create and define a list of queryable tag keys for an existing
|
11160
11086
|
count/gauge/rate/distribution metric.
|
@@ -11210,24 +11136,6 @@ paths:
|
|
11210
11136
|
tags:
|
11211
11137
|
- Metrics
|
11212
11138
|
x-codegen-request-body-name: body
|
11213
|
-
x-given:
|
11214
|
-
metric_tag_configuration:
|
11215
|
-
parameters:
|
11216
|
-
- name: metric_name
|
11217
|
-
value: '"{{ unique_alnum }}"'
|
11218
|
-
- name: body
|
11219
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"tags\":[\"app\",
|
11220
|
-
\"datacenter\", \"{{ unique_alnum }}\"],\n \"metric_type\":\"gauge\"\n
|
11221
|
-
\ },\n \"type\": \"manage_tags\",\n \"id\": \"{{ unique_alnum
|
11222
|
-
}}\"\n }\n}"
|
11223
|
-
step: there is a valid "metric_tag_configuration" in the system
|
11224
|
-
x-menu-order: 1
|
11225
|
-
x-undo:
|
11226
|
-
operationId: DeleteTagConfiguration
|
11227
|
-
parameters:
|
11228
|
-
- name: metric_name
|
11229
|
-
source: data.id
|
11230
|
-
type: unsafe
|
11231
11139
|
/api/v2/metrics/{metric_name}/volumes:
|
11232
11140
|
get:
|
11233
11141
|
description: 'View distinct metrics volumes for the given metric name.
|
@@ -11276,9 +11184,6 @@ paths:
|
|
11276
11184
|
summary: List distinct metric volumes by metric name
|
11277
11185
|
tags:
|
11278
11186
|
- Metrics
|
11279
|
-
x-menu-order: 7
|
11280
|
-
x-undo:
|
11281
|
-
type: safe
|
11282
11187
|
/api/v2/permissions:
|
11283
11188
|
get:
|
11284
11189
|
description: Returns a list of all permissions, including name, description,
|
@@ -11312,13 +11217,6 @@ paths:
|
|
11312
11217
|
summary: List permissions
|
11313
11218
|
tags:
|
11314
11219
|
- Roles
|
11315
|
-
x-given:
|
11316
|
-
permission:
|
11317
|
-
source: data[0]
|
11318
|
-
step: there is a valid "permission" in the system
|
11319
|
-
x-menu-order: 1
|
11320
|
-
x-undo:
|
11321
|
-
type: safe
|
11322
11220
|
/api/v2/processes:
|
11323
11221
|
get:
|
11324
11222
|
description: Get all processes for your organization.
|
@@ -11409,14 +11307,11 @@ paths:
|
|
11409
11307
|
summary: Get all processes
|
11410
11308
|
tags:
|
11411
11309
|
- Processes
|
11412
|
-
x-menu-order: 1
|
11413
11310
|
x-pagination:
|
11414
11311
|
cursorParam: page[cursor]
|
11415
11312
|
cursorPath: meta.page.after
|
11416
11313
|
limitParam: page[limit]
|
11417
11314
|
resultsPath: data
|
11418
|
-
x-undo:
|
11419
|
-
type: safe
|
11420
11315
|
/api/v2/roles:
|
11421
11316
|
get:
|
11422
11317
|
description: Returns all roles, including their names and their unique identifiers.
|
@@ -11464,9 +11359,6 @@ paths:
|
|
11464
11359
|
summary: List roles
|
11465
11360
|
tags:
|
11466
11361
|
- Roles
|
11467
|
-
x-menu-order: 1
|
11468
|
-
x-undo:
|
11469
|
-
type: safe
|
11470
11362
|
post:
|
11471
11363
|
description: Create a new role for your organization.
|
11472
11364
|
operationId: CreateRole
|
@@ -11506,20 +11398,6 @@ paths:
|
|
11506
11398
|
tags:
|
11507
11399
|
- Roles
|
11508
11400
|
x-codegen-request-body-name: body
|
11509
|
-
x-given:
|
11510
|
-
role:
|
11511
|
-
parameters:
|
11512
|
-
- name: body
|
11513
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{
|
11514
|
-
unique }}\"\n },\n \"type\": \"roles\"\n }\n}"
|
11515
|
-
step: there is a valid "role" in the system
|
11516
|
-
x-menu-order: 2
|
11517
|
-
x-undo:
|
11518
|
-
operationId: DeleteRole
|
11519
|
-
parameters:
|
11520
|
-
- name: role_id
|
11521
|
-
source: data.id
|
11522
|
-
type: unsafe
|
11523
11401
|
/api/v2/roles/{role_id}:
|
11524
11402
|
delete:
|
11525
11403
|
description: Disables a role.
|
@@ -11552,9 +11430,6 @@ paths:
|
|
11552
11430
|
tags:
|
11553
11431
|
- Roles
|
11554
11432
|
x-codegen-request-body-name: body
|
11555
|
-
x-menu-order: 5
|
11556
|
-
x-undo:
|
11557
|
-
type: idempotent
|
11558
11433
|
get:
|
11559
11434
|
description: "Get a role in the organization specified by the role\u2019s `role_id`."
|
11560
11435
|
operationId: GetRole
|
@@ -11589,9 +11464,6 @@ paths:
|
|
11589
11464
|
tags:
|
11590
11465
|
- Roles
|
11591
11466
|
x-codegen-request-body-name: body
|
11592
|
-
x-menu-order: 3
|
11593
|
-
x-undo:
|
11594
|
-
type: safe
|
11595
11467
|
patch:
|
11596
11468
|
description: Edit a role. Can only be used with application keys belonging to
|
11597
11469
|
administrators.
|
@@ -11646,9 +11518,6 @@ paths:
|
|
11646
11518
|
tags:
|
11647
11519
|
- Roles
|
11648
11520
|
x-codegen-request-body-name: body
|
11649
|
-
x-menu-order: 4
|
11650
|
-
x-undo:
|
11651
|
-
type: idempotent
|
11652
11521
|
/api/v2/roles/{role_id}/clone:
|
11653
11522
|
post:
|
11654
11523
|
description: Clone an existing role
|
@@ -11703,14 +11572,7 @@ paths:
|
|
11703
11572
|
tags:
|
11704
11573
|
- Roles
|
11705
11574
|
x-codegen-request-body-name: body
|
11706
|
-
x-menu-order: 12
|
11707
11575
|
x-permission: OR(USER_ACCESS_MANAGE)
|
11708
|
-
x-undo:
|
11709
|
-
operationId: DeleteRole
|
11710
|
-
parameters:
|
11711
|
-
- name: role_id
|
11712
|
-
source: data.id
|
11713
|
-
type: unsafe
|
11714
11576
|
/api/v2/roles/{role_id}/permissions:
|
11715
11577
|
delete:
|
11716
11578
|
description: Removes a permission from a role.
|
@@ -11759,9 +11621,6 @@ paths:
|
|
11759
11621
|
tags:
|
11760
11622
|
- Roles
|
11761
11623
|
x-codegen-request-body-name: body
|
11762
|
-
x-menu-order: 8
|
11763
|
-
x-undo:
|
11764
|
-
type: idempotent
|
11765
11624
|
get:
|
11766
11625
|
description: Returns a list of all permissions for a single role.
|
11767
11626
|
operationId: ListRolePermissions
|
@@ -11796,9 +11655,6 @@ paths:
|
|
11796
11655
|
tags:
|
11797
11656
|
- Roles
|
11798
11657
|
x-codegen-request-body-name: body
|
11799
|
-
x-menu-order: 6
|
11800
|
-
x-undo:
|
11801
|
-
type: safe
|
11802
11658
|
post:
|
11803
11659
|
description: Adds a permission to a role.
|
11804
11660
|
operationId: AddPermissionToRole
|
@@ -11846,18 +11702,6 @@ paths:
|
|
11846
11702
|
tags:
|
11847
11703
|
- Roles
|
11848
11704
|
x-codegen-request-body-name: body
|
11849
|
-
x-given:
|
11850
|
-
permission_role:
|
11851
|
-
parameters:
|
11852
|
-
- name: role_id
|
11853
|
-
source: role.data.id
|
11854
|
-
- name: body
|
11855
|
-
value: "{\n \"data\": {\n \"id\": \"{{ permission.id }}\",\n \"type\":
|
11856
|
-
\"{{ permission.type }}\"\n }\n}"
|
11857
|
-
step: the "permission" is granted to the "role"
|
11858
|
-
x-menu-order: 7
|
11859
|
-
x-undo:
|
11860
|
-
type: safe
|
11861
11705
|
/api/v2/roles/{role_id}/users:
|
11862
11706
|
delete:
|
11863
11707
|
description: Removes a user from a role.
|
@@ -11906,9 +11750,6 @@ paths:
|
|
11906
11750
|
tags:
|
11907
11751
|
- Roles
|
11908
11752
|
x-codegen-request-body-name: body
|
11909
|
-
x-menu-order: 11
|
11910
|
-
x-undo:
|
11911
|
-
type: idempotent
|
11912
11753
|
get:
|
11913
11754
|
description: Gets all users of a role.
|
11914
11755
|
operationId: ListRoleUsers
|
@@ -11962,9 +11803,6 @@ paths:
|
|
11962
11803
|
summary: Get all users of a role
|
11963
11804
|
tags:
|
11964
11805
|
- Roles
|
11965
|
-
x-menu-order: 9
|
11966
|
-
x-undo:
|
11967
|
-
type: safe
|
11968
11806
|
post:
|
11969
11807
|
description: Adds a user to a role.
|
11970
11808
|
operationId: AddUserToRole
|
@@ -12012,18 +11850,6 @@ paths:
|
|
12012
11850
|
tags:
|
12013
11851
|
- Roles
|
12014
11852
|
x-codegen-request-body-name: body
|
12015
|
-
x-given:
|
12016
|
-
permission_role:
|
12017
|
-
parameters:
|
12018
|
-
- name: role_id
|
12019
|
-
source: role.data.id
|
12020
|
-
- name: body
|
12021
|
-
value: "{\n \"data\": {\n \"id\": \"{{ user.data.id }}\",\n \"type\":
|
12022
|
-
\"{{ user.data.type }}\"\n }\n}"
|
12023
|
-
step: the "user" has the "role"
|
12024
|
-
x-menu-order: 10
|
12025
|
-
x-undo:
|
12026
|
-
type: safe
|
12027
11853
|
/api/v2/rum/analytics/aggregate:
|
12028
11854
|
post:
|
12029
11855
|
description: The API endpoint to aggregate RUM events into buckets of computed
|
@@ -12056,9 +11882,132 @@ paths:
|
|
12056
11882
|
tags:
|
12057
11883
|
- RUM
|
12058
11884
|
x-codegen-request-body-name: body
|
12059
|
-
|
12060
|
-
|
12061
|
-
|
11885
|
+
/api/v2/rum/applications:
|
11886
|
+
get:
|
11887
|
+
description: List all the RUM applications in your organization.
|
11888
|
+
operationId: GetRUMApplications
|
11889
|
+
responses:
|
11890
|
+
'200':
|
11891
|
+
content:
|
11892
|
+
application/json:
|
11893
|
+
schema:
|
11894
|
+
$ref: '#/components/schemas/RUMApplicationsResponse'
|
11895
|
+
description: OK
|
11896
|
+
'404':
|
11897
|
+
$ref: '#/components/responses/NotFoundResponse'
|
11898
|
+
'429':
|
11899
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
11900
|
+
summary: List all the RUM applications
|
11901
|
+
tags:
|
11902
|
+
- RUM
|
11903
|
+
post:
|
11904
|
+
description: Create a new RUM application in your organization.
|
11905
|
+
operationId: CreateRUMApplication
|
11906
|
+
requestBody:
|
11907
|
+
content:
|
11908
|
+
application/json:
|
11909
|
+
schema:
|
11910
|
+
$ref: '#/components/schemas/RUMApplicationCreateRequest'
|
11911
|
+
required: true
|
11912
|
+
responses:
|
11913
|
+
'200':
|
11914
|
+
content:
|
11915
|
+
application/json:
|
11916
|
+
schema:
|
11917
|
+
$ref: '#/components/schemas/RUMApplicationResponse'
|
11918
|
+
description: OK
|
11919
|
+
'400':
|
11920
|
+
$ref: '#/components/responses/BadRequestResponse'
|
11921
|
+
'429':
|
11922
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
11923
|
+
summary: Create a new RUM application
|
11924
|
+
tags:
|
11925
|
+
- RUM
|
11926
|
+
x-codegen-request-body-name: body
|
11927
|
+
/api/v2/rum/applications/{id}:
|
11928
|
+
delete:
|
11929
|
+
description: Delete an existing RUM application in your organization.
|
11930
|
+
operationId: DeleteRUMApplication
|
11931
|
+
parameters:
|
11932
|
+
- description: RUM application ID.
|
11933
|
+
in: path
|
11934
|
+
name: id
|
11935
|
+
required: true
|
11936
|
+
schema:
|
11937
|
+
type: string
|
11938
|
+
responses:
|
11939
|
+
'204':
|
11940
|
+
description: No Content
|
11941
|
+
'404':
|
11942
|
+
$ref: '#/components/responses/NotFoundResponse'
|
11943
|
+
'429':
|
11944
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
11945
|
+
summary: Delete a RUM application
|
11946
|
+
tags:
|
11947
|
+
- RUM
|
11948
|
+
get:
|
11949
|
+
description: Get the RUM application with given ID in your organization.
|
11950
|
+
operationId: GetRUMApplication
|
11951
|
+
parameters:
|
11952
|
+
- description: RUM application ID.
|
11953
|
+
in: path
|
11954
|
+
name: id
|
11955
|
+
required: true
|
11956
|
+
schema:
|
11957
|
+
type: string
|
11958
|
+
responses:
|
11959
|
+
'200':
|
11960
|
+
content:
|
11961
|
+
application/json:
|
11962
|
+
schema:
|
11963
|
+
$ref: '#/components/schemas/RUMApplicationResponse'
|
11964
|
+
description: OK
|
11965
|
+
'404':
|
11966
|
+
$ref: '#/components/responses/NotFoundResponse'
|
11967
|
+
'429':
|
11968
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
11969
|
+
summary: Get a RUM application
|
11970
|
+
tags:
|
11971
|
+
- RUM
|
11972
|
+
patch:
|
11973
|
+
description: Update the RUM application with given ID in your organization.
|
11974
|
+
operationId: UpdateRUMApplication
|
11975
|
+
parameters:
|
11976
|
+
- description: RUM application ID.
|
11977
|
+
in: path
|
11978
|
+
name: id
|
11979
|
+
required: true
|
11980
|
+
schema:
|
11981
|
+
type: string
|
11982
|
+
requestBody:
|
11983
|
+
content:
|
11984
|
+
application/json:
|
11985
|
+
schema:
|
11986
|
+
$ref: '#/components/schemas/RUMApplicationUpdateRequest'
|
11987
|
+
required: true
|
11988
|
+
responses:
|
11989
|
+
'200':
|
11990
|
+
content:
|
11991
|
+
application/json:
|
11992
|
+
schema:
|
11993
|
+
$ref: '#/components/schemas/RUMApplicationResponse'
|
11994
|
+
description: OK
|
11995
|
+
'400':
|
11996
|
+
$ref: '#/components/responses/BadRequestResponse'
|
11997
|
+
'404':
|
11998
|
+
$ref: '#/components/responses/NotFoundResponse'
|
11999
|
+
'422':
|
12000
|
+
content:
|
12001
|
+
application/json:
|
12002
|
+
schema:
|
12003
|
+
$ref: '#/components/schemas/APIErrorResponse'
|
12004
|
+
description: Unprocessable Entity.
|
12005
|
+
'429':
|
12006
|
+
$ref: '#/components/responses/TooManyRequestsResponse'
|
12007
|
+
summary: Update a RUM application
|
12008
|
+
tags:
|
12009
|
+
- RUM
|
12010
|
+
x-codegen-request-body-name: body
|
12062
12011
|
/api/v2/rum/events:
|
12063
12012
|
get:
|
12064
12013
|
description: 'List endpoint returns events that match a RUM search query.
|
@@ -12139,14 +12088,11 @@ paths:
|
|
12139
12088
|
summary: Get a list of RUM events
|
12140
12089
|
tags:
|
12141
12090
|
- RUM
|
12142
|
-
x-menu-order: 2
|
12143
12091
|
x-pagination:
|
12144
12092
|
cursorParam: page[cursor]
|
12145
12093
|
cursorPath: meta.page.after
|
12146
12094
|
limitParam: page[limit]
|
12147
12095
|
resultsPath: data
|
12148
|
-
x-undo:
|
12149
|
-
type: safe
|
12150
12096
|
/api/v2/rum/events/search:
|
12151
12097
|
post:
|
12152
12098
|
description: 'List endpoint returns RUM events that match a RUM search query.
|
@@ -12186,14 +12132,11 @@ paths:
|
|
12186
12132
|
tags:
|
12187
12133
|
- RUM
|
12188
12134
|
x-codegen-request-body-name: body
|
12189
|
-
x-menu-order: 1
|
12190
12135
|
x-pagination:
|
12191
12136
|
cursorParam: body.page.cursor
|
12192
12137
|
cursorPath: meta.page.after
|
12193
12138
|
limitParam: body.page.limit
|
12194
12139
|
resultsPath: data
|
12195
|
-
x-undo:
|
12196
|
-
type: safe
|
12197
12140
|
/api/v2/saml_configurations/idp_metadata:
|
12198
12141
|
post:
|
12199
12142
|
description: 'Endpoint for uploading IdP metadata for SAML setup.
|
@@ -12228,9 +12171,6 @@ paths:
|
|
12228
12171
|
tags:
|
12229
12172
|
- Organizations
|
12230
12173
|
x-codegen-request-body-name: body
|
12231
|
-
x-menu-order: 1
|
12232
|
-
x-undo:
|
12233
|
-
type: idempotent
|
12234
12174
|
/api/v2/security/cloud_workload/policy/download:
|
12235
12175
|
get:
|
12236
12176
|
description: 'The download endpoint generates a Cloud Workload Security policy
|
@@ -12256,9 +12196,6 @@ paths:
|
|
12256
12196
|
summary: Get the latest Cloud Workload Security policy
|
12257
12197
|
tags:
|
12258
12198
|
- Cloud Workload Security
|
12259
|
-
x-menu-order: 1
|
12260
|
-
x-undo:
|
12261
|
-
type: safe
|
12262
12199
|
/api/v2/security_monitoring/cloud_workload_security/agent_rules:
|
12263
12200
|
get:
|
12264
12201
|
description: Get the list of Agent rules.
|
@@ -12277,9 +12214,6 @@ paths:
|
|
12277
12214
|
summary: Get all Cloud Workload Security Agent rules
|
12278
12215
|
tags:
|
12279
12216
|
- Cloud Workload Security
|
12280
|
-
x-menu-order: 3
|
12281
|
-
x-undo:
|
12282
|
-
type: safe
|
12283
12217
|
post:
|
12284
12218
|
description: Create a new Agent rule with the given parameters.
|
12285
12219
|
operationId: CreateCloudWorkloadSecurityAgentRule
|
@@ -12309,22 +12243,6 @@ paths:
|
|
12309
12243
|
tags:
|
12310
12244
|
- Cloud Workload Security
|
12311
12245
|
x-codegen-request-body-name: body
|
12312
|
-
x-given:
|
12313
|
-
agent_rule:
|
12314
|
-
parameters:
|
12315
|
-
- name: body
|
12316
|
-
value: "{\n \"data\": {\n \"type\": \"agent_rule\",\n \"attributes\":
|
12317
|
-
{\n \"name\": \"{{ unique_lower_alnum }}\",\n \"description\":
|
12318
|
-
\"My Agent rule\",\n \"expression\": \"exec.file.name == \\\"sh\\\"\",\n
|
12319
|
-
\ \"enabled\": true\n }\n }\n}"
|
12320
|
-
step: there is a valid "agent_rule" in the system
|
12321
|
-
x-menu-order: 4
|
12322
|
-
x-undo:
|
12323
|
-
operationId: DeleteCloudWorkloadSecurityAgentRule
|
12324
|
-
parameters:
|
12325
|
-
- name: agent_rule_id
|
12326
|
-
source: data.id
|
12327
|
-
type: unsafe
|
12328
12246
|
/api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}:
|
12329
12247
|
delete:
|
12330
12248
|
description: Delete a specific Agent rule.
|
@@ -12343,9 +12261,6 @@ paths:
|
|
12343
12261
|
summary: Delete a Cloud Workload Security Agent rule
|
12344
12262
|
tags:
|
12345
12263
|
- Cloud Workload Security
|
12346
|
-
x-menu-order: 6
|
12347
|
-
x-undo:
|
12348
|
-
type: idempotent
|
12349
12264
|
get:
|
12350
12265
|
description: Get the details of a specific Agent rule.
|
12351
12266
|
operationId: GetCloudWorkloadSecurityAgentRule
|
@@ -12367,9 +12282,6 @@ paths:
|
|
12367
12282
|
summary: Get a Cloud Workload Security Agent rule
|
12368
12283
|
tags:
|
12369
12284
|
- Cloud Workload Security
|
12370
|
-
x-menu-order: 2
|
12371
|
-
x-undo:
|
12372
|
-
type: safe
|
12373
12285
|
patch:
|
12374
12286
|
description: 'Update a specific Agent rule.
|
12375
12287
|
|
@@ -12405,9 +12317,6 @@ paths:
|
|
12405
12317
|
tags:
|
12406
12318
|
- Cloud Workload Security
|
12407
12319
|
x-codegen-request-body-name: body
|
12408
|
-
x-menu-order: 5
|
12409
|
-
x-undo:
|
12410
|
-
type: idempotent
|
12411
12320
|
/api/v2/security_monitoring/configuration/security_filters:
|
12412
12321
|
get:
|
12413
12322
|
description: Get the list of configured security filters with their definitions.
|
@@ -12431,8 +12340,6 @@ paths:
|
|
12431
12340
|
summary: Get all security filters
|
12432
12341
|
tags:
|
12433
12342
|
- Security Monitoring
|
12434
|
-
x-undo:
|
12435
|
-
type: safe
|
12436
12343
|
post:
|
12437
12344
|
description: 'Create a security filter.
|
12438
12345
|
|
@@ -12472,23 +12379,6 @@ paths:
|
|
12472
12379
|
tags:
|
12473
12380
|
- Security Monitoring
|
12474
12381
|
x-codegen-request-body-name: body
|
12475
|
-
x-given:
|
12476
|
-
security_filter:
|
12477
|
-
parameters:
|
12478
|
-
- name: body
|
12479
|
-
value: "{\n \"data\": {\n \"type\": \"security_filters\",\n \"attributes\":
|
12480
|
-
{\n \"name\": \"{{ unique }}\",\n \"query\": \"service:{{
|
12481
|
-
unique_alnum }}\",\n \"exclusion_filters\":[\n {\n \"name\":
|
12482
|
-
\"Exclude logs from staging\",\n \"query\": \"source:staging\"\n
|
12483
|
-
\ }\n ],\n \"filtered_data_type\":\"logs\",\n \"is_enabled\":
|
12484
|
-
true\n }\n }\n}"
|
12485
|
-
step: there is a valid "security_filter" in the system
|
12486
|
-
x-undo:
|
12487
|
-
operationId: DeleteSecurityFilter
|
12488
|
-
parameters:
|
12489
|
-
- name: security_filter_id
|
12490
|
-
source: data.id
|
12491
|
-
type: unsafe
|
12492
12382
|
/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}:
|
12493
12383
|
delete:
|
12494
12384
|
description: Delete a specific security filter.
|
@@ -12512,8 +12402,6 @@ paths:
|
|
12512
12402
|
summary: Delete a security filter
|
12513
12403
|
tags:
|
12514
12404
|
- Security Monitoring
|
12515
|
-
x-undo:
|
12516
|
-
type: idempotent
|
12517
12405
|
get:
|
12518
12406
|
description: 'Get the details of a specific security filter.
|
12519
12407
|
|
@@ -12545,8 +12433,6 @@ paths:
|
|
12545
12433
|
summary: Get a security filter
|
12546
12434
|
tags:
|
12547
12435
|
- Security Monitoring
|
12548
|
-
x-undo:
|
12549
|
-
type: safe
|
12550
12436
|
patch:
|
12551
12437
|
description: 'Update a specific security filter.
|
12552
12438
|
|
@@ -12587,8 +12473,6 @@ paths:
|
|
12587
12473
|
tags:
|
12588
12474
|
- Security Monitoring
|
12589
12475
|
x-codegen-request-body-name: body
|
12590
|
-
x-undo:
|
12591
|
-
type: idempotent
|
12592
12476
|
/api/v2/security_monitoring/rules:
|
12593
12477
|
get:
|
12594
12478
|
description: List rules.
|
@@ -12615,9 +12499,6 @@ paths:
|
|
12615
12499
|
summary: List rules
|
12616
12500
|
tags:
|
12617
12501
|
- Security Monitoring
|
12618
|
-
x-menu-order: 1
|
12619
|
-
x-undo:
|
12620
|
-
type: safe
|
12621
12502
|
post:
|
12622
12503
|
description: Create a detection rule.
|
12623
12504
|
operationId: CreateSecurityMonitoringRule
|
@@ -12649,26 +12530,6 @@ paths:
|
|
12649
12530
|
tags:
|
12650
12531
|
- Security Monitoring
|
12651
12532
|
x-codegen-request-body-name: body
|
12652
|
-
x-given:
|
12653
|
-
security_rule:
|
12654
|
-
parameters:
|
12655
|
-
- name: body
|
12656
|
-
value: "{\n \"name\": \"{{ unique }}\",\n \"queries\": [{\n \"query\":
|
12657
|
-
\"@test:true\",\n \"aggregation\": \"count\",\n \"groupByFields\":
|
12658
|
-
[],\n \"distinctFields\": [],\n \"metric\": \"\"\n }],\n \"filters\":
|
12659
|
-
[],\n \"cases\": [{\n \"name\": \"\",\n \"status\": \"info\",\n
|
12660
|
-
\ \"condition\": \"a > 0\",\n \"notifications\": []\n }],\n \"options\":
|
12661
|
-
{\n \"evaluationWindow\": 900,\n \"keepAlive\": 3600,\n \"maxSignalDuration\":
|
12662
|
-
86400\n },\n \"message\": \"Test rule\",\n \"tags\": [],\n \"isEnabled\":
|
12663
|
-
true,\n \"type\": \"log_detection\"\n}"
|
12664
|
-
step: there is a valid "security_rule" in the system
|
12665
|
-
x-menu-order: 2
|
12666
|
-
x-undo:
|
12667
|
-
operationId: DeleteSecurityMonitoringRule
|
12668
|
-
parameters:
|
12669
|
-
- name: rule_id
|
12670
|
-
source: id
|
12671
|
-
type: unsafe
|
12672
12533
|
/api/v2/security_monitoring/rules/{rule_id}:
|
12673
12534
|
delete:
|
12674
12535
|
description: Delete an existing rule. Default rules cannot be deleted.
|
@@ -12692,9 +12553,6 @@ paths:
|
|
12692
12553
|
summary: Delete an existing rule
|
12693
12554
|
tags:
|
12694
12555
|
- Security Monitoring
|
12695
|
-
x-menu-order: 5
|
12696
|
-
x-undo:
|
12697
|
-
type: idempotent
|
12698
12556
|
get:
|
12699
12557
|
description: Get a rule's details.
|
12700
12558
|
operationId: GetSecurityMonitoringRule
|
@@ -12719,9 +12577,6 @@ paths:
|
|
12719
12577
|
summary: Get a rule's details
|
12720
12578
|
tags:
|
12721
12579
|
- Security Monitoring
|
12722
|
-
x-menu-order: 3
|
12723
|
-
x-undo:
|
12724
|
-
type: safe
|
12725
12580
|
put:
|
12726
12581
|
description: 'Update an existing rule. When updating `cases`, `queries` or `options`,
|
12727
12582
|
the whole field
|
@@ -12765,9 +12620,6 @@ paths:
|
|
12765
12620
|
tags:
|
12766
12621
|
- Security Monitoring
|
12767
12622
|
x-codegen-request-body-name: body
|
12768
|
-
x-menu-order: 4
|
12769
|
-
x-undo:
|
12770
|
-
type: idempotent
|
12771
12623
|
/api/v2/security_monitoring/signals:
|
12772
12624
|
get:
|
12773
12625
|
description: 'The list endpoint returns security signals that match a search
|
@@ -12846,14 +12698,11 @@ paths:
|
|
12846
12698
|
summary: Get a quick list of security signals
|
12847
12699
|
tags:
|
12848
12700
|
- Security Monitoring
|
12849
|
-
x-menu-order: 7
|
12850
12701
|
x-pagination:
|
12851
12702
|
cursorParam: page[cursor]
|
12852
12703
|
cursorPath: meta.page.after
|
12853
12704
|
limitParam: page[limit]
|
12854
12705
|
resultsPath: data
|
12855
|
-
x-undo:
|
12856
|
-
type: safe
|
12857
12706
|
/api/v2/security_monitoring/signals/search:
|
12858
12707
|
post:
|
12859
12708
|
description: 'Returns security signals that match a search query.
|
@@ -12890,14 +12739,11 @@ paths:
|
|
12890
12739
|
tags:
|
12891
12740
|
- Security Monitoring
|
12892
12741
|
x-codegen-request-body-name: body
|
12893
|
-
x-menu-order: 6
|
12894
12742
|
x-pagination:
|
12895
12743
|
cursorParam: body.page.cursor
|
12896
12744
|
cursorPath: meta.page.after
|
12897
12745
|
limitParam: body.page.limit
|
12898
12746
|
resultsPath: data
|
12899
|
-
x-undo:
|
12900
|
-
type: safe
|
12901
12747
|
/api/v2/security_monitoring/signals/{signal_id}/assignee:
|
12902
12748
|
patch:
|
12903
12749
|
description: Modify the triage assignee of a security signal.
|
@@ -12938,17 +12784,10 @@ paths:
|
|
12938
12784
|
description: Not Found
|
12939
12785
|
'429':
|
12940
12786
|
$ref: '#/components/responses/TooManyRequestsResponse'
|
12941
|
-
security:
|
12942
|
-
- apiKeyAuth: []
|
12943
|
-
appKeyAuth: []
|
12944
|
-
- AuthZ:
|
12945
|
-
- security_monitoring_signals_write
|
12946
12787
|
summary: Modify the triage assignee of a security signal
|
12947
12788
|
tags:
|
12948
12789
|
- Security Monitoring
|
12949
12790
|
x-codegen-request-body-name: body
|
12950
|
-
x-undo:
|
12951
|
-
type: idempotent
|
12952
12791
|
/api/v2/security_monitoring/signals/{signal_id}/incidents:
|
12953
12792
|
patch:
|
12954
12793
|
description: Change the related incidents for a security signal.
|
@@ -12989,17 +12828,10 @@ paths:
|
|
12989
12828
|
description: Not Found
|
12990
12829
|
'429':
|
12991
12830
|
$ref: '#/components/responses/TooManyRequestsResponse'
|
12992
|
-
security:
|
12993
|
-
- apiKeyAuth: []
|
12994
|
-
appKeyAuth: []
|
12995
|
-
- AuthZ:
|
12996
|
-
- security_monitoring_signals_write
|
12997
12831
|
summary: Change the related incidents of a security signal
|
12998
12832
|
tags:
|
12999
12833
|
- Security Monitoring
|
13000
12834
|
x-codegen-request-body-name: body
|
13001
|
-
x-undo:
|
13002
|
-
type: idempotent
|
13003
12835
|
/api/v2/security_monitoring/signals/{signal_id}/state:
|
13004
12836
|
patch:
|
13005
12837
|
description: Change the triage state of a security signal.
|
@@ -13040,17 +12872,10 @@ paths:
|
|
13040
12872
|
description: Not Found
|
13041
12873
|
'429':
|
13042
12874
|
$ref: '#/components/responses/TooManyRequestsResponse'
|
13043
|
-
security:
|
13044
|
-
- apiKeyAuth: []
|
13045
|
-
appKeyAuth: []
|
13046
|
-
- AuthZ:
|
13047
|
-
- security_monitoring_signals_write
|
13048
12875
|
summary: Change the triage state of a security signal
|
13049
12876
|
tags:
|
13050
12877
|
- Security Monitoring
|
13051
12878
|
x-codegen-request-body-name: body
|
13052
|
-
x-undo:
|
13053
|
-
type: idempotent
|
13054
12879
|
/api/v2/series:
|
13055
12880
|
post:
|
13056
12881
|
description: "The metrics end-point allows you to post time-series data that
|
@@ -13122,9 +12947,6 @@ paths:
|
|
13122
12947
|
tags:
|
13123
12948
|
- Metrics
|
13124
12949
|
x-codegen-request-body-name: body
|
13125
|
-
x-menu-order: 1
|
13126
|
-
x-undo:
|
13127
|
-
type: safe
|
13128
12950
|
/api/v2/service_accounts:
|
13129
12951
|
post:
|
13130
12952
|
description: Create a service account for your organization.
|
@@ -13160,21 +12982,6 @@ paths:
|
|
13160
12982
|
tags:
|
13161
12983
|
- Users
|
13162
12984
|
x-codegen-request-body-name: body
|
13163
|
-
x-given:
|
13164
|
-
service_account_user:
|
13165
|
-
parameters:
|
13166
|
-
- name: body
|
13167
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"email\": \"{{
|
13168
|
-
unique }}@datadoghq.com\",\n \"title\": \"user title\",\n \"service_account\":
|
13169
|
-
true\n },\n \"type\": \"users\"\n }\n}"
|
13170
|
-
step: there is a valid "service_account_user" in the system
|
13171
|
-
x-menu-order: 1
|
13172
|
-
x-undo:
|
13173
|
-
operationId: DisableUser
|
13174
|
-
parameters:
|
13175
|
-
- name: user_id
|
13176
|
-
source: data.id
|
13177
|
-
type: unsafe
|
13178
12985
|
/api/v2/service_accounts/{service_account_id}/application_keys:
|
13179
12986
|
get:
|
13180
12987
|
description: List all application keys available for this service account.
|
@@ -13217,8 +13024,6 @@ paths:
|
|
13217
13024
|
summary: List application keys for this service account
|
13218
13025
|
tags:
|
13219
13026
|
- Service Accounts
|
13220
|
-
x-undo:
|
13221
|
-
type: safe
|
13222
13027
|
post:
|
13223
13028
|
description: Create an application key for this service account.
|
13224
13029
|
operationId: CreateServiceAccountApplicationKey
|
@@ -13255,23 +13060,6 @@ paths:
|
|
13255
13060
|
tags:
|
13256
13061
|
- Service Accounts
|
13257
13062
|
x-codegen-request-body-name: body
|
13258
|
-
x-given:
|
13259
|
-
service_account_application_key:
|
13260
|
-
parameters:
|
13261
|
-
- name: service_account_id
|
13262
|
-
value: '"{{ service_account_user.data.id }}"'
|
13263
|
-
- name: body
|
13264
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{
|
13265
|
-
unique }}\"\n },\n \"type\": \"application_keys\"\n }\n}"
|
13266
|
-
step: there is a valid "service_account_application_key" for "service_account_user"
|
13267
|
-
x-undo:
|
13268
|
-
operationId: DeleteServiceAccountApplicationKey
|
13269
|
-
parameters:
|
13270
|
-
- name: app_key_id
|
13271
|
-
source: data.id
|
13272
|
-
- name: service_account_id
|
13273
|
-
source: data.relationships.owned_by.data.id
|
13274
|
-
type: unsafe
|
13275
13063
|
/api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id}:
|
13276
13064
|
delete:
|
13277
13065
|
description: Delete an application key owned by this service account.
|
@@ -13299,9 +13087,6 @@ paths:
|
|
13299
13087
|
summary: Delete an application key for this service account
|
13300
13088
|
tags:
|
13301
13089
|
- Service Accounts
|
13302
|
-
x-menu-order: 3
|
13303
|
-
x-undo:
|
13304
|
-
type: idempotent
|
13305
13090
|
get:
|
13306
13091
|
description: Get an application key owned by this service account.
|
13307
13092
|
operationId: GetServiceAccountApplicationKey
|
@@ -13332,9 +13117,6 @@ paths:
|
|
13332
13117
|
summary: Get one application key for this service account
|
13333
13118
|
tags:
|
13334
13119
|
- Service Accounts
|
13335
|
-
x-menu-order: 1
|
13336
|
-
x-undo:
|
13337
|
-
type: safe
|
13338
13120
|
patch:
|
13339
13121
|
description: Edit an application key owned by this service account.
|
13340
13122
|
operationId: UpdateServiceAccountApplicationKey
|
@@ -13378,9 +13160,6 @@ paths:
|
|
13378
13160
|
tags:
|
13379
13161
|
- Service Accounts
|
13380
13162
|
x-codegen-request-body-name: body
|
13381
|
-
x-menu-order: 2
|
13382
|
-
x-undo:
|
13383
|
-
type: idempotent
|
13384
13163
|
/api/v2/services:
|
13385
13164
|
get:
|
13386
13165
|
description: Get all incident services uploaded for the requesting user's organization.
|
@@ -13417,8 +13196,6 @@ paths:
|
|
13417
13196
|
summary: Get a list of all incident services
|
13418
13197
|
tags:
|
13419
13198
|
- Incident Services
|
13420
|
-
x-undo:
|
13421
|
-
type: safe
|
13422
13199
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13423
13200
|
|
13424
13201
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13458,19 +13235,6 @@ paths:
|
|
13458
13235
|
tags:
|
13459
13236
|
- Incident Services
|
13460
13237
|
x-codegen-request-body-name: body
|
13461
|
-
x-given:
|
13462
|
-
service:
|
13463
|
-
parameters:
|
13464
|
-
- name: body
|
13465
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{
|
13466
|
-
unique }}\"\n },\n \"type\": \"services\"\n }\n}"
|
13467
|
-
step: there is a valid "service" in the system
|
13468
|
-
x-undo:
|
13469
|
-
operationId: DeleteIncidentService
|
13470
|
-
parameters:
|
13471
|
-
- name: service_id
|
13472
|
-
source: data.id
|
13473
|
-
type: unsafe
|
13474
13238
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13475
13239
|
|
13476
13240
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13501,8 +13265,6 @@ paths:
|
|
13501
13265
|
summary: Delete an existing incident service
|
13502
13266
|
tags:
|
13503
13267
|
- Incident Services
|
13504
|
-
x-undo:
|
13505
|
-
type: idempotent
|
13506
13268
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13507
13269
|
|
13508
13270
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13540,8 +13302,6 @@ paths:
|
|
13540
13302
|
summary: Get details of an incident service
|
13541
13303
|
tags:
|
13542
13304
|
- Incident Services
|
13543
|
-
x-undo:
|
13544
|
-
type: safe
|
13545
13305
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13546
13306
|
|
13547
13307
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13584,8 +13344,6 @@ paths:
|
|
13584
13344
|
tags:
|
13585
13345
|
- Incident Services
|
13586
13346
|
x-codegen-request-body-name: body
|
13587
|
-
x-undo:
|
13588
|
-
type: idempotent
|
13589
13347
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13590
13348
|
|
13591
13349
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13625,8 +13383,6 @@ paths:
|
|
13625
13383
|
summary: Get a list of all incident teams
|
13626
13384
|
tags:
|
13627
13385
|
- Incident Teams
|
13628
|
-
x-undo:
|
13629
|
-
type: safe
|
13630
13386
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13631
13387
|
|
13632
13388
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13666,19 +13422,6 @@ paths:
|
|
13666
13422
|
tags:
|
13667
13423
|
- Incident Teams
|
13668
13424
|
x-codegen-request-body-name: body
|
13669
|
-
x-given:
|
13670
|
-
team:
|
13671
|
-
parameters:
|
13672
|
-
- name: body
|
13673
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{
|
13674
|
-
unique }}\"\n },\n \"type\": \"teams\"\n }\n}"
|
13675
|
-
step: there is a valid "team" in the system
|
13676
|
-
x-undo:
|
13677
|
-
operationId: DeleteIncidentTeam
|
13678
|
-
parameters:
|
13679
|
-
- name: team_id
|
13680
|
-
source: data.id
|
13681
|
-
type: unsafe
|
13682
13425
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13683
13426
|
|
13684
13427
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13709,8 +13452,6 @@ paths:
|
|
13709
13452
|
summary: Delete an existing incident team
|
13710
13453
|
tags:
|
13711
13454
|
- Incident Teams
|
13712
|
-
x-undo:
|
13713
|
-
type: idempotent
|
13714
13455
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13715
13456
|
|
13716
13457
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13748,8 +13489,6 @@ paths:
|
|
13748
13489
|
summary: Get details of an incident team
|
13749
13490
|
tags:
|
13750
13491
|
- Incident Teams
|
13751
|
-
x-undo:
|
13752
|
-
type: safe
|
13753
13492
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13754
13493
|
|
13755
13494
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13792,8 +13531,6 @@ paths:
|
|
13792
13531
|
tags:
|
13793
13532
|
- Incident Teams
|
13794
13533
|
x-codegen-request-body-name: body
|
13795
|
-
x-undo:
|
13796
|
-
type: idempotent
|
13797
13534
|
x-unstable: '**Note**: This endpoint is in public beta.
|
13798
13535
|
|
13799
13536
|
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
|
@@ -13856,9 +13593,6 @@ paths:
|
|
13856
13593
|
summary: Get hourly usage for application security
|
13857
13594
|
tags:
|
13858
13595
|
- Usage Metering
|
13859
|
-
x-menu-order: 37
|
13860
|
-
x-undo:
|
13861
|
-
type: safe
|
13862
13596
|
/api/v2/usage/cost_by_org:
|
13863
13597
|
get:
|
13864
13598
|
description: Get cost across multi-org account. Cost by org data for a given
|
@@ -13914,9 +13648,6 @@ paths:
|
|
13914
13648
|
summary: Get cost across multi-org account
|
13915
13649
|
tags:
|
13916
13650
|
- Usage Metering
|
13917
|
-
x-menu-order: 5
|
13918
|
-
x-undo:
|
13919
|
-
type: safe
|
13920
13651
|
/api/v2/usage/estimated_cost:
|
13921
13652
|
get:
|
13922
13653
|
description: 'Get estimated cost across multi-org and single root-org accounts.
|
@@ -14001,9 +13732,6 @@ paths:
|
|
14001
13732
|
summary: Get estimated cost across your account
|
14002
13733
|
tags:
|
14003
13734
|
- Usage Metering
|
14004
|
-
x-menu-order: 39
|
14005
|
-
x-undo:
|
14006
|
-
type: safe
|
14007
13735
|
x-unstable: '**Note**: This endpoint is in public beta.
|
14008
13736
|
|
14009
13737
|
Only the sub-org view is available currently, the summary view will be released
|
@@ -14119,9 +13847,6 @@ paths:
|
|
14119
13847
|
summary: Get hourly usage by product family
|
14120
13848
|
tags:
|
14121
13849
|
- Usage Metering
|
14122
|
-
x-menu-order: 1
|
14123
|
-
x-undo:
|
14124
|
-
type: safe
|
14125
13850
|
/api/v2/usage/lambda_traced_invocations:
|
14126
13851
|
get:
|
14127
13852
|
description: 'Get hourly usage for lambda traced invocations.
|
@@ -14181,9 +13906,6 @@ paths:
|
|
14181
13906
|
summary: Get hourly usage for lambda traced invocations
|
14182
13907
|
tags:
|
14183
13908
|
- Usage Metering
|
14184
|
-
x-menu-order: 36
|
14185
|
-
x-undo:
|
14186
|
-
type: safe
|
14187
13909
|
/api/v2/usage/observability_pipelines:
|
14188
13910
|
get:
|
14189
13911
|
description: 'Get hourly usage for observability pipelines.
|
@@ -14243,9 +13965,6 @@ paths:
|
|
14243
13965
|
summary: Get hourly usage for observability pipelines
|
14244
13966
|
tags:
|
14245
13967
|
- Usage Metering
|
14246
|
-
x-menu-order: 38
|
14247
|
-
x-undo:
|
14248
|
-
type: safe
|
14249
13968
|
/api/v2/user_invitations:
|
14250
13969
|
post:
|
14251
13970
|
description: Sends emails to one or more users inviting them to join the organization.
|
@@ -14286,18 +14005,6 @@ paths:
|
|
14286
14005
|
tags:
|
14287
14006
|
- Users
|
14288
14007
|
x-codegen-request-body-name: body
|
14289
|
-
x-given:
|
14290
|
-
user_invitation:
|
14291
|
-
parameters:
|
14292
|
-
- name: body
|
14293
|
-
value: "{\n \"data\": [\n {\n \"relationships\": {\"user\": {\"data\":
|
14294
|
-
{\n \"id\": \"{{ user.data.id }}\",\n \"type\": \"{{ user.data.type
|
14295
|
-
}}\"\n }}},\n \"type\": \"user_invitations\"\n }\n ]\n}"
|
14296
|
-
source: data[0]
|
14297
|
-
step: the "user" has a "user_invitation"
|
14298
|
-
x-menu-order: 8
|
14299
|
-
x-undo:
|
14300
|
-
type: safe
|
14301
14008
|
/api/v2/user_invitations/{user_invitation_uuid}:
|
14302
14009
|
get:
|
14303
14010
|
description: Returns a single user invitation by its UUID.
|
@@ -14340,9 +14047,6 @@ paths:
|
|
14340
14047
|
tags:
|
14341
14048
|
- Users
|
14342
14049
|
x-codegen-request-body-name: body
|
14343
|
-
x-menu-order: 9
|
14344
|
-
x-undo:
|
14345
|
-
type: safe
|
14346
14050
|
/api/v2/users:
|
14347
14051
|
get:
|
14348
14052
|
description: 'Get the list of all users in the organization. This list includes
|
@@ -14419,9 +14123,6 @@ paths:
|
|
14419
14123
|
tags:
|
14420
14124
|
- Users
|
14421
14125
|
x-codegen-request-body-name: body
|
14422
|
-
x-menu-order: 1
|
14423
|
-
x-undo:
|
14424
|
-
type: safe
|
14425
14126
|
post:
|
14426
14127
|
description: Create a user for your organization.
|
14427
14128
|
operationId: CreateUser
|
@@ -14461,21 +14162,6 @@ paths:
|
|
14461
14162
|
tags:
|
14462
14163
|
- Users
|
14463
14164
|
x-codegen-request-body-name: body
|
14464
|
-
x-given:
|
14465
|
-
user:
|
14466
|
-
parameters:
|
14467
|
-
- name: body
|
14468
|
-
value: "{\n \"data\": {\n \"attributes\": {\n \"email\": \"{{
|
14469
|
-
unique }}@datadoghq.com\",\n \"title\": \"user title\"\n },\n
|
14470
|
-
\ \"type\": \"users\"\n }\n}"
|
14471
|
-
step: there is a valid "user" in the system
|
14472
|
-
x-menu-order: 2
|
14473
|
-
x-undo:
|
14474
|
-
operationId: DisableUser
|
14475
|
-
parameters:
|
14476
|
-
- name: user_id
|
14477
|
-
source: data.id
|
14478
|
-
type: unsafe
|
14479
14165
|
/api/v2/users/{user_id}:
|
14480
14166
|
delete:
|
14481
14167
|
description: 'Disable a user. Can only be used with an application key belonging
|
@@ -14510,9 +14196,6 @@ paths:
|
|
14510
14196
|
tags:
|
14511
14197
|
- Users
|
14512
14198
|
x-codegen-request-body-name: body
|
14513
|
-
x-menu-order: 5
|
14514
|
-
x-undo:
|
14515
|
-
type: idempotent
|
14516
14199
|
get:
|
14517
14200
|
description: "Get a user in the organization specified by the user\u2019s `user_id`."
|
14518
14201
|
operationId: GetUser
|
@@ -14547,9 +14230,6 @@ paths:
|
|
14547
14230
|
tags:
|
14548
14231
|
- Users
|
14549
14232
|
x-codegen-request-body-name: body
|
14550
|
-
x-menu-order: 3
|
14551
|
-
x-undo:
|
14552
|
-
type: safe
|
14553
14233
|
patch:
|
14554
14234
|
description: 'Edit a user. Can only be used with an application key belonging
|
14555
14235
|
|
@@ -14605,9 +14285,6 @@ paths:
|
|
14605
14285
|
tags:
|
14606
14286
|
- Users
|
14607
14287
|
x-codegen-request-body-name: body
|
14608
|
-
x-menu-order: 4
|
14609
|
-
x-undo:
|
14610
|
-
type: idempotent
|
14611
14288
|
/api/v2/users/{user_id}/orgs:
|
14612
14289
|
get:
|
14613
14290
|
description: 'Get a user organization. Returns the user information and all
|
@@ -14646,9 +14323,6 @@ paths:
|
|
14646
14323
|
tags:
|
14647
14324
|
- Users
|
14648
14325
|
x-codegen-request-body-name: body
|
14649
|
-
x-menu-order: 6
|
14650
|
-
x-undo:
|
14651
|
-
type: safe
|
14652
14326
|
/api/v2/users/{user_id}/permissions:
|
14653
14327
|
get:
|
14654
14328
|
description: "Get a user permission set. Returns a list of the user\u2019s permissions\ngranted
|
@@ -14685,9 +14359,6 @@ paths:
|
|
14685
14359
|
tags:
|
14686
14360
|
- Users
|
14687
14361
|
x-codegen-request-body-name: body
|
14688
|
-
x-menu-order: 7
|
14689
|
-
x-undo:
|
14690
|
-
type: safe
|
14691
14362
|
security:
|
14692
14363
|
- apiKeyAuth: []
|
14693
14364
|
appKeyAuth: []
|