ListUserComments
List User Comments through the Comment service.
/api.v1.comment.CommentService/ListUserComments Bearer optionalRequest
ListUserCommentsRequest
{
"userId": 1,
"cursor": "string",
"limit": 20
}Response
ListUserCommentsResponse
ListUserCommentsResponseapi.v1.comment.ListUserCommentsResponse4 fields
List User 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.
ListUserCommentsRequest
api.v1.comment.ListUserCommentsRequest3 fieldsList User Comments Request message.
userIdoptionaluint32User Id value.
cursorstringCursor value.
limitint32Limit value.