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

...

Query VNF package information by csarId

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

Request Parameters:

AttributeQualifierCardinalityContentDescription
csarIdM1StringThe id of CSAR package

Response:
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?name={name}&version={version}&type={type}&provider={provider}
Operation TypeGET

Query Param

AttributeQualifierCardinalityContentDescription
nameM1Stringcsar Name
versionM1Stringcsar version
typeM1Stringcsar type
providerM1Stringcsar provider

Response:
List of PackageMetaData