cURL
curl --request GET \ --url https://{subdomain}.nudj.cx/api/v2/integration/posts/{postId}/comments \ --header 'x-api-token: <api-key>'
{ "totalCount": 123, "edges": [ { "id": "<string>", "organisationId": "<string>", "communityId": "<string>", "discussionId": "<string>", "content": "<string>", "createdAt": "<string>", "createdBy": "<string>", "updatedAt": "<string>", "updatedBy": "<string>", "username": "<string>", "displayName": "<string>", "parentId": "<string>", "imageUrl": "<string>", "profilePictureUrl": "<string>" } ] }
Retrieve a paginated list of comments by post id.
Supported query parameters:
1 <= x <= 100
x >= 0
Successful response
Show child attributes
The id of the comment
The id of the organisation the comment belongs to
The id of the community the comment belongs to
The id of the discussion the comment belongs to
The content of the comment
1
The date the comment was created
The id of the user who created the comment
The date the comment was last updated
The id of the user who last updated the comment
The username of the user who created the comment
The display name of the user who created the comment
The id of the parent comment
The url of the image attached to the comment
The url of the profile picture of the user who created the comment
Was this page helpful?