---
title: "Reddit 投稿詳細 API (V1)"
description: "Redditの投稿の詳細を、その投稿IDで特定します。議論のレビュー、コンテンツ分析、または後続のコメントの取得前に、既知の投稿を調べるために使用します。"
lastUpdated: false
aiUsagePrompt: true
---

# Reddit 投稿詳細 API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/reddit/get-post-detail/v1\"")'
  :summary='JSON.parse("\"投稿詳細 (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/reddit/post-details-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投稿の識別子、t3_&lt;post-id&gt;形式。\",\"required\":true,\"schema\":{\"type\":\"string\"}}]")'
  :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\",\"null\"],\"description\":\"Reddit投稿の詳細が利用可能な場合。成功した結果にはnullデータが含まれることがあります。\",\"properties\":{\"postsInfoByIds\":{\"type\":\"array\",\"description\":\"投稿の検索結果。欠落した結果はnullエントリとして表示されます。\",\"items\":{\"type\":[\"object\",\"null\"],\"description\":\"一つの一致したReddit投稿、またはこのエントリに投稿データがない場合はnull。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Redditの完全な投稿ID、t3_プレフィックスを含む。\"},\"postTitle\":{\"type\":\"string\",\"description\":\"投稿の報告されたタイトル。\"},\"permalink\":{\"type\":\"string\",\"description\":\"この投稿の相対的なRedditパーマリンクパス。\"},\"url\":{\"type\":\"string\",\"description\":\"投稿に関連するURL。\"},\"domain\":{\"type\":\"string\",\"description\":\"Redditが報告する投稿のドメインラベル。\"},\"createdAt\":{\"type\":\"string\",\"description\":\"投稿の作成時刻をテキスト形式で。Redditはコロンなしでタイムゾーンオフセットを返すことがあります。\"},\"editedAt\":{\"type\":[\"string\",\"null\"],\"description\":\"投稿の編集時刻が利用可能な場合。\"},\"languageCode\":{\"type\":\"string\",\"description\":\"投稿の報告された言語コード。\"},\"isSelfPost\":{\"type\":\"boolean\",\"description\":\"Redditがこの投稿を自己投稿としてマークするかどうか。\"},\"isNsfw\":{\"type\":\"boolean\",\"description\":\"Redditがこの投稿を職場での安全でないものとしてマークするかどうか。\"},\"isSpoiler\":{\"type\":\"boolean\",\"description\":\"Redditがこの投稿をスポイラーとしてマークするかどうか。\"},\"isArchived\":{\"type\":\"boolean\",\"description\":\"Redditがこの投稿をアーカイブ済みとしてマークするかどうか。\"},\"isLocked\":{\"type\":\"boolean\",\"description\":\"Redditがこの投稿をロック済みとしてマークするかどうか。\"},\"isStickied\":{\"type\":\"boolean\",\"description\":\"Redditがこの投稿をピン留めとしてマークするかどうか。\"},\"isScoreHidden\":{\"type\":\"boolean\",\"description\":\"Redditがスコアを隠されたとしてフラグ付けるかどうか。\"},\"removedByCategory\":{\"type\":[\"string\",\"null\"],\"description\":\"Redditが利用可能な場合に報告される削除カテゴリー。削除された投稿には、依然としてコンテンツオブジェクトが存在することがあります。\"},\"postHint\":{\"type\":[\"string\",\"null\"],\"description\":\"Redditが利用可能な場合に報告される投稿提示ヒント。\"},\"suggestedCommentSort\":{\"type\":[\"string\",\"null\"],\"description\":\"Redditが利用可能な場合に報告されるコメントの表示順序の提案。\"},\"content\":{\"type\":[\"object\",\"null\"],\"description\":\"Redditが提供する場合の投稿本文。値はnullの場合もあります。\",\"properties\":{\"markdown\":{\"type\":\"string\",\"description\":\"Redditが返信する場合のMarkdown形式の投稿本文。\"},\"html\":{\"type\":[\"string\",\"null\"],\"description\":\"提供された場合の投稿本文のHTML表示。\"},\"preview\":{\"type\":[\"string\",\"null\"],\"description\":\"提供された場合の本文プレビュー。\"},\"richtext\":{\"type\":[\"string\",\"null\"],\"description\":\"Redditが利用可能な場合のシリアル化されたリッチテキストストリング。\"}}},\"outboundLink\":{\"type\":\"object\",\"description\":\"この投稿に対して返信されるアウトバウンドリンクのメタデータ。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Redditが報告するアウトバウンドURL。\"},\"expiresAt\":{\"type\":\"string\",\"description\":\"アウトバウンドリンクに関連する有効期限タイムスタンプ。\"}}},\"media\":{\"type\":[\"object\",\"null\"],\"description\":\"投稿に含まれるメディア。ギャラリーメディアには独自のセクションがあります。\",\"properties\":{\"typeHint\":{\"type\":[\"string\",\"null\"],\"description\":\"Redditが利用可能な場合に報告されるメディアタイプのヒント。\"},\"still\":{\"type\":\"object\",\"description\":\"投稿の静止画像。ソースとサイズ変更後のレンディションを含む。\",\"properties\":{\"source\":{\"type\":\"object\",\"description\":\"静止画像のソース。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"small\":{\"type\":\"object\",\"description\":\"小さな画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"medium\":{\"type\":\"object\",\"description\":\"中くらいの画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"large\":{\"type\":\"object\",\"description\":\"大きな画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"xlarge\":{\"type\":\"object\",\"description\":\"特大の画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"xxlarge\":{\"type\":\"object\",\"description\":\"ダブル特大の画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"xxxlarge\":{\"type\":\"object\",\"description\":\"トリプル特大の画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}}}},\"streaming\":{\"type\":[\"object\",\"null\"],\"description\":\"Redditが提供するメタデータをストリームで送信する。\",\"properties\":{\"hlsUrl\":{\"type\":\"string\",\"description\":\"HLSストリームマニフェストURL。\"},\"dashUrl\":{\"type\":\"string\",\"description\":\"DASHストリームマニフェストURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}},\"duration\":{\"type\":\"integer\",\"description\":\"Redditが報告するストリームの持続時間値。\"},\"isGif\":{\"type\":\"boolean\",\"description\":\"RedditがストリームをGIFスタイルのアニメーションとしてマークするかどうか。\"}}},\"download\":{\"type\":[\"object\",\"null\"],\"description\":\"Redditが提供する際にメタデータをダウンロードする。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"Redditから返されるメディアのダウンロードURL。\"}}},\"packagedMedia\":{\"type\":[\"object\",\"null\"],\"description\":\"Redditが提供する際のパッケージ化されたメディア。\",\"properties\":{\"muxedMp4s\":{\"type\":\"object\",\"description\":\"品質別にグループ化されたパッケージ化されたMP4レンダイション。\",\"properties\":{\"low\":{\"type\":\"object\",\"description\":\"低品質のMP4レンダイション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"パッケージ化されたMP4URL。\"}}},\"medium\":{\"type\":\"object\",\"description\":\"中品質のMP4レンダイション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"パッケージ化されたMP4URL。\"}}},\"high\":{\"type\":\"object\",\"description\":\"高品質のMP4レンダイション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"パッケージ化されたMP4URL。\"}}},\"highest\":{\"type\":\"object\",\"description\":\"このコレクションで返される最高品質のMP4レンダイション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"パッケージ化されたMP4URL。\"}}},\"recommended\":{\"type\":\"object\",\"description\":\"Redditが推奨するMP4レンダイション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"パッケージ化されたMP4URL。\"}}}}}}}}},\"thumbnail\":{\"type\":[\"object\",\"null\"],\"description\":\"投稿に含まれるサムネイル。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"サムネイル画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"gallery\":{\"type\":[\"object\",\"null\"],\"description\":\"投稿に含まれるギャラリー。\",\"properties\":{\"items\":{\"type\":\"array\",\"description\":\"ギャラリー内のメディアエントリ。\",\"items\":{\"type\":\"object\",\"description\":\"一つのギャラリーエントリ。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ギャラリーエントリの識別子。\"},\"media\":{\"type\":\"object\",\"description\":\"このギャラリーエントリのメディア。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ギャラリーメディアのReddit識別子。\"},\"mimetype\":{\"type\":\"string\",\"description\":\"ギャラリーメディアのMIMEタイプ。\"},\"url\":{\"type\":\"string\",\"description\":\"ギャラリーメディアの返されるURL。\"},\"width\":{\"type\":\"integer\",\"description\":\"ギャラリーメディアのピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ギャラリーのメディアの高さをピクセルで表す。\"},\"small\":{\"type\":\"object\",\"description\":\"小さな画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"medium\":{\"type\":\"object\",\"description\":\"中くらいの画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"large\":{\"type\":\"object\",\"description\":\"大きな画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"xlarge\":{\"type\":\"object\",\"description\":\"特大の画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"xxlarge\":{\"type\":\"object\",\"description\":\"ダブル特大の画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}},\"xxxlarge\":{\"type\":\"object\",\"description\":\"トリプル特大の画像レンディション。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"静止画像のURL。\"},\"dimensions\":{\"type\":\"object\",\"description\":\"画像またはプレーヤーのピクセル単位のサイズ。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ピクセル単位の幅。\"},\"height\":{\"type\":\"integer\",\"description\":\"ピクセル単位の高さ。\"}}}}}}}}}}}},\"authorInfo\":{\"type\":\"object\",\"description\":\"投稿者に関する公開情報。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"投稿者のRedditでのフルID。\"},\"name\":{\"type\":\"string\",\"description\":\"投稿者のRedditユーザー名。\"},\"accountType\":{\"type\":\"string\",\"description\":\"投稿者が報告したアカウントのタイプ。\"}}},\"subreddit\":{\"type\":\"object\",\"description\":\"このセクションが返される際の投稿に関連するコミュニティ。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Redditコミュニティの識別子。\"},\"name\":{\"type\":\"string\",\"description\":\"コミュニティの名前。\"},\"prefixedName\":{\"type\":\"string\",\"description\":\"Redditプレフィックス付きのコミュニティ名。\"},\"title\":{\"type\":\"string\",\"description\":\"コミュニティの表示タイトル。\"},\"type\":{\"type\":\"string\",\"description\":\"Redditが報告したコミュニティのタイプ。\"},\"subscribersCount\":{\"type\":\"number\",\"description\":\"そのコミュニティのサブスクライバー数。\"},\"isNsfw\":{\"type\":\"boolean\",\"description\":\"RedditがそのコミュニティをNSFWとしてマークしているかどうか。\"},\"isQuarantined\":{\"type\":\"boolean\",\"description\":\"Redditがそのコミュニティを隔離してマークしているかどうか。\"}}},\"profile\":{\"type\":\"object\",\"description\":\"この投稿が公開されたRedditプロフィール。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Redditプロフィールの識別子。\"},\"name\":{\"type\":\"string\",\"description\":\"Redditプロフィールの名前。\"},\"subscribersCount\":{\"type\":\"number\",\"description\":\"プロフィールの報告されたサブスクライバー数。\"},\"isNsfw\":{\"type\":\"boolean\",\"description\":\"RedditがそのプロフィールをNSFWとしてマークしているかどうか。\"}}},\"score\":{\"type\":\"integer\",\"description\":\"Redditが報告した投稿のスコア。\"},\"upvoteRatio\":{\"type\":\"number\",\"description\":\"投稿のアップボート比率が0から1の分数で報告される。\"},\"commentCount\":{\"type\":\"integer\",\"description\":\"投稿のコメント数。\"},\"postStats\":{\"type\":\"object\",\"description\":\"Redditから返される公開投稿の統計情報。\",\"properties\":{\"shareAllTotal\":{\"type\":\"integer\",\"description\":\"投稿の総シェア数。\"}}},\"flair\":{\"type\":[\"object\",\"null\"],\"description\":\"利用可能な投稿フレア。\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"投稿フレアの表示テキスト。\"},\"type\":{\"type\":\"string\",\"description\":\"Redditで報告された投稿のフレアタイプ。\"}}},\"awardings\":{\"type\":\"array\",\"description\":\"該当投稿に関する賞の記録が返されました。\",\"items\":{\"type\":\"object\",\"description\":\"一種類の賞とその数。\",\"properties\":{\"total\":{\"type\":\"integer\",\"description\":\"該当投稿で報告されたこの賞の数。\"},\"award\":{\"type\":\"object\",\"description\":\"賞の種類に関する公開詳細。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Redditの賞識別子。\"},\"name\":{\"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-detail/v1\"")' />

