Skip to content

Commit b4ef2d7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ef7197fd of spec repo
1 parent 76b3aef commit b4ef2d7

21 files changed

+55
-57
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-03-06 21:28:39.406736",
8-
"spec_repo_commit": "d6a6faf6"
7+
"regenerated": "2025-03-10 16:48:39.217121",
8+
"spec_repo_commit": "ef7197fd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-06 21:28:39.424165",
13-
"spec_repo_commit": "d6a6faf6"
12+
"regenerated": "2025-03-10 16:48:39.233253",
13+
"spec_repo_commit": "ef7197fd"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ components:
684684
schema:
685685
type: string
686686
RumApplicationIDParameter:
687-
description: Application ID.
687+
description: RUM application ID.
688688
in: path
689689
name: app_id
690690
required: true
@@ -25579,13 +25579,12 @@ components:
2557925579
minimum: 0
2558025580
type: integer
2558125581
RumRetentionFilterSource:
25582-
description: The type of RUM events to filter on.
25582+
description: The source that defines the origin of the retention filter.
2558325583
enum:
2558425584
- ui
2558525585
- terraform
2558625586
- default
2558725587
- unknown
25588-
example: terraform
2558925588
type: string
2559025589
x-enum-varnames:
2559125590
- UI
@@ -25654,7 +25653,8 @@ components:
2565425653
description: 'The list of RUM retention filter IDs along with their corresponding
2565525654
type to reorder.
2565625655

25657-
All retention filter IDs should be included in the list created for an application.'
25656+
All retention filter IDs should be included in the list created for a RUM
25657+
application.'
2565825658
properties:
2565925659
data:
2566025660
description: A list of RUM retention filter IDs along with type.
@@ -25672,7 +25672,7 @@ components:
2567225672
type: array
2567325673
type: object
2567425674
RumRetentionFiltersResponse:
25675-
description: All RUM retention filters for an application.
25675+
description: All RUM retention filters for a RUM application.
2567625676
properties:
2567725677
data:
2567825678
description: A list of RUM retention filters.
@@ -46225,7 +46225,7 @@ paths:
4622546225
- rum_apps_write
4622646226
/api/v2/rum/applications/{app_id}/relationships/retention_filters:
4622746227
patch:
46228-
description: 'Order RUM retention filters for an application.
46228+
description: 'Order RUM retention filters for a RUM application.
4622946229

4623046230
Returns RUM retention filter objects without attributes and meta from the
4623146231
request body when the request is successful.'
@@ -46258,7 +46258,7 @@ paths:
4625846258
x-codegen-request-body-name: body
4625946259
/api/v2/rum/applications/{app_id}/retention_filters:
4626046260
get:
46261-
description: Get the list of RUM retention filters for an application.
46261+
description: Get the list of RUM retention filters for a RUM application.
4626246262
operationId: ListRetentionFilters
4626346263
parameters:
4626446264
- $ref: '#/components/parameters/RumApplicationIDParameter'
@@ -46277,7 +46277,7 @@ paths:
4627746277
tags:
4627846278
- Rum Retention Filters
4627946279
post:
46280-
description: 'Create a RUM retention filter for an application.
46280+
description: 'Create a RUM retention filter for a RUM application.
4628146281

4628246282
Returns RUM retention filter objects from the request body when the request
4628346283
is successful.'
@@ -46310,7 +46310,7 @@ paths:
4631046310
x-codegen-request-body-name: body
4631146311
/api/v2/rum/applications/{app_id}/retention_filters/{rf_id}:
4631246312
delete:
46313-
description: Delete a RUM retention filter for an application.
46313+
description: Delete a RUM retention filter for a RUM application.
4631446314
operationId: DeleteRetentionFilter
4631546315
parameters:
4631646316
- $ref: '#/components/parameters/RumApplicationIDParameter'
@@ -46328,7 +46328,7 @@ paths:
4632846328
tags:
4632946329
- Rum Retention Filters
4633046330
get:
46331-
description: Get a RUM retention filter for an application.
46331+
description: Get a RUM retention filter for a RUM application.
4633246332
operationId: GetRetentionFilter
4633346333
parameters:
4633446334
- $ref: '#/components/parameters/RumApplicationIDParameter'
@@ -46350,7 +46350,7 @@ paths:
4635046350
tags:
4635146351
- Rum Retention Filters
4635246352
patch:
46353-
description: 'Update a RUM retention filter for an application.
46353+
description: 'Update a RUM retention filter for a RUM application.
4635446354

