Validate Application Package
patch
/appstore/publisher/v1/applications/{listingVersionId}/packages/{packageVersionId}
Validate the specified package. A listing with a package cannot be submitted for approval if the corresponding package is not validated.
Request
Supported Media Types
- application/xml
- application/json
Path Parameters
-
listingVersionId: integer(int64)
Unique identifier of the application version whose package details are to be verified.
-
packageVersionId: integer(int64)
Unique identifier of the package whose details are to be verified.
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
400 Response
Invalid Parameter Value
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
Examples
The following example validate a newly created package, by submitting a PATCH request on the REST resource using cURL.
cURL Example
curl -X PATCH -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" -H "Content-Type: application/json" -d "JSON-data-as-shown-in-following-example" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/581261/packages/581221"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token Content-Type: application/json
Request Body
{ "action": "validate" }
HTTP Status Code:
200 OK
JSON Response:
{ "message": "ListingPackage validation was successful", "entityId": "581221" }Back to Top