Create Status comment

post

/appstore/publisher/v1/applications/{listingVersionId}/comments

Create a status comment for the application.

Request

Supported Media Types
Path Parameters
Body ()
enter the status comment.
Root Schema : StatusComment
Type: object
Show Source
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

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example created status comment of listing use by submitting a POST request on the REST resource using cURL.

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/8570916/comments"

Request Header

X-Oracle-UserId: fname.lname@oracle.com 
Authorization: Bearer Access-token 

Request Body

{
  "statusNote" : "Status Changed"
}

HTTP Status Code:

200 OK

JSON Response:

{
  "message": " Status Comment created successfully.",
  "entityId": "8574507""
}
Back to Top