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
51 changes: 51 additions & 0 deletions specs/Data-Gateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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).",
Expand Down
28 changes: 2 additions & 26 deletions src/dataGateway/TypeScript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/dataGateway/TypeScript/package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down