Update Status comment
put
/appstore/publisher/v1/applications/{listingVersionId}/comments/{id}
Update status comment.
Request
Supported Media Types
- application/json
Path Parameters
-
id: integer(int64)
ID of the status comment to update.
-
listingVersionId: integer(int64)
Unique identifier of the listing for which to update the screenshot.
update the status comment.
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
400 Response
Bad Request
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
Examples
The following example updates an status comment, by submitting a PUT request on the REST resource using cURL.
cURL Example
curl -X PUT -H "X-Oracle-UserId: partner-email" -H "Content-Type: application/json" -H "Authorization: Bearer Access-token" -d JSON-data-as-shown-in-following-example "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/8574381/comments/8574507"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token Content-Type: application/json
Request Body
{ "statusNote" : "Status Changed" }
HTTP Status Code:
200 OK
JSON Response:
{ "message": " Status Comment updated successfully.", "entityId": "8574507" }Back to Top