Create Service Version

post

/appstore/publisher/v1/services/{listingVersionId}/version

Create a new version for an already published service 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 service is active on the Marketplace.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : acknowledgement
Type: object
Show Source

400 Response

Bad Request

401 Response

Not Authorized

500 Response

System Error
Back to Top

Examples

The following example creates a new version for an existing service 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/services/9483951/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": "9483646",
}
Back to Top