|
4724 | 4724 | "Microsoft_Academic", |
4725 | 4725 | "Google-Workspace" |
4726 | 4726 | ] |
| 4727 | + }, |
| 4728 | + "CloudMatrix.TemplateMetadata": { |
| 4729 | + "title": "Cloud Matrix Template File Metadata", |
| 4730 | + "type": "object", |
| 4731 | + "description": "Information about Cloud Matrix template files.", |
| 4732 | + "properties": { |
| 4733 | + "createdOn": { |
| 4734 | + "$ref": "#/components/schemas/DateTimeStringType", |
| 4735 | + "description": "Creation date of the template file." |
| 4736 | + }, |
| 4737 | + "name": { |
| 4738 | + "$ref": "#/components/schemas/CloudMatrix.TemplateName", |
| 4739 | + "description": "Name of available template." |
| 4740 | + }, |
| 4741 | + "lastModified": { |
| 4742 | + "$ref": "#/components/schemas/DateTimeStringType", |
| 4743 | + "description": "Last modified date of the template file." |
| 4744 | + }, |
| 4745 | + "type": { |
| 4746 | + "type": "string", |
| 4747 | + "description": "Type of the template.", |
| 4748 | + "examples": [ |
| 4749 | + "Microsoft Cloud Adoption Matrix Template" |
| 4750 | + ] |
| 4751 | + } |
| 4752 | + }, |
| 4753 | + "required": [ |
| 4754 | + "name", |
| 4755 | + "type" |
| 4756 | + ], |
| 4757 | + "examples": [ |
| 4758 | + { |
| 4759 | + "createdOn": "2025-12-15T21:13:12.821Z", |
| 4760 | + "name": "Microsoft Enterprise", |
| 4761 | + "lastModified": "2025-12-15T21:13:12.821Z", |
| 4762 | + "type": "Microsoft Cloud Adoption Matrix Template" |
| 4763 | + }, |
| 4764 | + { |
| 4765 | + "createdOn": "2025-12-15T21:13:12.821Z", |
| 4766 | + "name": "Google-Workspace", |
| 4767 | + "lastModified": "2025-12-15T21:13:12.821Z", |
| 4768 | + "type": "Microsoft Cloud Adoption Matrix Template" |
| 4769 | + } |
| 4770 | + ] |
4727 | 4771 | } |
4728 | 4772 | }, |
4729 | 4773 | "securitySchemes": { |
|
11084 | 11128 | "Cloud Matrix" |
11085 | 11129 | ] |
11086 | 11130 | } |
| 11131 | + }, |
| 11132 | + "/Api/CloudMatrix/TemplateMetadata/List": { |
| 11133 | + "get": { |
| 11134 | + "description": "Get a list of all available templates from CM storage. \n\nThis endpoint requires the `CloudMatrix.Read`, `CloudMatrix.Read.Del`, `CloudMatrix.Read.All`, `CloudMatrix.ReadWrite`, or `CloudMatrix.ReadWrite.All` scope (permission).", |
| 11135 | + "operationId": "/Api/CloudMatrix/TemplateMetadata/List/Get", |
| 11136 | + "responses": { |
| 11137 | + "200": { |
| 11138 | + "description": "List of TemplateFileMetadata objects.", |
| 11139 | + "content": { |
| 11140 | + "application/json": { |
| 11141 | + "examples": { |
| 11142 | + "Default Output": { |
| 11143 | + "description": "A list of template metadata that is stored in blob storage. This is the default output when there are two templates stored in blob storage.", |
| 11144 | + "summary": "Default Output", |
| 11145 | + "value": [ |
| 11146 | + { |
| 11147 | + "createdOn": "2026-03-24T16:56:43.000Z", |
| 11148 | + "name": "cloudMatrix", |
| 11149 | + "lastModified": "2026-03-24T16:56:43.000Z", |
| 11150 | + "type": "Standard" |
| 11151 | + }, |
| 11152 | + { |
| 11153 | + "createdOn": "2026-04-08T14:15:44.000Z", |
| 11154 | + "name": "Google", |
| 11155 | + "lastModified": "2026-04-08T14:15:44.000Z", |
| 11156 | + "type": "Premium" |
| 11157 | + } |
| 11158 | + ] |
| 11159 | + } |
| 11160 | + }, |
| 11161 | + "schema": { |
| 11162 | + "type": "array", |
| 11163 | + "minItems": 0, |
| 11164 | + "items": { |
| 11165 | + "$ref": "#/components/schemas/CloudMatrix.TemplateMetadata" |
| 11166 | + } |
| 11167 | + } |
| 11168 | + } |
| 11169 | + } |
| 11170 | + }, |
| 11171 | + "500": { |
| 11172 | + "$ref": "#/components/responses/500" |
| 11173 | + } |
| 11174 | + }, |
| 11175 | + "tags": [ |
| 11176 | + "Cloud Matrix" |
| 11177 | + ], |
| 11178 | + "summary": "Get a list of all available CM template objects" |
| 11179 | + } |
11087 | 11180 | } |
11088 | 11181 | }, |
11089 | 11182 | "security": [ |
|
0 commit comments