Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
456 changes: 456 additions & 0 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-05-18T17:39:16.852Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"log": {
"_recordingName": "App Builder/Get Blueprint returns \"Not Found\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "79b82b76e0bbb6c3c16ffc7ead4f10b4",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "application/json"
}
],
"headersSize": 551,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/app-builder/blueprint/00000000-0000-0000-0000-000000000001"
},
"response": {
"bodySize": 179,
"content": {
"mimeType": "application/vnd.api+json",
"size": 179,
"text": "{\"errors\":[{\"status\":\"404\",\"id\":\"75010b80-a44e-47bd-b903-e38f79efce20\",\"title\":\"blueprint not found\",\"detail\":\"blueprint with id 00000000-0000-0000-0000-000000000001 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-18T17:39:16.854Z",
"time": 692
}
],
"pages": [],
"version": "1.2"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-05-18T17:39:17.553Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"log": {
"_recordingName": "App Builder/Get Blueprints by Integration ID returns \"OK\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "9e893e8506a54acb5d626f03f22f79a9",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "application/json"
}
],
"headersSize": 550,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/app-builder/blueprints/integration-id/aws"
},
"response": {
"bodySize": 11,
"content": {
"mimeType": "application/vnd.api+json",
"size": 11,
"text": "{\"data\":[]}"
},
"cookies": [],
"headers": [
{
"name": "content-type",
"value": "application/vnd.api+json"
}
],
"headersSize": 655,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2026-05-18T17:39:17.556Z",
"time": 514
}
],
"pages": [],
"version": "1.2"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-05-18T17:39:18.076Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"log": {
"_recordingName": "App Builder/Get Blueprints by Slugs returns \"OK\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "d58db21a252d04e00047c9427f7ef348",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "application/json"
}
],
"headersSize": 549,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/app-builder/blueprints/slugs/aws-service-manager"
},
"response": {
"bodySize": 11,
"content": {
"mimeType": "application/vnd.api+json",
"size": 11,
"text": "{\"data\":[]}"
},
"cookies": [],
"headers": [
{
"name": "content-type",
"value": "application/vnd.api+json"
}
],
"headersSize": 655,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2026-05-18T17:39:18.079Z",
"time": 692
}
],
"pages": [],
"version": "1.2"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-05-18T17:39:19.135Z"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2026-05-18T17:39:19.668Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"log": {
"_recordingName": "App Builder/List Tags returns \"OK\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "90068ede3a13d0eceb7e543b27512f8e",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "application/json"
}
],
"headersSize": 505,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/app-builder/tags"
},
"response": {
"bodySize": 11,
"content": {
"mimeType": "application/vnd.api+json",
"size": 11,
"text": "{\"data\":[]}"
},
"cookies": [],
"headers": [
{
"name": "content-type",
"value": "application/vnd.api+json"
}
],
"headersSize": 655,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2026-05-18T17:39:19.672Z",
"time": 316
}
],
"pages": [],
"version": "1.2"
}
}
21 changes: 21 additions & 0 deletions examples/v2/app-builder/GetBlueprint.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Get Blueprint returns "OK" response
*/

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AppBuilderApi(configuration);

const params: v2.AppBuilderApiGetBlueprintRequest = {
blueprintId: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
};

apiInstance
.getBlueprint(params)
.then((data: v2.GetBlueprintResponse) => {
console.log(
"API called successfully. Returned data: " + JSON.stringify(data)
);
})
.catch((error: any) => console.error(error));
21 changes: 21 additions & 0 deletions examples/v2/app-builder/GetBlueprintsByIntegrationId.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Get Blueprints by Integration ID returns "OK" response
*/

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AppBuilderApi(configuration);

const params: v2.AppBuilderApiGetBlueprintsByIntegrationIdRequest = {
integrationId: "aws",
};

apiInstance
.getBlueprintsByIntegrationId(params)
.then((data: v2.GetBlueprintsResponse) => {
console.log(
"API called successfully. Returned data: " + JSON.stringify(data)
);
})
.catch((error: any) => console.error(error));
21 changes: 21 additions & 0 deletions examples/v2/app-builder/GetBlueprintsBySlugs.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Get Blueprints by Slugs returns "OK" response
*/

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AppBuilderApi(configuration);

const params: v2.AppBuilderApiGetBlueprintsBySlugsRequest = {
slugs: "aws-service-manager",
};

apiInstance
.getBlueprintsBySlugs(params)
.then((data: v2.GetBlueprintsResponse) => {
console.log(
"API called successfully. Returned data: " + JSON.stringify(data)
);
})
.catch((error: any) => console.error(error));
17 changes: 17 additions & 0 deletions examples/v2/app-builder/ListBlueprints.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* List Blueprints returns "OK" response
*/

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AppBuilderApi(configuration);

apiInstance
.listBlueprints()
.then((data: v2.ListBlueprintsResponse) => {
console.log(
"API called successfully. Returned data: " + JSON.stringify(data)
);
})
.catch((error: any) => console.error(error));
17 changes: 17 additions & 0 deletions examples/v2/app-builder/ListTags.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* List Tags returns "OK" response
*/

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AppBuilderApi(configuration);

apiInstance
.listTags()
.then((data: v2.AppBuilderListTagsResponse) => {
console.log(
"API called successfully. Returned data: " + JSON.stringify(data)
);
})
.catch((error: any) => console.error(error));
35 changes: 35 additions & 0 deletions features/support/scenarios_model_mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4024,6 +4024,41 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
},
"operationResponseType": "ListAppVersionsResponse",
},
"v2.GetBlueprint": {
"blueprintId": {
"type": "string",
"format": "uuid",
},
"operationResponseType": "GetBlueprintResponse",
},
"v2.ListBlueprints": {
"limit": {
"type": "number",
"format": "int64",
},
"page": {
"type": "number",
"format": "int64",
},
"operationResponseType": "ListBlueprintsResponse",
},
"v2.GetBlueprintsByIntegrationId": {
"integrationId": {
"type": "string",
"format": "",
},
"operationResponseType": "GetBlueprintsResponse",
},
"v2.GetBlueprintsBySlugs": {
"slugs": {
"type": "string",
"format": "",
},
"operationResponseType": "GetBlueprintsResponse",
},
"v2.ListTags": {
"operationResponseType": "AppBuilderListTagsResponse",
},
"v2.ListAuditLogs": {
"filterQuery": {
"type": "string",
Expand Down
Loading
Loading