getCommentThread( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Returns a thread of a comment or a reply.

If you request a comment thread, the endpoint returns a single comment with cursors. With cursors (pagingMetadata.cursors.next or pagingMetadata.cursors.prev) you can load replies by calling the List Comments by Resource endpoint.

If you request a reply thread, the endpoint returns a reply with its parent comment. With cursors (pagingMetadata.cursors.next or pagingMetadata.cursors.prev) you can load replies by calling the List Comments by Resource endpoint.

Method Declaration
Copy
Method Parameters
commentIdstringRequired

Comment ID.


optionsGetCommentThreadOptions
Returns
Return Type:Promise<GetCommentThreadResponse>
Did this help?