Docs: update the h-release notes and the API docs
[pti/o2.git] / docs / swagger.json
index 0330644..6fe17d5 100644 (file)
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "oCloud not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                             "$ref": "#/definitions/OcloudDto"
                         }
+                    },
+                    "404": {
+                        "description": "oCloud not found"
                     }
                 },
                 "operationId": "Get Ocloud Information",
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "oCloud not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                             "$ref": "#/definitions/OcloudDto"
                         }
+                    },
+                    "404": {
+                        "description": "oCloud not found"
                     }
                 },
                 "operationId": "Get Ocloud Information",
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "Deployment manager not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                             "$ref": "#/definitions/DeploymentManagerGetDto"
                         }
+                    },
+                    "404": {
+                        "description": "Deployment manager not found"
                     }
                 },
                 "operationId": "Get Deployment Manager Information",
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "Resource pool not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                             "$ref": "#/definitions/ResourcePoolGetDto"
                         }
+                    },
+                    "404": {
+                        "description": "Resource pool not found"
                     }
                 },
                 "operationId": "Get Resource Pool Information",
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "Resource pool not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                                 "$ref": "#/definitions/ResourceListDto"
                             }
                         }
+                    },
+                    "404": {
+                        "description": "Resource pool not found"
                     }
                 },
                 "operationId": "Get Resource List",
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "Resource not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                             "$ref": "#/definitions/ResourceGetDto2"
                         }
+                    },
+                    "404": {
+                        "description": "Resource not found"
                     }
                 },
                 "operationId": "Get Resource Information",
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "Resource type not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                             "$ref": "#/definitions/ResourceTypeGetDto"
                         }
+                    },
+                    "404": {
+                        "description": "Resource type not found"
                     }
                 },
                 "operationId": "Get Resource Type Information",
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "Subscription not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                             "$ref": "#/definitions/SubscriptionGetDto"
                         }
+                    },
+                    "404": {
+                        "description": "Subscription not found"
                     }
                 },
                 "operationId": "Get Subscription Information",
             },
             "delete": {
                 "responses": {
-                    "404": {
-                        "description": "Subscription not found"
-                    },
                     "200": {
                         "description": "Subscription deleted"
+                    },
+                    "404": {
+                        "description": "Subscription not found"
                     }
                 },
                 "operationId": "Delete a Subscription",
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "Alarm Subscription not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                             "$ref": "#/definitions/AlarmSubscriptionGetDto"
                         }
+                    },
+                    "404": {
+                        "description": "Alarm Subscription not found"
                     }
                 },
                 "operationId": "Get Alarm Subscription Information",
             },
             "delete": {
                 "responses": {
-                    "404": {
-                        "description": "Alarm Subscription not found"
-                    },
                     "200": {
                         "description": "Subscription deleted"
+                    },
+                    "404": {
+                        "description": "Alarm Subscription not found"
                     }
                 },
                 "operationId": "Delete an Alarm Subscription",
             ],
             "get": {
                 "responses": {
-                    "404": {
-                        "description": "Alarm Event Record not found"
-                    },
                     "200": {
                         "description": "Success",
                         "schema": {
                             "$ref": "#/definitions/AlarmGetDto"
                         }
+                    },
+                    "404": {
+                        "description": "Alarm Event Record not found"
                     }
                 },
                 "operationId": "Get Alarm Event Record Information",
                 },
                 "serviceUri": {
                     "type": "string",
-                    "description": "The fully qualified URI to a Deployment Management server for O2dms services.",
+                    "description": "The fully qualified URI to a Deployment Management server for O2dms.",
                     "example": "https://128.224.115.51:6443"
                 },
+                "capabilities": {
+                    "$ref": "#/definitions/DeploymentManagerCapabilities"
+                },
                 "profileSupportList": {
                     "type": "array",
                     "description": "Profile support list, use default for the return endpoint",
             "x-mask": "{deploymentManagerId,name,description,oCloudId,serviceUri,profileSupportList}",
             "type": "object"
         },
+        "DeploymentManagerCapabilities": {
+            "properties": {
+                "OS": {
+                    "type": "string",
+                    "description": "Show the OS capablities of the Deployment Manager",
+                    "example": "low_latency"
+                }
+            },
+            "type": "object"
+        },
         "DeploymentManagerGetDto": {
             "required": [
                 "deploymentManagerId"
                 },
                 "serviceUri": {
                     "type": "string",
-                    "description": "The fully qualified URI to a Deployment Management server for O2dms services.",
+                    "description": "The fully qualified URI to a Deployment Management server for O2dms.",
                     "example": "https://128.224.115.51:6443"
                 },
+                "capabilities": {
+                    "$ref": "#/definitions/DeploymentManagerCapabilities"
+                },
                 "extensions": {
                     "$ref": "#/definitions/DeploymentManagerExtensions"
                 }
             },
-            "x-mask": "{deploymentManagerId,name,description,oCloudId,serviceUri,extensions,profileName,profileData}",
+            "x-mask": "{deploymentManagerId,name,description,oCloudId,serviceUri,extensions{profileName,profileData}}",
             "type": "object"
         },
         "DeploymentManagerExtensions": {
             "description": "Return a custom message and 500 status code"
         }
     }
-}
+}
\ No newline at end of file