Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Market Place API

Upload/Re-upload VNF Package

Interface DefinitionDescription
URI/onapapi/marketplace/v1/csars
Operation TypePOST
Content-Typemultipart/form-data

...

AttributeQualifierCardinalityContentDescription
csarIdM1String

The CSAR identifier is a unique identifier generated

by the Market place.

Delete VNF package by csarId

Interface DefinitionDescription
URI/onapapi/marketplace/v1/csars/{csarId}
Operation TypeDELETE

Request Parameters:

AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR package

Response:
HTTP Success or Error Code


Download VNF package filesĀ 

Interface DefinitionDescription
URI/onapapi/marketplace/v1/csars/{csarId}/files
Operation TypeGET

Request Parameters:

AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR

Sample:
/onapapi/marketplace/v1/csars/78ede6f3-66cc-46ab-b748-38a6c010d272/files?

Response:

CSAR Package


Query VNF package information by csarId

Interface DefinitionDescription
URI/onapapi/marketplace/v1/csars/{csarId}
Operation TypeGET

...

AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR package

Response:
CSARPackage
PackageMetaData


AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR package
nameM1StringName of package
providerM1StringProvider company name
versionM1Stringversion of the package
createTimeM1Stringcreate time of package
modifyTimeM1Stringmodify time of package
downloadUriM1Stringdownload uri
sizeM1Stringsize of the package
downloadCountM1IntegerNumber of times the package is download from market place.
shortdescM1StringShort description
detailsM1StringDetailed description


Sample:

   {
       "csarId":"78ede6f3-66cc-46ab-b748-38a6c010d272",
       "name":"NanocellGateway",
       "provider":"XYZ",
       "version":"V1.0",
       "createTime":"2016-06-29 03:33:15",
       "modifyTime":"2016-06-29 09:33:15",
       "size":"0.93M",
       "downloadUri":"http://msb_ip:msb_port/files/marketplace/CSAR/XYZ/NanocellGW/v1.0/NanocellGateway.csar",
       "type":"CSAR"
   }

...

Query list of VNF package information by

...

conditions

Interface DefinitionDescription
URI/onapapi/marketplace/v1/csars/{csarId?name={name}&version={version}&type={type}&provider={provider}
Operation TypeDELETE

...

GET

Query Param

AttributeQualifierCardinalityContentDescription
csarIdnameM1StringThe id of CSAR package

Response:
HTTP Success or Error Code

Download VNF package filesĀ 

...

Request Parameters:

AttributeQualifierCardinalityContentDescription
csarIdcsar Name
versionM1Stringcsar version
typeM1Stringcsar type
providerM1StringThe id of CSAR

Sample:
/onapapi/marketplace/v1/csars/78ede6f3-66cc-46ab-b748-38a6c010d272/files?

Response:

...

csar provider

Response:
List of PackageMetaData