4635546355
Returns RUM retention filter objects from the request body when the request
4635646356
is successful.'
@@ -53800,7 +53800,7 @@ tags:
5380053800
url: https://docs.datadoghq.com/real_user_monitoring/platform/generate_metrics/
5380153801
name: Rum Metrics
5380253802
- description: Manage retention filters through [Manage Applications](https://app.datadoghq.com/rum/list)
53803-
for your organization.
53803+
of RUM for your organization.
5380453804
name: Rum Retention Filters
5380553805
- description: Create and manage your security rules, signals, filters, and more.
5380653806
See the [Datadog Security page](https://docs.datadoghq.com/security/) for more
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-03-03T21:21:22.678Z
1+
2025-03-10T16:35:00.110Z

cassettes/features/v2/rum_retention_filters/Create-a-RUM-retention-filter-returns-Bad-Request-response.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-03-03T21:21:23.296Z
1+
2025-03-10T16:35:00.256Z

cassettes/features/v2/rum_retention_filters/Delete-a-RUM-retention-filter-returns-Not-Found-response.yml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-03-03T21:21:23.382Z
1+
2025-03-10T16:35:00.395Z

cassettes/features/v2/rum_retention_filters/Get-a-RUM-retention-filter-returns-Not-Found-response.yml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-03-03T21:21:23.865Z
1+
2025-03-10T16:35:00.532Z

cassettes/features/v2/rum_retention_filters/Order-RUM-retention-filters-returns-Bad-Request-response.yml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-03-05T20:23:29.589Z
1+
2025-03-10T16:35:00.716Z

cassettes/features/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Bad-Request-response.yml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-03-03T21:21:24.104Z
1+
2025-03-10T16:35:00.778Z

cassettes/features/v2/rum_retention_filters/Update-a-RUM-retention-filter-returns-Not-Found-response.yml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/v2/rum-retention-filters/CreateRetentionFilter.rb

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
sample_rate: 50,
1414
enabled: true,
1515
}),
16-
meta: DatadogAPIClient::V2::RumRetentionFilterMeta.new({
17-
source: DatadogAPIClient::V2::RumRetentionFilterSource::TERRAFORM,
18-
}),
1916
}),
2017
})
2118
p api_instance.create_retention_filter("a33671aa-24fd-4dcd-ba4b-5bbdbafe7690", body)

