---
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-th.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\":\"ผลการค้นหาโพสต์ บน Reddit หากไม่มีผลลัพธ์ ก็อาจปรากฏเป็นค่า null\",\"items\":{\"type\":[\"object\",\"null\"],\"description\":\"โพสต์บน Reddit ที่ตรงกันหนึ่ง หรือ null หากข้อมูลโพสต์ไม่มี\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID โพสต์บน Reddit ทั้งหมด รวมถึง prefix t3_\"},\"postTitle\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องที่รายงานสำหรับโพสต์\"},\"permalink\":{\"type\":\"string\",\"description\":\"เส้นทาง URL ของ 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 จะระบุว่าเกรดนี้เป็น hidden หรือไม่\"},\"removedByCategory\":{\"type\":[\"string\",\"null\"],\"description\":\"หมวดหมู่การลบที่ Reddit รายงานเมื่อมีข้อมูล. โพสต์ที่ถูกลบยังสามารถมีวัตถุเนื้อหาได้อยู่.\"},\"postHint\":{\"type\":[\"string\",\"null\"],\"description\":\"เคล็ดลับการแสดงโพสต์ที่ Reddit รายงานเมื่อมีข้อมูล.\"},\"suggestedCommentSort\":{\"type\":[\"string\",\"null\"],\"description\":\"ลำดับการแสดงความคิดเห็นที่แนะนำเมื่อมีข้อมูล.\"},\"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\":\"รูปแบบข้อความ Rich Text ของ Reddit ในรูปแบบสตริงเมื่อมีข้อมูล.\"}}},\"outboundLink\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าของลิงก์ออกสู่ภายนอกสำหรับโพสต์นี้.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ออกสู่ภายนอกที่ Reddit รายงาน.\"},\"expiresAt\":{\"type\":\"string\",\"description\":\"เวลาที่หมดอายุของลิงก์ออกสู่ภายนอก.\"}}},\"media\":{\"type\":[\"object\",\"null\"],\"description\":\"ไฟล์ media ที่แนบมากับโพสต์ หากมี. ไฟล์ media ใน Gallery ยังมีส่วนแยกต่างหาก.\",\"properties\":{\"typeHint\":{\"type\":[\"string\",\"null\"],\"description\":\"เคล็ดลับประเภทของ media ที่ 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\":\"URL ของแมนิฟิสต์ HLS\"},\"dashUrl\":{\"type\":\"string\",\"description\":\"URL ของแมนิฟิสต์ DASH\"},\"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\":\"URL สำหรับดาวน์โหลดสื่อที่ Reddit ให้มา\"}}},\"packagedMedia\":{\"type\":[\"object\",\"null\"],\"description\":\"สื่อที่จัดเก็บไว้เมื่อ Reddit ให้มา\",\"properties\":{\"muxedMp4s\":{\"type\":\"object\",\"description\":\"รูปแบบ MP4 ที่จัดเก็บไว้ตามคุณภาพ\",\"properties\":{\"low\":{\"type\":\"object\",\"description\":\"รูปแบบ MP4 คุณภาพต่ำ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปแบบ MP4 ที่จัดเก็บไว้\"}}},\"medium\":{\"type\":\"object\",\"description\":\"รูปแบบ MP4 คุณภาพปานกลาง\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปแบบ MP4 ที่จัดเก็บไว้\"}}},\"high\":{\"type\":\"object\",\"description\":\"รูปแบบ MP4 คุณภาพสูง\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปแบบ MP4 ที่จัดเก็บไว้\"}}},\"highest\":{\"type\":\"object\",\"description\":\"รูปแบบ MP4 คุณภาพสูงที่สุดที่ส่งมานี้\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปแบบ MP4 ที่จัดเก็บไว้\"}}},\"recommended\":{\"type\":\"object\",\"description\":\"รูปแบบ MP4 ที่ Reddit แนะนำ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปแบบ MP4 ที่จัดเก็บไว้\"}}}}}}}}},\"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\":\"ID เต็มของผู้เขียนโพสต์บน Reddit\"},\"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\":\"ท่อนำข้อมูลหรือ access token ที่ไม่ถูกต้องหรือไม่มีการใช้งาน\",\"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]
ฉันต้องการใช้ API "รายละเอียดโพสต์ (V1)" จาก JustOneAPI.
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-th.json

