From 86698342a19e4c61607c497a81a50f421820f565 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 26 Nov 2026 14:15:52 +0000 Subject: [PATCH] Regenerate client from commit b638a7b of spec repo --- .../CreateExclusionFilter.java | 9 +- .../DeleteExclusionFilter.java | 6 +- .../GetExclusionFilter.java | 7 +- .../GetPermanentRetentionFilter.java | 5 +- .../ListExclusionFilters.java | 6 +- .../ListPermanentRetentionFilters.java | 5 +- .../UpdateExclusionFilter.java | 17 +- .../UpdatePermanentRetentionFilter.java | 11 +- .../com/datadog/api/client/v2/api/given.json | 16 + .../v2/api/rum_retention_filters.feature | 152 +- .../test-runner-data/manifest.json | 126 ++ ...n-filter-returns-bad-request-response.json | 53 + ...usion-filter-returns-created-response.json | 53 + ...r-returns-method-not-allowed-response.json | 51 + ...on-filter-returns-no-content-response.json | 51 + ...ion-filter-returns-not-found-response.json | 51 + ...ion-filter-returns-not-found-response.json | 51 + ...-retention-filter-returns-ok-response.json | 51 + ...ion-filter-returns-not-found-response.json | 51 + ...-exclusion-filter-returns-ok-response.json | 51 + ...retention-filters-returns-ok-response.json | 35 + ...exclusion-filters-returns-ok-response.json | 35 + ...n-filter-returns-bad-request-response.json | 70 + ...ion-filter-returns-not-found-response.json | 70 + ...ntion-filter-returns-updated-response.json | 70 + ...n-filter-returns-bad-request-response.json | 67 + ...sion-filter-returns-conflict-response.json | 67 + ...ion-filter-returns-not-found-response.json | 67 + ...usion-filter-returns-updated-response.json | 68 + .../v2/rum-retention-filters.json | 1241 +++++++++++++++-- 30 files changed, 2423 insertions(+), 190 deletions(-) create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-bad-request-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-created-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-method-not-allowed-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-no-content-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-not-found-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-not-found-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-ok-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-not-found-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-ok-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-permanent-rum-retention-filters-returns-ok-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-rum-exclusion-filters-returns-ok-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-bad-request-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-not-found-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-updated-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-bad-request-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-conflict-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-not-found-response.json create mode 100644 src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-updated-response.json diff --git a/examples/v2/rum-retention-filters/CreateExclusionFilter.java b/examples/v2/rum-retention-filters/CreateExclusionFilter.java index c6bb0852c4f..9918a3c68a4 100644 --- a/examples/v2/rum-retention-filters/CreateExclusionFilter.java +++ b/examples/v2/rum-retention-filters/CreateExclusionFilter.java @@ -20,16 +20,17 @@ public static void main(String[] args) { new RumExclusionFilterCreateRequest() .data( new RumExclusionFilterCreateData() + .type(RumExclusionFilterType.EXCLUSION_FILTERS) .attributes( new RumExclusionFilterCreateAttributes() + .name("Example-Rum-Retention-Filter") .enabled(true) .eventType(RumExclusionFilterEventType.ERROR) - .name("Exclude noisy browser extension errors") - .query("@error.message:*extension*")) - .type(RumExclusionFilterType.EXCLUSION_FILTERS)); + .query("@error.message:*extension*"))); try { - RumExclusionFilterResponse result = apiInstance.createExclusionFilter("app_id", body); + RumExclusionFilterResponse result = + apiInstance.createExclusionFilter("a33671aa-24fd-4dcd-ba4b-5bbdbafe7690", body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRetentionFiltersApi#createExclusionFilter"); diff --git a/examples/v2/rum-retention-filters/DeleteExclusionFilter.java b/examples/v2/rum-retention-filters/DeleteExclusionFilter.java index 7683973ebba..2932fcfa5fd 100644 --- a/examples/v2/rum-retention-filters/DeleteExclusionFilter.java +++ b/examples/v2/rum-retention-filters/DeleteExclusionFilter.java @@ -10,8 +10,12 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); + // there is a valid "rum_exclusion_filter" in the system + String RUM_EXCLUSION_FILTER_DATA_ID = System.getenv("RUM_EXCLUSION_FILTER_DATA_ID"); + try { - apiInstance.deleteExclusionFilter("app_id", "ef_id"); + apiInstance.deleteExclusionFilter( + "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690", RUM_EXCLUSION_FILTER_DATA_ID); } catch (ApiException e) { System.err.println("Exception when calling RumRetentionFiltersApi#deleteExclusionFilter"); System.err.println("Status code: " + e.getCode()); diff --git a/examples/v2/rum-retention-filters/GetExclusionFilter.java b/examples/v2/rum-retention-filters/GetExclusionFilter.java index 7bb00b7b074..72d5ee1b74f 100644 --- a/examples/v2/rum-retention-filters/GetExclusionFilter.java +++ b/examples/v2/rum-retention-filters/GetExclusionFilter.java @@ -11,8 +11,13 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); + // there is a valid "rum_exclusion_filter" in the system + String RUM_EXCLUSION_FILTER_DATA_ID = System.getenv("RUM_EXCLUSION_FILTER_DATA_ID"); + try { - RumExclusionFilterResponse result = apiInstance.getExclusionFilter("app_id", "ef_id"); + RumExclusionFilterResponse result = + apiInstance.getExclusionFilter( + "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690", RUM_EXCLUSION_FILTER_DATA_ID); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRetentionFiltersApi#getExclusionFilter"); diff --git a/examples/v2/rum-retention-filters/GetPermanentRetentionFilter.java b/examples/v2/rum-retention-filters/GetPermanentRetentionFilter.java index ce2bc6cff1f..117af00edab 100644 --- a/examples/v2/rum-retention-filters/GetPermanentRetentionFilter.java +++ b/examples/v2/rum-retention-filters/GetPermanentRetentionFilter.java @@ -12,10 +12,13 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); + // there is a valid "rum_application" in the system + String RUM_APPLICATION_DATA_ID = System.getenv("RUM_APPLICATION_DATA_ID"); + try { RumPermanentRetentionFilterResponse result = apiInstance.getPermanentRetentionFilter( - "app_id", RumPermanentRetentionFilterID.SYNTHETICS_SESSIONS); + RUM_APPLICATION_DATA_ID, RumPermanentRetentionFilterID.SYNTHETICS_SESSIONS); System.out.println(result); } catch (ApiException e) { System.err.println( diff --git a/examples/v2/rum-retention-filters/ListExclusionFilters.java b/examples/v2/rum-retention-filters/ListExclusionFilters.java index fed570ec37d..519e5bbe6c9 100644 --- a/examples/v2/rum-retention-filters/ListExclusionFilters.java +++ b/examples/v2/rum-retention-filters/ListExclusionFilters.java @@ -11,8 +11,12 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); + // there is a valid "rum_application" in the system + String RUM_APPLICATION_DATA_ID = System.getenv("RUM_APPLICATION_DATA_ID"); + try { - RumExclusionFiltersResponse result = apiInstance.listExclusionFilters("app_id"); + RumExclusionFiltersResponse result = + apiInstance.listExclusionFilters(RUM_APPLICATION_DATA_ID); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRetentionFiltersApi#listExclusionFilters"); diff --git a/examples/v2/rum-retention-filters/ListPermanentRetentionFilters.java b/examples/v2/rum-retention-filters/ListPermanentRetentionFilters.java index 6670e808eba..05bd0a35a95 100644 --- a/examples/v2/rum-retention-filters/ListPermanentRetentionFilters.java +++ b/examples/v2/rum-retention-filters/ListPermanentRetentionFilters.java @@ -11,9 +11,12 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); + // there is a valid "rum_application" in the system + String RUM_APPLICATION_DATA_ID = System.getenv("RUM_APPLICATION_DATA_ID"); + try { RumPermanentRetentionFiltersResponse result = - apiInstance.listPermanentRetentionFilters("app_id"); + apiInstance.listPermanentRetentionFilters(RUM_APPLICATION_DATA_ID); System.out.println(result); } catch (ApiException e) { System.err.println( diff --git a/examples/v2/rum-retention-filters/UpdateExclusionFilter.java b/examples/v2/rum-retention-filters/UpdateExclusionFilter.java index 3c21bfa3354..560e9b02c79 100644 --- a/examples/v2/rum-retention-filters/UpdateExclusionFilter.java +++ b/examples/v2/rum-retention-filters/UpdateExclusionFilter.java @@ -3,7 +3,6 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumExclusionFilterEventType; import com.datadog.api.client.v2.model.RumExclusionFilterResponse; import com.datadog.api.client.v2.model.RumExclusionFilterType; import com.datadog.api.client.v2.model.RumExclusionFilterUpdateAttributes; @@ -16,22 +15,24 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); + // there is a valid "rum_exclusion_filter" in the system + String RUM_EXCLUSION_FILTER_DATA_ID = System.getenv("RUM_EXCLUSION_FILTER_DATA_ID"); + RumExclusionFilterUpdateRequest body = new RumExclusionFilterUpdateRequest() .data( new RumExclusionFilterUpdateData() + .id(RUM_EXCLUSION_FILTER_DATA_ID) + .type(RumExclusionFilterType.EXCLUSION_FILTERS) .attributes( new RumExclusionFilterUpdateAttributes() - .enabled(true) - .eventType(RumExclusionFilterEventType.ERROR) - .name("Exclude noisy browser extension errors") - .query("@error.message:*extension*")) - .id("051601eb-54a0-abc0-03f9-cc02efa18892") - .type(RumExclusionFilterType.EXCLUSION_FILTERS)); + .enabled(false) + .name("Example-Rum-Retention-Filter-updated"))); try { RumExclusionFilterResponse result = - apiInstance.updateExclusionFilter("app_id", "ef_id", body); + apiInstance.updateExclusionFilter( + "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690", RUM_EXCLUSION_FILTER_DATA_ID, body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRetentionFiltersApi#updateExclusionFilter"); diff --git a/examples/v2/rum-retention-filters/UpdatePermanentRetentionFilter.java b/examples/v2/rum-retention-filters/UpdatePermanentRetentionFilter.java index 14d13433c8e..e7c79a82cd4 100644 --- a/examples/v2/rum-retention-filters/UpdatePermanentRetentionFilter.java +++ b/examples/v2/rum-retention-filters/UpdatePermanentRetentionFilter.java @@ -17,23 +17,26 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); + // there is a valid "rum_application" in the system + String RUM_APPLICATION_DATA_ID = System.getenv("RUM_APPLICATION_DATA_ID"); + RumPermanentRetentionFilterUpdateRequest body = new RumPermanentRetentionFilterUpdateRequest() .data( new RumPermanentRetentionFilterUpdateData() + .id(RumPermanentRetentionFilterID.SYNTHETICS_SESSIONS) + .type(RumPermanentRetentionFilterType.PERMANENT_RETENTION_FILTERS) .attributes( new RumPermanentRetentionFilterUpdateAttributes() .crossProductSampling( new RumCrossProductSamplingUpdate() .traceEnabled(true) - .traceSampleRate(25.0))) - .id(RumPermanentRetentionFilterID.SYNTHETICS_SESSIONS) - .type(RumPermanentRetentionFilterType.PERMANENT_RETENTION_FILTERS)); + .traceSampleRate(25.0)))); try { RumPermanentRetentionFilterResponse result = apiInstance.updatePermanentRetentionFilter( - "app_id", RumPermanentRetentionFilterID.SYNTHETICS_SESSIONS, body); + RUM_APPLICATION_DATA_ID, RumPermanentRetentionFilterID.SYNTHETICS_SESSIONS, body); System.out.println(result); } catch (ApiException e) { System.err.println( diff --git a/src/test/resources/com/datadog/api/client/v2/api/given.json b/src/test/resources/com/datadog/api/client/v2/api/given.json index bdc1607121f..c1aac732ffc 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/given.json +++ b/src/test/resources/com/datadog/api/client/v2/api/given.json @@ -1433,6 +1433,22 @@ "step": "there is a valid \"rum_application\" in the system", "tag": "RUM" }, + { + "key": "rum_exclusion_filter", + "operationId": "CreateExclusionFilter", + "parameters": [ + { + "name": "app_id", + "value": "\"a33671aa-24fd-4dcd-ba4b-5bbdbafe7690\"" + }, + { + "name": "body", + "value": "{\n \"data\": {\n \"type\": \"exclusion_filters\",\n \"attributes\": {\n \"name\": \"{{ unique }}\",\n \"enabled\": true,\n \"event_type\": \"error\",\n \"query\": \"@error.message:*extension*\"\n }\n }\n}" + } + ], + "step": "there is a valid \"rum_exclusion_filter\" in the system", + "tag": "Rum Retention Filters" + }, { "key": "rum_metric", "operationId": "CreateRumMetric", diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_retention_filters.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_retention_filters.feature index 89acd6e53af..50a7ae80aa5 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_retention_filters.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_retention_filters.feature @@ -9,21 +9,25 @@ Feature: Rum Retention Filters And a valid "appKeyAuth" key in the system And an instance of "RumRetentionFilters" API - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Create a RUM exclusion filter returns "Bad Request" response Given new "CreateExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"enabled": true, "event_type": "error", "name": "Exclude noisy browser extension errors", "query": "@error.message:*extension*"}, "type": "exclusion_filters"}} + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And body with value {"data": {"type": "invalid_type", "attributes": {"name": "{{ unique }}", "enabled": true, "event_type": "error", "query": "@error.message:*extension*"}}} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Create a RUM exclusion filter returns "Created" response Given new "CreateExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"enabled": true, "event_type": "error", "name": "Exclude noisy browser extension errors", "query": "@error.message:*extension*"}, "type": "exclusion_filters"}} + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And body with value {"data": {"type": "exclusion_filters", "attributes": {"name": "{{ unique }}", "enabled": true, "event_type": "error", "query": "@error.message:*extension*"}}} When the request is sent Then the response status is 201 Created + And the response "data.type" is equal to "exclusion_filters" + And the response "data.attributes.name" is equal to "{{ unique }}" + And the response "data.attributes.event_type" is equal to "error" + And the response "data.attributes.query" is equal to "@error.message:*extension*" @team:ddoghq/rum-backend Scenario: Create a RUM retention filter returns "Bad Request" response @@ -47,27 +51,28 @@ Feature: Rum Retention Filters And the response "data.attributes.query" is equal to "custom_query" And the response "data.attributes.sample_rate" is equal to 50 - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Delete a RUM exclusion filter returns "Method Not Allowed" response Given new "DeleteExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "ef_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "ef_id" parameter with value "error_tracking_exclusion_filter" When the request is sent Then the response status is 405 Method Not Allowed - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Delete a RUM exclusion filter returns "No Content" response - Given new "DeleteExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "ef_id" parameter from "REPLACE.ME" + Given there is a valid "rum_exclusion_filter" in the system + And new "DeleteExclusionFilter" request + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "ef_id" parameter from "rum_exclusion_filter.data.id" When the request is sent Then the response status is 204 No Content - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Delete a RUM exclusion filter returns "Not Found" response Given new "DeleteExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "ef_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "ef_id" parameter with value "00000000-0000-0000-0000-000000000000" When the request is sent Then the response status is 404 Not Found @@ -87,21 +92,24 @@ Feature: Rum Retention Filters When the request is sent Then the response status is 404 Not Found - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Get a RUM exclusion filter returns "Not Found" response Given new "GetExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "ef_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "ef_id" parameter with value "00000000-0000-0000-0000-000000000000" When the request is sent Then the response status is 404 Not Found - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Get a RUM exclusion filter returns "OK" response - Given new "GetExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "ef_id" parameter from "REPLACE.ME" + Given there is a valid "rum_exclusion_filter" in the system + And new "GetExclusionFilter" request + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "ef_id" parameter from "rum_exclusion_filter.data.id" When the request is sent Then the response status is 200 OK + And the response "data.id" is equal to "{{ rum_exclusion_filter.data.id }}" + And the response "data.attributes.name" is equal to "{{ rum_exclusion_filter.data.attributes.name }}" @team:ddoghq/rum-backend Scenario: Get a RUM retention filter returns "Not Found" response @@ -126,28 +134,33 @@ Feature: Rum Retention Filters And the response "data.attributes.query" is equal to "custom_query" And the response "data.attributes.sample_rate" is equal to 25 - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Get a permanent RUM retention filter returns "Not Found" response Given new "GetPermanentRetentionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "permanent_rf_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "permanent_rf_id" parameter with value "unknown_permanent_filter" When the request is sent Then the response status is 404 Not Found - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Get a permanent RUM retention filter returns "OK" response - Given new "GetPermanentRetentionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "permanent_rf_id" parameter from "REPLACE.ME" + Given there is a valid "rum_application" in the system + And new "GetPermanentRetentionFilter" request + And request contains "app_id" parameter from "rum_application.data.id" + And request contains "permanent_rf_id" parameter with value "synthetics_sessions" When the request is sent Then the response status is 200 OK + And the response "data.id" is equal to "synthetics_sessions" + And the response "data.type" is equal to "permanent_retention_filters" - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Get all RUM exclusion filters returns "OK" response - Given new "ListExclusionFilters" request - And request contains "app_id" parameter from "REPLACE.ME" + Given there is a valid "rum_application" in the system + And new "ListExclusionFilters" request + And request contains "app_id" parameter from "rum_application.data.id" When the request is sent Then the response status is 200 OK + And the response "data[0].id" is equal to "error_tracking_exclusion_filter" @replay-only @team:ddoghq/rum-backend Scenario: Get all RUM retention filters returns "OK" response @@ -157,10 +170,11 @@ Feature: Rum Retention Filters Then the response status is 200 OK And the response "data" has length 3 - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Get all permanent RUM retention filters returns "OK" response - Given new "ListPermanentRetentionFilters" request - And request contains "app_id" parameter from "REPLACE.ME" + Given there is a valid "rum_application" in the system + And new "ListPermanentRetentionFilters" request + And request contains "app_id" parameter from "rum_application.data.id" When the request is sent Then the response status is 200 OK @@ -183,41 +197,44 @@ Feature: Rum Retention Filters And the response "data[1].id" is equal to "42d89430-5b80-426e-a44b-ba3b417ece25" And the response "data[2].id" is equal to "bff0bc34-99e9-4c16-adce-f47e71948c23" - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Update a RUM exclusion filter returns "Bad Request" response Given new "UpdateExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "ef_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"enabled": true, "event_type": "error", "name": "Exclude noisy browser extension errors", "query": "@error.message:*extension*"}, "id": "051601eb-54a0-abc0-03f9-cc02efa18892", "type": "exclusion_filters"}} + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "ef_id" parameter with value "error_tracking_exclusion_filter" + And body with value {"data": {"id": "error_tracking_exclusion_filter", "type": "exclusion_filters", "attributes": {"name": "{{ unique }}"}}} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Update a RUM exclusion filter returns "Conflict" response Given new "UpdateExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "ef_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"enabled": true, "event_type": "error", "name": "Exclude noisy browser extension errors", "query": "@error.message:*extension*"}, "id": "051601eb-54a0-abc0-03f9-cc02efa18892", "type": "exclusion_filters"}} + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "ef_id" parameter with value "error_tracking_exclusion_filter" + And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "exclusion_filters", "attributes": {"enabled": true}}} When the request is sent Then the response status is 409 Conflict - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Update a RUM exclusion filter returns "Not Found" response Given new "UpdateExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "ef_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"enabled": true, "event_type": "error", "name": "Exclude noisy browser extension errors", "query": "@error.message:*extension*"}, "id": "051601eb-54a0-abc0-03f9-cc02efa18892", "type": "exclusion_filters"}} + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "ef_id" parameter with value "00000000-0000-0000-0000-000000000000" + And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "exclusion_filters", "attributes": {"enabled": false}}} When the request is sent Then the response status is 404 Not Found - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Update a RUM exclusion filter returns "Updated" response - Given new "UpdateExclusionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "ef_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"enabled": true, "event_type": "error", "name": "Exclude noisy browser extension errors", "query": "@error.message:*extension*"}, "id": "051601eb-54a0-abc0-03f9-cc02efa18892", "type": "exclusion_filters"}} + Given there is a valid "rum_exclusion_filter" in the system + And new "UpdateExclusionFilter" request + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "ef_id" parameter from "rum_exclusion_filter.data.id" + And body with value {"data": {"id": "{{ rum_exclusion_filter.data.id }}", "type": "exclusion_filters", "attributes": {"enabled": false, "name": "{{ unique }}-updated"}}} When the request is sent Then the response status is 200 Updated + And the response "data.attributes.enabled" is equal to false + And the response "data.attributes.name" is equal to "{{ unique }}-updated" @team:ddoghq/rum-backend Scenario: Update a RUM retention filter returns "Bad Request" response @@ -253,29 +270,32 @@ Feature: Rum Retention Filters And the response "data.attributes.query" is equal to "view_query" And the response "data.attributes.sample_rate" is equal to 100 - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Update a permanent RUM retention filter returns "Bad Request" response Given new "UpdatePermanentRetentionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "permanent_rf_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"cross_product_sampling": {"trace_enabled": true, "trace_sample_rate": 25.0}}, "id": "synthetics_sessions", "type": "permanent_retention_filters"}} + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "permanent_rf_id" parameter with value "rum_apm_flat_sampling" + And body with value {"data": {"id": "rum_apm_flat_sampling", "type": "permanent_retention_filters", "attributes": {"cross_product_sampling": {"trace_enabled": true, "trace_sample_rate": 25.0}}}} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Update a permanent RUM retention filter returns "Not Found" response Given new "UpdatePermanentRetentionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "permanent_rf_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"cross_product_sampling": {"trace_enabled": true, "trace_sample_rate": 25.0}}, "id": "synthetics_sessions", "type": "permanent_retention_filters"}} + And request contains "app_id" parameter with value "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + And request contains "permanent_rf_id" parameter with value "unknown_permanent_filter" + And body with value {"data": {"id": "unknown_permanent_filter", "type": "permanent_retention_filters", "attributes": {"cross_product_sampling": {"trace_enabled": true, "trace_sample_rate": 25.0}}}} When the request is sent Then the response status is 404 Not Found - @generated @skip @team:ddoghq/rum-backend + @team:ddoghq/rum-backend Scenario: Update a permanent RUM retention filter returns "Updated" response - Given new "UpdatePermanentRetentionFilter" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "permanent_rf_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"cross_product_sampling": {"trace_enabled": true, "trace_sample_rate": 25.0}}, "id": "synthetics_sessions", "type": "permanent_retention_filters"}} + Given there is a valid "rum_application" in the system + And new "UpdatePermanentRetentionFilter" request + And request contains "app_id" parameter from "rum_application.data.id" + And request contains "permanent_rf_id" parameter with value "synthetics_sessions" + And body with value {"data": {"id": "synthetics_sessions", "type": "permanent_retention_filters", "attributes": {"cross_product_sampling": {"trace_enabled": true, "trace_sample_rate": 25.0}}}} When the request is sent Then the response status is 200 Updated + And the response "data.id" is equal to "synthetics_sessions" + And the response "data.attributes.cross_product_sampling.trace_enabled" is equal to true diff --git a/src/test/resources/generated-test/test-runner-data/manifest.json b/src/test/resources/generated-test/test-runner-data/manifest.json index 2a7e931a3b2..1aefb31b80f 100644 --- a/src/test/resources/generated-test/test-runner-data/manifest.json +++ b/src/test/resources/generated-test/test-runner-data/manifest.json @@ -10766,6 +10766,20 @@ "scenario": "Update a RUM SDK configuration returns \"Forbidden\" response", "version": "v2" }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-bad-request-response.json", + "scenario": "Create a RUM exclusion filter returns \"Bad Request\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-created-response.json", + "scenario": "Create a RUM exclusion filter returns \"Created\" response", + "version": "v2" + }, { "feature": "Rum Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", @@ -10780,6 +10794,27 @@ "scenario": "Create a RUM retention filter returns \"Created\" response", "version": "v2" }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-method-not-allowed-response.json", + "scenario": "Delete a RUM exclusion filter returns \"Method Not Allowed\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-no-content-response.json", + "scenario": "Delete a RUM exclusion filter returns \"No Content\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-not-found-response.json", + "scenario": "Delete a RUM exclusion filter returns \"Not Found\" response", + "version": "v2" + }, { "feature": "Rum Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", @@ -10794,6 +10829,20 @@ "scenario": "Delete a RUM retention filter returns \"Not Found\" response", "version": "v2" }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-not-found-response.json", + "scenario": "Get a RUM exclusion filter returns \"Not Found\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-ok-response.json", + "scenario": "Get a RUM exclusion filter returns \"OK\" response", + "version": "v2" + }, { "feature": "Rum Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", @@ -10808,6 +10857,27 @@ "scenario": "Get a RUM retention filter returns \"OK\" response", "version": "v2" }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-not-found-response.json", + "scenario": "Get a permanent RUM retention filter returns \"Not Found\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-ok-response.json", + "scenario": "Get a permanent RUM retention filter returns \"OK\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/get-all-rum-exclusion-filters-returns-ok-response.json", + "scenario": "Get all RUM exclusion filters returns \"OK\" response", + "version": "v2" + }, { "feature": "Rum Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", @@ -10815,6 +10885,13 @@ "scenario": "Get all RUM retention filters returns \"OK\" response", "version": "v2" }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/get-all-permanent-rum-retention-filters-returns-ok-response.json", + "scenario": "Get all permanent RUM retention filters returns \"OK\" response", + "version": "v2" + }, { "feature": "Rum Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", @@ -10829,6 +10906,34 @@ "scenario": "Order RUM retention filters returns \"Ordered\" response", "version": "v2" }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-bad-request-response.json", + "scenario": "Update a RUM exclusion filter returns \"Bad Request\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-conflict-response.json", + "scenario": "Update a RUM exclusion filter returns \"Conflict\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-not-found-response.json", + "scenario": "Update a RUM exclusion filter returns \"Not Found\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-updated-response.json", + "scenario": "Update a RUM exclusion filter returns \"Updated\" response", + "version": "v2" + }, { "feature": "Rum Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", @@ -10850,6 +10955,27 @@ "scenario": "Update a RUM retention filter returns \"Updated\" response", "version": "v2" }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-bad-request-response.json", + "scenario": "Update a permanent RUM retention filter returns \"Bad Request\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-not-found-response.json", + "scenario": "Update a permanent RUM retention filter returns \"Not Found\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", + "file": "v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-updated-response.json", + "scenario": "Update a permanent RUM retention filter returns \"Updated\" response", + "version": "v2" + }, { "feature": "Scorecards", "feature_file": "../../com/datadog/api/client/v2/api/scorecards.feature", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-bad-request-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-bad-request-response.json new file mode 100644 index 00000000000..06e65ff0aaa --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-bad-request-response.json @@ -0,0 +1,53 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 400, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Create a RUM exclusion filter returns \"Bad Request\" response", + "operation_id": "CreateExclusionFilter", + "request": { + "body": { + "schema": { + "format": null, + "ref": "RumExclusionFilterCreateRequest", + "type": "object" + }, + "source": "inline", + "value": { + "data": { + "attributes": { + "enabled": true, + "event_type": "error", + "name": "{{ unique }}", + "query": "@error.message:*extension*" + }, + "type": "invalid_type" + } + } + }, + "content_type": "application/json", + "method": "POST", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion" + }, + "scenario": "Create a RUM exclusion filter returns \"Bad Request\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-created-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-created-response.json new file mode 100644 index 00000000000..931bb3622f0 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-exclusion-filter-returns-created-response.json @@ -0,0 +1,53 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 201, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Create a RUM exclusion filter returns \"Created\" response", + "operation_id": "CreateExclusionFilter", + "request": { + "body": { + "schema": { + "format": null, + "ref": "RumExclusionFilterCreateRequest", + "type": "object" + }, + "source": "inline", + "value": { + "data": { + "attributes": { + "enabled": true, + "event_type": "error", + "name": "{{ unique }}", + "query": "@error.message:*extension*" + }, + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "POST", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion" + }, + "scenario": "Create a RUM exclusion filter returns \"Created\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-method-not-allowed-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-method-not-allowed-response.json new file mode 100644 index 00000000000..6a289f28124 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-method-not-allowed-response.json @@ -0,0 +1,51 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 405, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Delete a RUM exclusion filter returns \"Method Not Allowed\" response", + "operation_id": "DeleteExclusionFilter", + "request": { + "body": null, + "content_type": null, + "method": "DELETE", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "ef_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "error_tracking_exclusion_filter" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion/{ef_id}" + }, + "scenario": "Delete a RUM exclusion filter returns \"Method Not Allowed\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-no-content-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-no-content-response.json new file mode 100644 index 00000000000..5077a13e47a --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-no-content-response.json @@ -0,0 +1,51 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 204, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Delete a RUM exclusion filter returns \"No Content\" response", + "operation_id": "DeleteExclusionFilter", + "request": { + "body": null, + "content_type": null, + "method": "DELETE", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "ef_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "path": "rum_exclusion_filter.data.id", + "type": "fixture" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion/{ef_id}" + }, + "scenario": "Delete a RUM exclusion filter returns \"No Content\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-not-found-response.json new file mode 100644 index 00000000000..928ebca7766 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-exclusion-filter-returns-not-found-response.json @@ -0,0 +1,51 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 404, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Delete a RUM exclusion filter returns \"Not Found\" response", + "operation_id": "DeleteExclusionFilter", + "request": { + "body": null, + "content_type": null, + "method": "DELETE", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "ef_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "00000000-0000-0000-0000-000000000000" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion/{ef_id}" + }, + "scenario": "Delete a RUM exclusion filter returns \"Not Found\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-not-found-response.json new file mode 100644 index 00000000000..481a360881a --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-not-found-response.json @@ -0,0 +1,51 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 404, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Get a permanent RUM retention filter returns \"Not Found\" response", + "operation_id": "GetPermanentRetentionFilter", + "request": { + "body": null, + "content_type": null, + "method": "GET", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "permanent_rf_id", + "required": true, + "schema": { + "format": null, + "ref": "RumPermanentRetentionFilterID", + "type": "string" + }, + "source": { + "type": "literal", + "value": "unknown_permanent_filter" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/permanent/{permanent_rf_id}" + }, + "scenario": "Get a permanent RUM retention filter returns \"Not Found\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-ok-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-ok-response.json new file mode 100644 index 00000000000..e9340742195 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-permanent-rum-retention-filter-returns-ok-response.json @@ -0,0 +1,51 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 200, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Get a permanent RUM retention filter returns \"OK\" response", + "operation_id": "GetPermanentRetentionFilter", + "request": { + "body": null, + "content_type": null, + "method": "GET", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "path": "rum_application.data.id", + "type": "fixture" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "permanent_rf_id", + "required": true, + "schema": { + "format": null, + "ref": "RumPermanentRetentionFilterID", + "type": "string" + }, + "source": { + "type": "literal", + "value": "synthetics_sessions" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/permanent/{permanent_rf_id}" + }, + "scenario": "Get a permanent RUM retention filter returns \"OK\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-not-found-response.json new file mode 100644 index 00000000000..e1256184008 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-not-found-response.json @@ -0,0 +1,51 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 404, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Get a RUM exclusion filter returns \"Not Found\" response", + "operation_id": "GetExclusionFilter", + "request": { + "body": null, + "content_type": null, + "method": "GET", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "ef_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "00000000-0000-0000-0000-000000000000" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion/{ef_id}" + }, + "scenario": "Get a RUM exclusion filter returns \"Not Found\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-ok-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-ok-response.json new file mode 100644 index 00000000000..9af7975b6af --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-exclusion-filter-returns-ok-response.json @@ -0,0 +1,51 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 200, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Get a RUM exclusion filter returns \"OK\" response", + "operation_id": "GetExclusionFilter", + "request": { + "body": null, + "content_type": null, + "method": "GET", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "ef_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "path": "rum_exclusion_filter.data.id", + "type": "fixture" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion/{ef_id}" + }, + "scenario": "Get a RUM exclusion filter returns \"OK\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-permanent-rum-retention-filters-returns-ok-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-permanent-rum-retention-filters-returns-ok-response.json new file mode 100644 index 00000000000..7fc329444c9 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-permanent-rum-retention-filters-returns-ok-response.json @@ -0,0 +1,35 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 200, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Get all permanent RUM retention filters returns \"OK\" response", + "operation_id": "ListPermanentRetentionFilters", + "request": { + "body": null, + "content_type": null, + "method": "GET", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "path": "rum_application.data.id", + "type": "fixture" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/permanent" + }, + "scenario": "Get all permanent RUM retention filters returns \"OK\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-rum-exclusion-filters-returns-ok-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-rum-exclusion-filters-returns-ok-response.json new file mode 100644 index 00000000000..7617cbbf44e --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-rum-exclusion-filters-returns-ok-response.json @@ -0,0 +1,35 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 200, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Get all RUM exclusion filters returns \"OK\" response", + "operation_id": "ListExclusionFilters", + "request": { + "body": null, + "content_type": null, + "method": "GET", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "path": "rum_application.data.id", + "type": "fixture" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion" + }, + "scenario": "Get all RUM exclusion filters returns \"OK\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-bad-request-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-bad-request-response.json new file mode 100644 index 00000000000..a011b7f2bf1 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-bad-request-response.json @@ -0,0 +1,70 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 400, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Update a permanent RUM retention filter returns \"Bad Request\" response", + "operation_id": "UpdatePermanentRetentionFilter", + "request": { + "body": { + "schema": { + "format": null, + "ref": "RumPermanentRetentionFilterUpdateRequest", + "type": "object" + }, + "source": "inline", + "value": { + "data": { + "attributes": { + "cross_product_sampling": { + "trace_enabled": true, + "trace_sample_rate": 25.0 + } + }, + "id": "rum_apm_flat_sampling", + "type": "permanent_retention_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "permanent_rf_id", + "required": true, + "schema": { + "format": null, + "ref": "RumPermanentRetentionFilterID", + "type": "string" + }, + "source": { + "type": "literal", + "value": "rum_apm_flat_sampling" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/permanent/{permanent_rf_id}" + }, + "scenario": "Update a permanent RUM retention filter returns \"Bad Request\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-not-found-response.json new file mode 100644 index 00000000000..9acd8aa7a32 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-not-found-response.json @@ -0,0 +1,70 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 404, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Update a permanent RUM retention filter returns \"Not Found\" response", + "operation_id": "UpdatePermanentRetentionFilter", + "request": { + "body": { + "schema": { + "format": null, + "ref": "RumPermanentRetentionFilterUpdateRequest", + "type": "object" + }, + "source": "inline", + "value": { + "data": { + "attributes": { + "cross_product_sampling": { + "trace_enabled": true, + "trace_sample_rate": 25.0 + } + }, + "id": "unknown_permanent_filter", + "type": "permanent_retention_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "permanent_rf_id", + "required": true, + "schema": { + "format": null, + "ref": "RumPermanentRetentionFilterID", + "type": "string" + }, + "source": { + "type": "literal", + "value": "unknown_permanent_filter" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/permanent/{permanent_rf_id}" + }, + "scenario": "Update a permanent RUM retention filter returns \"Not Found\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-updated-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-updated-response.json new file mode 100644 index 00000000000..2c84fe691ae --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-permanent-rum-retention-filter-returns-updated-response.json @@ -0,0 +1,70 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 200, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Update a permanent RUM retention filter returns \"Updated\" response", + "operation_id": "UpdatePermanentRetentionFilter", + "request": { + "body": { + "schema": { + "format": null, + "ref": "RumPermanentRetentionFilterUpdateRequest", + "type": "object" + }, + "source": "inline", + "value": { + "data": { + "attributes": { + "cross_product_sampling": { + "trace_enabled": true, + "trace_sample_rate": 25.0 + } + }, + "id": "synthetics_sessions", + "type": "permanent_retention_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "path": "rum_application.data.id", + "type": "fixture" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "permanent_rf_id", + "required": true, + "schema": { + "format": null, + "ref": "RumPermanentRetentionFilterID", + "type": "string" + }, + "source": { + "type": "literal", + "value": "synthetics_sessions" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/permanent/{permanent_rf_id}" + }, + "scenario": "Update a permanent RUM retention filter returns \"Updated\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-bad-request-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-bad-request-response.json new file mode 100644 index 00000000000..2e60a119357 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-bad-request-response.json @@ -0,0 +1,67 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 400, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Update a RUM exclusion filter returns \"Bad Request\" response", + "operation_id": "UpdateExclusionFilter", + "request": { + "body": { + "schema": { + "format": null, + "ref": "RumExclusionFilterUpdateRequest", + "type": "object" + }, + "source": "inline", + "value": { + "data": { + "attributes": { + "name": "{{ unique }}" + }, + "id": "error_tracking_exclusion_filter", + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "ef_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "error_tracking_exclusion_filter" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion/{ef_id}" + }, + "scenario": "Update a RUM exclusion filter returns \"Bad Request\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-conflict-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-conflict-response.json new file mode 100644 index 00000000000..0ea659477e6 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-conflict-response.json @@ -0,0 +1,67 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 409, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Update a RUM exclusion filter returns \"Conflict\" response", + "operation_id": "UpdateExclusionFilter", + "request": { + "body": { + "schema": { + "format": null, + "ref": "RumExclusionFilterUpdateRequest", + "type": "object" + }, + "source": "inline", + "value": { + "data": { + "attributes": { + "enabled": true + }, + "id": "00000000-0000-0000-0000-000000000000", + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "ef_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "error_tracking_exclusion_filter" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion/{ef_id}" + }, + "scenario": "Update a RUM exclusion filter returns \"Conflict\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-not-found-response.json new file mode 100644 index 00000000000..885925610a6 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-not-found-response.json @@ -0,0 +1,67 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 404, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Update a RUM exclusion filter returns \"Not Found\" response", + "operation_id": "UpdateExclusionFilter", + "request": { + "body": { + "schema": { + "format": null, + "ref": "RumExclusionFilterUpdateRequest", + "type": "object" + }, + "source": "inline", + "value": { + "data": { + "attributes": { + "enabled": false + }, + "id": "00000000-0000-0000-0000-000000000000", + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "ef_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "00000000-0000-0000-0000-000000000000" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion/{ef_id}" + }, + "scenario": "Update a RUM exclusion filter returns \"Not Found\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-updated-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-updated-response.json new file mode 100644 index 00000000000..bd44ea7f3b3 --- /dev/null +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-exclusion-filter-returns-updated-response.json @@ -0,0 +1,68 @@ +{ + "api": "RumRetentionFilters", + "expected_status": 200, + "feature": "Rum Retention Filters", + "id": "v2/Rum Retention Filters/Update a RUM exclusion filter returns \"Updated\" response", + "operation_id": "UpdateExclusionFilter", + "request": { + "body": { + "schema": { + "format": null, + "ref": "RumExclusionFilterUpdateRequest", + "type": "object" + }, + "source": "inline", + "value": { + "data": { + "attributes": { + "enabled": false, + "name": "{{ unique }}-updated" + }, + "id": "{{ rum_exclusion_filter.data.id }}", + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "app_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "type": "literal", + "value": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690" + }, + "style": null + }, + { + "explode": null, + "in": "path", + "name": "ef_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "path": "rum_exclusion_filter.data.id", + "type": "fixture" + }, + "style": null + } + ], + "path": "/api/v2/rum/applications/{app_id}/retention_filters/exclusion/{ef_id}" + }, + "scenario": "Update a RUM exclusion filter returns \"Updated\" response", + "schema_version": 1, + "version": "v2" +} diff --git a/src/test/resources/generated-test/test-server-data/v2/rum-retention-filters.json b/src/test/resources/generated-test/test-server-data/v2/rum-retention-filters.json index e18777446e9..5ee02923a95 100644 --- a/src/test/resources/generated-test/test-server-data/v2/rum-retention-filters.json +++ b/src/test/resources/generated-test/test-server-data/v2/rum-retention-filters.json @@ -1,6 +1,109 @@ { "feature": "Rum Retention Filters", "recordings": [ + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:39.137Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "enabled": true, + "event_type": "error", + "name": "Test-Create_a_RUM_exclusion_filter_returns_Bad_Request_response-1795696659", + "query": "@error.message:*extension*" + }, + "type": "invalid_type" + } + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"got type \\\"invalid_type\\\" expected one of \\\"exclusion_filters\\\"\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Bad Request", + "status": 400 + } + } + ], + "scenario": "Create a RUM exclusion filter returns \"Bad Request\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:41.089Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "enabled": true, + "event_type": "error", + "name": "Test-Create_a_RUM_exclusion_filter_returns_Created_response-1795696661", + "query": "@error.message:*extension*" + }, + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"685cb919-7a62-4f61-87b5-24e1850fb00f\",\"type\":\"exclusion_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"error\",\"name\":\"Test-Create_a_RUM_exclusion_filter_returns_Created_response-1795696661\",\"query\":\"@error.message:*extension*\"},\"meta\":{\"enabled_at\":1795696661293,\"updated_at\":1795696661293,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Created", + "status": 201 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/685cb919-7a62-4f61-87b5-24e1850fb00f", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "" + }, + "headers": {}, + "reason": "No Content", + "status": 204 + } + } + ], + "scenario": "Create a RUM exclusion filter returns \"Created\" response", + "version": "v2" + }, { "feature": "Rum Retention Filters", "frozen_at": "2025-03-03T21:21:22.678Z", @@ -108,7 +211,7 @@ }, { "feature": "Rum Retention Filters", - "frozen_at": "2025-03-05T20:03:40.119Z", + "frozen_at": "2026-11-26T12:37:41.596Z", "interactions": [ { "request": { @@ -118,27 +221,62 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/fe34ee09-14cf-4976-9362-08044c0dea80", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/error_tracking_exclusion_filter", "query": [] }, "response": { "body": { "encoding": "text", - "value": "" + "value": "{\"errors\":[{\"status\":\"405\",\"title\":\"Method Not Allowed\",\"detail\":\"the error tracking exclusion filter cannot be deleted; it is built-in and always present\"}]}" }, - "headers": {}, - "reason": "No Content", - "status": 204 + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Method Not Allowed", + "status": 405 } } ], - "scenario": "Delete a RUM retention filter returns \"No Content\" response", + "scenario": "Delete a RUM exclusion filter returns \"Method Not Allowed\" response", "version": "v2" }, { "feature": "Rum Retention Filters", - "frozen_at": "2025-03-03T21:21:23.296Z", + "frozen_at": "2026-11-26T12:37:41.832Z", "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "enabled": true, + "event_type": "error", + "name": "Test-Delete_a_RUM_exclusion_filter_returns_No_Content_response-1795696661", + "query": "@error.message:*extension*" + }, + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"7b70cc14-6df3-4b7e-8f54-c143e498a3d4\",\"type\":\"exclusion_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"error\",\"name\":\"Test-Delete_a_RUM_exclusion_filter_returns_No_Content_response-1795696661\",\"query\":\"@error.message:*extension*\"},\"meta\":{\"enabled_at\":1795696662021,\"updated_at\":1795696662021,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Created", + "status": 201 + } + }, { "request": { "body": { @@ -147,29 +285,19 @@ }, "content_type": "", "method": "DELETE", - "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Delete_a_RUM_retention_filter_returns_Not_Found_response-1741036883", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/7b70cc14-6df3-4b7e-8f54-c143e498a3d4", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"rpc error: code = NotFound desc = NotFound: This retention filter does not exist\"}]}" - }, - "headers": { - "content-type": "application/vnd.api+json" + "value": "" }, - "reason": "Not Found", - "status": 404 + "headers": {}, + "reason": "No Content", + "status": 204 } - } - ], - "scenario": "Delete a RUM retention filter returns \"Not Found\" response", - "version": "v2" - }, - { - "feature": "Rum Retention Filters", - "frozen_at": "2025-03-03T21:21:23.382Z", - "interactions": [ + }, { "request": { "body": { @@ -177,14 +305,14 @@ "value": null }, "content_type": "", - "method": "GET", - "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Get_a_RUM_retention_filter_returns_Not_Found_response-1741036883", + "method": "DELETE", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/7b70cc14-6df3-4b7e-8f54-c143e498a3d4", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"rpc error: code = NotFound desc = NotFound: This retention filter does not exist\"}]}" + "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"rpc error: code = NotFound desc = NotFound: This exclusion filter does not exist\"}]}" }, "headers": { "content-type": "application/vnd.api+json" @@ -194,12 +322,12 @@ } } ], - "scenario": "Get a RUM retention filter returns \"Not Found\" response", + "scenario": "Delete a RUM exclusion filter returns \"No Content\" response", "version": "v2" }, { "feature": "Rum Retention Filters", - "frozen_at": "2025-03-05T20:05:06.468Z", + "frozen_at": "2026-11-26T12:37:42.574Z", "interactions": [ { "request": { @@ -208,29 +336,29 @@ "value": null }, "content_type": "", - "method": "GET", - "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/4b95d361-f65d-4515-9824-c9aaeba5ac2a", + "method": "DELETE", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/00000000-0000-0000-0000-000000000000", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"data\":{\"id\":\"4b95d361-f65d-4515-9824-c9aaeba5ac2a\",\"type\":\"retention_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"session\",\"name\":\"Test retention filter for session\",\"query\":\"custom_query\",\"sample_rate\":25}}}" + "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"rpc error: code = NotFound desc = NotFound: This exclusion filter does not exist\"}]}" }, "headers": { "content-type": "application/vnd.api+json" }, - "reason": "OK", - "status": 200 + "reason": "Not Found", + "status": 404 } } ], - "scenario": "Get a RUM retention filter returns \"OK\" response", + "scenario": "Delete a RUM exclusion filter returns \"Not Found\" response", "version": "v2" }, { "feature": "Rum Retention Filters", - "frozen_at": "2025-03-03T21:21:23.741Z", + "frozen_at": "2025-03-05T20:03:40.119Z", "interactions": [ { "request": { @@ -239,113 +367,89 @@ "value": null }, "content_type": "", - "method": "GET", - "path": "/api/v2/rum/applications/1d4b9c34-7ac4-423a-91cf-9902d926e9b3/retention_filters", + "method": "DELETE", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/fe34ee09-14cf-4976-9362-08044c0dea80", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"data\":[{\"id\":\"325631eb-94c9-49c0-93f9-ab7e4fd24529\",\"type\":\"retention_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"session\",\"name\":\"Default session with replay\",\"query\":\"@session.has_replay:true\",\"sample_rate\":100}},{\"id\":\"42d89430-5b80-426e-a44b-ba3b417ece25\",\"type\":\"retention_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"session\",\"name\":\"Session filter\",\"query\":\"\",\"sample_rate\":25}},{\"id\":\"bff0bc34-99e9-4c16-adce-f47e71948c23\",\"type\":\"retention_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"view\",\"name\":\"Custom filter\",\"query\":\"noquery\",\"sample_rate\":50}}]}" - }, - "headers": { - "content-type": "application/vnd.api+json" + "value": "" }, - "reason": "OK", - "status": 200 + "headers": {}, + "reason": "No Content", + "status": 204 } } ], - "scenario": "Get all RUM retention filters returns \"OK\" response", + "scenario": "Delete a RUM retention filter returns \"No Content\" response", "version": "v2" }, { "feature": "Rum Retention Filters", - "frozen_at": "2025-03-03T21:21:23.865Z", + "frozen_at": "2025-03-03T21:21:23.296Z", "interactions": [ { "request": { "body": { - "type": "json", - "value": { - "data": [ - { - "id": "325631eb-94c9-49c0-93f9-ab7e4fd24529", - "type": "retention_filters" - } - ] - } + "type": "empty", + "value": null }, - "content_type": "application/json", - "method": "PATCH", - "path": "/api/v2/rum/applications/1d4b9c34-7ac4-423a-91cf-9902d926e9b3/relationships/retention_filters", + "content_type": "", + "method": "DELETE", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Delete_a_RUM_retention_filter_returns_Not_Found_response-1741036883", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\"}]}" + "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"rpc error: code = NotFound desc = NotFound: This retention filter does not exist\"}]}" }, "headers": { "content-type": "application/vnd.api+json" }, - "reason": "Bad Request", - "status": 400 + "reason": "Not Found", + "status": 404 } } ], - "scenario": "Order RUM retention filters returns \"Bad Request\" response", + "scenario": "Delete a RUM retention filter returns \"Not Found\" response", "version": "v2" }, { "feature": "Rum Retention Filters", - "frozen_at": "2025-03-03T21:21:23.931Z", + "frozen_at": "2026-11-26T12:37:42.850Z", "interactions": [ { "request": { "body": { - "type": "json", - "value": { - "data": [ - { - "id": "325631eb-94c9-49c0-93f9-ab7e4fd24529", - "type": "retention_filters" - }, - { - "id": "42d89430-5b80-426e-a44b-ba3b417ece25", - "type": "retention_filters" - }, - { - "id": "bff0bc34-99e9-4c16-adce-f47e71948c23", - "type": "retention_filters" - } - ] - } + "type": "empty", + "value": null }, - "content_type": "application/json", - "method": "PATCH", - "path": "/api/v2/rum/applications/1d4b9c34-7ac4-423a-91cf-9902d926e9b3/relationships/retention_filters", + "content_type": "", + "method": "GET", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/00000000-0000-0000-0000-000000000000", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"data\":[{\"id\":\"325631eb-94c9-49c0-93f9-ab7e4fd24529\",\"type\":\"retention_filters\"},{\"id\":\"42d89430-5b80-426e-a44b-ba3b417ece25\",\"type\":\"retention_filters\"},{\"id\":\"bff0bc34-99e9-4c16-adce-f47e71948c23\",\"type\":\"retention_filters\"}]}" + "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"rpc error: code = NotFound desc = NotFound: This exclusion filter does not exist\"}]}" }, "headers": { "content-type": "application/vnd.api+json" }, - "reason": "OK", - "status": 200 + "reason": "Not Found", + "status": 404 } } ], - "scenario": "Order RUM retention filters returns \"Ordered\" response", + "scenario": "Get a RUM exclusion filter returns \"Not Found\" response", "version": "v2" }, { "feature": "Rum Retention Filters", - "frozen_at": "2025-03-05T20:23:29.589Z", + "frozen_at": "2026-11-26T12:37:43.083Z", "interactions": [ { "request": { @@ -355,36 +459,789 @@ "data": { "attributes": { "enabled": true, - "event_type": "view", - "name": "Test updating retention filter", - "query": "", - "sample_rate": 100 + "event_type": "error", + "name": "Test-Get_a_RUM_exclusion_filter_returns_OK_response-1795696663", + "query": "@error.message:*extension*" }, - "id": "Test-Update_a_RUM_retention_filter_returns_Bad_Request_response-1741206209", - "type": "invalid_type" + "type": "exclusion_filters" } } }, "content_type": "application/json", - "method": "PATCH", - "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Update_a_RUM_retention_filter_returns_Bad_Request_response-1741206209", + "method": "POST", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion", "query": [] }, "response": { "body": { "encoding": "text", - "value": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"got type \\\"invalid_type\\\" expected one of \\\"retention_filters\\\"\"}]}" + "value": "{\"data\":{\"id\":\"8c330187-f5e7-4d02-942f-558402b31d21\",\"type\":\"exclusion_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"error\",\"name\":\"Test-Get_a_RUM_exclusion_filter_returns_OK_response-1795696663\",\"query\":\"@error.message:*extension*\"},\"meta\":{\"enabled_at\":1795696663285,\"updated_at\":1795696663285,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" }, "headers": { "content-type": "application/vnd.api+json" }, - "reason": "Bad Request", - "status": 400 + "reason": "Created", + "status": 201 } - } - ], - "scenario": "Update a RUM retention filter returns \"Bad Request\" response", - "version": "v2" + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/8c330187-f5e7-4d02-942f-558402b31d21", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"8c330187-f5e7-4d02-942f-558402b31d21\",\"type\":\"exclusion_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"error\",\"name\":\"Test-Get_a_RUM_exclusion_filter_returns_OK_response-1795696663\",\"query\":\"@error.message:*extension*\"},\"meta\":{\"enabled_at\":1795696663285,\"updated_at\":1795696663285,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/8c330187-f5e7-4d02-942f-558402b31d21", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "" + }, + "headers": {}, + "reason": "No Content", + "status": 204 + } + } + ], + "scenario": "Get a RUM exclusion filter returns \"OK\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2025-03-03T21:21:23.382Z", + "interactions": [ + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Get_a_RUM_retention_filter_returns_Not_Found_response-1741036883", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"rpc error: code = NotFound desc = NotFound: This retention filter does not exist\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Not Found", + "status": 404 + } + } + ], + "scenario": "Get a RUM retention filter returns \"Not Found\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2025-03-05T20:05:06.468Z", + "interactions": [ + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/4b95d361-f65d-4515-9824-c9aaeba5ac2a", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"4b95d361-f65d-4515-9824-c9aaeba5ac2a\",\"type\":\"retention_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"session\",\"name\":\"Test retention filter for session\",\"query\":\"custom_query\",\"sample_rate\":25}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "OK", + "status": 200 + } + } + ], + "scenario": "Get a RUM retention filter returns \"OK\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:43.827Z", + "interactions": [ + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/permanent/unknown_permanent_filter", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"unknown permanent retention filter ID: unknown_permanent_filter\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Not Found", + "status": 404 + } + } + ], + "scenario": "Get a permanent RUM retention filter returns \"Not Found\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:44.063Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "name": "test-rum-dd9e2d43960701bf", + "type": "ios" + }, + "type": "rum_application_create" + } + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v2/rum/applications", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"1ab57f03-36dc-4990-890b-2257141a79d1\",\"type\":\"rum_application\",\"attributes\":{\"api_key_id\":2400374,\"apm_rum_flat_sampling_replay_enabled\":true,\"apm_rum_flat_sampling_replay_sample_rate\":1,\"application_id\":\"1ab57f03-36dc-4990-890b-2257141a79d1\",\"client_token\":\"pub0c22fd17b536e29fc3f0c8fea07c5ecd\",\"created_at\":1795696664438,\"created_by_handle\":\"cedric.vanrompay@datadoghq.com\",\"error_tracking_exclusion_filter_enabled\":false,\"external_feeds\":[],\"is_active\":false,\"name\":\"test-rum-dd9e2d43960701bf\",\"ootb_metrics_installed\":false,\"org_id\":321813,\"product_analytics_replay_sample_rate\":100,\"product_scales\":{\"rum_event_processing_scale\":{\"state\":\"ALL\",\"last_modified_at\":1795696664438},\"product_analytics_retention_scale\":{\"state\":\"NONE\",\"last_modified_at\":1795696664438}},\"short_name\":\"test_rum_dd9e2d43960701bf\",\"tags\":[],\"type\":\"ios\",\"updated_at\":1795696664438,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Created", + "status": 201 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v2/rum/applications/1ab57f03-36dc-4990-890b-2257141a79d1/retention_filters/permanent/synthetics_sessions", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"synthetics_sessions\",\"type\":\"permanent_retention_filters\",\"attributes\":{\"cross_product_sampling\":{\"trace_sample_rate\":100,\"trace_enabled\":false},\"description\":\"All sessions generated by Synthetics are retained at 100%.\",\"editability\":{\"trace_editable\":true},\"name\":\"Synthetics Sessions\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v2/rum/applications/1ab57f03-36dc-4990-890b-2257141a79d1", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "" + }, + "headers": {}, + "reason": "No Content", + "status": 204 + } + } + ], + "scenario": "Get a permanent RUM retention filter returns \"OK\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:45.176Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "name": "test-rum-c8340caf8a50ac1a", + "type": "ios" + }, + "type": "rum_application_create" + } + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v2/rum/applications", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"93086629-2753-4017-8a4c-3de6a50854ce\",\"type\":\"rum_application\",\"attributes\":{\"api_key_id\":2400375,\"apm_rum_flat_sampling_replay_enabled\":true,\"apm_rum_flat_sampling_replay_sample_rate\":1,\"application_id\":\"93086629-2753-4017-8a4c-3de6a50854ce\",\"client_token\":\"pube9932496949276dca297a77fea9ea8c7\",\"created_at\":1795696665558,\"created_by_handle\":\"cedric.vanrompay@datadoghq.com\",\"error_tracking_exclusion_filter_enabled\":false,\"external_feeds\":[],\"is_active\":false,\"name\":\"test-rum-c8340caf8a50ac1a\",\"ootb_metrics_installed\":false,\"org_id\":321813,\"product_analytics_replay_sample_rate\":100,\"product_scales\":{\"rum_event_processing_scale\":{\"state\":\"ALL\",\"last_modified_at\":1795696665558},\"product_analytics_retention_scale\":{\"state\":\"NONE\",\"last_modified_at\":1795696665558}},\"short_name\":\"test_rum_c8340caf8a50ac1a\",\"tags\":[],\"type\":\"ios\",\"updated_at\":1795696665558,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Created", + "status": 201 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v2/rum/applications/93086629-2753-4017-8a4c-3de6a50854ce/retention_filters/exclusion", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":[{\"id\":\"error_tracking_exclusion_filter\",\"type\":\"exclusion_filters\",\"attributes\":{\"enabled\":false,\"name\":\"Ignored / Excluded errors from Error Tracking\"}}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v2/rum/applications/93086629-2753-4017-8a4c-3de6a50854ce", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "" + }, + "headers": {}, + "reason": "No Content", + "status": 204 + } + } + ], + "scenario": "Get all RUM exclusion filters returns \"OK\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2025-03-03T21:21:23.741Z", + "interactions": [ + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v2/rum/applications/1d4b9c34-7ac4-423a-91cf-9902d926e9b3/retention_filters", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":[{\"id\":\"325631eb-94c9-49c0-93f9-ab7e4fd24529\",\"type\":\"retention_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"session\",\"name\":\"Default session with replay\",\"query\":\"@session.has_replay:true\",\"sample_rate\":100}},{\"id\":\"42d89430-5b80-426e-a44b-ba3b417ece25\",\"type\":\"retention_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"session\",\"name\":\"Session filter\",\"query\":\"\",\"sample_rate\":25}},{\"id\":\"bff0bc34-99e9-4c16-adce-f47e71948c23\",\"type\":\"retention_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"view\",\"name\":\"Custom filter\",\"query\":\"noquery\",\"sample_rate\":50}}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "OK", + "status": 200 + } + } + ], + "scenario": "Get all RUM retention filters returns \"OK\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:46.347Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "name": "test-rum-9b246be8c16ac10d", + "type": "ios" + }, + "type": "rum_application_create" + } + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v2/rum/applications", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"0cf88e36-f657-4cf9-8f14-73319b98b1bb\",\"type\":\"rum_application\",\"attributes\":{\"api_key_id\":2400376,\"apm_rum_flat_sampling_replay_enabled\":true,\"apm_rum_flat_sampling_replay_sample_rate\":1,\"application_id\":\"0cf88e36-f657-4cf9-8f14-73319b98b1bb\",\"client_token\":\"pub83e124de36e7a77eaacad29029291a90\",\"created_at\":1795696666738,\"created_by_handle\":\"cedric.vanrompay@datadoghq.com\",\"error_tracking_exclusion_filter_enabled\":false,\"external_feeds\":[],\"is_active\":false,\"name\":\"test-rum-9b246be8c16ac10d\",\"ootb_metrics_installed\":false,\"org_id\":321813,\"product_analytics_replay_sample_rate\":100,\"product_scales\":{\"rum_event_processing_scale\":{\"state\":\"ALL\",\"last_modified_at\":1795696666738},\"product_analytics_retention_scale\":{\"state\":\"NONE\",\"last_modified_at\":1795696666738}},\"short_name\":\"test_rum_9b246be8c16ac10d\",\"tags\":[],\"type\":\"ios\",\"updated_at\":1795696666738,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Created", + "status": 201 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v2/rum/applications/0cf88e36-f657-4cf9-8f14-73319b98b1bb/retention_filters/permanent", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":[{\"id\":\"synthetics_sessions\",\"type\":\"permanent_retention_filters\",\"attributes\":{\"cross_product_sampling\":{\"trace_sample_rate\":100,\"trace_enabled\":false},\"description\":\"All sessions generated by Synthetics are retained at 100%.\",\"editability\":{\"trace_editable\":true},\"name\":\"Synthetics Sessions\"}},{\"id\":\"forced_replay_sessions\",\"type\":\"permanent_retention_filters\",\"attributes\":{\"cross_product_sampling\":{\"trace_sample_rate\":100,\"trace_enabled\":false},\"description\":\"All sessions with a forced replay are retained at 100%.\",\"editability\":{\"trace_editable\":true},\"name\":\"Sessions with forced replays\"}},{\"id\":\"rum_apm_flat_sampling\",\"type\":\"permanent_retention_filters\",\"attributes\":{\"cross_product_sampling\":{\"trace_sample_rate\":100,\"trace_enabled\":true},\"description\":\"Configures APM trace sampling for RUM sessions using flat sampling.\",\"editability\":{\"trace_editable\":false},\"name\":\"RUM APM Flat Sampling\"}}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v2/rum/applications/0cf88e36-f657-4cf9-8f14-73319b98b1bb", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "" + }, + "headers": {}, + "reason": "No Content", + "status": 204 + } + } + ], + "scenario": "Get all permanent RUM retention filters returns \"OK\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2025-03-03T21:21:23.865Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": [ + { + "id": "325631eb-94c9-49c0-93f9-ab7e4fd24529", + "type": "retention_filters" + } + ] + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/1d4b9c34-7ac4-423a-91cf-9902d926e9b3/relationships/retention_filters", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Bad Request", + "status": 400 + } + } + ], + "scenario": "Order RUM retention filters returns \"Bad Request\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2025-03-03T21:21:23.931Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": [ + { + "id": "325631eb-94c9-49c0-93f9-ab7e4fd24529", + "type": "retention_filters" + }, + { + "id": "42d89430-5b80-426e-a44b-ba3b417ece25", + "type": "retention_filters" + }, + { + "id": "bff0bc34-99e9-4c16-adce-f47e71948c23", + "type": "retention_filters" + } + ] + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/1d4b9c34-7ac4-423a-91cf-9902d926e9b3/relationships/retention_filters", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":[{\"id\":\"325631eb-94c9-49c0-93f9-ab7e4fd24529\",\"type\":\"retention_filters\"},{\"id\":\"42d89430-5b80-426e-a44b-ba3b417ece25\",\"type\":\"retention_filters\"},{\"id\":\"bff0bc34-99e9-4c16-adce-f47e71948c23\",\"type\":\"retention_filters\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "OK", + "status": 200 + } + } + ], + "scenario": "Order RUM retention filters returns \"Ordered\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:47.491Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "name": "Test-Update_a_RUM_exclusion_filter_returns_Bad_Request_response-1795696667" + }, + "id": "error_tracking_exclusion_filter", + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/error_tracking_exclusion_filter", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"only 'enabled' can be updated on the error tracking exclusion filter\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Bad Request", + "status": 400 + } + } + ], + "scenario": "Update a RUM exclusion filter returns \"Bad Request\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:47.727Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "enabled": true + }, + "id": "00000000-0000-0000-0000-000000000000", + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/error_tracking_exclusion_filter", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"409\",\"title\":\"Conflict\",\"detail\":\"ID provided in the payload does not match the url parameter\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Conflict", + "status": 409 + } + } + ], + "scenario": "Update a RUM exclusion filter returns \"Conflict\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:47.970Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "enabled": false + }, + "id": "00000000-0000-0000-0000-000000000000", + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/00000000-0000-0000-0000-000000000000", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"rpc error: code = NotFound desc = NotFound: This exclusion filter does not exist\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Not Found", + "status": 404 + } + } + ], + "scenario": "Update a RUM exclusion filter returns \"Not Found\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:48.205Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "enabled": true, + "event_type": "error", + "name": "Test-Update_a_RUM_exclusion_filter_returns_Updated_response-1795696668", + "query": "@error.message:*extension*" + }, + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"f30c05db-7840-40b2-b237-4a7e872cfca9\",\"type\":\"exclusion_filters\",\"attributes\":{\"enabled\":true,\"event_type\":\"error\",\"name\":\"Test-Update_a_RUM_exclusion_filter_returns_Updated_response-1795696668\",\"query\":\"@error.message:*extension*\"},\"meta\":{\"enabled_at\":1795696668397,\"updated_at\":1795696668397,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Created", + "status": 201 + } + }, + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "enabled": false, + "name": "Test-Update_a_RUM_exclusion_filter_returns_Updated_response-1795696668-updated" + }, + "id": "f30c05db-7840-40b2-b237-4a7e872cfca9", + "type": "exclusion_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/f30c05db-7840-40b2-b237-4a7e872cfca9", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"f30c05db-7840-40b2-b237-4a7e872cfca9\",\"type\":\"exclusion_filters\",\"attributes\":{\"enabled\":false,\"event_type\":\"error\",\"name\":\"Test-Update_a_RUM_exclusion_filter_returns_Updated_response-1795696668-updated\",\"query\":\"@error.message:*extension*\"},\"meta\":{\"enabled_at\":1795696668397,\"updated_at\":1795696668651,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/exclusion/f30c05db-7840-40b2-b237-4a7e872cfca9", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "" + }, + "headers": {}, + "reason": "No Content", + "status": 204 + } + } + ], + "scenario": "Update a RUM exclusion filter returns \"Updated\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2025-03-05T20:23:29.589Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "enabled": true, + "event_type": "view", + "name": "Test updating retention filter", + "query": "", + "sample_rate": 100 + }, + "id": "Test-Update_a_RUM_retention_filter_returns_Bad_Request_response-1741206209", + "type": "invalid_type" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/Test-Update_a_RUM_retention_filter_returns_Bad_Request_response-1741206209", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"got type \\\"invalid_type\\\" expected one of \\\"retention_filters\\\"\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Bad Request", + "status": 400 + } + } + ], + "scenario": "Update a RUM retention filter returns \"Bad Request\" response", + "version": "v2" }, { "feature": "Rum Retention Filters", @@ -471,6 +1328,184 @@ ], "scenario": "Update a RUM retention filter returns \"Updated\" response", "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:48.959Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "cross_product_sampling": { + "trace_enabled": true, + "trace_sample_rate": 25 + } + }, + "id": "rum_apm_flat_sampling", + "type": "permanent_retention_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/permanent/rum_apm_flat_sampling", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"trace fields are not editable for the rum_apm_flat_sampling filter\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Bad Request", + "status": 400 + } + } + ], + "scenario": "Update a permanent RUM retention filter returns \"Bad Request\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:49.221Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "cross_product_sampling": { + "trace_enabled": true, + "trace_sample_rate": 25 + } + }, + "id": "unknown_permanent_filter", + "type": "permanent_retention_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/a33671aa-24fd-4dcd-ba4b-5bbdbafe7690/retention_filters/permanent/unknown_permanent_filter", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"unknown permanent retention filter ID: unknown_permanent_filter\"}]}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Not Found", + "status": 404 + } + } + ], + "scenario": "Update a permanent RUM retention filter returns \"Not Found\" response", + "version": "v2" + }, + { + "feature": "Rum Retention Filters", + "frozen_at": "2026-11-26T12:37:49.543Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "name": "test-rum-8150bd5dd82a52b4", + "type": "ios" + }, + "type": "rum_application_create" + } + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v2/rum/applications", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"26b389be-fe38-40f4-ac66-3c42a1766419\",\"type\":\"rum_application\",\"attributes\":{\"api_key_id\":2400377,\"apm_rum_flat_sampling_replay_enabled\":true,\"apm_rum_flat_sampling_replay_sample_rate\":1,\"application_id\":\"26b389be-fe38-40f4-ac66-3c42a1766419\",\"client_token\":\"pub78c6ac957b8979185a92f67e210b4c47\",\"created_at\":1795696670099,\"created_by_handle\":\"cedric.vanrompay@datadoghq.com\",\"error_tracking_exclusion_filter_enabled\":false,\"external_feeds\":[],\"is_active\":false,\"name\":\"test-rum-8150bd5dd82a52b4\",\"ootb_metrics_installed\":false,\"org_id\":321813,\"product_analytics_replay_sample_rate\":100,\"product_scales\":{\"rum_event_processing_scale\":{\"state\":\"ALL\",\"last_modified_at\":1795696670099},\"product_analytics_retention_scale\":{\"state\":\"NONE\",\"last_modified_at\":1795696670099}},\"short_name\":\"test_rum_8150bd5dd82a52b4\",\"tags\":[],\"type\":\"ios\",\"updated_at\":1795696670099,\"updated_by_handle\":\"cedric.vanrompay@datadoghq.com\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "Created", + "status": 201 + } + }, + { + "request": { + "body": { + "type": "json", + "value": { + "data": { + "attributes": { + "cross_product_sampling": { + "trace_enabled": true, + "trace_sample_rate": 25 + } + }, + "id": "synthetics_sessions", + "type": "permanent_retention_filters" + } + } + }, + "content_type": "application/json", + "method": "PATCH", + "path": "/api/v2/rum/applications/26b389be-fe38-40f4-ac66-3c42a1766419/retention_filters/permanent/synthetics_sessions", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"data\":{\"id\":\"synthetics_sessions\",\"type\":\"permanent_retention_filters\",\"attributes\":{\"cross_product_sampling\":{\"trace_sample_rate\":25,\"trace_enabled\":true},\"description\":\"All sessions generated by Synthetics are retained at 100%.\",\"editability\":{\"trace_editable\":true},\"name\":\"Synthetics Sessions\"}}}" + }, + "headers": { + "content-type": "application/vnd.api+json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v2/rum/applications/26b389be-fe38-40f4-ac66-3c42a1766419", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "" + }, + "headers": {}, + "reason": "No Content", + "status": 204 + } + } + ], + "scenario": "Update a permanent RUM retention filter returns \"Updated\" response", + "version": "v2" } ], "schema_version": 1,