---
title: "Reddit 投稿コメント API (V1)"
description: "Pagination-tokenサポートを備えたReddit投稿のコメントを取得します。スレッドの議論をレビューしたり、既知の投稿の追加コメント結果を続けて取得したりするために使用します。"
lastUpdated: false
aiUsagePrompt: true
---

# Reddit 投稿コメント API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/reddit/get-post-comments/v1\"")'
  :summary='JSON.parse("\"投稿コメント (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/reddit/post-comments-v1-ja.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"このAPIサービスのアクセストークン。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"postId\",\"in\":\"query\",\"description\":\"Reddit投稿の一意な識別子。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"cursor\",\"in\":\"query\",\"description\":\"次ページの結果を取得するためのページングトークン。\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"スレッドメタデータとブランチ継続情報を含むReddit投稿のコメント。\",\"properties\":{\"postInfoById\":{\"type\":\"object\",\"description\":\"要求された投稿識別子に関する投稿とコメントのフォレストデータが返されました。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Reddit投稿識別子。\"},\"title\":{\"type\":\"string\",\"description\":\"Reddit投稿のタイトル。\"},\"commentCount\":{\"type\":\"integer\",\"description\":\"該当投稿に関するコメントの総数が報告されました。\"},\"commentForest\":{\"type\":\"object\",\"description\":\"親識別子によってリンクされたコメントと継続エントリのフラットリスト。\",\"properties\":{\"pageInfo\":{\"type\":\"object\",\"description\":\"コメントフォレストに関するページング情報が返されました。\",\"properties\":{\"commentCount\":{\"type\":[\"integer\",\"null\"],\"description\":\"フォレストに関するコメント数が報告されました。利用できない場合はnull。\"},\"hasNextPage\":{\"type\":\"boolean\",\"description\":\"コメントフォレストに関して追加の結果が報告されるかどうか。\"}}},\"trees\":{\"type\":\"array\",\"description\":\"コメントフォレスト内の順序付けされたエントリ。各エントリにはコメントノードまたは継続マーカーが含まれることがあります。\",\"items\":{\"type\":\"object\",\"description\":\"フォレスト内の一つのコメントまたは継続エントリ。\",\"properties\":{\"childCount\":{\"type\":\"integer\",\"description\":\"このツリーリストに関する子ノードの数が報告されました。\"},\"depth\":{\"type\":\"integer\",\"description\":\"コメントスレッド内の深さ。トップレベルのエントリの深さはゼロです。\"},\"parentId\":{\"type\":[\"string\",\"null\"],\"description\":\"親コメント識別子。トップレベルのエントリはnullを返すことがあります。\"},\"node\":{\"type\":[\"object\",\"null\"],\"description\":\"このツリーリストのコメント内容と公開メタデータ、または継続マーカーの場合はnull。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Redditコメント識別子。\"},\"createdAt\":{\"type\":\"string\",\"description\":\"コメントの作成時間がISO日時テキストとして報告されました。\"},\"editedAt\":{\"description\":\"最新のコメント編集時の時間情報。検証済みのサンプルはnullを返します。\"},\"permalink\":{\"type\":\"string\",\"description\":\"コメントのRedditパーマリンクパス。\"},\"content\":{\"type\":\"object\",\"description\":\"このコメントに提供されるコンテンツのフォーマット。\",\"properties\":{\"markdown\":{\"type\":\"string\",\"description\":\"コメントテキストがMarkdown形式で返される。\"},\"preview\":{\"type\":\"string\",\"description\":\"コメントのプレビューテキストが返される。\"},\"richtext\":{\"type\":\"string\",\"description\":\"リッチテキストドキュメントがJSON文字列としてシリアル化される。\"},\"richtextMedia\":{\"type\":\"array\",\"description\":\"リッチテキストで参照されるメディアエントリ。検証済みサンプルは空リストを返す。\"},\"typeHint\":{\"type\":\"string\",\"description\":\"コメントテキストに対して報告されるコンテンツタイプのヒント。\"},\"translationInfo\":{\"type\":\"object\",\"description\":\"コメント内容の翻訳状況情報。\",\"properties\":{\"isTranslated\":{\"type\":\"boolean\",\"description\":\"返されるコメント内容が翻訳済みとしてマークされているかどうか。\"},\"translatedLanguage\":{\"description\":\"翻訳済みコメント内容の言語情報。検証済みサンプルはnullを返す。\"}}}}},\"score\":{\"type\":\"integer\",\"description\":\"Redditによって報告されるコメントスコア。\"},\"isScoreHidden\":{\"type\":\"boolean\",\"description\":\"コメントスコアが非公開としてマークされているかどうか。\"},\"isAdminTakedown\":{\"type\":\"boolean\",\"description\":\"コメントがReddit管理者によって削除されたとマークされているかどうか。\"},\"isArchived\":{\"type\":\"boolean\",\"description\":\"コメントがアーカイブされたとマークされているかどうか。\"},\"isCommercialCommunication\":{\"type\":\"boolean\",\"description\":\"コメントが商業通信としてマークされているかどうか。\"},\"isLocked\":{\"type\":\"boolean\",\"description\":\"コメントがロックされたとマークされているかどうか。\"},\"isRemoved\":{\"type\":\"boolean\",\"description\":\"コメントが削除されたとマークされているかどうか。\"},\"isStickied\":{\"type\":\"boolean\",\"description\":\"コメントが固定されたとマークされているかどうか。\"},\"isTranslatable\":{\"type\":\"boolean\",\"description\":\"コメントが翻訳可能としてマークされているかどうか。\"},\"languageCode\":{\"type\":[\"string\",\"null\"],\"description\":\"コメントの報告言語コード、利用できない場合はnull。\"},\"removedByCategory\":{\"description\":\"コメントに対して返される削除カテゴリ情報。検証済みサンプルはnullを返す。\"},\"distinguishedAs\":{\"description\":\"コメントに対して返される役割区別情報。検証済みサンプルはnullを返す。\"},\"authorInfo\":{\"type\":\"object\",\"description\":\"コメントの著者に対して返される公開Redditアカウント情報。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"コメントの著者のRedditアカウント識別子。\"},\"name\":{\"type\":\"string\",\"description\":\"コメントの著者に対して表示される公開アカウント名。\"},\"accountType\":{\"type\":\"string\",\"description\":\"コメント投稿者のアカウントタイプが返されました。\"},\"iconSmall\":{\"type\":\"object\",\"description\":\"投稿者の小さなアバター画像が返されました。\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"画像のピクセル単位のサイズです。\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の高さ。\"},\"width\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の幅。\"}}},\"url\":{\"type\":\"string\",\"description\":\"アバターの公開Reddit画像URLが返されました。\"}}},\"newIcon\":{\"type\":\"object\",\"description\":\"新しいアイコンフィールドにアバター画像が返されました。\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"画像のピクセル単位のサイズです。\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の高さ。\"},\"width\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の幅。\"}}},\"url\":{\"type\":\"string\",\"description\":\"アバターの公開Reddit画像URLが返されました。\"}}},\"snoovatarIcon\":{\"type\":[\"object\",\"null\"],\"description\":\"投稿者のSnoovatar画像が返されました。利用できない場合はnullです。\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"画像のピクセル単位のサイズです。\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の高さ。\"},\"width\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の幅。\"}}},\"url\":{\"type\":\"string\",\"description\":\"アバターの公開Reddit画像URLが返されました。\"}}},\"isCakeDayNow\":{\"type\":\"boolean\",\"description\":\"投稿者のアカウントがRedditの記念日を祝っているかどうかのマークがありますか。\"},\"profile\":{\"type\":\"object\",\"description\":\"コメント投稿者の公開プロフィール属性が返されました。\",\"properties\":{\"isNsfw\":{\"type\":\"boolean\",\"description\":\"投稿者のプロフィールがNSFWとマークされているかどうか。\"}}}}},\"authorCommunityBadge\":{\"type\":[\"object\",\"null\"],\"description\":\"コメント投稿者の公開コミュニティバッジデータが返されました。利用できない場合はnullです。\",\"properties\":{\"accessibilityLabel\":{\"type\":\"string\",\"description\":\"コミュニティバッジのアクセシビリティラベルです。\"},\"label\":{\"type\":\"string\",\"description\":\"コミュニティバッジの表示テキストです。\"},\"image\":{\"type\":\"object\",\"description\":\"コミュニティバッジの画像情報です。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"コミュニティバッジの公開画像URLです。\"}}}}},\"authorFlair\":{\"type\":[\"object\",\"null\"],\"description\":\"コメント投稿者の公開フレアが返されました。利用できない場合はnullです。\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"投稿者のフレアの表示テキストです。\"}}}}},\"more\":{\"type\":[\"object\",\"null\"],\"description\":\"このブランチの続きメタデータです。利用できない場合はnullです。\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"この続きエントリによって表されるコメントの報告数です。\"},\"cursor\":{\"type\":\"string\",\"description\":\"このブランチの不透明な続きカーソルです。同じpostIdを使用してカーソルクエリパラメータとして変更なしで渡します。\"},\"isTooDeepForCount\":{\"type\":\"boolean\",\"description\":\"このブランチがコントロールできないほど深いと報告されているかどうか。\"}}}}}}}},\"subreddit\":{\"type\":\"object\",\"description\":\"投稿の公開コミュニティ情報です。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Redditコミュニティの識別子。\"},\"name\":{\"type\":\"string\",\"description\":\"Redditコミュニティの名前です。\"},\"prefixedName\":{\"type\":\"string\",\"description\":\"Redditプレフィックス付きのコミュニティ名。\"},\"isQuarantined\":{\"type\":\"boolean\",\"description\":\"コミュニティが隔離されているかどうかのマークです。\"},\"allowedMediaInComments\":{\"type\":\"array\",\"description\":\"コミュニティ内のコメントで許可されているメディアタイプが報告されました。\",\"items\":{\"type\":\"string\",\"description\":\"コメントで許可されている一つのメディアタイプが報告されました。\"}}}}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"有効でないリクエストパラメータまたはボディ。\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"有効でないまたは無効なアクセストークン。\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"権限拒否。\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"リクエストレートまたは日次クォーターリミットを超過。\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"内部サーバーエラー。\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"サービスが一時的に利用できない。\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"グローバルプロダクションAPI（デフォルト）\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/reddit/get-post-comments/v1\"")' />

