From 8032cbaa901b9e8091d32b84d71df4485cf03eba Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 20 May 2026 16:50:35 +0000 Subject: [PATCH] Regenerate client from commit 4bd3443 of spec repo --- .../frozen.json | 1 + .../recording.har | 67 +++++++ .../frozen.json | 1 + .../recording.har | 57 ++++++ .../frozen.json | 1 + .../recording.har | 153 ++++++++++++++++ .../frozen.json | 1 + .../recording.har | 162 +++++++++++++++++ .../frozen.json | 1 + .../recording.har | 72 ++++++++ .../frozen.json | 1 + .../recording.har | 62 +++++++ .../frozen.json | 1 + .../recording.har | 157 +++++++++++++++++ .../frozen.json | 1 + .../recording.har | 67 +++++++ .../frozen.json | 1 + .../recording.har | 67 +++++++ .../frozen.json | 1 + .../recording.har | 163 ++++++++++++++++++ .../frozen.json | 1 + .../recording.har | 157 +++++++++++++++++ .../frozen.json | 1 + .../recording.har | 67 +++++++ .../frozen.json | 1 + .../recording.har | 157 +++++++++++++++++ .../frozen.json | 1 + .../recording.har | 67 +++++++ features/v2/app_builder.feature | 105 +++++------ 29 files changed, 1545 insertions(+), 49 deletions(-) create mode 100644 cassettes/v2/App-Builder_216136899/Create-Publish-Request-returns-Not-Found-response_510211374/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Create-Publish-Request-returns-Not-Found-response_510211374/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/List-App-Versions-returns-Not-Found-response_210141534/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/List-App-Versions-returns-Not-Found-response_210141534/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/List-App-Versions-returns-OK-response_2038243809/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/List-App-Versions-returns-OK-response_2038243809/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Name-App-Version-returns-No-Content-response_402481123/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Name-App-Version-returns-No-Content-response_402481123/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Name-App-Version-returns-Not-Found-response_601142560/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Name-App-Version-returns-Not-Found-response_601142560/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Revert-App-returns-Not-Found-response_1654242903/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Revert-App-returns-Not-Found-response_1654242903/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-No-Content-response_1725073519/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-No-Content-response_1725073519/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-Not-Found-response_2348088020/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-Not-Found-response_2348088020/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-Not-Found-response_625454651/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-Not-Found-response_625454651/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-OK-response_627414754/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-OK-response_627414754/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-No-Content-response_2391089383/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-No-Content-response_2391089383/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-Not-Found-response_933927500/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-Not-Found-response_933927500/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-No-Content-response_2573802606/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-No-Content-response_2573802606/recording.har create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-Not-Found-response_2860703479/frozen.json create mode 100644 cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-Not-Found-response_2860703479/recording.har diff --git a/cassettes/v2/App-Builder_216136899/Create-Publish-Request-returns-Not-Found-response_510211374/frozen.json b/cassettes/v2/App-Builder_216136899/Create-Publish-Request-returns-Not-Found-response_510211374/frozen.json new file mode 100644 index 000000000000..095b9bc085d1 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Create-Publish-Request-returns-Not-Found-response_510211374/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:51:47.462Z" diff --git a/cassettes/v2/App-Builder_216136899/Create-Publish-Request-returns-Not-Found-response_510211374/recording.har b/cassettes/v2/App-Builder_216136899/Create-Publish-Request-returns-Not-Found-response_510211374/recording.har new file mode 100644 index 000000000000..30cca1bb82fc --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Create-Publish-Request-returns-Not-Found-response_510211374/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "App Builder/Create Publish Request returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "508a80cf33133708bdc3428c09046235", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 150, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 624, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Adds new dashboard widgets and a few bug fixes.\",\"title\":\"Release v1.2 to production\"},\"type\":\"publishRequest\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/publish-request" + }, + "response": { + "bodySize": 167, + "content": { + "mimeType": "application/vnd.api+json", + "size": 167, + "text": "{\"errors\":[{\"status\":\"404\",\"id\":\"c9247d40-2291-4860-90ac-9c2441ff23db\",\"title\":\"app not found\",\"detail\":\"app with id 7addb29b-f935-472c-ae79-d1963979a23e not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 656, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-05-18T19:51:47.473Z", + "time": 324 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-Not-Found-response_210141534/frozen.json b/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-Not-Found-response_210141534/frozen.json new file mode 100644 index 000000000000..0b486ba3b3b9 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-Not-Found-response_210141534/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:51:53.216Z" diff --git a/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-Not-Found-response_210141534/recording.har b/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-Not-Found-response_210141534/recording.har new file mode 100644 index 000000000000..cf2f7b3ce2fa --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-Not-Found-response_210141534/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "App Builder/List App Versions returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "2b056b9b18c3a44a7c7d240a4c5bc6fe", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 558, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/versions" + }, + "response": { + "bodySize": 167, + "content": { + "mimeType": "application/vnd.api+json", + "size": 167, + "text": "{\"errors\":[{\"status\":\"404\",\"id\":\"4dfd53b4-6987-4868-b330-af0535219c61\",\"title\":\"app not found\",\"detail\":\"app with id 7addb29b-f935-472c-ae79-d1963979a23e not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 656, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-05-18T19:51:53.220Z", + "time": 157 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-OK-response_2038243809/frozen.json b/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-OK-response_2038243809/frozen.json new file mode 100644 index 000000000000..4b2eb570f781 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-OK-response_2038243809/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:51:53.386Z" diff --git a/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-OK-response_2038243809/recording.har b/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-OK-response_2038243809/recording.har new file mode 100644 index 000000000000..ada23b5fa38c --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/List-App-Versions-returns-OK-response_2038243809/recording.har @@ -0,0 +1,153 @@ +{ + "log": { + "_recordingName": "App Builder/List App Versions returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "c782b1f31b03d50f8fcd12e51226c50c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 3729, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 561, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"d928ecbc-acfe-4126-96f6-092fa0a01416\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2026-05-18T19:51:53.392Z", + "time": 607 + }, + { + "_id": "037664cef8871541613df301c9aa6b84", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 558, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/d928ecbc-acfe-4126-96f6-092fa0a01416/versions" + }, + "response": { + "bodySize": 420, + "content": { + "mimeType": "application/vnd.api+json", + "size": 435, + "text": "{\"data\": [{\"id\": \"98cd3a5a-644d-41fd-8ffa-e58e21e8e21b\", \"type\": \"appVersions\", \"attributes\": {\"app_id\": \"d928ecbc-acfe-4126-96f6-092fa0a01416\", \"created_at\": \"2026-05-18T19:51:53.59976Z\", \"has_ever_been_published\": false, \"updated_at\": \"2026-05-18T19:51:53.59976Z\", \"user_id\": 1445416, \"user_name\": \"\", \"user_uuid\": \"3ad549bf-eba0-11e9-a77a-0705486660d0\", \"version\": 1}}], \"meta\": {\"page\": {\"totalCount\": 1, \"totalFilteredCount\": 0}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 656, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-05-18T19:51:54.006Z", + "time": 197 + }, + { + "_id": "ba0f2bab9a3e92e404b81e373c8e015a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/d928ecbc-acfe-4126-96f6-092fa0a01416" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 82, + "text": "{\"data\": {\"id\": \"d928ecbc-acfe-4126-96f6-092fa0a01416\", \"type\": \"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-05-18T19:51:54.211Z", + "time": 691 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-No-Content-response_402481123/frozen.json b/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-No-Content-response_402481123/frozen.json new file mode 100644 index 000000000000..788066cc258f --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-No-Content-response_402481123/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:51:55.262Z" diff --git a/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-No-Content-response_402481123/recording.har b/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-No-Content-response_402481123/recording.har new file mode 100644 index 000000000000..018c04bbc9cf --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-No-Content-response_402481123/recording.har @@ -0,0 +1,162 @@ +{ + "log": { + "_recordingName": "App Builder/Name App Version returns \"No Content\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "c782b1f31b03d50f8fcd12e51226c50c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 3729, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 561, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"850d5920-6bfb-4723-a3ff-91bfb2d898d8\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2026-05-18T19:51:55.266Z", + "time": 419 + }, + { + "_id": "e61556aae7c3523c3784f6344a912a2f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 81, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 623, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"name\":\"v1.2.0 - bug fix release\"},\"type\":\"versionNames\"}}" + }, + "queryString": [ + { + "name": "version", + "value": "latest" + } + ], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/850d5920-6bfb-4723-a3ff-91bfb2d898d8/version-name?version=latest" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2026-05-18T19:51:55.692Z", + "time": 200 + }, + { + "_id": "62c97c2ca46963f7afd3a4be00ae4647", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/850d5920-6bfb-4723-a3ff-91bfb2d898d8" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"850d5920-6bfb-4723-a3ff-91bfb2d898d8\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-05-18T19:51:55.899Z", + "time": 396 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-Not-Found-response_601142560/frozen.json b/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-Not-Found-response_601142560/frozen.json new file mode 100644 index 000000000000..a16c66ee684b --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-Not-Found-response_601142560/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:51:56.300Z" diff --git a/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-Not-Found-response_601142560/recording.har b/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-Not-Found-response_601142560/recording.har new file mode 100644 index 000000000000..6698a56bcabb --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Name-App-Version-returns-Not-Found-response_601142560/recording.har @@ -0,0 +1,72 @@ +{ + "log": { + "_recordingName": "App Builder/Name App Version returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "edd69226d95cb0b774da198c7d7a3b35", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 81, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 623, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"name\":\"v1.2.0 - bug fix release\"},\"type\":\"versionNames\"}}" + }, + "queryString": [ + { + "name": "version", + "value": "latest" + } + ], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/version-name?version=latest" + }, + "response": { + "bodySize": 167, + "content": { + "mimeType": "application/vnd.api+json", + "size": 167, + "text": "{\"errors\":[{\"status\":\"404\",\"id\":\"16fc993f-2445-4b88-b1e7-c924feed5141\",\"title\":\"app not found\",\"detail\":\"app with id 7addb29b-f935-472c-ae79-d1963979a23e not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 656, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-05-18T19:51:56.303Z", + "time": 144 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Revert-App-returns-Not-Found-response_1654242903/frozen.json b/cassettes/v2/App-Builder_216136899/Revert-App-returns-Not-Found-response_1654242903/frozen.json new file mode 100644 index 000000000000..ea67063e5048 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Revert-App-returns-Not-Found-response_1654242903/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:51:58.197Z" diff --git a/cassettes/v2/App-Builder_216136899/Revert-App-returns-Not-Found-response_1654242903/recording.har b/cassettes/v2/App-Builder_216136899/Revert-App-returns-Not-Found-response_1654242903/recording.har new file mode 100644 index 000000000000..ab3d1e76f29f --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Revert-App-returns-Not-Found-response_1654242903/recording.har @@ -0,0 +1,62 @@ +{ + "log": { + "_recordingName": "App Builder/Revert App returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "bcd8f71dbd6b1dbc99020c02957657ea", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 580, + "httpVersion": "HTTP/1.1", + "method": "POST", + "queryString": [ + { + "name": "version", + "value": "1" + } + ], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/revert?version=1" + }, + "response": { + "bodySize": 167, + "content": { + "mimeType": "application/vnd.api+json", + "size": 167, + "text": "{\"errors\":[{\"status\":\"404\",\"id\":\"09483925-ee8b-44c8-882a-35b53e209584\",\"title\":\"app not found\",\"detail\":\"app with id 7addb29b-f935-472c-ae79-d1963979a23e not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 656, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-05-18T19:51:58.199Z", + "time": 152 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-No-Content-response_1725073519/frozen.json b/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-No-Content-response_1725073519/frozen.json new file mode 100644 index 000000000000..be0208a18bdd --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-No-Content-response_1725073519/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:51:59.539Z" diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-No-Content-response_1725073519/recording.har b/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-No-Content-response_1725073519/recording.har new file mode 100644 index 000000000000..5e43f165a6b0 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-No-Content-response_1725073519/recording.har @@ -0,0 +1,157 @@ +{ + "log": { + "_recordingName": "App Builder/Update App Favorite Status returns \"No Content\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "c782b1f31b03d50f8fcd12e51226c50c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 3729, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 561, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"ff20368e-cb9a-4216-aa76-a61c11aef6d1\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2026-05-18T19:51:59.541Z", + "time": 550 + }, + { + "_id": "cd889906cc3fd7919382f87b35b1c779", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 60, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 601, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"favorite\":true},\"type\":\"favorites\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/ff20368e-cb9a-4216-aa76-a61c11aef6d1/favorite" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 596, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2026-05-18T19:52:00.097Z", + "time": 716 + }, + { + "_id": "0eecdcc059edc247fada115c62b7063c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/ff20368e-cb9a-4216-aa76-a61c11aef6d1" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"ff20368e-cb9a-4216-aa76-a61c11aef6d1\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-05-18T19:52:00.823Z", + "time": 825 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-Not-Found-response_2348088020/frozen.json b/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-Not-Found-response_2348088020/frozen.json new file mode 100644 index 000000000000..3586efc9335f --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-Not-Found-response_2348088020/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:52:01.652Z" diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-Not-Found-response_2348088020/recording.har b/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-Not-Found-response_2348088020/recording.har new file mode 100644 index 000000000000..cd3cff877e2f --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Favorite-Status-returns-Not-Found-response_2348088020/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "App Builder/Update App Favorite Status returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "7ea0a1e82cccfc0c386d7e690ed22317", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 60, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 601, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"favorite\":true},\"type\":\"favorites\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/favorite" + }, + "response": { + "bodySize": 167, + "content": { + "mimeType": "application/vnd.api+json", + "size": 167, + "text": "{\"errors\":[{\"status\":\"404\",\"id\":\"3711d641-f1a9-4a08-b8a2-f02b0c6d3cac\",\"title\":\"app not found\",\"detail\":\"app with id 7addb29b-f935-472c-ae79-d1963979a23e not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 656, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-05-18T19:52:01.654Z", + "time": 205 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-Not-Found-response_625454651/frozen.json b/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-Not-Found-response_625454651/frozen.json new file mode 100644 index 000000000000..fdc08c3ba3d4 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-Not-Found-response_625454651/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:52:01.865Z" diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-Not-Found-response_625454651/recording.har b/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-Not-Found-response_625454651/recording.har new file mode 100644 index 000000000000..72a46978958d --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-Not-Found-response_625454651/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "App Builder/Update App Protection Level returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "8cbbe5e757253df111d35e4112947f1c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 88, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 626, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"protectionLevel\":\"approval_required\"},\"type\":\"protectionLevel\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/protection-level" + }, + "response": { + "bodySize": 167, + "content": { + "mimeType": "application/vnd.api+json", + "size": 167, + "text": "{\"errors\":[{\"status\":\"404\",\"id\":\"ac8e4f99-d059-43c6-b48a-2feb634c46b9\",\"title\":\"app not found\",\"detail\":\"app with id 7addb29b-f935-472c-ae79-d1963979a23e not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 656, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-05-18T19:52:01.868Z", + "time": 518 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-OK-response_627414754/frozen.json b/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-OK-response_627414754/frozen.json new file mode 100644 index 000000000000..70537de403da --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-OK-response_627414754/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:52:02.394Z" diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-OK-response_627414754/recording.har b/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-OK-response_627414754/recording.har new file mode 100644 index 000000000000..61fed294e973 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Protection-Level-returns-OK-response_627414754/recording.har @@ -0,0 +1,163 @@ +{ + "log": { + "_recordingName": "App Builder/Update App Protection Level returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "c782b1f31b03d50f8fcd12e51226c50c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 3729, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 561, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"7233c313-f027-46ba-b269-fbca3f75cbad\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2026-05-18T19:52:02.398Z", + "time": 719 + }, + { + "_id": "fee7096c7cb50256bff689100bdabca2", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 88, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 626, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"protectionLevel\":\"approval_required\"},\"type\":\"protectionLevel\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7233c313-f027-46ba-b269-fbca3f75cbad/protection-level" + }, + "response": { + "bodySize": 4250, + "content": { + "mimeType": "application/vnd.api+json", + "size": 4250, + "text": "{\"data\":{\"id\":\"7233c313-f027-46ba-b269-fbca3f75cbad\",\"type\":\"appDefinitions\",\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"favorite\":false,\"name\":\"Example Cat Facts Viewer\",\"protectionLevel\":\"approval_required\",\"queries\":[{\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"type\":\"action\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}}},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"type\":\"stateVariable\",\"properties\":{\"defaultValue\":\"${20}\"}},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"type\":\"dataTransform\",\"properties\":{\"outputs\":\"${(() =\\u003e {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"}}],\"rootInstanceName\":\"grid0\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":321813,\"user_id\":1445416,\"user_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"user_name\":\"frog@datadoghq.com\",\"version\":1,\"version_id\":\"42a9e44d-6fd7-4dd6-8a72-17e570b9e46f\",\"updated_since_deployment\":false,\"created_at\":\"2026-05-18T19:52:02.806411Z\",\"updated_at\":\"2026-05-18T19:52:02.806411Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\",\"run_as_user\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-05-18T19:52:03.122Z", + "time": 491 + }, + { + "_id": "d96733862ed43f9b5c6a8913830bc702", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7233c313-f027-46ba-b269-fbca3f75cbad" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"7233c313-f027-46ba-b269-fbca3f75cbad\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-05-18T19:52:03.619Z", + "time": 526 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-No-Content-response_2391089383/frozen.json b/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-No-Content-response_2391089383/frozen.json new file mode 100644 index 000000000000..43d58ae0393a --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-No-Content-response_2391089383/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:52:04.154Z" diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-No-Content-response_2391089383/recording.har b/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-No-Content-response_2391089383/recording.har new file mode 100644 index 000000000000..a46c9a36ed3a --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-No-Content-response_2391089383/recording.har @@ -0,0 +1,157 @@ +{ + "log": { + "_recordingName": "App Builder/Update App Self-Service Status returns \"No Content\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "c782b1f31b03d50f8fcd12e51226c50c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 3729, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 561, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"f18f2a0e-bf9a-4b7a-b43d-31ca68aaf5f1\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2026-05-18T19:52:04.156Z", + "time": 1231 + }, + { + "_id": "d83e59b4fd0a86df7e69adb006e3a428", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 65, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 608, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"selfService\":true},\"type\":\"selfService\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/f18f2a0e-bf9a-4b7a-b43d-31ca68aaf5f1/self-service" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2026-05-18T19:52:05.396Z", + "time": 310 + }, + { + "_id": "1ccd794b62628bbbbd3a38a38bd6b0c1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/f18f2a0e-bf9a-4b7a-b43d-31ca68aaf5f1" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"f18f2a0e-bf9a-4b7a-b43d-31ca68aaf5f1\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-05-18T19:52:05.712Z", + "time": 361 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-Not-Found-response_933927500/frozen.json b/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-Not-Found-response_933927500/frozen.json new file mode 100644 index 000000000000..51b2c87cbc5f --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-Not-Found-response_933927500/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:52:06.076Z" diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-Not-Found-response_933927500/recording.har b/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-Not-Found-response_933927500/recording.har new file mode 100644 index 000000000000..92238eaa3db4 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Self-Service-Status-returns-Not-Found-response_933927500/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "App Builder/Update App Self-Service Status returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "94ed722b570cf21e59c18843c646b8b7", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 65, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 608, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"selfService\":true},\"type\":\"selfService\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/self-service" + }, + "response": { + "bodySize": 167, + "content": { + "mimeType": "application/vnd.api+json", + "size": 167, + "text": "{\"errors\":[{\"status\":\"404\",\"id\":\"623c417b-ba6a-4952-8d3c-1d90edaf3166\",\"title\":\"app not found\",\"detail\":\"app with id 7addb29b-f935-472c-ae79-d1963979a23e not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 656, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-05-18T19:52:06.079Z", + "time": 164 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-No-Content-response_2573802606/frozen.json b/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-No-Content-response_2573802606/frozen.json new file mode 100644 index 000000000000..0118f14275db --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-No-Content-response_2573802606/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:52:06.248Z" diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-No-Content-response_2573802606/recording.har b/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-No-Content-response_2573802606/recording.har new file mode 100644 index 000000000000..a6f1e9773730 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-No-Content-response_2573802606/recording.har @@ -0,0 +1,157 @@ +{ + "log": { + "_recordingName": "App Builder/Update App Tags returns \"No Content\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "c782b1f31b03d50f8fcd12e51226c50c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 3729, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 561, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"backgroundColor\":\"default\",\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text0\",\"properties\":{\"content\":\"# Cat Facts\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":5,\"width\":4,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell2\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"table0\",\"properties\":{\"columns\":[{\"dataPath\":\"fact\",\"header\":\"fact\",\"id\":\"0ae2ae9e-0280-4389-83c6-1c5949f7e674\",\"isHidden\":false},{\"dataPath\":\"length\",\"header\":\"length\",\"id\":\"c9048611-0196-4a00-9366-1ef9e3ec0408\",\"isHidden\":true},{\"dataPath\":\"Due Date\",\"disableSortBy\":false,\"formatter\":{\"format\":\"LARGE_WITHOUT_TIME\",\"type\":\"formatted_time\"},\"header\":\"Unused Old Column\",\"id\":\"8fa9284b-7a58-4f13-9959-57b7d8a7fe8f\",\"isDeleted\":true}],\"data\":\"${fetchFacts?.outputs?.body?.data}\",\"globalFilter\":false,\"isLoading\":\"${fetchFacts?.isLoading}\",\"isScrollable\":\"vertical\",\"isSubRowsEnabled\":false,\"isVisible\":true,\"isWrappable\":false,\"pageSize\":\"${pageSize?.value}\",\"paginationType\":\"server_side\",\"rowButtons\":[],\"summary\":true,\"totalCount\":\"${fetchFacts?.outputs?.body?.total}\"},\"type\":\"table\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":96,\"width\":12,\"x\":0,\"y\":5}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell1\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"text1\",\"properties\":{\"content\":\"## Random Fact\\n\\n${randomFact?.outputs?.fact}\",\"contentType\":\"markdown\",\"isVisible\":true,\"textAlign\":\"left\",\"verticalAlign\":\"top\"},\"type\":\"text\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":16,\"width\":12,\"x\":0,\"y\":101}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell3\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value + 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button0\",\"properties\":{\"iconLeft\":\"angleUp\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Increase Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":134}}},\"type\":\"gridCell\"},{\"events\":[],\"name\":\"gridCell4\",\"properties\":{\"children\":[{\"events\":[{\"name\":\"click\",\"type\":\"setStateVariableValue\",\"value\":\"${pageSize?.value - 1}\",\"variableName\":\"pageSize\"}],\"name\":\"button1\",\"properties\":{\"iconLeft\":\"angleDown\",\"iconRight\":\"\",\"isBorderless\":false,\"isDisabled\":false,\"isLoading\":false,\"isPrimary\":true,\"isVisible\":true,\"label\":\"Decrease Page Size\",\"level\":\"default\"},\"type\":\"button\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":4,\"width\":2,\"x\":10,\"y\":138}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a slightly complicated example app that fetches and displays cat facts\",\"name\":\"Example Cat Facts Viewer\",\"queries\":[{\"events\":[],\"id\":\"92ff0bb8-553b-4f31-87c7-ef5bd16d47d5\",\"name\":\"fetchFacts\",\"properties\":{\"spec\":{\"connectionId\":\"5e63f4a8-4ce6-47de-ba11-f6617c1d54f3\",\"fqn\":\"com.datadoghq.http.request\",\"inputs\":{\"url\":\"https://catfact.ninja/facts\",\"urlParams\":[{\"key\":\"limit\",\"value\":\"${pageSize.value.toString()}\"},{\"key\":\"page\",\"value\":\"${(table0.pageIndex + 1).toString()}\"}],\"verb\":\"GET\"}}},\"type\":\"action\"},{\"id\":\"afd03c81-4075-4432-8618-ba09d52d2f2d\",\"name\":\"pageSize\",\"properties\":{\"defaultValue\":\"${20}\"},\"type\":\"stateVariable\"},{\"id\":\"0fb22859-47dc-4137-9e41-7b67d04c525c\",\"name\":\"randomFact\",\"properties\":{\"outputs\":\"${(() => {const facts = fetchFacts.outputs.body.data\\nreturn facts[Math.floor(Math.random()*facts.length)]\\n})()}\"},\"type\":\"dataTransform\"}],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"57a1c1c9-edfb-47ea-ad74-e90c2e13d0f0\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2026-05-18T19:52:06.252Z", + "time": 355 + }, + { + "_id": "d5a3c6a833b262c0bc79ef3694bfe82e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 78, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"tags\":[\"team:platform\",\"service:ops\"]},\"type\":\"tags\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/57a1c1c9-edfb-47ea-ad74-e90c2e13d0f0/tags" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2026-05-18T19:52:06.613Z", + "time": 209 + }, + { + "_id": "297d23fd5f6288b8920b6783a8754af1", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/57a1c1c9-edfb-47ea-ad74-e90c2e13d0f0" + }, + "response": { + "bodySize": 78, + "content": { + "mimeType": "application/vnd.api+json", + "size": 78, + "text": "{\"data\":{\"id\":\"57a1c1c9-edfb-47ea-ad74-e90c2e13d0f0\",\"type\":\"appDefinitions\"}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 655, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2026-05-18T19:52:06.827Z", + "time": 401 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-Not-Found-response_2860703479/frozen.json b/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-Not-Found-response_2860703479/frozen.json new file mode 100644 index 000000000000..5802f391ae6e --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-Not-Found-response_2860703479/frozen.json @@ -0,0 +1 @@ +"2026-05-18T19:52:07.233Z" diff --git a/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-Not-Found-response_2860703479/recording.har b/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-Not-Found-response_2860703479/recording.har new file mode 100644 index 000000000000..f96f13e89518 --- /dev/null +++ b/cassettes/v2/App-Builder_216136899/Update-App-Tags-returns-Not-Found-response_2860703479/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "App Builder/Update App Tags returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "bd69d2769feecf89833efebc840a285c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 78, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"tags\":[\"team:platform\",\"service:ops\"]},\"type\":\"tags\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/app-builder/apps/7addb29b-f935-472c-ae79-d1963979a23e/tags" + }, + "response": { + "bodySize": 167, + "content": { + "mimeType": "application/vnd.api+json", + "size": 167, + "text": "{\"errors\":[{\"status\":\"404\",\"id\":\"26c91c86-51b3-4c5f-98b4-713698730b08\",\"title\":\"app not found\",\"detail\":\"app with id 7addb29b-f935-472c-ae79-d1963979a23e not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 656, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2026-05-18T19:52:07.236Z", + "time": 149 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/features/v2/app_builder.feature b/features/v2/app_builder.feature index bbc0caf196fd..9f2b3174bc2c 100644 --- a/features/v2/app_builder.feature +++ b/features/v2/app_builder.feature @@ -27,10 +27,10 @@ Feature: App Builder Then the response status is 201 Created And the response "data.type" is equal to "appDefinitions" - @generated @skip @team:DataDog/app-builder-backend + @skip @team:DataDog/app-builder-backend Scenario: Create Publish Request returns "Bad Request" response Given new "CreatePublishRequest" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "bad-app-id" And body with value {"data": {"attributes": {"description": "Adds new dashboard widgets and a few bug fixes.", "title": "Release v1.2 to production"}, "type": "publishRequest"}} When the request is sent Then the response status is 400 Bad Request @@ -43,10 +43,10 @@ Feature: App Builder When the request is sent Then the response status is 201 Created - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Create Publish Request returns "Not Found" response Given new "CreatePublishRequest" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "7addb29b-f935-472c-ae79-d1963979a23e" And body with value {"data": {"attributes": {"description": "Adds new dashboard widgets and a few bug fixes.", "title": "Release v1.2 to production"}, "type": "publishRequest"}} When the request is sent Then the response status is 404 Not Found @@ -139,24 +139,25 @@ Feature: App Builder And the response "data.id" has the same value as "app.data.id" And the response "data.type" is equal to "appDefinitions" - @generated @skip @team:DataDog/app-builder-backend + @skip @team:DataDog/app-builder-backend Scenario: List App Versions returns "Bad Request" response Given new "ListAppVersions" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "bad-app-id" When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: List App Versions returns "Not Found" response Given new "ListAppVersions" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "7addb29b-f935-472c-ae79-d1963979a23e" When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: List App Versions returns "OK" response Given new "ListAppVersions" request - And request contains "app_id" parameter from "REPLACE.ME" + And there is a valid "app" in the system + And request contains "app_id" parameter from "app.data.id" When the request is sent Then the response status is 200 OK @@ -172,29 +173,30 @@ Feature: App Builder When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/app-builder-backend + @skip @team:DataDog/app-builder-backend Scenario: Name App Version returns "Bad Request" response Given new "UpdateAppVersionName" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "version" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "bad-app-id" + And request contains "version" parameter with value "latest" And body with value {"data": {"attributes": {"name": "v1.2.0 - bug fix release"}, "type": "versionNames"}} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Name App Version returns "No Content" response Given new "UpdateAppVersionName" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "version" parameter from "REPLACE.ME" + And there is a valid "app" in the system + And request contains "app_id" parameter from "app.data.id" + And request contains "version" parameter with value "latest" And body with value {"data": {"attributes": {"name": "v1.2.0 - bug fix release"}, "type": "versionNames"}} When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Name App Version returns "Not Found" response Given new "UpdateAppVersionName" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "version" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "7addb29b-f935-472c-ae79-d1963979a23e" + And request contains "version" parameter with value "latest" And body with value {"data": {"attributes": {"name": "v1.2.0 - bug fix release"}, "type": "versionNames"}} When the request is sent Then the response status is 404 Not Found @@ -221,19 +223,19 @@ Feature: App Builder When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/app-builder-backend + @skip @team:DataDog/app-builder-backend Scenario: Revert App returns "Bad Request" response Given new "RevertApp" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "version" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "bad-app-id" + And request contains "version" parameter with value "1" When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Revert App returns "Not Found" response Given new "RevertApp" request - And request contains "app_id" parameter from "REPLACE.ME" - And request contains "version" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "7addb29b-f935-472c-ae79-d1963979a23e" + And request contains "version" parameter with value "1" When the request is sent Then the response status is 404 Not Found @@ -267,98 +269,103 @@ Feature: App Builder When the request is sent Then the response status is 200 OK - @generated @skip @team:DataDog/app-builder-backend + @skip @team:DataDog/app-builder-backend Scenario: Update App Favorite Status returns "Bad Request" response Given new "UpdateAppFavorite" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "bad-app-id" And body with value {"data": {"attributes": {"favorite": true}, "type": "favorites"}} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Update App Favorite Status returns "No Content" response Given new "UpdateAppFavorite" request - And request contains "app_id" parameter from "REPLACE.ME" + And there is a valid "app" in the system + And request contains "app_id" parameter from "app.data.id" And body with value {"data": {"attributes": {"favorite": true}, "type": "favorites"}} When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Update App Favorite Status returns "Not Found" response Given new "UpdateAppFavorite" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "7addb29b-f935-472c-ae79-d1963979a23e" And body with value {"data": {"attributes": {"favorite": true}, "type": "favorites"}} When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/app-builder-backend + @skip @team:DataDog/app-builder-backend Scenario: Update App Protection Level returns "Bad Request" response Given new "UpdateProtectionLevel" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "bad-app-id" And body with value {"data": {"attributes": {"protectionLevel": "approval_required"}, "type": "protectionLevel"}} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Update App Protection Level returns "Not Found" response Given new "UpdateProtectionLevel" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "7addb29b-f935-472c-ae79-d1963979a23e" And body with value {"data": {"attributes": {"protectionLevel": "approval_required"}, "type": "protectionLevel"}} When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Update App Protection Level returns "OK" response Given new "UpdateProtectionLevel" request - And request contains "app_id" parameter from "REPLACE.ME" + And there is a valid "app" in the system + And request contains "app_id" parameter from "app.data.id" And body with value {"data": {"attributes": {"protectionLevel": "approval_required"}, "type": "protectionLevel"}} When the request is sent Then the response status is 200 OK + And the response "data.type" is equal to "appDefinitions" - @generated @skip @team:DataDog/app-builder-backend + @skip @team:DataDog/app-builder-backend Scenario: Update App Self-Service Status returns "Bad Request" response Given new "UpdateAppSelfService" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "bad-app-id" And body with value {"data": {"attributes": {"selfService": true}, "type": "selfService"}} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Update App Self-Service Status returns "No Content" response Given new "UpdateAppSelfService" request - And request contains "app_id" parameter from "REPLACE.ME" + And there is a valid "app" in the system + And request contains "app_id" parameter from "app.data.id" And body with value {"data": {"attributes": {"selfService": true}, "type": "selfService"}} When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Update App Self-Service Status returns "Not Found" response Given new "UpdateAppSelfService" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "7addb29b-f935-472c-ae79-d1963979a23e" And body with value {"data": {"attributes": {"selfService": true}, "type": "selfService"}} When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/app-builder-backend + @skip @team:DataDog/app-builder-backend Scenario: Update App Tags returns "Bad Request" response Given new "UpdateAppTags" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "bad-app-id" And body with value {"data": {"attributes": {"tags": ["team:platform", "service:ops"]}, "type": "tags"}} When the request is sent Then the response status is 400 Bad Request - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Update App Tags returns "No Content" response Given new "UpdateAppTags" request - And request contains "app_id" parameter from "REPLACE.ME" + And there is a valid "app" in the system + And request contains "app_id" parameter from "app.data.id" And body with value {"data": {"attributes": {"tags": ["team:platform", "service:ops"]}, "type": "tags"}} When the request is sent Then the response status is 204 No Content - @generated @skip @team:DataDog/app-builder-backend + @skip-typescript @team:DataDog/app-builder-backend Scenario: Update App Tags returns "Not Found" response Given new "UpdateAppTags" request - And request contains "app_id" parameter from "REPLACE.ME" + And request contains "app_id" parameter with value "7addb29b-f935-472c-ae79-d1963979a23e" And body with value {"data": {"attributes": {"tags": ["team:platform", "service:ops"]}, "type": "tags"}} When the request is sent Then the response status is 404 Not Found