Create Application Version
post
/appstore/publisher/v1/applications/{listingVersionId}/version
Create a new version for an already published application listing. A new version is necessary to make edits to an already published listing.The new version has to go though the same life cycle and approval workflow to get published to the Marketplace. Publishing the new version automatically archives the older version from the Marketplace. At any given point only one version of the application is active on the Marketplace.
Request
Path Parameters
-
listingVersionId: integer(int64)
ID of the existing application for which to create a new version.
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
400 Response
Bad Request
401 Response
Not Authorized
500 Response
System Error
Examples
The following example creates a new version for an existing application by a partner, by submitting a POST request on the REST resource using cURL. It returns the newly created version ID.
cURL Example
curl -X POST -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/2908689/version"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token
Request Body
None
HTTP Status Code:
201 Created
JSON Response:
{ "message": "A new version was created.", "entityId": "8432130", }Back to Top