ListEpisodeComments
ListEpisodeComments returns root comments using an opaque cursor.
/api.v1.comment.CommentService/ListEpisodeComments Bearer optionalRequest
ListEpisodeCommentsRequest
{
"episodeId": 1,
"sort": "string",
"language": "de",
"cursor": "string",
"limit": 20
}Response
ListEpisodeCommentsResponse
ListEpisodeCommentsResponseapi.v1.comment.ListEpisodeCommentsResponse4 fields
List Episode Comments 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.
ListEpisodeCommentsRequest
api.v1.comment.ListEpisodeCommentsRequest5 fieldsList Episode Comments Request message.
episodeIduint32Episode Id value.
sortstringtop or newest
languagestringall or a BCP-47 language preference. Preferred-language comments rank first.
cursorstringCursor value.
limitint32Limit value.