5 "name" : "Legacy Operational Policy"
7 "schemes" : [ "http", "https" ],
9 "/policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies/{policyId}/versions/latest" : {
11 "tags" : [ "Legacy Operational Policy" ],
12 "summary" : "Retrieve the latest version of a particular operational policy",
13 "description" : "Returns the latest version of the specified operational policy",
14 "operationId" : "getLatestVersionOfOperationalPolicy",
15 "produces" : [ "application/json" ],
19 "description" : "ID of policy",
23 "name" : "X-ONAP-RequestID",
25 "description" : "RequestID for http transaction",
32 "description" : "successful operation; Latest version of specified operational policy will be returned.",
36 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
40 "description" : "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
44 "description" : "Used only to communicate an API's latest version"
46 "X-ONAP-RequestID" : {
49 "description" : "Used to track REST transactions for logging purpose"
53 "$ref" : "#/definitions/LegacyOperationalPolicy"
57 "description" : "Authentication Error"
60 "description" : "Authorization Error"
63 "description" : "Resource Not Found"
66 "description" : "Internal Server Error"
72 "x-interface info" : {
73 "api-version" : "1.0.0",
74 "last-mod-release" : "Dublin"
78 "/policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies/{policyId}/versions/{policyVersion}" : {
80 "tags" : [ "Legacy Operational Policy" ],
81 "summary" : "Retrieve one version of a particular operational policy",
82 "description" : "Returns a particular version of a specified operational policy",
83 "operationId" : "getSpecificVersionOfOperationalPolicy",
84 "produces" : [ "application/json" ],
88 "description" : "ID of policy",
92 "name" : "policyVersion",
94 "description" : "Version of policy",
98 "name" : "X-ONAP-RequestID",
100 "description" : "RequestID for http transaction",
107 "description" : "successful operation; Specified version of specified operational policy will be returned.",
111 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
115 "description" : "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
117 "X-LatestVersion" : {
119 "description" : "Used only to communicate an API's latest version"
121 "X-ONAP-RequestID" : {
124 "description" : "Used to track REST transactions for logging purpose"
128 "$ref" : "#/definitions/LegacyOperationalPolicy"
132 "description" : "Authentication Error"
135 "description" : "Authorization Error"
138 "description" : "Resource Not Found"
141 "description" : "Internal Server Error"
147 "x-interface info" : {
148 "api-version" : "1.0.0",
149 "last-mod-release" : "Dublin"
153 "tags" : [ "Legacy Operational Policy" ],
154 "summary" : "Delete a particular version of a specified operational policy",
155 "description" : "Delete a particular version of an operational policy. It must follow one rule. Rule: the version that has been deployed in PDP group(s) cannot be deleted",
156 "operationId" : "deleteSpecificVersionOfOperationalPolicy",
157 "produces" : [ "application/json" ],
161 "description" : "ID of policy",
165 "name" : "policyVersion",
167 "description" : "Version of policy",
171 "name" : "X-ONAP-RequestID",
173 "description" : "RequestID for http transaction",
180 "description" : "successful operation; Newly deleted operational policy will be returned.",
184 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
188 "description" : "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
190 "X-LatestVersion" : {
192 "description" : "Used only to communicate an API's latest version"
194 "X-ONAP-RequestID" : {
197 "description" : "Used to track REST transactions for logging purpose"
201 "$ref" : "#/definitions/LegacyOperationalPolicy"
205 "description" : "Authentication Error"
208 "description" : "Authorization Error"
211 "description" : "Resource Not Found"
214 "description" : "Delete Conflict, Rule Violation"
217 "description" : "Internal Server Error"
223 "x-interface info" : {
224 "api-version" : "1.0.0",
225 "last-mod-release" : "Dublin"
229 "/policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies" : {
231 "tags" : [ "Legacy Operational Policy" ],
232 "summary" : "Create a new operational policy",
233 "description" : "Create a new operational policy. Client should provide entity body of the new operational policy",
234 "operationId" : "createOperationalPolicy",
235 "consumes" : [ "application/json" ],
236 "produces" : [ "application/json" ],
238 "name" : "X-ONAP-RequestID",
240 "description" : "RequestID for http transaction",
247 "description" : "Entity body of policy",
249 "type" : "ToscaServiceTemplate",
251 "$ref" : "#/definitions/LegacyOperationalPolicy"
256 "description" : "successful operation; Newly created operational policy will be returned.",
260 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
264 "description" : "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
266 "X-LatestVersion" : {
268 "description" : "Used only to communicate an API's latest version"
270 "X-ONAP-RequestID" : {
273 "description" : "Used to track REST transactions for logging purpose"
277 "$ref" : "#/definitions/LegacyOperationalPolicy"
281 "description" : "Invalid Body"
284 "description" : "Authentication Error"
287 "description" : "Authorization Error"
290 "description" : "Internal Server Error"
296 "x-interface info" : {
297 "api-version" : "1.0.0",
298 "last-mod-release" : "Dublin"
303 "securityDefinitions" : {
310 "LegacyOperationalPolicy" : {