レビューの取得
GET/v1/reviews/{id}
1件のレビューを、作品IDと、最も参考になったレビューに含まれるかどうかとともに返します。
リクエスト
curl -g "https://api.nogitsu.com/v1/reviews/{id}"パラメーター
idパス必須
項目のID(UUID)。
テキスト
レスポンス
リクエストが成功すると、次のJSONとともに200が返ります。
workIdテキスト (uuid)isTopHelpfultrue または falsereviewオブジェクトidテキスト (uuid)authorオブジェクトusernameテキストdisplayNameテキストavatarUrlテキスト (uri)null になる場合あり
titleテキストnull になる場合ありbodyオブジェクトnull になる場合ありblocks複数の形式のいずれかのリスト選択肢1
typeテキスト使用できる値paragraphchildren複数の形式のいずれかのリスト選択肢1
type任意の値text任意の値marks任意の値
選択肢2
type任意の値href任意の値children任意の値
選択肢3
type任意の値username任意の値
選択肢4
type任意の値spoilerId任意の値children任意の値
選択肢5
type任意の値
選択肢2
typeテキスト使用できる値headingchildren複数の形式のいずれかのリスト選択肢1
type任意の値text任意の値marks任意の値
選択肢2
type任意の値href任意の値children任意の値
選択肢3
type任意の値username任意の値
選択肢4
type任意の値spoilerId任意の値children任意の値
選択肢5
type任意の値
選択肢3
typeテキスト使用できる値quotechildrenRichTextBlockのリスト
選択肢4
typeテキスト使用できる値listisOrderedtrue または falseitemsRichTextBlockのリストのリスト
選択肢5
typeテキスト使用できる値codetextテキスト
bodyLength整数0〜9007199254740991
hasSpoilertrue または falsespoilerUnit数値null になる場合あり0以上
sourceSpoilerオブジェクトnull になる場合ありkindテキスト使用できる値mangamanhwamanhuawebtoonnovelotherunit数値null になる場合あり0以上
prosテキストのリストnull になる場合ありconsテキストのリストnull になる場合ありimagesオブジェクトのリストurlテキスト (uri)width整数0〜9007199254740991
height整数0〜9007199254740991
altテキストnull になる場合ありvariantWidths整数のリスト0〜9007199254740991
languageテキストscoreHalfPoints整数null になる場合あり1〜20
categoryScoresオブジェクトtrackingStatusテキストnull になる場合あり使用できる値plannedcurrentcompletedpauseddroppedrewatchingprogressUnits数値null になる場合あり0以上
progressTotal整数null になる場合あり0〜9007199254740991
repeatCount整数0〜9007199254740991
authorStatsオブジェクトreviewCount整数0〜9007199254740991
helpfulCount整数0〜9007199254740991
helpfulCount整数0〜9007199254740991
unhelpfulCount整数0〜9007199254740991
replyCount整数0〜9007199254740991
createdAtテキスト (date-time)editedAtテキスト (date-time)null になる場合あり
エラー
他の操作と同様に、この操作も無効なパラメーターでは400、何も見つからない場合は404、リクエストが多すぎる場合は429を返すことがあります。すべてのエラーは同じ形式です。