Comment
Prerequisites #
- To use the Social Feed API, you must first authenticate yourself and receive a token enables you to access the service. See the Authentication documentation for more information on how to do this.
- Comment endpoints need a commentIdas path parameter. Comment belongs to post so check the Post and getcommentId. See the Post documentation for more information on how to do this.
Requests #
Comment resource provides the following endpoints:
| Path | HTTP Method | Description | 
|---|---|---|
| v1/comments/{commentId} | GET | View a specified comment | 
See the API documentation documentation for more information on these endpoints
Example Request #
The following example curl command demonstrates how to get a specified comment.
In a Linux/Unix/macOS environment:
In Windows PowerShell:
Responses #
- If successful, the operation responds with HTTP status code 2XX.
- If the operation fails, it returns the appropriate status code and (optionally) the error description in the response body.- If the specified comment does not belong to the authenticating user organization, the operation returns the Access is deniederror.
- If the authenticating user or the specified comment does not exist, the operation returns the Not founderror.
- If the Authorization header is not present or invalid, a 401 error code will be returned.
 
- If the specified comment does not belong to the authenticating user organization, the operation returns the