From 3604eb1ac92eadb70db7124756866b3ccfeed053 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 10 Sep 2026 05:44:16 +0000 Subject: [PATCH] Regenerate client from commit 3b5f1c0 of spec repo --- .generator/schemas/v1/openapi.yaml | 9 +- .generator/schemas/v2/openapi.yaml | 7 +- .../v1/dashboards/GetDashboard_3568243180.py | 19 ++ .../GetDashboardListItems_2618168713.py | 19 ++ src/datadog_api_client/v1/model/dashboard.py | 4 +- .../v1/model/dataset_list_query.py | 2 +- .../v2/model/dashboard_list_item.py | 4 +- .../test-runner-data/manifest.json | 14 ++ ...d-with-five-team-tags-and-two-ai-tags.json | 35 ++++ ...s-with-five-team-tags-and-two-ai-tags.json | 35 ++++ .../test-server-data/v1/dashboards.json | 90 ++++++++++ .../test-server-data/v2/dashboard-lists.json | 168 ++++++++++++++++++ tests/v1/features/dashboards.feature | 12 ++ tests/v1/features/given.json | 12 ++ tests/v2/features/dashboard_lists.feature | 15 ++ tests/v2/features/given.json | 16 ++ 16 files changed, 449 insertions(+), 12 deletions(-) create mode 100644 examples/v1/dashboards/GetDashboard_3568243180.py create mode 100644 examples/v2/dashboard-lists/GetDashboardListItems_2618168713.py create mode 100644 tests/generated-test/test-runner-data/v1/dashboards/get-a-dashboard-with-five-team-tags-and-two-ai-tags.json create mode 100644 tests/generated-test/test-runner-data/v2/dashboard-lists/get-dashboard-list-items-with-five-team-tags-and-two-ai-tags.json diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 8f7dd59808..f9aec77d19 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -1495,11 +1495,12 @@ components: nullable: true type: array tags: - description: List of team names representing ownership of a dashboard. + description: Tags associated with the dashboard. Supports up to five team tags and two AI tags. items: - description: The name of a Datadog team of the form `team:` + description: A tag of the form `team:` or `ai:`. + pattern: "^(team|ai):.+$" type: string - maxItems: 5 + maxItems: 7 nullable: true type: array template_variable_presets: @@ -1981,7 +1982,7 @@ components: dataset_provider: $ref: '#/components/schemas/PublishedDatasetProvider' filter: - description: Filter applied to the dataset's rows, using events-style search syntax. + description: Filter applied to the rows of the dataset, using events-style search syntax. example: "service:web-store" type: string limit: diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a903bf6b8f..0f47d98cb7 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -31334,11 +31334,12 @@ components: readOnly: true type: integer tags: - description: List of team names representing ownership of a dashboard. + description: Tags associated with the dashboard. Supports up to five team tags and two AI tags. items: - description: The name of a Datadog team, formatted as `team:` + description: A tag of the form `team:` or `ai:`. + pattern: "^(team|ai):.+$" type: string - maxItems: 5 + maxItems: 7 nullable: true readOnly: true type: array diff --git a/examples/v1/dashboards/GetDashboard_3568243180.py b/examples/v1/dashboards/GetDashboard_3568243180.py new file mode 100644 index 0000000000..356e8ea9d9 --- /dev/null +++ b/examples/v1/dashboards/GetDashboard_3568243180.py @@ -0,0 +1,19 @@ +""" +Get a dashboard with five team tags and two AI tags +""" + +from os import environ +from datadog_api_client import ApiClient, Configuration +from datadog_api_client.v1.api.dashboards_api import DashboardsApi + +# there is a valid "dashboard_with_team_and_ai_tags" in the system +DASHBOARD_WITH_TEAM_AND_AI_TAGS_ID = environ["DASHBOARD_WITH_TEAM_AND_AI_TAGS_ID"] + +configuration = Configuration() +with ApiClient(configuration) as api_client: + api_instance = DashboardsApi(api_client) + response = api_instance.get_dashboard( + dashboard_id=DASHBOARD_WITH_TEAM_AND_AI_TAGS_ID, + ) + + print(response) diff --git a/examples/v2/dashboard-lists/GetDashboardListItems_2618168713.py b/examples/v2/dashboard-lists/GetDashboardListItems_2618168713.py new file mode 100644 index 0000000000..68b053d229 --- /dev/null +++ b/examples/v2/dashboard-lists/GetDashboardListItems_2618168713.py @@ -0,0 +1,19 @@ +""" +Get dashboard list items with five team tags and two AI tags +""" + +from os import environ +from datadog_api_client import ApiClient, Configuration +from datadog_api_client.v2.api.dashboard_lists_api import DashboardListsApi + +# there is a valid "dashboard_list" in the system +DASHBOARD_LIST_ID = environ["DASHBOARD_LIST_ID"] + +configuration = Configuration() +with ApiClient(configuration) as api_client: + api_instance = DashboardListsApi(api_client) + response = api_instance.get_dashboard_list_items( + dashboard_list_id=int(DASHBOARD_LIST_ID), + ) + + print(response) diff --git a/src/datadog_api_client/v1/model/dashboard.py b/src/datadog_api_client/v1/model/dashboard.py index 10c7d15b11..8bef267580 100644 --- a/src/datadog_api_client/v1/model/dashboard.py +++ b/src/datadog_api_client/v1/model/dashboard.py @@ -33,7 +33,7 @@ class Dashboard(ModelNormal): "max_items": 100, }, "tags": { - "max_items": 5, + "max_items": 7, }, } @@ -171,7 +171,7 @@ def __init__( :param tabs: List of tabs for organizing dashboard widgets into groups. :type tabs: [DashboardTab], none_type, optional - :param tags: List of team names representing ownership of a dashboard. + :param tags: Tags associated with the dashboard. Supports up to five team tags and two AI tags. :type tags: [str], none_type, optional :param template_variable_presets: Array of template variables saved views. diff --git a/src/datadog_api_client/v1/model/dataset_list_query.py b/src/datadog_api_client/v1/model/dataset_list_query.py index cd9d9b6d6f..ce4260ec76 100644 --- a/src/datadog_api_client/v1/model/dataset_list_query.py +++ b/src/datadog_api_client/v1/model/dataset_list_query.py @@ -66,7 +66,7 @@ def __init__( :param dataset_provider: Product page that published the dataset queried by a ``DatasetListQuery``. ``ddsql_query`` is the only provider currently supported for host map widgets. :type dataset_provider: PublishedDatasetProvider - :param filter: Filter applied to the dataset's rows, using events-style search syntax. + :param filter: Filter applied to the rows of the dataset, using events-style search syntax. :type filter: str, optional :param limit: Maximum number of rows to return from the dataset query. diff --git a/src/datadog_api_client/v2/model/dashboard_list_item.py b/src/datadog_api_client/v2/model/dashboard_list_item.py index 38907931f2..c4bb590930 100644 --- a/src/datadog_api_client/v2/model/dashboard_list_item.py +++ b/src/datadog_api_client/v2/model/dashboard_list_item.py @@ -26,7 +26,7 @@ class DashboardListItem(ModelNormal): "inclusive_maximum": 5, }, "tags": { - "max_items": 5, + "max_items": 7, }, } @@ -133,7 +133,7 @@ def __init__( :param popularity: Popularity of the dashboard. :type popularity: int, optional - :param tags: List of team names representing ownership of a dashboard. + :param tags: Tags associated with the dashboard. Supports up to five team tags and two AI tags. :type tags: [str], none_type, optional :param title: Title of the dashboard. diff --git a/tests/generated-test/test-runner-data/manifest.json b/tests/generated-test/test-runner-data/manifest.json index eadf6149c0..cec05efeeb 100644 --- a/tests/generated-test/test-runner-data/manifest.json +++ b/tests/generated-test/test-runner-data/manifest.json @@ -931,6 +931,13 @@ "scenario": "Get a dashboard returns 'author_name'", "version": "v1" }, + { + "feature": "Dashboards", + "feature_file": "../../v1/features/dashboards.feature", + "file": "v1/dashboards/get-a-dashboard-with-five-team-tags-and-two-ai-tags.json", + "scenario": "Get a dashboard with five team tags and two AI tags", + "version": "v1" + }, { "feature": "Dashboards", "feature_file": "../../v1/features/dashboards.feature", @@ -4676,6 +4683,13 @@ "scenario": "Delete custom timeboard dashboard from an existing dashboard list returns \"OK\" response", "version": "v2" }, + { + "feature": "Dashboard Lists", + "feature_file": "../../v2/features/dashboard_lists.feature", + "file": "v2/dashboard-lists/get-dashboard-list-items-with-five-team-tags-and-two-ai-tags.json", + "scenario": "Get dashboard list items with five team tags and two AI tags", + "version": "v2" + }, { "feature": "Dashboard Lists", "feature_file": "../../v2/features/dashboard_lists.feature", diff --git a/tests/generated-test/test-runner-data/v1/dashboards/get-a-dashboard-with-five-team-tags-and-two-ai-tags.json b/tests/generated-test/test-runner-data/v1/dashboards/get-a-dashboard-with-five-team-tags-and-two-ai-tags.json new file mode 100644 index 0000000000..ee94945f82 --- /dev/null +++ b/tests/generated-test/test-runner-data/v1/dashboards/get-a-dashboard-with-five-team-tags-and-two-ai-tags.json @@ -0,0 +1,35 @@ +{ + "api": "Dashboards", + "expected_status": 200, + "feature": "Dashboards", + "id": "v1/Dashboards/Get a dashboard with five team tags and two AI tags", + "operation_id": "GetDashboard", + "request": { + "body": null, + "content_type": null, + "method": "GET", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "dashboard_id", + "required": true, + "schema": { + "format": null, + "ref": null, + "type": "string" + }, + "source": { + "path": "dashboard_with_team_and_ai_tags.id", + "type": "fixture" + }, + "style": null + } + ], + "path": "/api/v1/dashboard/{dashboard_id}" + }, + "scenario": "Get a dashboard with five team tags and two AI tags", + "schema_version": 1, + "version": "v1" +} diff --git a/tests/generated-test/test-runner-data/v2/dashboard-lists/get-dashboard-list-items-with-five-team-tags-and-two-ai-tags.json b/tests/generated-test/test-runner-data/v2/dashboard-lists/get-dashboard-list-items-with-five-team-tags-and-two-ai-tags.json new file mode 100644 index 0000000000..8d3ac8ea99 --- /dev/null +++ b/tests/generated-test/test-runner-data/v2/dashboard-lists/get-dashboard-list-items-with-five-team-tags-and-two-ai-tags.json @@ -0,0 +1,35 @@ +{ + "api": "DashboardLists", + "expected_status": 200, + "feature": "Dashboard Lists", + "id": "v2/Dashboard Lists/Get dashboard list items with five team tags and two AI tags", + "operation_id": "GetDashboardListItems", + "request": { + "body": null, + "content_type": null, + "method": "GET", + "pagination": false, + "parameters": [ + { + "explode": null, + "in": "path", + "name": "dashboard_list_id", + "required": true, + "schema": { + "format": "int64", + "ref": null, + "type": "integer" + }, + "source": { + "path": "dashboard_list.id", + "type": "fixture" + }, + "style": null + } + ], + "path": "/api/v2/dashboard/lists/manual/{dashboard_list_id}/dashboards" + }, + "scenario": "Get dashboard list items with five team tags and two AI tags", + "schema_version": 1, + "version": "v2" +} diff --git a/tests/generated-test/test-server-data/v1/dashboards.json b/tests/generated-test/test-server-data/v1/dashboards.json index db1ac17166..b977f3401e 100644 --- a/tests/generated-test/test-server-data/v1/dashboards.json +++ b/tests/generated-test/test-server-data/v1/dashboards.json @@ -11756,6 +11756,96 @@ "scenario": "Get a dashboard returns 'author_name'", "version": "v1" }, + { + "feature": "Dashboards", + "frozen_at": "2026-08-31T02:38:16.989Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "layout_type": "ordered", + "tags": [ + "team:alpha", + "team:beta", + "team:gamma", + "team:delta", + "team:epsilon", + "ai:generated", + "ai:edited" + ], + "title": "Test-Get_a_dashboard_with_five_team_tags_and_two_AI_tags-1788143896", + "widgets": [] + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v1/dashboard", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"id\":\"7j6-m9w-ts2\",\"title\":\"Test-Get_a_dashboard_with_five_team_tags_and_two_AI_tags-1788143896\",\"description\":null,\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/7j6-m9w-ts2/test-getadashboardwithfiveteamtagsandtwoaitags-1788143896\",\"template_variables\":null,\"widgets\":[],\"notify_list\":null,\"created_at\":\"2026-08-31T02:38:17.100817+00:00\",\"modified_at\":\"2026-08-31T02:38:17.100817+00:00\",\"tags\":[\"team:alpha\",\"team:beta\",\"team:gamma\",\"team:delta\",\"team:epsilon\",\"ai:generated\",\"ai:edited\"],\"restricted_roles\":[]}" + }, + "headers": { + "content-type": "application/json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v1/dashboard/7j6-m9w-ts2", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"id\":\"7j6-m9w-ts2\",\"title\":\"Test-Get_a_dashboard_with_five_team_tags_and_two_AI_tags-1788143896\",\"description\":null,\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/7j6-m9w-ts2/test-getadashboardwithfiveteamtagsandtwoaitags-1788143896\",\"template_variables\":null,\"widgets\":[],\"notify_list\":null,\"created_at\":\"2026-08-31T02:38:17.100817+00:00\",\"modified_at\":\"2026-08-31T02:38:17.100817+00:00\",\"tags\":[\"team:alpha\",\"team:beta\",\"team:gamma\",\"team:delta\",\"team:epsilon\",\"ai:generated\",\"ai:edited\"],\"restricted_roles\":[]}" + }, + "headers": { + "content-type": "application/json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v1/dashboard/7j6-m9w-ts2", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"deleted_dashboard_id\":\"7j6-m9w-ts2\"}" + }, + "headers": { + "content-type": "application/json" + }, + "reason": "OK", + "status": 200 + } + } + ], + "scenario": "Get a dashboard with five team tags and two AI tags", + "version": "v1" + }, { "feature": "Dashboards", "frozen_at": "2024-11-15T19:33:06.595Z", diff --git a/tests/generated-test/test-server-data/v2/dashboard-lists.json b/tests/generated-test/test-server-data/v2/dashboard-lists.json index 440088fbfb..fc81b8aa7a 100644 --- a/tests/generated-test/test-server-data/v2/dashboard-lists.json +++ b/tests/generated-test/test-server-data/v2/dashboard-lists.json @@ -737,6 +737,174 @@ "scenario": "Delete custom timeboard dashboard from an existing dashboard list returns \"OK\" response", "version": "v2" }, + { + "feature": "Dashboard Lists", + "frozen_at": "2026-08-31T02:38:18.801Z", + "interactions": [ + { + "request": { + "body": { + "type": "json", + "value": { + "name": "Test-Get_dashboard_list_items_with_five_team_tags_and_two_AI_tags-1788143898" + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v1/dashboard/lists/manual", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"author\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"created\":\"2026-08-31T02:38:19.366670+00:00\",\"dashboards\":null,\"dashboard_count\":0,\"id\":673085,\"is_favorite\":false,\"modified\":\"2026-08-31T02:38:19.366675+00:00\",\"name\":\"Test-Get_dashboard_list_items_with_five_team_tags_and_two_AI_tags-1788143898\",\"type\":\"manual_dashboard_list\"}\n" + }, + "headers": { + "content-type": "application/json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "json", + "value": { + "layout_type": "ordered", + "tags": [ + "team:alpha", + "team:beta", + "team:gamma", + "team:delta", + "team:epsilon", + "ai:generated", + "ai:edited" + ], + "title": "Test-Get_dashboard_list_items_with_five_team_tags_and_two_AI_tags-1788143898", + "widgets": [] + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v1/dashboard", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"id\":\"fn2-4ry-3vu\",\"title\":\"Test-Get_dashboard_list_items_with_five_team_tags_and_two_AI_tags-1788143898\",\"description\":null,\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/fn2-4ry-3vu/test-getdashboardlistitemswithfiveteamtagsandtwoaitags-1788143898\",\"template_variables\":null,\"widgets\":[],\"notify_list\":null,\"created_at\":\"2026-08-31T02:38:19.484838+00:00\",\"modified_at\":\"2026-08-31T02:38:19.484838+00:00\",\"tags\":[\"team:alpha\",\"team:beta\",\"team:gamma\",\"team:delta\",\"team:epsilon\",\"ai:generated\",\"ai:edited\"],\"restricted_roles\":[]}" + }, + "headers": { + "content-type": "application/json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "json", + "value": { + "dashboards": [ + { + "id": "fn2-4ry-3vu", + "type": "custom_timeboard" + } + ] + } + }, + "content_type": "application/json", + "method": "POST", + "path": "/api/v2/dashboard/lists/manual/673085/dashboards", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"added_dashboards_to_list\":[{\"type\":\"custom_timeboard\",\"id\":\"fn2-4ry-3vu\"}]}\n" + }, + "headers": { + "content-type": "application/json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "GET", + "path": "/api/v2/dashboard/lists/manual/673085/dashboards", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"dashboards\":[{\"author\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"created\":\"2026-08-31T02:38:19.484838+00:00\",\"is_favorite\":false,\"is_shared\":false,\"modified\":\"2026-08-31T02:38:19.484838+00:00\",\"title\":\"Test-Get_dashboard_list_items_with_five_team_tags_and_two_AI_tags-1788143898\",\"type\":\"custom_timeboard\",\"id\":\"fn2-4ry-3vu\",\"url\":\"/dashboard/fn2-4ry-3vu/test-getdashboardlistitemswithfiveteamtagsandtwoaitags-1788143898\",\"is_read_only\":false,\"tags\":[\"team:alpha\",\"team:beta\",\"team:gamma\",\"team:delta\",\"team:epsilon\",\"ai:generated\",\"ai:edited\"],\"icon\":null,\"integration_id\":null,\"popularity\":0}],\"total\":1}\n" + }, + "headers": { + "content-type": "application/json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v1/dashboard/fn2-4ry-3vu", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"deleted_dashboard_id\":\"fn2-4ry-3vu\"}" + }, + "headers": { + "content-type": "application/json" + }, + "reason": "OK", + "status": 200 + } + }, + { + "request": { + "body": { + "type": "empty", + "value": null + }, + "content_type": "", + "method": "DELETE", + "path": "/api/v1/dashboard/lists/manual/673085", + "query": [] + }, + "response": { + "body": { + "encoding": "text", + "value": "{\"deleted_dashboard_list_id\":673085}\n" + }, + "headers": { + "content-type": "application/json" + }, + "reason": "OK", + "status": 200 + } + } + ], + "scenario": "Get dashboard list items with five team tags and two AI tags", + "version": "v2" + }, { "feature": "Dashboard Lists", "frozen_at": "2022-03-21T19:16:49.586Z", diff --git a/tests/v1/features/dashboards.feature b/tests/v1/features/dashboards.feature index afe8356d4c..aa4cacac02 100644 --- a/tests/v1/features/dashboards.feature +++ b/tests/v1/features/dashboards.feature @@ -1347,6 +1347,18 @@ Feature: Dashboards Then the response status is 200 OK And the response "author_name" is equal to "Frog Account" + @team:DataDog/dashboards-backend + Scenario: Get a dashboard with five team tags and two AI tags + Given there is a valid "dashboard_with_team_and_ai_tags" in the system + And new "GetDashboard" request + And request contains "dashboard_id" parameter from "dashboard_with_team_and_ai_tags.id" + When the request is sent + Then the response status is 200 OK + And the response "tags" has length 7 + And the response "tags" array contains value "team:epsilon" + And the response "tags" array contains value "ai:generated" + And the response "tags" array contains value "ai:edited" + @team:DataDog/reporting-and-sharing Scenario: Get a shared dashboard returns "OK" response Given there is a valid "dashboard" in the system diff --git a/tests/v1/features/given.json b/tests/v1/features/given.json index 3c1540f6fa..f54c9c5b57 100644 --- a/tests/v1/features/given.json +++ b/tests/v1/features/given.json @@ -11,6 +11,18 @@ "tag": "Dashboards", "operationId": "CreateDashboard" }, + { + "parameters": [ + { + "name": "body", + "value": "{\"title\": \"{{ unique }}\", \"layout_type\": \"ordered\", \"widgets\": [], \"tags\": [\"team:alpha\", \"team:beta\", \"team:gamma\", \"team:delta\", \"team:epsilon\", \"ai:generated\", \"ai:edited\"]}" + } + ], + "step": "there is a valid \"dashboard_with_team_and_ai_tags\" in the system", + "key": "dashboard_with_team_and_ai_tags", + "tag": "Dashboards", + "operationId": "CreateDashboard" + }, { "parameters": [ { diff --git a/tests/v2/features/dashboard_lists.feature b/tests/v2/features/dashboard_lists.feature index 1d36afaadd..165ff0d9a2 100644 --- a/tests/v2/features/dashboard_lists.feature +++ b/tests/v2/features/dashboard_lists.feature @@ -110,6 +110,21 @@ Feature: Dashboard Lists When the request is sent Then the response status is 200 OK + @team:DataDog/dashboards-backend + Scenario: Get dashboard list items with five team tags and two AI tags + Given there is a valid "dashboard_list" in the system + And there is a valid "dashboard_with_team_and_ai_tags" in the system + And the "dashboard_list" has the "dashboard_with_team_and_ai_tags" + And new "GetDashboardListItems" request + And request contains "dashboard_list_id" parameter from "dashboard_list.id" + When the request is sent + Then the response status is 200 OK + And the response "dashboards" has length 1 + And the response "dashboards[0].tags" has length 7 + And the response "dashboards[0].tags" array contains value "team:epsilon" + And the response "dashboards[0].tags" array contains value "ai:generated" + And the response "dashboards[0].tags" array contains value "ai:edited" + @generated @skip @team:DataDog/dashboards-backend Scenario: Get items of a Dashboard List returns "Not Found" response Given new "GetDashboardListItems" request diff --git a/tests/v2/features/given.json b/tests/v2/features/given.json index 89abdd8c36..735bb4ef4b 100644 --- a/tests/v2/features/given.json +++ b/tests/v2/features/given.json @@ -329,6 +329,22 @@ "tag": "Dashboard Lists", "operationId": "CreateDashboardListItems" }, + { + "parameters": [ + { + "name": "dashboard_list_id", + "source": "dashboard_list.id" + }, + { + "name": "body", + "value": "{\"dashboards\": [{\"id\": \"{{ dashboard_with_team_and_ai_tags.id }}\", \"type\": \"custom_timeboard\"}]}" + } + ], + "step": "the \"dashboard_list\" has the \"dashboard_with_team_and_ai_tags\"", + "key": "dashboard_list_dashboard_with_team_and_ai_tags", + "tag": "Dashboard Lists", + "operationId": "CreateDashboardListItems" + }, { "parameters": [ {