5 "title": "ONAP VFC Catalog Rest API",
\r
6 "description": "VFC Catalog Management API.",
\r
8 "name": "ONAP VFC team",
\r
9 "email": "onap-discuss@lists.onap.org",
\r
10 "url": "https://gerrit.onap.org/r/#/admin/projects/vfc/nfvo/catalog"
\r
13 "basePath": "/api/catalog/v1",
\r
30 "summary": "query ns packages info",
\r
31 "description": "query ns packages info",
\r
32 "operationId": "query_ns_packages",
\r
36 "description": "successful operation",
\r
38 "$ref": "#/definitions/NsPkgListInfo"
\r
42 "description": "URL not found"
\r
45 "description": "internal error"
\r
53 "summary": "ns package distribute",
\r
54 "description": "ns package distribute",
\r
55 "operationId": "ns_pkg_distribute",
\r
60 "description": "distribute request param",
\r
63 "$ref": "#/definitions/NsPkgDistributeRequest"
\r
71 "$ref": "#/definitions/NsPkgDistributeResponse"
\r
75 "description": "URL not found"
\r
78 "description": "internal error"
\r
83 "/nspackages/{csarId}": {
\r
88 "summary": "query ns package info",
\r
89 "description": "query ns package info via ns package csarId",
\r
90 "operationId": "query_ns_package",
\r
101 "description": "csar id of ns package",
\r
108 "description": "successful operation",
\r
110 "$ref": "#/definitions/NsPkgDetailInfo"
\r
114 "description": "URL not found"
\r
117 "description": "internal error"
\r
125 "summary": "delete ns pkg",
\r
126 "description": "delete ns pkg",
\r
127 "operationId": "delete_ns_pkg",
\r
138 "description": "csar id of ns package",
\r
147 "$ref": "#/definitions/NsPkgDelResponse"
\r
151 "description": "URL not found"
\r
154 "description": "internal error"
\r
164 "summary": "ns package model",
\r
165 "description": "ns package model",
\r
166 "operationId": "ms_model_parser",
\r
177 "description": "distribute request param",
\r
180 "$ref": "#/definitions/modelParserRequest"
\r
188 "$ref": "#/definitions/modelParserResponse"
\r
192 "description": "URL not found"
\r
195 "description": "internal error"
\r
205 "summary": "query vnf packages info",
\r
206 "description": "query vnf packages info",
\r
207 "operationId": "query_vnf_packages",
\r
217 "description": "successful operation",
\r
219 "$ref": "#/definitions/VnfPkgListInfo"
\r
223 "description": "URL not found"
\r
226 "description": "internal error"
\r
234 "summary": "vnf package distribute",
\r
235 "description": "vnf package distribute",
\r
236 "operationId": "vnf_pkg_distribute",
\r
247 "description": "distribute request param",
\r
250 "$ref": "#/definitions/VnfPkgDistributeRequest"
\r
258 "$ref": "#/definitions/VnfPkgDistributeResponse"
\r
262 "description": "URL not found"
\r
265 "description": "internal error"
\r
270 "/vnfpackages/{csarId}": {
\r
275 "summary": "query vnf package info",
\r
276 "description": "query one vnf package info via vnf package csarId",
\r
277 "operationId": "query_vnf_package",
\r
288 "description": "csar id of vnf package",
\r
295 "description": "successful operation",
\r
297 "$ref": "#/definitions/VnfPkgDetailInfo"
\r
301 "description": "URL not found"
\r
304 "description": "internal error"
\r
312 "summary": "delete vnf package",
\r
313 "description": "delete vnf package",
\r
314 "operationId": "delete_vnf_package",
\r
325 "description": "csar id of vnf package",
\r
334 "$ref": "#/definitions/VnfPkgDelResponse"
\r
338 "description": "URL not found"
\r
341 "description": "internal error"
\r
351 "summary": "vnf package model",
\r
352 "description": "vnf package model",
\r
353 "operationId": "vnf_model_parser",
\r
364 "description": "distribute request param",
\r
367 "$ref": "#/definitions/modelParserRequest"
\r
375 "$ref": "#/definitions/modelParserResponse"
\r
379 "description": "URL not found"
\r
382 "description": "internal error"
\r
392 "summary": "jobstatus",
\r
394 "operationId": "get_jobstatus",
\r
399 "description": "job Id",
\r
406 "description": "job response message id",
\r
407 "name": "responseId",
\r
415 "$ref": "#/definitions/JobDetailInfo"
\r
423 "NsPkgDistributeRequest": {
\r
428 "description": "network service package id, UUID"
\r
432 "NsPkgDistributeResponse": {
\r
437 "description": "Operation status. value is success or failed"
\r
439 "statusDescription": {
\r
441 "description": "description about the operation result"
\r
445 "description": "If the status is failed, the errorcode will be returned"
\r
449 "NsPkgDelResponse": {
\r
454 "description": "Operation status. value is success or failed"
\r
456 "statusDescription": {
\r
458 "description": "description about the operation result"
\r
462 "description": "If the status is failed, the errorcode will be returned"
\r
469 "$ref": "#/definitions/NsPkgInfo"
\r
472 "NsPkgDetailInfo": {
\r
479 "$ref": "#/definitions/NsPkgInfo"
\r
482 "$ref": "#/definitions/NsInstListInfo"
\r
491 "description": "The identifer of the NS (csarId)"
\r
495 "description": "network service descriptor identifer (same as csarId)"
\r
499 "description": "The name of the CSAR"
\r
503 "description": "network service designer name"
\r
507 "description": "network service descriptor version"
\r
511 "description": "The URL from which the NSD package can be downloaded from"
\r
515 "description": "The parsed model of the NSD (JSON encoded into string)"
\r
519 "NsInstListInfo": {
\r
522 "$ref": "#/definitions/NsInstInfo"
\r
530 "description": "network service instance ID"
\r
532 "nsInstanceName": {
\r
534 "description": "network service instance name"
\r
538 "VnfPkgDistributeRequest": {
\r
543 "description": "vnf package id, UUID"
\r
547 "VnfPkgDistributeResponse": {
\r
552 "description": "VNF package distribute job ID"
\r
556 "VnfPkgDelResponse": {
\r
561 "description": "Operation status. value is success or failed"
\r
563 "statusDescription": {
\r
565 "description": "description about the operation result"
\r
569 "description": "If the status is failed, the errorcode will be returned"
\r
573 "VnfPkgListInfo": {
\r
576 "$ref": "#/definitions/VnfPkgInfo"
\r
579 "VnfPkgDetailInfo": {
\r
584 "description": "vnf package id, UUID"
\r
587 "$ref": "#/definitions/VnfPkgInfo"
\r
590 "$ref": "#/definitions/VnfPkgImgListInfo"
\r
592 "vnfInstanceInfo": {
\r
593 "$ref": "#/definitions/VnfInstListInfo"
\r
599 "description": "vnf package infomation",
\r
603 "description": "The identifier of the VNF package (csarId)"
\r
607 "description": "The name of the CSAR"
\r
611 "description": "VNF descriptor ID (same as CSAR ID)"
\r
615 "description": "VNF descriptor vendor ID"
\r
619 "description": "VNF descriptor version"
\r
623 "description": "VNF Software version"
\r
627 "description": "The model of the VNFD (JSON encoded into string)"
\r
631 "description": "The URL from which the package can be downloaded from"
\r
635 "VnfInstListInfo": {
\r
638 "$ref": "#/definitions/VnfInstInfo"
\r
646 "description": "VNF instance ID"
\r
648 "vnfInstanceName": {
\r
650 "description": "VNF instance name"
\r
654 "VnfPkgImgListInfo": {
\r
657 "$ref": "#/definitions/VnfPkgImgInfo"
\r
665 "description": "image file name"
\r
669 "description": "image file path in the csar or image url in external repository"
\r
673 "modelParserRequest":{
\r
678 "description": "csar Package Id"
\r
682 "description": "csar package json inputs"
\r
686 "modelParserResponse":{
\r
691 "description": "csar model json data"
\r
695 "jobResponseInfo": {
\r
704 "statusDescription": {
\r
721 "responseDescriptor":
\r
731 "statusDescription": {
\r
740 "responseHistoryList": {
\r
743 "$ref": "#/definitions/jobResponseInfo"
\r