<p>Pagination-tokenサポートを備えたReddit投稿のコメントを取得します。スレッドの議論をレビューしたり、既知の投稿の追加コメント結果を続けて取得したりするために使用します。</p>

## パラメータ

<div class="api-doc-table api-doc-table--params">

| 名前 | パラメーターの場所 | タイプ | 必須 | デフォルト | 説明 |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | はい | - | このAPIサービスのアクセストークン。 |
| <code>postId</code> | query | <code>string</code> | はい | - | Reddit投稿の一意な識別子。 |
| <code>cursor</code> | query | <code>string</code> | いいえ | <code></code> | 次ページの結果を取得するためのページングトークン。 |

</div>

## コードサンプル

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE'
```

```text [🤖 AIプロンプト]
私はJustOneAPIの"投稿コメント (V1)" APIを使用したいです。
基本URL: https://api.justoneapi.com.
APIパス: /api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE
APIエンドポイント: BASE_URL + /api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE
HTTPメソッド: GET
認証: "token"クエリパラメーターをURLに追加します。
OpenAPI定義: https://docs.justoneapi.com/openapi/reddit/post-comments-v1-ja.json

パラメーター:
- token (query): このAPIサービスのアクセストークン。 (必須)
- postId (query): Reddit投稿の一意な識別子。 (必須)
- cursor (query): 次ページの結果を取得するためのページングトークン。

