1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2022-2023 Nordix Foundation
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
20 title: Api Documentation
21 description: Api Documentation
22 termsOfService: urn:tos
26 url: http://www.apache.org/licenses/LICENSE-2.0
29 - url: https://{server}
32 default: onap/policy/clamp/acm/v2
33 description: This value is assigned by the service provider
35 - name: Participant Monitoring
36 description: Pariticipant Monitoring Controller, for monitoring of and requesting information from participants
37 - name: Automation Composition Definition
38 description: Automation Composition Definition Controller, for definition and management of Automation Composition Types
39 - name: Automation Composition Instance
40 description: Automation Composition Instance Controller, for definition and management of Automation Composition Instances
46 - Participant Monitoring
47 summary: Query Particicpants
48 description: Query the participants that are registered on the ACM runtime
49 operationId: queryParticipants
54 description: Automation composition definition name. Regular expressions are supported for filtering. If
55 this parameter is not specified, all automation composition definitions are returned.
61 description: Automation composition definition version. Regular expressions are supported for filtering. If this
62 parameter is not specified, all automation composition definitions that match the "name" filter are are returned.
65 - name: X-onap-RequestId
67 description: RequestID for http transaction
73 description: OK, serialised array of instances of
74 [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/ParticipantInformation.java)
75 that contains information on participants with their information and status. Each participant entry contains
76 a list of AC Element types on the participant. Each AC Element type entry contains a list of AC Element
77 instances on the Participant.
80 $ref: '#/components/headers/X-LatestVersion'
82 $ref: '#/components/headers/X-PatchVersion'
84 $ref: '#/components/headers/X-MinorVersion'
86 $ref: '#/components/headers/X-onap-RequestId'
92 $ref: '#/components/schemas/ParticipantInformation'
94 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.json'
99 $ref: '#/components/schemas/ParticipantInformation'
101 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.yaml'
103 description: Authentication Error, returns an instance of
104 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
107 $ref: '#/components/headers/X-LatestVersion'
109 $ref: '#/components/headers/X-PatchVersion'
111 $ref: '#/components/headers/X-MinorVersion'
113 $ref: '#/components/headers/X-onap-RequestId'
117 $ref: '#/components/schemas/SimpleResponse'
119 description: Internal Server Error, returns an instance of
120 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
123 $ref: '#/components/headers/X-LatestVersion'
125 $ref: '#/components/headers/X-PatchVersion'
127 $ref: '#/components/headers/X-MinorVersion'
129 $ref: '#/components/headers/X-onap-RequestId'
133 $ref: '#/components/schemas/SimpleResponse'
138 last-mod-release: London
141 - Participant Monitoring
142 summary: Order an immendiate Participant Report from all participants
143 description: Requests all participants to immediately generate a heartbeat report with their information and status
144 and the information and status of all their AC Element Types and Instances. The results are published on subsequent
145 GET REST requests on the "participants" endpoint.
146 operationId: orderAllParticipantsReport
148 - name: X-onap-RequestId
150 description: RequestID for http transaction
156 description: Accepted, the request has been accepted and forwarded to participants
159 $ref: '#/components/headers/X-LatestVersion'
161 $ref: '#/components/headers/X-PatchVersion'
163 $ref: '#/components/headers/X-MinorVersion'
165 $ref: '#/components/headers/X-onap-RequestId'
167 description: Bad Request, returns an instance of
168 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
171 $ref: '#/components/headers/X-LatestVersion'
173 $ref: '#/components/headers/X-PatchVersion'
175 $ref: '#/components/headers/X-MinorVersion'
177 $ref: '#/components/headers/X-onap-RequestId'
181 $ref: '#/components/schemas/SimpleResponse'
183 description: Authentication Error, returns an instance of
184 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
187 $ref: '#/components/headers/X-LatestVersion'
189 $ref: '#/components/headers/X-PatchVersion'
191 $ref: '#/components/headers/X-MinorVersion'
193 $ref: '#/components/headers/X-onap-RequestId'
197 $ref: '#/components/schemas/SimpleResponse'
199 description: Internal Server Error, returns an instance of
200 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
203 $ref: '#/components/headers/X-LatestVersion'
205 $ref: '#/components/headers/X-PatchVersion'
207 $ref: '#/components/headers/X-MinorVersion'
209 $ref: '#/components/headers/X-onap-RequestId'
213 $ref: '#/components/schemas/SimpleResponse'
218 last-mod-release: London
219 x-codegen-request-body-name: body
220 /participants/{participantId}:
223 - Participant Monitoring
224 summary: Get details of the requested participant
226 description: Get details of the requested commissioned participant, returning all pariticipant details
227 operationId: getParticipant
229 - name : participantId
231 description: The UUID of the participant to get
236 - name: X-onap-RequestId
238 description: RequestID for http transaction
244 description: Serialised instance of
245 [ParticipantInformation](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/ParticipantInformation.java)
246 that information on the participant with its information and status. The participant entry contains
247 a list of AC Element types on the participant. Each AC Element type entry contains a list of AC Element
248 instances on the Participant.
251 $ref: '#/components/headers/X-LatestVersion'
253 $ref: '#/components/headers/X-PatchVersion'
255 $ref: '#/components/headers/X-MinorVersion'
257 $ref: '#/components/headers/X-onap-RequestId'
261 $ref: '#/components/schemas/ParticipantInformation'
263 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.json'
266 $ref: '#/components/schemas/ToscaServiceTemplate'
268 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleParticipantResponse.yaml'
270 description: Authentication Error, returns an instance of
271 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
274 $ref: '#/components/headers/X-LatestVersion'
276 $ref: '#/components/headers/X-PatchVersion'
278 $ref: '#/components/headers/X-MinorVersion'
280 $ref: '#/components/headers/X-onap-RequestId'
284 $ref: '#/components/schemas/SimpleResponse'
286 description: Specified participant not found, returns an instance of
287 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
290 $ref: '#/components/headers/X-LatestVersion'
292 $ref: '#/components/headers/X-PatchVersion'
294 $ref: '#/components/headers/X-MinorVersion'
296 $ref: '#/components/headers/X-onap-RequestId'
300 $ref: '#/components/schemas/SimpleResponse'
302 description: Internal Server Error, returns an instance of
303 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
306 $ref: '#/components/headers/X-LatestVersion'
308 $ref: '#/components/headers/X-PatchVersion'
310 $ref: '#/components/headers/X-MinorVersion'
312 $ref: '#/components/headers/X-onap-RequestId'
316 $ref: '#/components/schemas/SimpleResponse'
321 last-mod-release: London
324 - Participant Monitoring
325 summary: Order an immendiate Participant Report from a participant
326 description: Requests the participants to immediately generate a heartbeat report with its information and status
327 and the information and status of all its AC Element Types and Instances. The results are published on subsequent
328 GET REST requests on the "participants" endpoint.
329 operationId: orderParticipantReport
331 - name : participantId
333 description: The UUID of the participant to get
338 - name: X-onap-RequestId
340 description: RequestID for http transaction
346 description: Accepted, the request has been accepted and forwarded to participants
349 $ref: '#/components/headers/X-LatestVersion'
351 $ref: '#/components/headers/X-PatchVersion'
353 $ref: '#/components/headers/X-MinorVersion'
355 $ref: '#/components/headers/X-onap-RequestId'
357 description: Bad Request, returns an instance of
358 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
361 $ref: '#/components/headers/X-LatestVersion'
363 $ref: '#/components/headers/X-PatchVersion'
365 $ref: '#/components/headers/X-MinorVersion'
367 $ref: '#/components/headers/X-onap-RequestId'
371 $ref: '#/components/schemas/SimpleResponse'
373 description: Authentication Error, returns an instance of
374 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
377 $ref: '#/components/headers/X-LatestVersion'
379 $ref: '#/components/headers/X-PatchVersion'
381 $ref: '#/components/headers/X-MinorVersion'
383 $ref: '#/components/headers/X-onap-RequestId'
387 $ref: '#/components/schemas/SimpleResponse'
389 description: Specified participant not found, returns an instance of
390 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
393 $ref: '#/components/headers/X-LatestVersion'
395 $ref: '#/components/headers/X-PatchVersion'
397 $ref: '#/components/headers/X-MinorVersion'
399 $ref: '#/components/headers/X-onap-RequestId'
403 $ref: '#/components/schemas/SimpleResponse'
405 description: Internal Server Error, returns an instance of
406 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
409 $ref: '#/components/headers/X-LatestVersion'
411 $ref: '#/components/headers/X-PatchVersion'
413 $ref: '#/components/headers/X-MinorVersion'
415 $ref: '#/components/headers/X-onap-RequestId'
419 $ref: '#/components/schemas/SimpleResponse'
424 last-mod-release: London
425 x-codegen-request-body-name: body
429 - Automation Composition Definition
430 summary: Query the commissioned automation composition definitions
432 description: Query the commissioned automation composition
433 definitions, returning the automation composition details
434 operationId: queryCompositionDefinitions
439 description: Automation composition definition name. Regular expressions are supported for filtering. If
440 this parameter is not specified, all automation composition definitions are returned.
446 description: Automation composition definition version. Regular expressions are supported for filtering. If this
447 parameter is not specified, all automation composition definitions that match the "name" filter are are returned.
450 - name: X-onap-RequestId
452 description: RequestID for http transaction
458 description: Serialised instance of
459 [ToscaServiceTemplates](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplates.java)
460 that contains the automation composition definitions that match the requested filters.
463 $ref: '#/components/headers/X-LatestVersion'
465 $ref: '#/components/headers/X-PatchVersion'
467 $ref: '#/components/headers/X-MinorVersion'
469 $ref: '#/components/headers/X-onap-RequestId'
473 $ref: '#/components/schemas/ToscaServiceTemplates'
475 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionDefinitions.json'
478 $ref: '#/components/schemas/ToscaServiceTemplates'
480 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionDefinitions.yaml'
482 description: Authentication Error, returns an instance of
483 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
486 $ref: '#/components/headers/X-LatestVersion'
488 $ref: '#/components/headers/X-PatchVersion'
490 $ref: '#/components/headers/X-MinorVersion'
492 $ref: '#/components/headers/X-onap-RequestId'
496 $ref: '#/components/schemas/SimpleResponse'
498 description: Internal Server Error, returns an instance of
499 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
502 $ref: '#/components/headers/X-LatestVersion'
504 $ref: '#/components/headers/X-PatchVersion'
506 $ref: '#/components/headers/X-MinorVersion'
508 $ref: '#/components/headers/X-onap-RequestId'
512 $ref: '#/components/schemas/SimpleResponse'
517 last-mod-release: London
520 - Automation Composition Definition
521 summary: Commissions automation composition definitions
522 description: Commissions automation composition definitions, returning the UUIDs of
523 automation composition definitions commissioned by this request.
524 operationId: createCompositionDefinitions
526 - name: X-onap-RequestId
528 description: RequestID for http transaction
533 description: Serialised instance of
534 [ToscaServiceTemplate](https://github.com/onap/policy-models/blob/master/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java)
535 containing the automation composition definitions to be commissioned.
539 $ref: '#/components/schemas/ToscaServiceTemplate'
541 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.json'
544 $ref: '#/components/schemas/ToscaServiceTemplate'
546 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionDefinitions.yaml'
550 description: Serialised instance of
551 [CommissioningResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/commissioning/CommissioningResponse.java)
552 containing the UUIDs of automation composition definitions created by this request
555 $ref: '#/components/headers/X-LatestVersion'
557 $ref: '#/components/headers/X-PatchVersion'
559 $ref: '#/components/headers/X-MinorVersion'
561 $ref: '#/components/headers/X-onap-RequestId'
565 $ref: '#/components/schemas/CommissioningResponse'
567 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCommissionCompositionDefinitionsResponse.json'
570 $ref: '#/components/schemas/CommissioningResponse'
572 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCommissionCompositionDefinitionsResponse.yaml'
574 description: Authentication Error, returns an instance of
575 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
578 $ref: '#/components/headers/X-LatestVersion'
580 $ref: '#/components/headers/X-PatchVersion'
582 $ref: '#/components/headers/X-MinorVersion'
584 $ref: '#/components/headers/X-onap-RequestId'
588 $ref: '#/components/schemas/SimpleResponse'
590 description: Bad Request, returns an instance of
591 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
594 $ref: '#/components/headers/X-LatestVersion'
596 $ref: '#/components/headers/X-PatchVersion'
598 $ref: '#/components/headers/X-MinorVersion'
600 $ref: '#/components/headers/X-onap-RequestId'
604 $ref: '#/components/schemas/SimpleResponse'
606 description: Internal Server Error, returns an instance of
607 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
610 $ref: '#/components/headers/X-LatestVersion'
612 $ref: '#/components/headers/X-PatchVersion'
614 $ref: '#/components/headers/X-MinorVersion'
616 $ref: '#/components/headers/X-onap-RequestId'
620 $ref: '#/components/schemas/SimpleResponse'
625 last-mod-release: London
626 x-codegen-request-body-name: body
627 /compositions/{compositionId}:
630 - Automation Composition Definition
631 summary: Get details of the requested commissioned automation composition
633 description: Get details of the requested commissioned automation composition
634 definitions, returning all automation composition details
635 operationId: getCompositionDefinition
637 - name : compositionId
639 description: The UUID of the automation composition definition to get
644 - name: X-onap-RequestId
646 description: RequestID for http transaction
653 Serialised instance of
654 [AutomationCompositionDefinition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationCompositionDefinition.java)
655 containing the requested automation composition definition.
658 $ref: '#/components/headers/X-LatestVersion'
660 $ref: '#/components/headers/X-PatchVersion'
662 $ref: '#/components/headers/X-MinorVersion'
664 $ref: '#/components/headers/X-onap-RequestId'
668 $ref: '#/components/schemas/AutomationCompositionDefinition'
670 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleCompositionDefinition.json'
673 $ref: '#/components/schemas/AutomationCompositionDefinition'
675 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getSingleCompositionDefinition.yaml'
677 description: Authentication Error, returns an instance of
678 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
681 $ref: '#/components/headers/X-LatestVersion'
683 $ref: '#/components/headers/X-PatchVersion'
685 $ref: '#/components/headers/X-MinorVersion'
687 $ref: '#/components/headers/X-onap-RequestId'
691 $ref: '#/components/schemas/SimpleResponse'
693 description: Specified automation composition definition not found, returns an instance of
694 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
697 $ref: '#/components/headers/X-LatestVersion'
699 $ref: '#/components/headers/X-PatchVersion'
701 $ref: '#/components/headers/X-MinorVersion'
703 $ref: '#/components/headers/X-onap-RequestId'
707 $ref: '#/components/schemas/SimpleResponse'
709 description: Internal Server Error, returns an instance of
710 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
713 $ref: '#/components/headers/X-LatestVersion'
715 $ref: '#/components/headers/X-PatchVersion'
717 $ref: '#/components/headers/X-MinorVersion'
719 $ref: '#/components/headers/X-onap-RequestId'
723 $ref: '#/components/schemas/SimpleResponse'
728 last-mod-release: London
731 - Automation Composition Definition
732 summary: Primes or deprimes an automation composition definition
733 description: Primes or deprimes an automation composition definition by sending the AC Element Types to participants and
734 getting participants to take responsibility for AC Element Types in this AC Type.
735 operationId: compositionDefinitionPriming
737 - name : compositionId
739 description: The UUID of the automation composition definition to update
744 - name: X-onap-RequestId
746 description: RequestID for http transaction
751 description: Serialised instance of
752 [AcTypeStateUpdate](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/commissioning/AcTypeStateUpdate.java)
753 which specifies the requested state change on the automation concept instance
757 $ref: '#/components/schemas/AcTypeStateUpdate'
759 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcTypeStateUpdate.json'
762 $ref: '#/components/schemas/AcTypeStateUpdate'
764 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcTypeStateUpdate.yaml'
767 description: Accepted, the request has been accepted and forwarded to participants
770 $ref: '#/components/headers/X-LatestVersion'
772 $ref: '#/components/headers/X-PatchVersion'
774 $ref: '#/components/headers/X-MinorVersion'
776 $ref: '#/components/headers/X-onap-RequestId'
778 description: Bad Request, returns an instance of
779 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
782 $ref: '#/components/headers/X-LatestVersion'
784 $ref: '#/components/headers/X-PatchVersion'
786 $ref: '#/components/headers/X-MinorVersion'
788 $ref: '#/components/headers/X-onap-RequestId'
792 $ref: '#/components/schemas/SimpleResponse'
794 description: Authentication Error, returns an instance of
795 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
798 $ref: '#/components/headers/X-LatestVersion'
800 $ref: '#/components/headers/X-PatchVersion'
802 $ref: '#/components/headers/X-MinorVersion'
804 $ref: '#/components/headers/X-onap-RequestId'
808 $ref: '#/components/schemas/SimpleResponse'
810 description: Specified automation composition definition not found, returns an instance of
811 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
814 $ref: '#/components/headers/X-LatestVersion'
816 $ref: '#/components/headers/X-PatchVersion'
818 $ref: '#/components/headers/X-MinorVersion'
820 $ref: '#/components/headers/X-onap-RequestId'
824 $ref: '#/components/schemas/SimpleResponse'
826 description: Internal Server Error, returns an instance of
827 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
830 $ref: '#/components/headers/X-LatestVersion'
832 $ref: '#/components/headers/X-PatchVersion'
834 $ref: '#/components/headers/X-MinorVersion'
836 $ref: '#/components/headers/X-onap-RequestId'
840 $ref: '#/components/schemas/SimpleResponse'
845 last-mod-release: London
846 x-codegen-request-body-name: body
849 - Automation Composition Definition
850 summary: Delete a commissioned automation composition definition
851 description: Deletes a commissioned automation composition definition,returning the UUID of the automation composition definition deleted by this request
852 operationId: deleteCompositionDefinition
854 - name : compositionId
856 description: The UUID of the automation composition definition to delete
861 - name: X-onap-RequestId
863 description: RequestID for http transaction
869 description: Serialised instance of
870 [CommissioningResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/commissioning/CommissioningResponse.java)
871 containing the UUID of the automation composition deleted by this request
874 $ref: '#/components/headers/X-LatestVersion'
876 $ref: '#/components/headers/X-PatchVersion'
878 $ref: '#/components/headers/X-MinorVersion'
880 $ref: '#/components/headers/X-onap-RequestId'
884 $ref: '#/components/schemas/CommissioningResponse'
886 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionDefinitionResponse.json'
889 $ref: '#/components/schemas/CommissioningResponse'
891 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionDefinitionResponse.yaml'
893 description: Authentication Error, returns an instance of
894 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
897 $ref: '#/components/headers/X-LatestVersion'
899 $ref: '#/components/headers/X-PatchVersion'
901 $ref: '#/components/headers/X-MinorVersion'
903 $ref: '#/components/headers/X-onap-RequestId'
907 $ref: '#/components/schemas/SimpleResponse'
909 description: Specified automation composition definition not found, returns an instance of
910 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
913 $ref: '#/components/headers/X-LatestVersion'
915 $ref: '#/components/headers/X-PatchVersion'
917 $ref: '#/components/headers/X-MinorVersion'
919 $ref: '#/components/headers/X-onap-RequestId'
923 $ref: '#/components/schemas/SimpleResponse'
925 description: Bad Request, returns an instance of
926 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
929 $ref: '#/components/headers/X-LatestVersion'
931 $ref: '#/components/headers/X-PatchVersion'
933 $ref: '#/components/headers/X-MinorVersion'
935 $ref: '#/components/headers/X-onap-RequestId'
939 $ref: '#/components/schemas/SimpleResponse'
941 description: Internal Server Error, returns an instance of
942 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
945 $ref: '#/components/headers/X-LatestVersion'
947 $ref: '#/components/headers/X-PatchVersion'
949 $ref: '#/components/headers/X-MinorVersion'
951 $ref: '#/components/headers/X-onap-RequestId'
955 $ref: '#/components/schemas/SimpleResponse'
960 last-mod-release: London
961 /compositions/{compositionId}/instances:
964 - Automation Composition Instance
965 summary: Query details of the requested automation composition instances
966 description: Query details of the requested automation composition instances for the given automation composition definition ID, returning
967 details of all its automation composition instances
968 operationId: queryCompositionInstances
970 - name : compositionId
972 description: The UUID of the automation composition definition for which to return instances
979 description: Automation composition instance name. Regular expressions are supported for filtering. If
980 this parameter is not specified, all automation composition instances for the specified definition are returned.
985 description: Automation composition instance version. Regular expressions are supported for filtering. If this
986 parameter is not specified, all automation composition instances for the specified definition that match the "name" filter are are returned.
989 - name: X-onap-RequestId
991 description: RequestID for http transaction
997 description: Serialised instance of
998 [AutomationCompositions](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationCompositions.java)
999 containing a list of automation composition instances found
1002 $ref: '#/components/headers/X-LatestVersion'
1004 $ref: '#/components/headers/X-PatchVersion'
1006 $ref: '#/components/headers/X-MinorVersion'
1008 $ref: '#/components/headers/X-onap-RequestId'
1012 $ref: '#/components/schemas/AutomationCompositions'
1014 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.json'
1017 $ref: '#/components/schemas/AutomationCompositions'
1019 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getAllCompositionInstancesResponse.yaml'
1021 description: Authentication Error, returns an instance of
1022 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1025 $ref: '#/components/headers/X-LatestVersion'
1027 $ref: '#/components/headers/X-PatchVersion'
1029 $ref: '#/components/headers/X-MinorVersion'
1031 $ref: '#/components/headers/X-onap-RequestId'
1035 $ref: '#/components/schemas/SimpleResponse'
1037 description: The specified automation composition definition was not found, returns an instance of
1038 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1041 $ref: '#/components/headers/X-LatestVersion'
1043 $ref: '#/components/headers/X-PatchVersion'
1045 $ref: '#/components/headers/X-MinorVersion'
1047 $ref: '#/components/headers/X-onap-RequestId'
1051 $ref: '#/components/schemas/SimpleResponse'
1053 description: Internal Server Error, returns an instance of
1054 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1057 $ref: '#/components/headers/X-LatestVersion'
1059 $ref: '#/components/headers/X-PatchVersion'
1061 $ref: '#/components/headers/X-MinorVersion'
1063 $ref: '#/components/headers/X-onap-RequestId'
1067 $ref: '#/components/schemas/SimpleResponse'
1072 last-mod-release: London
1075 - Automation Composition Instance
1076 summary: Create, Update or Migrate an automation composition instance
1077 description: Create, Update or Migrate an automation composition instance that uses the specified automation composition definition. The ID of the created
1078 automation composition instance is returned. In the case of an update, the instanceId should be included in the request body.
1079 In the case of a migrate, the instanceId and the compositionTargetId should be included in the request body.
1080 operationId: createCompositionInstance
1082 - name : compositionId
1084 description: The UUID of the automation composition definition on which to create/update instance
1089 - name: X-onap-RequestId
1091 description: RequestID for http transaction
1096 description: Serialised instance of
1097 [AutomationComposition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java)
1098 containing a automation composition instance to create/update
1102 $ref: '#/components/schemas/AutomationComposition'
1106 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.json'
1109 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceUpdate.json'
1112 $ref: '#/components/schemas/AutomationComposition'
1116 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstance.yaml'
1119 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceUpdate.yaml'
1123 description: Serialised instance of
1124 [InstantiationResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationResponse.java)
1125 containing the UUID of the created/updated automation composition instance
1128 $ref: '#/components/headers/X-LatestVersion'
1130 $ref: '#/components/headers/X-PatchVersion'
1132 $ref: '#/components/headers/X-MinorVersion'
1134 $ref: '#/components/headers/X-onap-RequestId'
1138 $ref: '#/components/schemas/InstantiationResponse'
1140 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceResponse.json'
1143 $ref: '#/components/schemas/InstantiationResponse'
1145 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/postCompositionInstanceResponse.yaml'
1147 description: Authentication Error, returns an instance of
1148 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1151 $ref: '#/components/headers/X-LatestVersion'
1153 $ref: '#/components/headers/X-PatchVersion'
1155 $ref: '#/components/headers/X-MinorVersion'
1157 $ref: '#/components/headers/X-onap-RequestId'
1161 $ref: '#/components/schemas/SimpleResponse'
1163 description: The specified automation composition definition was not found, returns an instance of
1164 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1167 $ref: '#/components/headers/X-LatestVersion'
1169 $ref: '#/components/headers/X-PatchVersion'
1171 $ref: '#/components/headers/X-MinorVersion'
1173 $ref: '#/components/headers/X-onap-RequestId'
1177 $ref: '#/components/schemas/SimpleResponse'
1179 description: Bad Request, returns an instance of
1180 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1183 $ref: '#/components/headers/X-LatestVersion'
1185 $ref: '#/components/headers/X-PatchVersion'
1187 $ref: '#/components/headers/X-MinorVersion'
1189 $ref: '#/components/headers/X-onap-RequestId'
1193 $ref: '#/components/schemas/SimpleResponse'
1195 description: Internal Server Error, returns an instance of
1196 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1199 $ref: '#/components/headers/X-LatestVersion'
1201 $ref: '#/components/headers/X-PatchVersion'
1203 $ref: '#/components/headers/X-MinorVersion'
1205 $ref: '#/components/headers/X-onap-RequestId'
1209 $ref: '#/components/schemas/SimpleResponse'
1214 last-mod-release: London
1215 x-codegen-request-body-name: body
1216 /compositions/{compositionId}/instances/{instanceId}:
1219 - Automation Composition Instance
1220 summary: Get automation composition instance details.
1221 description: Get details of the requested automation composition instance.
1222 operationId: getCompositionInstance
1224 - name : compositionId
1226 description: The UUID of the automation composition definition on which to get an instance
1233 description: The UUID of the automation composition instance to get
1238 - name: X-onap-RequestId
1240 description: RequestID for http transaction
1246 description: Serialised instance of
1247 [AutomationComposition](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/concepts/AutomationComposition.java)
1248 containing the automation composition instance
1251 $ref: '#/components/headers/X-LatestVersion'
1253 $ref: '#/components/headers/X-PatchVersion'
1255 $ref: '#/components/headers/X-MinorVersion'
1257 $ref: '#/components/headers/X-onap-RequestId'
1261 $ref: '#/components/schemas/AutomationComposition'
1263 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.json'
1266 $ref: '#/components/schemas/AutomationComposition'
1268 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/getCompositionInstanceResponse.yaml'
1270 description: Authentication Error, returns an instance of
1271 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1274 $ref: '#/components/headers/X-LatestVersion'
1276 $ref: '#/components/headers/X-PatchVersion'
1278 $ref: '#/components/headers/X-MinorVersion'
1280 $ref: '#/components/headers/X-onap-RequestId'
1284 $ref: '#/components/schemas/SimpleResponse'
1286 description: The automation composition instance was not found, returns an instance of
1287 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1290 $ref: '#/components/headers/X-LatestVersion'
1292 $ref: '#/components/headers/X-PatchVersion'
1294 $ref: '#/components/headers/X-MinorVersion'
1296 $ref: '#/components/headers/X-onap-RequestId'
1300 $ref: '#/components/schemas/SimpleResponse'
1302 description: Internal Server Error, returns an instance of
1303 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1306 $ref: '#/components/headers/X-LatestVersion'
1308 $ref: '#/components/headers/X-PatchVersion'
1310 $ref: '#/components/headers/X-MinorVersion'
1312 $ref: '#/components/headers/X-onap-RequestId'
1316 $ref: '#/components/schemas/SimpleResponse'
1321 last-mod-release: London
1324 - Automation Composition Instance
1325 summary: Manage deployment and locking of an automation composition instance
1326 description: This request manages deployment and locking of an automation composition instance. This endpoint can
1327 order deployment and undeployment of an AC Instance to participants and order unlocking and locking of AC instances
1329 operationId: compositionInstanceState
1331 - name : compositionId
1333 description: The UUID of the automation composition definition on which to update an instance
1340 description: The UUID of the automation composition instance to update
1345 - name: X-onap-RequestId
1347 description: RequestID for http transaction
1352 description: Serialised instance of
1353 [AcInstanceStateUpdate](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/AcInstanceStateUpdate.java)
1354 which specifies the requested state change on the automation concept instance
1358 $ref: '#/components/schemas/AcInstanceStateUpdate'
1360 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcInstanceStateUpdate.json'
1363 $ref: '#/components/schemas/AcInstanceStateUpdate'
1365 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/putAcInstanceStateUpdate.yaml'
1369 description: Accepted, the request has been accepted and forwarded to participants
1372 $ref: '#/components/headers/X-LatestVersion'
1374 $ref: '#/components/headers/X-PatchVersion'
1376 $ref: '#/components/headers/X-MinorVersion'
1378 $ref: '#/components/headers/X-onap-RequestId'
1380 description: Bad Request, returns an instance of
1381 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1384 $ref: '#/components/headers/X-LatestVersion'
1386 $ref: '#/components/headers/X-PatchVersion'
1388 $ref: '#/components/headers/X-MinorVersion'
1390 $ref: '#/components/headers/X-onap-RequestId'
1394 $ref: '#/components/schemas/SimpleResponse'
1396 description: Authentication Error, returns an instance of
1397 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1400 $ref: '#/components/headers/X-LatestVersion'
1402 $ref: '#/components/headers/X-PatchVersion'
1404 $ref: '#/components/headers/X-MinorVersion'
1406 $ref: '#/components/headers/X-onap-RequestId'
1410 $ref: '#/components/schemas/SimpleResponse'
1412 description: The specified automation composition instance was not found, returns an instance of
1413 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1416 $ref: '#/components/headers/X-LatestVersion'
1418 $ref: '#/components/headers/X-PatchVersion'
1420 $ref: '#/components/headers/X-MinorVersion'
1422 $ref: '#/components/headers/X-onap-RequestId'
1426 $ref: '#/components/schemas/SimpleResponse'
1428 description: Internal Server Error, returns an instance of
1429 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1432 $ref: '#/components/headers/X-LatestVersion'
1434 $ref: '#/components/headers/X-PatchVersion'
1436 $ref: '#/components/headers/X-MinorVersion'
1438 $ref: '#/components/headers/X-onap-RequestId'
1442 $ref: '#/components/schemas/SimpleResponse'
1447 last-mod-release: London
1448 x-codegen-request-body-name: body
1451 - Automation Composition Instance
1452 summary: Delete an automation composition instance
1453 description: Order a deletion of an automation composition instance, returning the UUID of the automation composition instance to be deleted
1454 operationId: deleteCompositionInstance
1456 - name : compositionId
1458 description: The UUID of the automation composition definition on which to delete an instance
1465 description: The UUID of the automation composition instance to delete
1470 - name: X-onap-RequestId
1472 description: RequestID for http transaction
1478 description: Serialised instance of
1479 [InstantiationResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/instantiation/InstantiationResponse.java)
1480 containing the UUID of the deleted automation composition instance
1483 $ref: '#/components/headers/X-LatestVersion'
1485 $ref: '#/components/headers/X-PatchVersion'
1487 $ref: '#/components/headers/X-MinorVersion'
1489 $ref: '#/components/headers/X-onap-RequestId'
1493 $ref: '#/components/schemas/InstantiationResponse'
1495 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.json'
1498 $ref: '#/components/schemas/InstantiationResponse'
1500 externalValue: 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/examples/deleteCompositionInstanceResponse.yaml'
1502 description: Authentication Error, returns an instance of
1503 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1506 $ref: '#/components/headers/X-LatestVersion'
1508 $ref: '#/components/headers/X-PatchVersion'
1510 $ref: '#/components/headers/X-MinorVersion'
1512 $ref: '#/components/headers/X-onap-RequestId'
1516 $ref: '#/components/schemas/SimpleResponse'
1518 description: The specified automation composition instance was not found, returns an instance of
1519 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1522 $ref: '#/components/headers/X-LatestVersion'
1524 $ref: '#/components/headers/X-PatchVersion'
1526 $ref: '#/components/headers/X-MinorVersion'
1528 $ref: '#/components/headers/X-onap-RequestId'
1532 $ref: '#/components/schemas/SimpleResponse'
1534 description: Bad Request, returns an instance of
1535 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1538 $ref: '#/components/headers/X-LatestVersion'
1540 $ref: '#/components/headers/X-PatchVersion'
1542 $ref: '#/components/headers/X-MinorVersion'
1544 $ref: '#/components/headers/X-onap-RequestId'
1548 $ref: '#/components/schemas/SimpleResponse'
1550 description: Internal Server Error, returns an instance of
1551 [SimpleResponse](https://github.com/onap/policy-clamp/blob/master/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/SimpleResponse.java)
1554 $ref: '#/components/headers/X-LatestVersion'
1556 $ref: '#/components/headers/X-PatchVersion'
1558 $ref: '#/components/headers/X-MinorVersion'
1560 $ref: '#/components/headers/X-onap-RequestId'
1564 $ref: '#/components/schemas/SimpleResponse'
1569 last-mod-release: London
1577 ParticipantInformation:
1578 title: ParticipantInformation
1580 ToscaServiceTemplates:
1581 title: ToscaServiceTemplates
1583 ToscaServiceTemplate:
1584 title: ToscaServiceTemplate
1586 AutomationCompositionDefinition:
1587 title: AutomationCompositionDefinition
1589 AutomationComposition:
1590 title: AutomationComposition
1592 AutomationCompositions:
1593 title: AutomationCompositions
1596 title: SimpleResponse
1598 CommissioningResponse:
1599 title: CommissioningResponse
1602 title: AcTypeStateUpdate
1604 AcInstanceStateUpdate:
1605 title: AcInstanceStateUpdate
1607 InstantiationResponse:
1608 title: InstantiationResponse