diff --git a/.apigentools-info b/.apigentools-info index 1307f2bff0131..2db40bbc55dd3 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-12 15:25:32.840969", - "spec_repo_commit": "222e1f81" + "regenerated": "2024-12-12 21:55:24.769932", + "spec_repo_commit": "4bebfa83" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-12-12 15:25:41.375686", - "spec_repo_commit": "222e1f81" + "regenerated": "2024-12-12 21:55:32.728563", + "spec_repo_commit": "4bebfa83" } } } \ No newline at end of file diff --git a/content/en/api/v2/apps/request.CreateApp.json b/content/en/api/v2/apps/request.CreateApp.json new file mode 100644 index 0000000000000..4b03f3668b0c7 --- /dev/null +++ b/content/en/api/v2/apps/request.CreateApp.json @@ -0,0 +1,55 @@ +{ + "data": { + "attributes": { + "components": [ + { + "events": [], + "name": "grid0", + "properties": { + "children": [ + { + "events": [], + "name": "gridCell0", + "properties": { + "children": [ + { + "events": [], + "name": "calloutValue0", + "properties": { + "isVisible": true, + "isDisabled": false, + "isLoading": false, + "label": "CPU Usage", + "size": "sm", + "style": "vivid_yellow", + "unit": "kB", + "value": "42" + }, + "type": "calloutValue" + } + ], + "isVisible": "true", + "layout": { + "default": { + "height": 8, + "width": 2, + "x": 0, + "y": 0 + } + } + }, + "type": "gridCell" + } + ] + }, + "type": "grid" + } + ], + "description": "This is a simple example app", + "embeddedQueries": [], + "name": "Example App", + "rootInstanceName": "grid0" + }, + "type": "appDefinitions" + } +} \ No newline at end of file diff --git a/content/en/api/v2/apps/request.DeleteApps.json b/content/en/api/v2/apps/request.DeleteApps.json new file mode 100644 index 0000000000000..b2b217531ecb4 --- /dev/null +++ b/content/en/api/v2/apps/request.DeleteApps.json @@ -0,0 +1,8 @@ +{ + "data": [ + { + "id": "", + "type": "appDefinitions" + } + ] +} \ No newline at end of file diff --git a/content/en/api/v2/apps/request.UpdateApp.json b/content/en/api/v2/apps/request.UpdateApp.json new file mode 100644 index 0000000000000..517d27d656ca7 --- /dev/null +++ b/content/en/api/v2/apps/request.UpdateApp.json @@ -0,0 +1,10 @@ +{ + "data": { + "attributes": { + "name": "Updated Name", + "rootInstanceName": "grid0" + }, + "id": "", + "type": "appDefinitions" + } +} \ No newline at end of file diff --git a/data/api/v2/CodeExamples.json b/data/api/v2/CodeExamples.json index b47ac3e90e714..3d8a7984b6ebd 100644 --- a/data/api/v2/CodeExamples.json +++ b/data/api/v2/CodeExamples.json @@ -39,6 +39,27 @@ "description": "Update an AWS integration returns \"AWS Account object\" response" } ], + "CreateApp": [ + { + "group": "apps", + "suffix": "", + "description": "Create App returns \"App Created\" response" + } + ], + "DeleteApps": [ + { + "group": "apps", + "suffix": "", + "description": "Delete Multiple Apps returns \"OK\" response" + } + ], + "UpdateApp": [ + { + "group": "apps", + "suffix": "", + "description": "Update App returns \"OK\" response" + } + ], "SearchAuditLogs": [ { "group": "audit",