Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »


Market Place API

Upload VNF Package

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

Request Parameters:

AttributeQualifierCardinalityContentDescription
fileM1InputStreamThe CSAR file stream
fileM1FormDataContentDispositionThe detail of CSAR file

FormDataContentDisposition

AttributeContentDescription
typeStringthe disposition type. will be "form-data"
nameStringthe control name
fileNameStringthe file name
creationDateDatethe creation date
modificationDateDatethe modification date
readDateDatethe read date
sizeStringthe size
parametersMap<String,String>the parameters

Response:

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

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 VNF package information by conditions

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

Query Param

AttributeQualifierCardinalityContentDescription
nameM1Stringcsar Name
versionM1Stringcsar version
typeM1Stringcsar type
providerM1Stringcsar provider

Response:
PackageMetaData

  • No labels