5 "name" : "Legacy Guard Policy"
7 "schemes" : [ "http", "https" ],
9 "/policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies/{policyId}/versions/latest" : {
11 "tags" : [ "Legacy Guard Policy" ],
12 "summary" : "Retrieve the latest version of a particular guard policy",
13 "description" : "Returns the latest version of the specified guard policy",
14 "operationId" : "getLatestVersionOfGuardPolicy",
15 "produces" : [ "application/json", "application/yaml" ],
19 "description" : "ID of policy",
23 "name" : "X-ONAP-RequestID",
25 "description" : "RequestID for http transaction",
32 "description" : "successful operation; Latest version of specified guard 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"
54 "additionalProperties" : {
55 "$ref" : "#/definitions/LegacyGuardPolicyOutput"
60 "description" : "Authentication Error"
63 "description" : "Authorization Error"
66 "description" : "Resource Not Found"
69 "description" : "Internal Server Error"
75 "x-interface info" : {
76 "api-version" : "1.0.0",
77 "last-mod-release" : "Dublin"
81 "/policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies/{policyId}/versions/deployed" : {
83 "tags" : [ "Legacy Guard Policy" ],
84 "summary" : "Retrieve deployed versions of a particular guard policy in pdp groups",
85 "description" : "Returns deployed versions of a specified guard policy in pdp groups",
86 "operationId" : "getDeployedVersionsOfGuardPolicy",
87 "produces" : [ "application/json", "application/yaml" ],
91 "description" : "ID of guard policy",
95 "name" : "X-ONAP-RequestID",
97 "description" : "RequestID for http transaction",
104 "description" : "successful operation; Deployed versions of specified guard policy in PDP groups will be returned.",
108 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
112 "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"
114 "X-LatestVersion" : {
116 "description" : "Used only to communicate an API's latest version"
118 "X-ONAP-RequestID" : {
121 "description" : "Used to track REST transactions for logging purpose"
127 "$ref" : "#/definitions/LegacyGuardPolicyOutput"
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 "/policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies/{policyId}/versions/{policyVersion}" : {
155 "tags" : [ "Legacy Guard Policy" ],
156 "summary" : "Retrieve one version of a particular guard policy",
157 "description" : "Returns a particular version of a specified guard policy",
158 "operationId" : "getSpecificVersionOfGuardPolicy",
159 "produces" : [ "application/json", "application/yaml" ],
163 "description" : "ID of policy",
167 "name" : "policyVersion",
169 "description" : "Version of policy",
173 "name" : "X-ONAP-RequestID",
175 "description" : "RequestID for http transaction",
182 "description" : "successful operation; Specified version of guard policy will be returned.",
186 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
190 "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"
192 "X-LatestVersion" : {
194 "description" : "Used only to communicate an API's latest version"
196 "X-ONAP-RequestID" : {
199 "description" : "Used to track REST transactions for logging purpose"
204 "additionalProperties" : {
205 "$ref" : "#/definitions/LegacyGuardPolicyOutput"
210 "description" : "Authentication Error"
213 "description" : "Authorization Error"
216 "description" : "Resource Not Found"
219 "description" : "Internal Server Error"
225 "x-interface info" : {
226 "api-version" : "1.0.0",
227 "last-mod-release" : "Dublin"
231 "tags" : [ "Legacy Guard Policy" ],
232 "summary" : "Delete a particular version of a guard policy",
233 "description" : "Delete a particular version of a guard policy. It must follow one rule. Rule: the version that has been deployed in PDP group(s) cannot be deleted",
234 "operationId" : "deleteSpecificVersionOfGuardPolicy",
235 "consumes" : [ "application/json", "application/yaml" ],
236 "produces" : [ "application/json", "application/yaml" ],
240 "description" : "ID of policy",
244 "name" : "policyVersion",
246 "description" : "Version of policy",
250 "name" : "X-ONAP-RequestID",
252 "description" : "RequestID for http transaction",
259 "description" : "successful operation; Newly deleted guard policy will be returned.",
263 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
267 "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"
269 "X-LatestVersion" : {
271 "description" : "Used only to communicate an API's latest version"
273 "X-ONAP-RequestID" : {
276 "description" : "Used to track REST transactions for logging purpose"
281 "additionalProperties" : {
282 "$ref" : "#/definitions/LegacyGuardPolicyOutput"
287 "description" : "Authentication Error"
290 "description" : "Authorization Error"
293 "description" : "Resource Not Found"
296 "description" : "Delete Conflict, Rule Violation"
299 "description" : "Internal Server Error"
305 "x-interface info" : {
306 "api-version" : "1.0.0",
307 "last-mod-release" : "Dublin"
311 "/policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies" : {
313 "tags" : [ "Legacy Guard Policy" ],
314 "summary" : "Create a new guard policy",
315 "description" : "Create a new guard policy. Client should provide entity body of the new guard policy",
316 "operationId" : "createGuardPolicy",
317 "consumes" : [ "application/json", "application/yaml" ],
318 "produces" : [ "application/json", "application/yaml" ],
320 "name" : "X-ONAP-RequestID",
322 "description" : "RequestID for http transaction",
329 "description" : "Entity body of policy",
331 "type" : "ToscaServiceTemplate",
333 "$ref" : "#/definitions/LegacyGuardPolicyInput"
338 "description" : "successful operation; Newly created guard policy will be returned.",
342 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
346 "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"
348 "X-LatestVersion" : {
350 "description" : "Used only to communicate an API's latest version"
352 "X-ONAP-RequestID" : {
355 "description" : "Used to track REST transactions for logging purpose"
360 "additionalProperties" : {
361 "$ref" : "#/definitions/LegacyGuardPolicyOutput"
366 "description" : "Invalid Body"
369 "description" : "Authentication Error"
372 "description" : "Authorization Error"
375 "description" : "Not Acceptable Version"
378 "description" : "Internal Server Error"
384 "x-interface info" : {
385 "api-version" : "1.0.0",
386 "last-mod-release" : "Dublin"
391 "securityDefinitions" : {
398 "LegacyGuardPolicyContent" : {
428 "guardActiveStart" : {
436 "additionalProperties" : {
442 "LegacyGuardPolicyOutput" : {
453 "additionalProperties" : {
459 "additionalProperties" : {
460 "$ref" : "#/definitions/LegacyGuardPolicyContent"
465 "LegacyGuardPolicyInput" : {
475 "$ref" : "#/definitions/LegacyGuardPolicyContent"