List comments
GET/v1/posts/{id}/comments
Returns a post's comment tree page by page, with sorting, an episode filter, a single thread or a text search.
Request
curl -g "https://api.nogitsu.com/v1/posts/{id}/comments"Parameters
idpathrequired
Id of the item, a UUID.
text
sortqueryoptional
Order of the results.
text
Allowed valuesbestnewoldcontroversialunitDefault: best
unitqueryoptional
Only comments about this episode or chapter number, or general for comments not tied to one.
one of several shapes
threadqueryoptional
Only the thread under this comment.
text (uuid)
qqueryoptional
Text to search for.
text
cursorqueryoptional
The nextCursor value from the previous page. Leave it out for the first page.
text
Answer
A successful request answers 200 with this JSON:
itemslist of __schema0idtext (uuid)authorobjectcan be nullusernametextdisplayNametextavatarUrltext (uri)can be null
authorFlairtextcan be nullauthorProgressobjectcan be nulltrackingStatustextAllowed valuesplannedcurrentcompletedpauseddroppedrewatchingprogressUnitsnumbercan be nullAt least 0
progressTotalwhole numbercan be nullFrom 0 to 9007199254740991
statetextAllowed valuespublishedremoveddeletedbodyobjectcan be nullblockslist of one of several shapesOption 1
typetextAllowed valuesparagraphchildrenlist of any value
Option 2
typetextAllowed valuesheadingchildrenlist of any value
Option 3
typetextAllowed valuesquotechildrenlist of RichTextBlock
Option 4
typetextAllowed valueslistisOrderedtrue or falseitemslist of list of any value
Option 5
typetextAllowed valuescodetexttext
hasSpoilertrue or falseunitNumbernumbercan be nullAt least 0
sourceSpoilerobjectcan be nullkindtextAllowed valuesmangamanhwamanhuawebtoonnovelotherunitnumbercan be nullAt least 0
imageslist of objecturltext (uri)widthwhole numberFrom 0 to 9007199254740991
heightwhole numberFrom 0 to 9007199254740991
alttextcan be nullvariantWidthslist of whole numberFrom 0 to 9007199254740991
linkobjectcan be nullurltext (uri)hosttexttitletextcan be nulldescriptiontextcan be nullimageobjectcan be nullurltext (uri)widthwhole numberFrom 0 to 9007199254740991
heightwhole numberFrom 0 to 9007199254740991
alttextcan be nullvariantWidthslist of whole numberFrom 0 to 9007199254740991
isPendingtrue or false
scorewhole numbercan be nullFrom -9007199254740991 to 9007199254740991
reactionslist of objectkindtextAllowed valueslovelaughwowsadclapfirethinkangrypartycrycountwhole numberFrom 0 to 9007199254740991
isByPostAuthortrue or falseisByModeratortrue or falsecreatedAttext (date-time)editedAttext (date-time)can be nulldepthwhole numberFrom 0 to 9007199254740991
replyCountwhole numberFrom 0 to 9007199254740991
replieslist of __schema0
nextCursortextcan be null
Errors
Like every operation, this one can answer 400 for invalid parameters, 404 when nothing is found and 429 when you send too many requests. All errors share one shape.