返信形式：実際のContent-Typeに応じて、JSONまたはテキストを安全に処理する。

レスポンスの処理とエラーコード：
1. API の処理結果はレスポンス本文の「code」フィールドで判定します。code が 0 なら成功です。
2. 推奨タイムアウト：リクエストのタイムアウトは 120 秒に設定してください。120 秒が長すぎる場合でも、最低 60 秒を確保してください。一部のリクエストは、結果を受け取る前にタイムアウトすることがあります。
3. 処理結果コード：
   - 0: 成功
   - 100: 無効または停止中のトークン
   - 301: データの取得に失敗しました。再試行してください。
   - 302: 呼び出し頻度の上限を超えました
   - 303: 日次の利用上限を超えました
   - 400: パラメーターが無効です
   - 500: サーバー内部エラー
   - 600: アクセス権限がありません
   - 601: 残高不足
   - 602: トークンの予算上限に達しました
4. コード 601 はアカウントの共有残高不足を示します。コード 602 は使用中の API トークン固有の累積予算上限に達したことを示します。トークンに予算上限を設定しても、共有残高から資金が移動することはありません。

お手伝いください。私が好むプログラミング言語でこのAPIを呼び出し、レスポンスを処理するスクリプトを作成してください。
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # オープンAPIサーバーによって提供される

