Comments REST API
Use this REST API to manage comments.
Get all comments
| REST API information | Value | Description |
|---|---|---|
| URI | /admin/resources/comments | |
| Method | GET | |
| Returns | 200 | Returns a list of all comments |
| 404 | The comment list was not found | |
| 500 | Platform System Manager encountered an internal error while processing the request. |
Returns a list of comments.
You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.
- category
- Category of the comment
- comment
- Comment
- created_time
- The time at which the object is created
- id
- The unique ID of the object in the system.
- owner_id
- Owner's identifier number
- parent_type
- Type of parent
- state
- The general availability of the object. If "pending" the object has been created but not activated. If "available" the object is active in the system.
- type
- Type of the comment
- updated_time
- The time at which the object was last updated
- parent_type
- The type of the generic parent
Parents:
Get a specific comment
| REST API information | Value | Description |
|---|---|---|
| URI | /admin/resources/comments/{id} | |
| Method | GET | |
| Returns | 200 | The comment was returned. |
| 404 | The comment was not found | |
| 500 | Platform System Manager encountered an internal error while processing the request. |
Returns a single comment identified by {id}.
You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.