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
csarId

...

M1StringThe 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}/files?relativePath=xxx?name={name}&version={version}&type={type}&provider={provider}
Operation TypeGET

Request Parameters:Query Param

AttributeQualifierCardinalityContentDescription
csarIdnameM1StringThe id of CSARrelativePathcsar Name
versionM1StringThe file relative path in CSAR package

Sample:
/onapapi/marketplace/v1/csars/78ede6f3-66cc-46ab-b748-38a6c010d272/files?relativePath="/images/segw.img"

Response:

AttributeQualifierCardinalityContentDescription
downloadUricsar version
typeM1Stringcsar type
providerM1StringThe download URI of file

Sample:

...

csar provider

Response:
List of PackageMetaData