...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
openapi: 3.0.3 info: title: Swagger Control Loop Instantiation description: "" version: 1.0.0 servers: - url: '{scheme}://onap/controlloop/v2/' variables: scheme: description: 'The Data Set API is accessible via https and http' enum: - 'https' - 'http' default: 'http' tags: - name: instantiate description: Control Loop Instantiation paths: /runtime-catalogue/instantiate: post: tags: - instantiate summary: Instantiate a deployed control loop operationId: instantiateLoop requestBody: description: Control loop that is to be instantiated content: application/json: schema: $ref: '#/components/schemas/ControlLoop' required: true responses: 200: description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/ApiResponse' 404: description: No Control Loop found 405: description: Invalid input /runtime-catalogue/loops/instantiated: get: tags: - instantiate summary: Get a list of instantiated control loops responses: 200: description: Success content: application/json: schema: type: array items: $ref: '#/components/schemas/ControlLoop' 404: description: No instantiated control loops found /runtime-catalogue/loops/instantiated/{loop-id}: get: tags: - instantiate summary: Get an instantiated control loop by id parameters: - name: loop-id in: path description: ID of instantiated loop to return required: true schema: type: string responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/ControlLoop' 404: description: Control Loop not found put: tags: - instantiate summary: Update an instantiated control loop parameters: - name: loop-id in: path description: ID of instantiated loop required: true schema: type: string requestBody: description: Control loop to be updated content: application/json: schema: $ref: '#/components/schemas/ControlLoop' required: true responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/ControlLoop' 404: description: Control Loop not found delete: tags: - instantiate summary: Delete an instantiated control loop parameters: - name: loop-id in: path description: ID of instantiated loop required: true schema: type: string responses: 200: description: OK 404: description: Control Loop not found components: schemas: ControlLoop: title: ControlLoop type: object properties: id: type: string controlLoopTosca: type: string ApiResponse: type: object properties: code: type: integer format: int32 status: type: string |
...