url = BASE_URL + "/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // オープンAPIサーバーによって提供される
const url = BASE_URL + "/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // オープンAPIサーバーによって提供される
        final String url = BASE_URL + "/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // オープンAPIサーバーによって提供される

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // オープンAPIサーバーによって提供される
$url = $BASE_URL . '/api/reddit/get-post-comments/v1?token=YOUR_API_KEY&postId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/reddit/post-comments-v1-ja.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI定義 (JSON)]</a>
</div>

## レスポンスフィールド

成功したレスポンスのキーフィールド（`code = 0`）。

<div class="api-doc-table api-doc-table--response">

| フィールドパス | タイプ | 説明 |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | スレッドメタデータとブランチ継続情報を含むReddit投稿のコメント。 |
| <code>data.postInfoById</code> | <code>object</code> | 要求された投稿識別子に関する投稿とコメントのフォレストデータが返されました。 |
| <code>data.postInfoById.id</code> | <code>string</code> | Reddit投稿識別子。 |
| <code>data.postInfoById.title</code> | <code>string</code> | Reddit投稿のタイトル。 |
| <code>data.postInfoById.commentCount</code> | <code>integer</code> | 該当投稿に関するコメントの総数が報告されました。 |
| <code>data.postInfoById.commentForest</code> | <code>object</code> | 親識別子によってリンクされたコメントと継続エントリのフラットリスト。 |
| <code>data.postInfoById.commentForest.pageInfo</code> | <code>object</code> | コメントフォレストに関するページング情報が返されました。 |
| <code>data.postInfoById.commentForest.pageInfo.commentCount</code> | <code>integer &#124; null</code> | フォレストに関するコメント数が報告されました。利用できない場合はnull。 |
| <code>data.postInfoById.commentForest.pageInfo.hasNextPage</code> | <code>boolean</code> | コメントフォレストに関して追加の結果が報告されるかどうか。 |
| <code>data.postInfoById.commentForest.trees</code> | <code>array</code> | コメントフォレスト内の順序付けされたエントリ。各エントリにはコメントノードまたは継続マーカーが含まれることがあります。 |
| <code>data.postInfoById.commentForest.trees[]</code> | <code>object</code> | フォレスト内の一つのコメントまたは継続エントリ。 |
| <code>data.postInfoById.commentForest.trees[].childCount</code> | <code>integer</code> | このツリーリストに関する子ノードの数が報告されました。 |
| <code>data.postInfoById.commentForest.trees[].depth</code> | <code>integer</code> | コメントスレッド内の深さ。トップレベルのエントリの深さはゼロです。 |
| <code>data.postInfoById.commentForest.trees[].parentId</code> | <code>string &#124; null</code> | 親コメント識別子。トップレベルのエントリはnullを返すことがあります。 |
| <code>data.postInfoById.commentForest.trees[].node</code> | <code>object &#124; null</code> | このツリーリストのコメント内容と公開メタデータ、または継続マーカーの場合はnull。 |
| <code>data.postInfoById.commentForest.trees[].node.id</code> | <code>string</code> | Redditコメント識別子。 |
| <code>data.postInfoById.commentForest.trees[].node.createdAt</code> | <code>string</code> | コメントの作成時間がISO日時テキストとして報告されました。 |
| <code>data.postInfoById.commentForest.trees[].node.editedAt</code> | - | 最新のコメント編集時の時間情報。検証済みのサンプルはnullを返します。 |
| <code>data.postInfoById.commentForest.trees[].node.permalink</code> | <code>string</code> | コメントのRedditパーマリンクパス。 |
| <code>data.postInfoById.commentForest.trees[].node.content</code> | <code>object</code> | このコメントに提供されるコンテンツのフォーマット。 |
| <code>data.postInfoById.commentForest.trees[].node.content.markdown</code> | <code>string</code> | コメントテキストがMarkdown形式で返される。 |
| <code>data.postInfoById.commentForest.trees[].node.content.preview</code> | <code>string</code> | コメントのプレビューテキストが返される。 |
| <code>data.postInfoById.commentForest.trees[].node.content.richtext</code> | <code>string</code> | リッチテキストドキュメントがJSON文字列としてシリアル化される。 |
| <code>data.postInfoById.commentForest.trees[].node.content.richtextMedia</code> | <code>array</code> | リッチテキストで参照されるメディアエントリ。検証済みサンプルは空リストを返す。 |
| <code>data.postInfoById.commentForest.trees[].node.content.typeHint</code> | <code>string</code> | コメントテキストに対して報告されるコンテンツタイプのヒント。 |
| <code>data.postInfoById.commentForest.trees[].node.content.translationInfo</code> | <code>object</code> | コメント内容の翻訳状況情報。 |
| <code>data.postInfoById.commentForest.trees[].node.content.translationInfo.isTranslated</code> | <code>boolean</code> | 返されるコメント内容が翻訳済みとしてマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.content.translationInfo.translatedLanguage</code> | - | 翻訳済みコメント内容の言語情報。検証済みサンプルはnullを返す。 |
| <code>data.postInfoById.commentForest.trees[].node.score</code> | <code>integer</code> | Redditによって報告されるコメントスコア。 |
| <code>data.postInfoById.commentForest.trees[].node.isScoreHidden</code> | <code>boolean</code> | コメントスコアが非公開としてマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.isAdminTakedown</code> | <code>boolean</code> | コメントがReddit管理者によって削除されたとマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.isArchived</code> | <code>boolean</code> | コメントがアーカイブされたとマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.isCommercialCommunication</code> | <code>boolean</code> | コメントが商業通信としてマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.isLocked</code> | <code>boolean</code> | コメントがロックされたとマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.isRemoved</code> | <code>boolean</code> | コメントが削除されたとマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.isStickied</code> | <code>boolean</code> | コメントが固定されたとマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.isTranslatable</code> | <code>boolean</code> | コメントが翻訳可能としてマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.languageCode</code> | <code>string &#124; null</code> | コメントの報告言語コード、利用できない場合はnull。 |
| <code>data.postInfoById.commentForest.trees[].node.removedByCategory</code> | - | コメントに対して返される削除カテゴリ情報。検証済みサンプルはnullを返す。 |
| <code>data.postInfoById.commentForest.trees[].node.distinguishedAs</code> | - | コメントに対して返される役割区別情報。検証済みサンプルはnullを返す。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo</code> | <code>object</code> | コメントの著者に対して返される公開Redditアカウント情報。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.id</code> | <code>string</code> | コメントの著者のRedditアカウント識別子。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.name</code> | <code>string</code> | コメントの著者に対して表示される公開アカウント名。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.accountType</code> | <code>string</code> | コメント投稿者のアカウントタイプが返されました。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall</code> | <code>object</code> | 投稿者の小さなアバター画像が返されました。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall.dimensions</code> | <code>object</code> | 画像のピクセル単位のサイズです。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall.dimensions.height</code> | <code>integer</code> | 画像のピクセル単位の高さ。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall.dimensions.width</code> | <code>integer</code> | 画像のピクセル単位の幅。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.iconSmall.url</code> | <code>string</code> | アバターの公開Reddit画像URLが返されました。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon</code> | <code>object</code> | 新しいアイコンフィールドにアバター画像が返されました。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon.dimensions</code> | <code>object</code> | 画像のピクセル単位のサイズです。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon.dimensions.height</code> | <code>integer</code> | 画像のピクセル単位の高さ。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon.dimensions.width</code> | <code>integer</code> | 画像のピクセル単位の幅。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.newIcon.url</code> | <code>string</code> | アバターの公開Reddit画像URLが返されました。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon</code> | <code>object &#124; null</code> | 投稿者のSnoovatar画像が返されました。利用できない場合はnullです。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon.dimensions</code> | <code>object</code> | 画像のピクセル単位のサイズです。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon.dimensions.height</code> | <code>integer</code> | 画像のピクセル単位の高さ。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon.dimensions.width</code> | <code>integer</code> | 画像のピクセル単位の幅。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.snoovatarIcon.url</code> | <code>string</code> | アバターの公開Reddit画像URLが返されました。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.isCakeDayNow</code> | <code>boolean</code> | 投稿者のアカウントがRedditの記念日を祝っているかどうかのマークがありますか。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.profile</code> | <code>object</code> | コメント投稿者の公開プロフィール属性が返されました。 |
| <code>data.postInfoById.commentForest.trees[].node.authorInfo.profile.isNsfw</code> | <code>boolean</code> | 投稿者のプロフィールがNSFWとマークされているかどうか。 |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge</code> | <code>object &#124; null</code> | コメント投稿者の公開コミュニティバッジデータが返されました。利用できない場合はnullです。 |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge.accessibilityLabel</code> | <code>string</code> | コミュニティバッジのアクセシビリティラベルです。 |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge.label</code> | <code>string</code> | コミュニティバッジの表示テキストです。 |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge.image</code> | <code>object</code> | コミュニティバッジの画像情報です。 |
| <code>data.postInfoById.commentForest.trees[].node.authorCommunityBadge.image.url</code> | <code>string</code> | コミュニティバッジの公開画像URLです。 |
| <code>data.postInfoById.commentForest.trees[].node.authorFlair</code> | <code>object &#124; null</code> | コメント投稿者の公開フレアが返されました。利用できない場合はnullです。 |
| <code>data.postInfoById.commentForest.trees[].node.authorFlair.text</code> | <code>string</code> | 投稿者のフレアの表示テキストです。 |
| <code>data.postInfoById.commentForest.trees[].more</code> | <code>object &#124; null</code> | このブランチの続きメタデータです。利用できない場合はnullです。 |
| <code>data.postInfoById.commentForest.trees[].more.count</code> | <code>integer</code> | この続きエントリによって表されるコメントの報告数です。 |
| <code>data.postInfoById.commentForest.trees[].more.cursor</code> | <code>string</code> | このブランチの不透明な続きカーソルです。同じpostIdを使用してカーソルクエリパラメータとして変更なしで渡します。 |
| <code>data.postInfoById.commentForest.trees[].more.isTooDeepForCount</code> | <code>boolean</code> | このブランチがコントロールできないほど深いと報告されているかどうか。 |
| <code>data.postInfoById.subreddit</code> | <code>object</code> | 投稿の公開コミュニティ情報です。 |
| <code>data.postInfoById.subreddit.id</code> | <code>string</code> | Redditコミュニティの識別子。 |
| <code>data.postInfoById.subreddit.name</code> | <code>string</code> | Redditコミュニティの名前です。 |
| <code>data.postInfoById.subreddit.prefixedName</code> | <code>string</code> | Redditプレフィックス付きのコミュニティ名。 |
| <code>data.postInfoById.subreddit.isQuarantined</code> | <code>boolean</code> | コミュニティが隔離されているかどうかのマークです。 |
| <code>data.postInfoById.subreddit.allowedMediaInComments</code> | <code>array</code> | コミュニティ内のコメントで許可されているメディアタイプが報告されました。 |
| <code>data.postInfoById.subreddit.allowedMediaInComments[]</code> | <code>string</code> | コメントで許可されている一つのメディアタイプが報告されました。 |

</div>

## レスポンス例

<ApiExampleSection :api='JSON.parse("\"/api/reddit/get-post-comments/v1\"")' />