features/v2/rum_retention_filters.feature

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@endpoint(rum-retention-filters) @endpoint(rum-retention-filters-v2)
22
Feature: Rum Retention Filters
33
Manage retention filters through [Manage
4-
Applications](https://app.datadoghq.com/rum/list) for your organization.
4+
Applications](https://app.datadoghq.com/rum/list) of RUM for your
5+
organization.
56

67
Background:
78
Given a valid "apiKeyAuth" key in the system
@@ -20,7 +21,7 @@ Feature: Rum Retention Filters
2021
Scenario: Create a RUM retention filter returns "Created" response
2122
Given new "CreateRetentionFilter" request
2223
And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690"
23-
And body with value {"data":{"type":"retention_filters","attributes":{"name":"Test creating retention filter","event_type":"session","query":"custom_query","sample_rate":50,"enabled":true},"meta":{"source":"terraform"}}}
24+
And body with value {"data":{"type":"retention_filters","attributes":{"name":"Test creating retention filter","event_type":"session","query":"custom_query","sample_rate":50,"enabled":true}}}
2425
When the request is sent
2526
Then the response status is 201 Created
2627
And the response "data.type" is equal to "retention_filters"
@@ -29,7 +30,7 @@ Feature: Rum Retention Filters
2930
And the response "data.attributes.enabled" is equal to true
3031
And the response "data.attributes.query" is equal to "custom_query"
3132
And the response "data.attributes.sample_rate" is equal to 50
32-
And the response "data.meta.source" is equal to "terraform"
33+
And the response "data.meta.source" is equal to "unknown"
3334

3435
@replay-only @team:DataDog/rum-backend
3536
Scenario: Delete a RUM retention filter returns "No Content" response
@@ -69,7 +70,7 @@ Feature: Rum Retention Filters
6970
And the response "data.attributes.enabled" is equal to true
7071
And the response "data.attributes.query" is equal to "custom_query"
7172
And the response "data.attributes.sample_rate" is equal to 25
72-
And the response "data.meta.source" is equal to "terraform"
73+
And the response "data.meta.source" is equal to "unknown"
7374

7475
@replay-only @team:DataDog/rum-backend
7576
Scenario: Get all RUM retention filters returns "OK" response

lib/datadog_api_client/v2/api/rum_retention_filters_api.rb

+12-12
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ def create_retention_filter(app_id, body, opts = {})
3333

3434
# Create a RUM retention filter.
3535
#
36-
# Create a RUM retention filter for an application.
36+
# Create a RUM retention filter for a RUM application.
3737
# Returns RUM retention filter objects from the request body when the request is successful.
3838
#
39-
# @param app_id [String] Application ID.
39+
# @param app_id [String] RUM application ID.
4040
# @param body [RumRetentionFilterCreateRequest] The definition of the new RUM retention filter.
4141
# @param opts [Hash] the optional parameters
4242
# @return [Array<(RumRetentionFilterResponse, Integer, Hash)>] RumRetentionFilterResponse data, response status code and response headers
@@ -106,9 +106,9 @@ def delete_retention_filter(app_id, rf_id, opts = {})
106106

107107
# Delete a RUM retention filter.
108108
#
109-
# Delete a RUM retention filter for an application.
109+
# Delete a RUM retention filter for a RUM application.
110110
#
111-
# @param app_id [String] Application ID.
111+
# @param app_id [String] RUM application ID.
112112
# @param rf_id [String] Retention filter ID.
113113
# @param opts [Hash] the optional parameters
114114
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -176,9 +176,9 @@ def get_retention_filter(app_id, rf_id, opts = {})
176176

177177
# Get a RUM retention filter.
178178
#
179-
# Get a RUM retention filter for an application.
179+
# Get a RUM retention filter for a RUM application.
180180
#
181-
# @param app_id [String] Application ID.
181+
# @param app_id [String] RUM application ID.
182182
# @param rf_id [String] Retention filter ID.
183183
# @param opts [Hash] the optional parameters
184184
# @return [Array<(RumRetentionFilterResponse, Integer, Hash)>] RumRetentionFilterResponse data, response status code and response headers
@@ -246,9 +246,9 @@ def list_retention_filters(app_id, opts = {})
246246

247247
# Get all RUM retention filters.
248248
#
249-
# Get the list of RUM retention filters for an application.
249+
# Get the list of RUM retention filters for a RUM application.
250250
#
251-
# @param app_id [String] Application ID.
251+
# @param app_id [String] RUM application ID.
252252
# @param opts [Hash] the optional parameters
253253
# @return [Array<(RumRetentionFiltersResponse, Integer, Hash)>] RumRetentionFiltersResponse data, response status code and response headers
254254
def list_retention_filters_with_http_info(app_id, opts = {})
@@ -311,10 +311,10 @@ def order_retention_filters(app_id, body, opts = {})
311311

312312
# Order RUM retention filters.
313313
#
314-
# Order RUM retention filters for an application.
314+
# Order RUM retention filters for a RUM application.
315315
# Returns RUM retention filter objects without attributes and meta from the request body when the request is successful.
316316
#
317-
# @param app_id [String] Application ID.
317+
# @param app_id [String] RUM application ID.
318318
# @param body [RumRetentionFiltersOrderRequest] New definition of the RUM retention filter.
319319
# @param opts [Hash] the optional parameters
320320
# @return [Array<(RumRetentionFiltersOrderResponse, Integer, Hash)>] RumRetentionFiltersOrderResponse data, response status code and response headers
@@ -384,10 +384,10 @@ def update_retention_filter(app_id, rf_id, body, opts = {})
384384

385385
# Update a RUM retention filter.
386386
#
387-
# Update a RUM retention filter for an application.
387+
# Update a RUM retention filter for a RUM application.
388388
# Returns RUM retention filter objects from the request body when the request is successful.
389389
#
390-
# @param app_id [String] Application ID.
390+
# @param app_id [String] RUM application ID.
391391
# @param rf_id [String] Retention filter ID.
392392
# @param body [RumRetentionFilterUpdateRequest] New definition of the RUM retention filter.
393393
# @param opts [Hash] the optional parameters

lib/datadog_api_client/v2/models/rum_retention_filter_meta.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class RumRetentionFilterMeta
2222
include BaseGenericModel
2323

24-
# The type of RUM events to filter on.
24+
# The source that defines the origin of the retention filter.
2525
attr_accessor :source
2626

2727
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/rum_retention_filter_source.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The type of RUM events to filter on.
20+
# The source that defines the origin of the retention filter.
2121
class RumRetentionFilterSource
2222
include BaseEnumModel
2323

lib/datadog_api_client/v2/models/rum_retention_filters_order_request.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
module DatadogAPIClient::V2
2020
# The list of RUM retention filter IDs along with their corresponding type to reorder.
21-
# All retention filter IDs should be included in the list created for an application.
21+
# All retention filter IDs should be included in the list created for a RUM application.
2222
class RumRetentionFiltersOrderRequest
2323
include BaseGenericModel
2424

lib/datadog_api_client/v2/models/rum_retention_filters_response.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# All RUM retention filters for an application.
20+
# All RUM retention filters for a RUM application.
2121
class RumRetentionFiltersResponse
2222
include BaseGenericModel
2323

0 commit comments

Comments
 (0)