From b59e9d28fc7d4c6638cd9b030751abc57902d35a Mon Sep 17 00:00:00 2001 From: alyssarcano <63893679+alyssarcano@users.noreply.github.com> Date: Fri, 1 May 2026 15:00:43 -0500 Subject: [PATCH 1/2] Update OpenAPI specs for new publish template endpoint --- specs/Data-Gateway.json | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/specs/Data-Gateway.json b/specs/Data-Gateway.json index 9fbc553..eb04737 100644 --- a/specs/Data-Gateway.json +++ b/specs/Data-Gateway.json @@ -180,6 +180,22 @@ "value": "Microsoft Enterprise" } } + }, + "templateId": { + "description": "The object ID of the Cloud Matrix template metadata record to publish.", + "in": "path", + "name": "templateId", + "required": true, + "schema": { + "$ref": "#/components/schemas/Uuid" + }, + "examples": { + "Valid Template ID": { + "summary": "Example Valid Template ID", + "description": "An example UUID string that represents a valid Cloud Matrix template metadata record ID.", + "value": "5a2f4c89-7d68-4f2e-8d40-2dca5d5a5c11" + } + } } }, "responses": { @@ -9351,6 +9367,41 @@ "summary": "Get a Specific Cloud Matrix Assessment Template" } }, + "/Api/CloudMatrix/Template/{templateId}/Publish": { + "patch": { + "description": "Publishes the specified Cloud Matrix assessment template metadata record. If the template is already published, the operation still succeeds without making further changes.\n\nThis endpoint is only accessible from the `SHI` and `SHI Lab` tenants and requires the `CloudMatrix.ReadWrite.All` scope (permission).", + "operationId": "/Api/CloudMatrix/Template/:templateId/Publish/Patch", + "parameters": [ + { + "$ref": "#/components/parameters/templateId" + } + ], + "responses": { + "200": { + "description": "Template published successfully." + }, + "400": { + "$ref": "#/components/responses/400" + }, + "401": { + "$ref": "#/components/responses/401" + }, + "403": { + "$ref": "#/components/responses/403" + }, + "404": { + "$ref": "#/components/responses/404" + }, + "500": { + "$ref": "#/components/responses/500" + } + }, + "tags": [ + "Cloud Matrix" + ], + "summary": "Publish Cloud Matrix Assessment Template" + } + }, "/Api/CloudMatrix/Template": { "post": { "description": "Add or update a value assessment template. When the specified template name exists, it will overwrite the existing template JSON file in blob storage.\n\nThis endpoint is only accessible from the `SHI` and `SHI Lab` tenants and requires the `CloudMatrix.ReadWrite.All` scope (permission).", From 780f0ab0d0083da4f0426e4fcbea88bb3e13f66c Mon Sep 17 00:00:00 2001 From: alyssarcano <63893679+alyssarcano@users.noreply.github.com> Date: Tue, 5 May 2026 08:50:44 -0500 Subject: [PATCH 2/2] Updating version --- src/dataGateway/TypeScript/package-lock.json | 28 ++------------------ src/dataGateway/TypeScript/package.json | 2 +- 2 files changed, 3 insertions(+), 27 deletions(-) diff --git a/src/dataGateway/TypeScript/package-lock.json b/src/dataGateway/TypeScript/package-lock.json index 38cb3e9..0f7ff84 100644 --- a/src/dataGateway/TypeScript/package-lock.json +++ b/src/dataGateway/TypeScript/package-lock.json @@ -1,12 +1,12 @@ { "name": "@shi-corp/sdk-data-gateway", - "version": "3.2.1", + "version": "3.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@shi-corp/sdk-data-gateway", - "version": "3.2.1", + "version": "3.2.2", "license": "MIT", "dependencies": { "@microsoft/kiota-authentication-azure": "~1.0.0-preview.100", @@ -1436,9 +1436,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1453,9 +1450,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1470,9 +1464,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1487,9 +1478,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1504,9 +1492,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1521,9 +1506,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1538,9 +1520,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1555,9 +1534,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ diff --git a/src/dataGateway/TypeScript/package.json b/src/dataGateway/TypeScript/package.json index 6ee2f40..e3cd51c 100644 --- a/src/dataGateway/TypeScript/package.json +++ b/src/dataGateway/TypeScript/package.json @@ -1,6 +1,6 @@ { "name": "@shi-corp/sdk-data-gateway", - "version": "3.2.1", + "version": "3.2.2", "type": "module", "main": "bin/index.js", "description": "SDK client used to interface with the SHI Data Gateway service.",