responses:
200:
description: Serialised instance of
- [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
+ [ToscaServiceTemplates](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplates.java)
that contains the automation composition definitions that match the requested filters.
headers:
X-LatestVersion:
content:
application/json:
schema:
- title: ToscaServiceTemplate
- type: ToscaServiceTemplates
+ $ref: '#/components/schemas/ToscaServiceTemplates'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionDefinitions.json'
application/yaml:
schema:
- title: ToscaServiceTemplate
- type: ToscaServiceTemplates
+ $ref: '#/components/schemas/ToscaServiceTemplates'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionDefinitions.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
content:
application/json:
schema:
- title: ToscaServiceTemplate
- type: ToscaServiceTemplate
+ $ref: '#/components/schemas/ToscaServiceTemplate'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.json'
application/yaml:
schema:
- title: ToscaServiceTemplate
- type: ToscaServiceTemplate
+ $ref: '#/components/schemas/ToscaServiceTemplate'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml'
required: true
content:
application/json:
schema:
- title: CommissioningResponse
- type: CommissioningResponse
+ $ref: '#/components/schemas/CommissioningResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCommissionCompositionDefinitionsResponse.json'
application/yaml:
schema:
- title: CommissioningResponse
- type: CommissioningResponse
+ $ref: '#/components/schemas/CommissioningResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCommissionCompositionDefinitionsResponse.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
400:
- description: Bad Request
+ description: Bad Request, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
content:
application/json:
schema:
- title: ToscaServiceTemplate
- type: ToscaServiceTemplate
+ $ref: '#/components/schemas/ToscaServiceTemplate'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleCompositionDefinition.json'
application/yaml:
schema:
- title: ToscaServiceTemplate
- type: ToscaServiceTemplate
+ $ref: '#/components/schemas/ToscaServiceTemplate'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleCompositionDefinition.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
404:
- description: Specified automation composition definition not found
+ description: Specified automation composition definition not found, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
content:
application/json:
schema:
- title: ToscaServiceTemplate
- type: ToscaServiceTemplate
+ $ref: '#/components/schemas/ToscaServiceTemplate'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putCompositionDefinitionUpdate.json'
application/yaml:
schema:
- title: ToscaServiceTemplate
- type: ToscaServiceTemplate
+ $ref: '#/components/schemas/ToscaServiceTemplate'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putCompositionDefinitionUpdate.yaml'
required: true
content:
application/json:
schema:
- title: CommissioningResponse
- type: CommissioningResponse
+ $ref: '#/components/schemas/CommissioningResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putCompositionDefinitionUpdateResponse.json'
application/yaml:
schema:
- title: CommissioningResponse
- type: CommissioningResponse
+ $ref: '#/components/schemas/CommissioningResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putCompositionDefinitionUpdateResponse.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
404:
- description: Specified automation composition definition not found
+ description: Specified automation composition definition not found, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
400:
- description: Bad Request
+ description: Bad Request, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
content:
application/json:
schema:
- title: CommissioningResponse
- type: CommissioningResponse
+ $ref: '#/components/schemas/CommissioningResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionDefinitionResponse.json'
application/yaml:
schema:
- title: CommissioningResponse
- type: CommissioningResponse
+ $ref: '#/components/schemas/CommissioningResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionDefinitionResponse.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
404:
- description: Specified automation composition definition not found
+ description: Specified automation composition definition not found, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
400:
- description: Bad Request
+ description: Bad Request, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
content:
application/json:
schema:
- title: AutomationCompositions
- type: AutomationCompositions
+ $ref: '#/components/schemas/AutomationCompositions'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.json'
application/yaml:
schema:
- title: AutomationCompositions
- type: AutomationCompositions
+ $ref: '#/components/schemas/AutomationCompositions'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstancesResponse.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
404:
- description: The specified automation composition definition was not found
+ description: The specified automation composition definition was not found, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
content:
application/json:
schema:
- title: AutomationCompositions
- type: AutomationCompositions
+ $ref: '#/components/schemas/AutomationCompositions'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstances.json'
application/yaml:
schema:
- title: AutomationCompositions
- type: AutomationCompositions
+ $ref: '#/components/schemas/AutomationCompositions'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstances.yaml'
required: true
content:
application/json:
schema:
- title: InstantiationResponse
- type: InstantiationResponse
+ $ref: '#/components/schemas/InstantiationResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstancesResponse.json'
application/yaml:
schema:
- title: InstantiationResponse
- type: InstantiationResponse
+ $ref: '#/components/schemas/InstantiationResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstancesResponse.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
404:
- description: The specified automation composition definition was not found
+ description: The specified automation composition definition was not found, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
400:
- description: Bad Request
+ description: Bad Request, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
content:
application/json:
schema:
- title: AutomationCompositions
- type: AutomationComposition
+ $ref: '#/components/schemas/AutomationCompositions'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.json'
application/yaml:
schema:
- title: AutomationCompositions
- type: AutomationComposition
+ $ref: '#/components/schemas/AutomationCompositions'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
404:
- description: The automation composition instance was not found
+ description: The automation composition instance was not found, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
content:
application/json:
schema:
- title: InstantiationResponse
- type: InstantiationResponse
+ $ref: '#/components/schemas/InstantiationResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putCompositionInstanceUpdateResponse.json'
application/yaml:
schema:
- title: InstantiationResponse
- type: InstantiationResponse
+ $ref: '#/components/schemas/InstantiationResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putCompositionInstanceUpdateResponse.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
404:
- description: The specified automation composition instance was not found
+ description: The specified automation composition instance was not found, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
400:
- description: Bad Request
+ description: Bad Request, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
content:
application/json:
schema:
- title: InstantiationResponse
- type: InstantiationResponse
+ $ref: '#/components/schemas/InstantiationResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.json'
application/yaml:
schema:
- title: InstantiationResponse
- type: InstantiationResponse
+ $ref: '#/components/schemas/InstantiationResponse'
example:
externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.yaml'
401:
- description: Authentication Error
+ description: Authentication Error, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
404:
- description: The specified automation composition instance was not found
+ description: The specified automation composition instance was not found, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
400:
- description: Bad Request
+ description: Bad Request, returns an instance of
+ [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
headers:
X-LatestVersion:
schema:
content:
application/json:
schema:
- title: SimpleResponse
- type: SimpleResponse
+ $ref: '#/components/schemas/SimpleResponse'
security:
- basicAuth: []
x-interface info:
basicAuth:
type: http
scheme: basic
+ schemas:
+ ToscaServiceTemplates:
+ title: ToscaServiceTemplates
+ type: object
+ ToscaServiceTemplate:
+ title: ToscaServiceTemplate
+ type: object
+ AutomationCompositions:
+ title: AutomationCompositions
+ type: object
+ SimpleResponse:
+ title: SimpleResponse
+ type: object
+ CommissioningResponse:
+ title: CommissioningResponse
+ type: object
+ InstantiationResponse:
+ title: InstantiationResponse
+ type: object