List of Status comments

get

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

Get the status comments for the application.

Request

Path Parameters
Query Parameters
  • Limit tells how many records to return (starting from the offset). Limit should be greater than zero and less than or equal to 100 (default=30).
  • Offset and limit together determine how many records to return from the collection. Offset is the starting index of the records to return, which should be greater than or equal to zero (default=0).
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : StatusComment
Type: object
Show Source

400 Response

Bad Request

401 Response

Not Authorized

500 Response

System Error
Back to Top

Examples

The following example returns a list of status comments for a listing, by submitting a GET request on the REST resource using cURL.

cURL Example

curl -X GET -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/8574381/comments"

Request Header

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

Request Body

None

HTTP Status Code:

200 OK

JSON Response:

{
  "items": [
     {
       "comment": {
         "statusNoteId": 8574507,
         "createdBy": "fname lname",
         "creationDate": "2017-12-19T12:02:46.000Z",
         "statusNote": "Status Changed",
         "status": "New"
       }
     }
  ],
  "hasMore": false,
  "count": 1,
  "totalResults": 1,
  "links": [
    {
      "rel": "CANONICAL",
      "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/8574381/comments"
    },
    {
      "rel": "SELF",
      "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/8574381/comments"
    }
  ]
}
Back to Top