พารามิเตอร์:
- token (query): โทเค็นการเข้าถึงสำหรับบริการ API นี้ (จำเป็น)
- postId (query): ตัวระบุโพสต์ Reddit ในรูปแบบ t3_<post-id>. (จำเป็น)

รูปแบบที่ส่งกลับ: จัดการ JSON หรือข้อความอย่างปลอดภัยตามค่า Content-Type ที่ได้รับจริง

การจัดการผลตอบกลับและรหัสข้อผิดพลาด:
1. ตรวจสอบผลการทำงานจากฟิลด์ "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"  # ให้โดยเซิร์ฟเวอร์ OpenAPI

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"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
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"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
        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" // ให้โดยเซิร์ฟเวอร์ OpenAPI

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'; // ให้โดยเซิร์ฟเวอร์ OpenAPI
$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-th.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> | ผลการค้นหาโพสต์ บน Reddit หากไม่มีผลลัพธ์ ก็อาจปรากฏเป็นค่า null |
| <code>data.postsInfoByIds[]</code> | <code>object &#124; null</code> | โพสต์บน Reddit ที่ตรงกันหนึ่ง หรือ null หากข้อมูลโพสต์ไม่มี |
| <code>data.postsInfoByIds[].id</code> | <code>string</code> | ID โพสต์บน Reddit ทั้งหมด รวมถึง prefix t3_ |
| <code>data.postsInfoByIds[].postTitle</code> | <code>string</code> | ชื่อเรื่องที่รายงานสำหรับโพสต์ |
| <code>data.postsInfoByIds[].permalink</code> | <code>string</code> | เส้นทาง URL ของ 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 จะระบุว่าเกรดนี้เป็น hidden หรือไม่ |
| <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> | ลำดับการแสดงความคิดเห็นที่แนะนำเมื่อมีข้อมูล. |
| <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> | รูปแบบข้อความ Rich Text ของ Reddit ในรูปแบบสตริงเมื่อมีข้อมูล. |
| <code>data.postsInfoByIds[].outboundLink</code> | <code>object</code> | ข้อมูลเมตาดาต้าของลิงก์ออกสู่ภายนอกสำหรับโพสต์นี้. |
| <code>data.postsInfoByIds[].outboundLink.url</code> | <code>string</code> | URL ออกสู่ภายนอกที่ Reddit รายงาน. |
| <code>data.postsInfoByIds[].outboundLink.expiresAt</code> | <code>string</code> | เวลาที่หมดอายุของลิงก์ออกสู่ภายนอก. |
| <code>data.postsInfoByIds[].media</code> | <code>object &#124; null</code> | ไฟล์ media ที่แนบมากับโพสต์ หากมี. ไฟล์ media ใน Gallery ยังมีส่วนแยกต่างหาก. |
| <code>data.postsInfoByIds[].media.typeHint</code> | <code>string &#124; null</code> | เคล็ดลับประเภทของ media ที่ 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> | URL ของแมนิฟิสต์ HLS |
| <code>data.postsInfoByIds[].media.streaming.dashUrl</code> | <code>string</code> | URL ของแมนิฟิสต์ DASH |
| <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> | URL สำหรับดาวน์โหลดสื่อที่ Reddit ให้มา |
| <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> | URL ของรูปแบบ MP4 ที่จัดเก็บไว้ |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.medium</code> | <code>object</code> | รูปแบบ MP4 คุณภาพปานกลาง |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.medium.url</code> | <code>string</code> | URL ของรูปแบบ MP4 ที่จัดเก็บไว้ |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.high</code> | <code>object</code> | รูปแบบ MP4 คุณภาพสูง |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.high.url</code> | <code>string</code> | URL ของรูปแบบ MP4 ที่จัดเก็บไว้ |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.highest</code> | <code>object</code> | รูปแบบ MP4 คุณภาพสูงที่สุดที่ส่งมานี้ |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.highest.url</code> | <code>string</code> | URL ของรูปแบบ MP4 ที่จัดเก็บไว้ |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.recommended</code> | <code>object</code> | รูปแบบ MP4 ที่ Reddit แนะนำ |
| <code>data.postsInfoByIds[].media.packagedMedia.muxedMp4s.recommended.url</code> | <code>string</code> | URL ของรูปแบบ MP4 ที่จัดเก็บไว้ |
| <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> | ID เต็มของผู้เขียนโพสต์บน Reddit |
| <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\"")' />

