ListReplies
ListReplies lazily returns one root comment's reply thread.
/api.v1.comment.CommentService/ListReplies Bearer optionalRequest
ListRepliesRequest
{
"parentCommentId": 1,
"cursor": "string",
"limit": 20
}Response
ListRepliesResponse
ListRepliesResponseapi.v1.comment.ListRepliesResponse4 fields
List Replies Response message.
nextCursorstringNext Cursor value.
hasMoreboolHas More value.
totalResultsint32Total Results value.
{
"data": [
{
"id": 1,
"episodeId": 1,
"authorId": 1,
"author": {
"id": 1,
"username": "fireanime_user",
"avatarUrl": "/anime/frieren"
},
"parentCommentId": 1,
"replyToCommentId": 1,
"replyTo": {
"id": 1,
"authorId": 1,
"authorUsername": "fireanime_user",
"excerpt": "string value"
},
"content": "Example content"
}
],
"nextCursor": "string value",
"hasMore": true,
"totalResults": 1
}Referenced models
3 nested message types
EpisodeCommentapi.v1.comment.EpisodeComment20 fields
Episode Comment message.
iduint32Id value.
episodeIduint32Episode Id value.
authorIduint32Author Id value.
parentCommentIdoptionaluint32Parent Comment Id value.
replyToCommentIdoptionaluint32Reply To Comment Id value.
contentstringContent value.
likeCountint32Like Count value.
replyCountint32Reply Count value.
isHiddenboolIs Hidden value.
languagestringLanguage value.
spoilerScopestringSpoiler Scope value.
timestampSecondsoptionalint32Timestamp Seconds value.
createdAtstringCreated At value.
updatedAtstringUpdated At value.
viewerHasLikedboolViewer Has Liked value.
canEditboolCan Edit value.
canDeleteboolCan Delete value.
permalinkstringPermalink value.
CommentReferenceapi.v1.comment.CommentReference4 fields
Comment Reference message.
iduint32Id value.
authorIduint32Author Id value.
authorUsernamestringAuthor Username value.
excerptstringExcerpt value.
Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.
ListRepliesRequest
api.v1.comment.ListRepliesRequest3 fieldsList Replies Request message.
parentCommentIduint32Parent Comment Id value.
cursorstringCursor value.
limitint32Limit value.