<p>Redditの投稿の詳細を、その投稿IDで特定します。議論のレビュー、コンテンツ分析、または後続のコメントの取得前に、既知の投稿を調べるために使用します。</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投稿の識別子、t3_&lt;post-id&gt;形式。 |

</div>

## コードサンプル

::: code-group

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

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

パラメーター:
- token (query): このAPIサービスのアクセストークン。 (必須)
- postId (query): Reddit投稿の識別子、t3_<post-id>形式。 (必須)

返信形式：実際の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-detail/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-detail/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-detail/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-detail/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-detail/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-details-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 &#124; null</code> | Reddit投稿の詳細が利用可能な場合。成功した結果にはnullデータが含まれることがあります。 |
| <code>data.postsInfoByIds</code> | <code>array</code> | 投稿の検索結果。欠落した結果はnullエントリとして表示されます。 |
| <code>data.postsInfoByIds[]</code> | <code>object &#124; null</code> | 一つの一致したReddit投稿、またはこのエントリに投稿データがない場合はnull。 |
| <code>data.postsInfoByIds[].id</code> | <code>string</code> | Redditの完全な投稿ID、t3_プレフィックスを含む。 |
| <code>data.postsInfoByIds[].postTitle</code> | <code>string</code> | 投稿の報告されたタイトル。 |
| <code>data.postsInfoByIds[].permalink</code> | <code>string</code> | この投稿の相対的なRedditパーマリンクパス。 |
| <code>data.postsInfoByIds[].url</code> | <code>string</code> | 投稿に関連するURL。 |
| <code>data.postsInfoByIds[].domain</code> | <code>string</code> | Redditが報告する投稿のドメインラベル。 |
| <code>data.postsInfoByIds[].createdAt</code> | <code>string</code> | 投稿の作成時刻をテキスト形式で。Redditはコロンなしでタイムゾーンオフセットを返すことがあります。 |
| <code>data.postsInfoByIds[].editedAt</code> | <code>string &#124; null</code> | 投稿の編集時刻が利用可能な場合。 |
| <code>data.postsInfoByIds[].languageCode</code> | <code>string</code> | 投稿の報告された言語コード。 |
| <code>data.postsInfoByIds[].isSelfPost</code> | <code>boolean</code> | Redditがこの投稿を自己投稿としてマークするかどうか。 |
| <code>data.postsInfoByIds[].isNsfw</code> | <code>boolean</code> | Redditがこの投稿を職場での安全でないものとしてマークするかどうか。 |
| <code>data.postsInfoByIds[].isSpoiler</code> | <code>boolean</code> | Redditがこの投稿をスポイラーとしてマークするかどうか。 |
| <code>data.postsInfoByIds[].isArchived</code> | <code>boolean</code> | Redditがこの投稿をアーカイブ済みとしてマークするかどうか。 |
| <code>data.postsInfoByIds[].isLocked</code> | <code>boolean</code> | Redditがこの投稿をロック済みとしてマークするかどうか。 |
| <code>data.postsInfoByIds[].isStickied</code> | <code>boolean</code> | Redditがこの投稿をピン留めとしてマークするかどうか。 |
| <code>data.postsInfoByIds[].isScoreHidden</code> | <code>boolean</code> | Redditがスコアを隠されたとしてフラグ付けるかどうか。 |
| <code>data.postsInfoByIds[].removedByCategory</code> | <code>string &#124; null</code> | Redditが利用可能な場合に報告される削除カテゴリー。削除された投稿には、依然としてコンテンツオブジェクトが存在することがあります。 |
| <code>data.postsInfoByIds[].postHint</code> | <code>string &#124; null</code> | Redditが利用可能な場合に報告される投稿提示ヒント。 |
| <code>data.postsInfoByIds[].suggestedCommentSort</code> | <code>string &#124; null</code> | Redditが利用可能な場合に報告されるコメントの表示順序の提案。 |
| <code>data.postsInfoByIds[].content</code> | <code>object &#124; null</code> | Redditが提供する場合の投稿本文。値はnullの場合もあります。 |
| <code>data.postsInfoByIds[].content.markdown</code> | <code>string</code> | Redditが返信する場合のMarkdown形式の投稿本文。 |
| <code>data.postsInfoByIds[].content.html</code> | <code>string &#124; null</code> | 提供された場合の投稿本文のHTML表示。 |
| <code>data.postsInfoByIds[].content.preview</code> | <code>string &#124; null</code> | 提供された場合の本文プレビュー。 |
| <code>data.postsInfoByIds[].content.richtext</code> | <code>string &#124; null</code> | Redditが利用可能な場合のシリアル化されたリッチテキストストリング。 |
| <code>data.postsInfoByIds[].outboundLink</code> | <code>object</code> | この投稿に対して返信されるアウトバウンドリンクのメタデータ。 |
| <code>data.postsInfoByIds[].outboundLink.url</code> | <code>string</code> | Redditが報告するアウトバウンドURL。 |
| <code>data.postsInfoByIds[].outboundLink.expiresAt</code> | <code>string</code> | アウトバウンドリンクに関連する有効期限タイムスタンプ。 |
| <code>data.postsInfoByIds[].media</code> | <code>object &#124; null</code> | 投稿に含まれるメディア。ギャラリーメディアには独自のセクションがあります。 |
| <code>data.postsInfoByIds[].media.typeHint</code> | <code>string &#124; null</code> | Redditが利用可能な場合に報告されるメディアタイプのヒント。 |
| <code>data.postsInfoByIds[].media.still</code> | <code>object</code> | 投稿の静止画像。ソースとサイズ変更後のレンディションを含む。 |
| <code>data.postsInfoByIds[].media.still.source</code> | <code>object</code> | 静止画像のソース。 |
| <code>data.postsInfoByIds[].media.still.source.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].media.still.source.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].media.still.source.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].media.still.source.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].media.still.small</code> | <code>object</code> | 小さな画像レンディション。 |
| <code>data.postsInfoByIds[].media.still.small.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].media.still.small.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].media.still.small.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].media.still.small.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].media.still.medium</code> | <code>object</code> | 中くらいの画像レンディション。 |
| <code>data.postsInfoByIds[].media.still.medium.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].media.still.medium.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].media.still.medium.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].media.still.medium.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].media.still.large</code> | <code>object</code> | 大きな画像レンディション。 |
| <code>data.postsInfoByIds[].media.still.large.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].media.still.large.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].media.still.large.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].media.still.large.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].media.still.xlarge</code> | <code>object</code> | 特大の画像レンディション。 |
| <code>data.postsInfoByIds[].media.still.xlarge.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].media.still.xlarge.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].media.still.xlarge.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].media.still.xlarge.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].media.still.xxlarge</code> | <code>object</code> | ダブル特大の画像レンディション。 |
| <code>data.postsInfoByIds[].media.still.xxlarge.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].media.still.xxlarge.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].media.still.xxlarge.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].media.still.xxlarge.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].media.still.xxxlarge</code> | <code>object</code> | トリプル特大の画像レンディション。 |
| <code>data.postsInfoByIds[].media.still.xxxlarge.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].media.still.xxxlarge.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].media.still.xxxlarge.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].media.still.xxxlarge.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].media.streaming</code> | <code>object &#124; null</code> | Redditが提供するメタデータをストリームで送信する。 |
| <code>data.postsInfoByIds[].media.streaming.hlsUrl</code> | <code>string</code> | HLSストリームマニフェストURL。 |
| <code>data.postsInfoByIds[].media.streaming.dashUrl</code> | <code>string</code> | DASHストリームマニフェストURL。 |
| <code>data.postsInfoByIds[].media.streaming.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].media.streaming.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].media.streaming.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].media.streaming.duration</code> | <code>integer</code> | Redditが報告するストリームの持続時間値。 |
| <code>data.postsInfoByIds[].media.streaming.isGif</code> | <code>boolean</code> | RedditがストリームをGIFスタイルのアニメーションとしてマークするかどうか。 |
| <code>data.postsInfoByIds[].media.download</code> | <code>object &#124; null</code> | Redditが提供する際にメタデータをダウンロードする。 |
| <code>data.postsInfoByIds[].media.download.url</code> | <code>string</code> | Redditから返されるメディアのダウンロードURL。 |
| <code>data.postsInfoByIds[].media.packagedMedia</code> | <code>object &#124; null</code> | Redditが提供する際のパッケージ化されたメディア。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s</code> | <code>object</code> | 品質別にグループ化されたパッケージ化されたMP4レンダイション。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.low</code> | <code>object</code> | 低品質のMP4レンダイション。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.low.url</code> | <code>string</code> | パッケージ化されたMP4URL。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.medium</code> | <code>object</code> | 中品質のMP4レンダイション。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.medium.url</code> | <code>string</code> | パッケージ化されたMP4URL。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.high</code> | <code>object</code> | 高品質のMP4レンダイション。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.high.url</code> | <code>string</code> | パッケージ化されたMP4URL。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.highest</code> | <code>object</code> | このコレクションで返される最高品質のMP4レンダイション。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.highest.url</code> | <code>string</code> | パッケージ化されたMP4URL。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.recommended</code> | <code>object</code> | Redditが推奨するMP4レンダイション。 |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.recommended.url</code> | <code>string</code> | パッケージ化されたMP4URL。 |
| <code>data.postsInfoByIds[].thumbnail</code> | <code>object &#124; null</code> | 投稿に含まれるサムネイル。 |
| <code>data.postsInfoByIds[].thumbnail.url</code> | <code>string</code> | サムネイル画像のURL。 |
| <code>data.postsInfoByIds[].thumbnail.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].thumbnail.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].thumbnail.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].gallery</code> | <code>object &#124; null</code> | 投稿に含まれるギャラリー。 |
| <code>data.postsInfoByIds[].gallery.items</code> | <code>array</code> | ギャラリー内のメディアエントリ。 |
| <code>data.postsInfoByIds[].gallery.items[]</code> | <code>object</code> | 一つのギャラリーエントリ。 |
| <code>data.postsInfoByIds[].gallery.items[].id</code> | <code>string</code> | ギャラリーエントリの識別子。 |
| <code>data.postsInfoByIds[].gallery.items[].media</code> | <code>object</code> | このギャラリーエントリのメディア。 |
| <code>data.postsInfoByIds[].gallery.items[].media.id</code> | <code>string</code> | ギャラリーメディアのReddit識別子。 |
| <code>data.postsInfoByIds[].gallery.items[].media.mimetype</code> | <code>string</code> | ギャラリーメディアのMIMEタイプ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.url</code> | <code>string</code> | ギャラリーメディアの返されるURL。 |
| <code>data.postsInfoByIds[].gallery.items[].media.width</code> | <code>integer</code> | ギャラリーメディアのピクセル単位の幅。 |
| <code>data.postsInfoByIds[].gallery.items[].media.height</code> | <code>integer</code> | ギャラリーのメディアの高さをピクセルで表す。 |
| <code>data.postsInfoByIds[].gallery.items[].media.small</code> | <code>object</code> | 小さな画像レンディション。 |
| <code>data.postsInfoByIds[].gallery.items[].media.small.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].gallery.items[].media.small.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.small.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].gallery.items[].media.small.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.medium</code> | <code>object</code> | 中くらいの画像レンディション。 |
| <code>data.postsInfoByIds[].gallery.items[].media.medium.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].gallery.items[].media.medium.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.medium.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].gallery.items[].media.medium.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.large</code> | <code>object</code> | 大きな画像レンディション。 |
| <code>data.postsInfoByIds[].gallery.items[].media.large.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].gallery.items[].media.large.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.large.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].gallery.items[].media.large.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xlarge</code> | <code>object</code> | 特大の画像レンディション。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xlarge.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xlarge.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xlarge.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xlarge.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxlarge</code> | <code>object</code> | ダブル特大の画像レンディション。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxlarge.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxlarge.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxlarge.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxlarge.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxxlarge</code> | <code>object</code> | トリプル特大の画像レンディション。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxxlarge.url</code> | <code>string</code> | 静止画像のURL。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxxlarge.dimensions</code> | <code>object</code> | 画像またはプレーヤーのピクセル単位のサイズ。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxxlarge.dimensions.width</code> | <code>integer</code> | ピクセル単位の幅。 |
| <code>data.postsInfoByIds[].gallery.items[].media.xxxlarge.dimensions.height</code> | <code>integer</code> | ピクセル単位の高さ。 |
| <code>data.postsInfoByIds[].authorInfo</code> | <code>object</code> | 投稿者に関する公開情報。 |
| <code>data.postsInfoByIds[].authorInfo.id</code> | <code>string</code> | 投稿者のRedditでのフルID。 |
| <code>data.postsInfoByIds[].authorInfo.name</code> | <code>string</code> | 投稿者のRedditユーザー名。 |
| <code>data.postsInfoByIds[].authorInfo.accountType</code> | <code>string</code> | 投稿者が報告したアカウントのタイプ。 |
| <code>data.postsInfoByIds[].subreddit</code> | <code>object</code> | このセクションが返される際の投稿に関連するコミュニティ。 |
| <code>data.postsInfoByIds[].subreddit.id</code> | <code>string</code> | Redditコミュニティの識別子。 |
| <code>data.postsInfoByIds[].subreddit.name</code> | <code>string</code> | コミュニティの名前。 |
| <code>data.postsInfoByIds[].subreddit.prefixedName</code> | <code>string</code> | Redditプレフィックス付きのコミュニティ名。 |
| <code>data.postsInfoByIds[].subreddit.title</code> | <code>string</code> | コミュニティの表示タイトル。 |
| <code>data.postsInfoByIds[].subreddit.type</code> | <code>string</code> | Redditが報告したコミュニティのタイプ。 |
| <code>data.postsInfoByIds[].subreddit.subscribersCount</code> | <code>number</code> | そのコミュニティのサブスクライバー数。 |
| <code>data.postsInfoByIds[].subreddit.isNsfw</code> | <code>boolean</code> | RedditがそのコミュニティをNSFWとしてマークしているかどうか。 |
| <code>data.postsInfoByIds[].subreddit.isQuarantined</code> | <code>boolean</code> | Redditがそのコミュニティを隔離してマークしているかどうか。 |
| <code>data.postsInfoByIds[].profile</code> | <code>object</code> | この投稿が公開されたRedditプロフィール。 |
| <code>data.postsInfoByIds[].profile.id</code> | <code>string</code> | Redditプロフィールの識別子。 |
| <code>data.postsInfoByIds[].profile.name</code> | <code>string</code> | Redditプロフィールの名前。 |
| <code>data.postsInfoByIds[].profile.subscribersCount</code> | <code>number</code> | プロフィールの報告されたサブスクライバー数。 |
| <code>data.postsInfoByIds[].profile.isNsfw</code> | <code>boolean</code> | RedditがそのプロフィールをNSFWとしてマークしているかどうか。 |
| <code>data.postsInfoByIds[].score</code> | <code>integer</code> | Redditが報告した投稿のスコア。 |
| <code>data.postsInfoByIds[].upvoteRatio</code> | <code>number</code> | 投稿のアップボート比率が0から1の分数で報告される。 |
| <code>data.postsInfoByIds[].commentCount</code> | <code>integer</code> | 投稿のコメント数。 |
| <code>data.postsInfoByIds[].postStats</code> | <code>object</code> | Redditから返される公開投稿の統計情報。 |
| <code>data.postsInfoByIds[].postStats.shareAllTotal</code> | <code>integer</code> | 投稿の総シェア数。 |
| <code>data.postsInfoByIds[].flair</code> | <code>object &#124; null</code> | 利用可能な投稿フレア。 |
| <code>data.postsInfoByIds[].flair.text</code> | <code>string</code> | 投稿フレアの表示テキスト。 |
| <code>data.postsInfoByIds[].flair.type</code> | <code>string</code> | Redditで報告された投稿のフレアタイプ。 |
| <code>data.postsInfoByIds[].awardings</code> | <code>array</code> | 該当投稿に関する賞の記録が返されました。 |
| <code>data.postsInfoByIds[].awardings[]</code> | <code>object</code> | 一種類の賞とその数。 |
| <code>data.postsInfoByIds[].awardings[].total</code> | <code>integer</code> | 該当投稿で報告されたこの賞の数。 |
| <code>data.postsInfoByIds[].awardings[].award</code> | <code>object</code> | 賞の種類に関する公開詳細。 |
| <code>data.postsInfoByIds[].awardings[].award.id</code> | <code>string</code> | Redditの賞識別子。 |
| <code>data.postsInfoByIds[].awardings[].award.name</code> | <code>string</code> | 賞の表示名。 |

</div>

## レスポンス例

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

