---
title: "Xiaohongshu (RedNote) รายละเอียดโน้ต API (V6)"
description: "ดึงข้อมูลรายละเอียดวิดีโอบันทึกของ Xiaohongshu (RedNote) โดยใช้ ID ของบันทึก ใช้เพื่อค้นหาและประมวลผลวิดีโอบันทึกที่รู้จัก"
lastUpdated: false
aiUsagePrompt: true
---

# Xiaohongshu \(RedNote\) รายละเอียดโน้ต API \(V6\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/xiaohongshu/get-note-detail/v6\"")'
  :summary='JSON.parse("\"รายละเอียดโน้ต (V6)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/xiaohongshu-rednote/note-details-v6-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"โทเค็นการเข้าถึงสำหรับบริการ API นี้\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"noteId\",\"in\":\"query\",\"description\":\"ตัวระบุบันทึกที่ไม่ซ้ำกันบน Xiaohongshu\",\"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\":{\"description\":\"เชิงลึกวิดีโอ-โน็ต. การตอบกลับที่สำเร็จมักส่งกลับอาร์เรย์ที่มีโน็ตที่ตรงกันหรืออาร์เรย์ว่างเปล่า.\",\"items\":{\"type\":\"object\",\"description\":\"โน็ตวิดีโอ Xiaohongshu ที่ตรงกัน.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID ของบันทึกของซิอ่าวหงชู\"},\"type\":{\"type\":\"string\",\"description\":\"ป้ายกำกับประเภทโน็ตสำหรับโน็ตวิดีโอนี้.\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อของบันทึก\"},\"desc\":{\"type\":\"string\",\"description\":\"ข้อความคำอธิบายโน็ต.\"},\"time\":{\"type\":\"integer\",\"description\":\"เวลาการเผยแพร่โน้ตในรูปแบบ Unix timestamp ในหน่วยวินาที\"},\"last_update_time\":{\"type\":\"integer\",\"description\":\"เวลาการอัปเดตล่าสุดในรูปแบบเวลาบิตของ Unix ในวินาทีเมื่อตั้งค่า. ค่าสามารถเป็นศูนย์ได้.\"},\"text_language_code\":{\"type\":\"string\",\"description\":\"รหัสภาษาที่รายงานสำหรับโน็ต.\"},\"ip_location\":{\"type\":\"string\",\"description\":\"ป้ายกำกับสถานที่ที่แสดงบนโน็ตโดยแพลตฟอร์ม.\"},\"liked_count\":{\"type\":\"integer\",\"description\":\"จำนวนไลก์ของโพสต์ตามที่รายงาน\"},\"collected_count\":{\"type\":\"integer\",\"description\":\"จำนวนการบันทึกของโพสต์ตามที่รายงาน\"},\"comments_count\":{\"type\":\"integer\",\"description\":\"จำนวนความคิดเห็นของโพสต์ตามที่รายงาน\"},\"shared_count\":{\"type\":\"integer\",\"description\":\"จำนวนการแชร์ของโพสต์ตามที่รายงาน\"},\"view_count\":{\"type\":\"integer\",\"description\":\"จำนวนการดูของโพสต์ตามที่รายงาน\"},\"liked\":{\"type\":\"boolean\",\"description\":\"สถานะความชื่นชอบที่รายงานพร้อมกับโน็ต.\"},\"collected\":{\"type\":\"boolean\",\"description\":\"สถานะการบันทึกที่รายงานพร้อมกับโน็ต.\"},\"user\":{\"type\":\"object\",\"description\":\"ข้อมูลโปรไฟล์ของผู้เขียนที่ส่งกลับพร้อมกับโน็ต.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID ของผู้เขียนที่ส่งกลับพร้อมกับโปรไฟล์.\"},\"userid\":{\"type\":\"string\",\"description\":\"ID ของผู้ใช้ผู้เขียนที่ส่งกลับพร้อมกับโปรไฟล์.\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงผลของผู้เขียนตามที่รายงานในโปรไฟล์.\"},\"nickname\":{\"type\":\"string\",\"description\":\"ชื่อที่เรียกขานของผู้เขียน.\"},\"red_id\":{\"type\":\"string\",\"description\":\"ชื่อบัญชีของผู้เขียนในซิอ่าวหงชู\"},\"image\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพโปรไฟล์ของผู้เขียน.\"},\"image_size_large\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพโปรไฟล์ของผู้เขียนขนาดใหญ่, หากมีให้.\"},\"followed\":{\"type\":\"boolean\",\"description\":\"สถานะการติดตามที่รายงานพร้อมกับโปรไฟล์ของผู้เขียน.\"},\"red_official_verified\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์ของผู้เขียนถูกระบุว่าได้รับการยืนยันอย่างเป็นทางการหรือไม่.\"},\"red_official_verify_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทการตรวจสอบอย่างเป็นทางการที่เป็นตัวเลข\"},\"level\":{\"type\":\"object\",\"description\":\"ข้อมูลเครื่องหมายประจำผู้เขียน\",\"properties\":{\"image\":{\"type\":\"string\",\"description\":\"URL รูปภาพของป้ายระดับของผู้เขียน\"}}}}},\"topics\":{\"type\":\"array\",\"description\":\"หัวข้อที่เกี่ยวข้องกับบันทึกวิดีโอ\",\"items\":{\"type\":\"object\",\"description\":\"หัวข้อที่เกี่ยวข้องกับบันทึก\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID ของหัวข้อ\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อหัวข้อ\"},\"image\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพที่เกี่ยวข้องกับหัวข้อ\"},\"link\":{\"type\":\"string\",\"description\":\"ลิงก์การนำทางที่ส่งกลับมาสำหรับหัวข้อ\"},\"discuss_num\":{\"type\":\"integer\",\"description\":\"จำนวนการอภิปรายที่รายงานสำหรับหัวข้อ\"}}}},\"hash_tag\":{\"type\":\"array\",\"description\":\"ข้อมูลแฮชแท็กที่ส่งกลับมาพร้อมกับบันทึก\",\"items\":{\"type\":\"object\",\"description\":\"แฮชแท็กที่เชื่อมโยงกับบันทึก\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID แฮชแท็ก\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของแฮชแท็ก\"},\"link\":{\"type\":\"string\",\"description\":\"ลิงก์การนำทางที่ส่งกลับมาสำหรับแฮชแท็ก\"},\"type\":{\"type\":\"string\",\"description\":\"ป้ายกำกับประเภทของแฮชแท็ก\"},\"tag_hint\":{\"type\":\"string\",\"description\":\"คำแนะนำการแสดงผลสำหรับแฮชแท็ก\"}}}},\"ats\":{\"type\":\"array\",\"description\":\"บัญชีที่ถูกกล่าวถึงในบันทึก หากมี\",\"items\":{\"type\":\"object\",\"description\":\"บัญชีที่ถูกกล่าวถึงในหมายเหตุ.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID ของบัญชีที่ถูกกล่าวถึง\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่ส่งกลับมาจากบัญชีที่กล่าวถึง\"},\"nickname\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของบัญชีที่ถูกกล่าวถึง\"},\"red_official_verified\":{\"type\":\"boolean\",\"description\":\"บัญชีที่ถูกกล่าวถึงนั้นได้รับการระบุว่าเป็นบัญชีที่ได้รับการตรวจสอบอย่างเป็นทางการหรือไม่\"},\"red_official_verify_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทการตรวจสอบอย่างเป็นทางการที่เป็นตัวเลข\"},\"level\":{\"type\":\"object\",\"description\":\"ข้อมูลเครื่องหมายประจำระดับบัญชีที่ถูกกล่าวถึง\",\"properties\":{\"image\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพสำหรับเครื่องหมายประจำระดับบัญชีที่ถูกกล่าวถึง\"}}}}}},\"images_list\":{\"type\":\"array\",\"description\":\"รูปภาพที่เชื่อมโยงกับบันทึกวิดีโอ รวมถึงรูปปกที่มีอยู่\",\"items\":{\"type\":\"object\",\"description\":\"รูปภาพสำหรับบันทึกวิดีโอ\",\"properties\":{\"fileid\":{\"type\":\"string\",\"description\":\"ID ของทรัพยากรรูปภาพ\"},\"index\":{\"type\":\"integer\",\"description\":\"อ้างอิงของตำแหน่งรูปภาพนี้\"},\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพ.\"},\"original\":{\"type\":\"string\",\"description\":\"URL ของภาพต้นฉบับ หากมีให้ใช้\"},\"url_size_large\":{\"type\":\"string\",\"description\":\"URL ของภาพขนาดใหญ่ หากมีให้ใช้\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของภาพในพิกเซล\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของภาพในพิกเซล\"},\"origin_img\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าของภาพต้นฉบับ หากมีให้ใช้\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของภาพต้นฉบับในพิกเซล\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของภาพต้นฉบับในพิกเซล\"},\"size\":{\"type\":\"integer\",\"description\":\"ค่าขนาดที่รายงานสำหรับภาพต้นฉบับ\"}}}}}},\"video_info_v2\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าของวิดีโอ, ภาพ และสตรีมสื่อสำหรับบันทึก\",\"properties\":{\"image\":{\"type\":\"object\",\"description\":\"URL ของภาพตัวอย่างที่ส่งกลับมาพร้อมกับวิดีโอ\",\"properties\":{\"first_frame\":{\"type\":\"string\",\"description\":\"URL ของภาพขนาดย่อที่ส่งกลับมาสำหรับวิดีโอ\"},\"thumbnail\":{\"type\":\"string\",\"description\":\"URL ของไอเทมย่อยของวิดีโอ\"},\"thumbnail_dim\":{\"type\":\"string\",\"description\":\"URL ขนาดย่อของวิดีโอเพิ่มเติมที่ส่งมา\"}}},\"consumer\":{\"type\":\"object\",\"description\":\"ว่าข้อมูลเมตาดาติการเล่นระบุว่าวิดีโอมีความละเอียดสูงหรือไม่\",\"properties\":{\"can_super_resolution\":{\"type\":\"boolean\",\"description\":\"ข้อมูลเมตาดาต้าของวิดีโอและสตรีมสื่อ บางกลุ่มอาจไม่มีข้อมูลหรือว่างเปล่า\"}}},\"media\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาของวิดีโอและสตรีมสื่อ ข้อมูลบางกลุ่มอาจไม่มีหรือเป็นค่าว่าง\",\"properties\":{\"video_id\":{\"type\":\"string\",\"description\":\"ID ของวิดีโอที่รายงานในข้อมูลเมตาดาต้าของสื่อ\"},\"video\":{\"type\":\"object\",\"description\":\"ความยาวรวมของวิดีโอในวินาที\",\"properties\":{\"duration\":{\"type\":\"integer\",\"description\":\"ความยาวรวมของวิดีโอ หน่วยวินาที\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของวิดีโอในพิกเซล\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของวิดีโอในพิกเซล\"},\"hdr_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภท HDR ที่เป็นตัวเลขสำหรับวิดีโอ\"},\"drm_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภท DRM ที่เป็นตัวเลขสำหรับวิดีโอ\"},\"stream_types\":{\"type\":\"array\",\"description\":\"ค่าสำหรับรูปแบบสตรีมวิดีโอ\",\"items\":{\"type\":\"integer\",\"description\":\"ค่าสำหรับรูปแบบสตรีมวิดีโอ\"}},\"subtitles\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"array\",\"description\":\"ชุดคำบรรยายภายใต้คีย์นี้\",\"items\":{\"type\":\"object\",\"description\":\"ชุดคำบรรยายหนึ่ง\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"ป้ายภาษาที่ส่งกลับมาสำหรับชุดคำบรรยายนี้\"},\"url\":{\"type\":\"string\",\"description\":\"URL ของไฟล์สำหรับชุดคำบรรยายนี้\"},\"format\":{\"type\":\"integer\",\"description\":\"รหัสรูปแบบตัวเลขที่ส่งกลับสำหรับเนื้อหาชื่อเรื่องนี้\"},\"type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทตัวเลขที่ส่งกลับสำหรับเนื้อหาชื่อเรื่องนี้\"}}}},\"description\":\"ชุดคำบรรยายที่จัดกลุ่มตามคีย์ที่ส่งกลับมา คีย์อาจรวมถึงป้ายภาษาหรือข้อมูลต้นทาง\"}}},\"stream\":{\"type\":\"object\",\"description\":\"ไฟล์วิดีโอที่ถูกจัดกลุ่มตามครอบครัวโค้ด. บางกลุ่มอาจว่างเปล่า\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"ไฟล์สตรีมวิดีโอ H.264 ที่ส่งกลับสำหรับหมายเหตุนี้\",\"items\":{\"type\":\"object\",\"description\":\"ไฟล์สตรีมวิดีโอและข้อมูลเมตาดาต้าเสียงที่มีอยู่\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL สื่อหลักสำหรับไฟล์นี้\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL สื่อทางเลือกสำหรับไฟล์นี้\",\"items\":{\"type\":\"string\",\"description\":\"URL สื่อทางเลือกอีกอันหนึ่ง\"}},\"format\":{\"type\":\"string\",\"description\":\"ชื่อรูปแบบคอนเทนเนอร์สำหรับไฟล์สื่อนี้\"},\"quality_type\":{\"type\":\"string\",\"description\":\"ป้ายกำกับคุณภาพที่รายงานสำหรับไฟล์วิดีโอนี้\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"คำอธิบายการแสดงสำหรับไฟล์สื่อนี้\"},\"stream_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทสตรีมตัวเลขที่ส่งกลับสำหรับไฟล์นี้\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของวิดีโอที่เข้ารหัสในพิกเซล\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของวิดีโอที่เข้ารหัสในพิกเซล\"},\"fps\":{\"type\":\"integer\",\"description\":\"อัตราการเคลื่อนไหวที่รายงานเป็นเฟรมต่อวินาที\"},\"duration\":{\"type\":\"integer\",\"description\":\"ความยาวรวมของสตรีมสื่อนี้ในมิลลิวินาที\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาของวิดีโอในมิลลิวินาที。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"ความยาวของเทรนด์เสียงในมิลลิวินาที\"},\"size\":{\"type\":\"integer\",\"description\":\"ขนาดของไฟล์สื่อที่เข้ารหัสนี้ในไบต์\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"อัตราบิตเฉลี่ยของสตรีมสื่อนี้ในบิตต่อวินาที\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"อัตราบิตของเทรนด์วิดีโอในบิตต่อวินาที\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"อัตราบิตของเทรนด์เสียงในบิตต่อวินาที\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"จำนวนช่องเสียงที่รายงานสำหรับเทรนด์นี้\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"ชื่อโค้ดเสียงที่รายงานสำหรับเทรนด์นี้\"},\"video_codec\":{\"type\":\"string\",\"description\":\"ชื่อโค้ดวิดีโอที่รายงานสำหรับเทรนด์นี้\"},\"rotate\":{\"type\":\"integer\",\"description\":\"ค่าการหมุนที่รายงานสำหรับไฟล์วิดีโอนี้\"},\"psnr\":{\"type\":\"integer\",\"description\":\"ค่าความคมชัด PSNR บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา\"},\"ssim\":{\"type\":\"integer\",\"description\":\"ค่าความคมชัด SSIM บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา\"},\"vmaf\":{\"type\":\"integer\",\"description\":\"ค่าความคมชัด VMAF บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา\"}}}},\"h265\":{\"type\":\"array\",\"description\":\"สตรีมวิดีโอ H.265 ที่ส่งกลับมาสำหรับบันทึก\",\"items\":{\"type\":\"object\",\"description\":\"ไฟล์สตรีมวิดีโอและข้อมูลเมตาดาต้าเสียงที่มีอยู่\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL สื่อหลักสำหรับไฟล์นี้\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL สื่อทางเลือกสำหรับไฟล์นี้\",\"items\":{\"type\":\"string\",\"description\":\"URL สื่อทางเลือกอีกอันหนึ่ง\"}},\"format\":{\"type\":\"string\",\"description\":\"ชื่อรูปแบบคอนเทนเนอร์สำหรับไฟล์สื่อนี้\"},\"quality_type\":{\"type\":\"string\",\"description\":\"ป้ายกำกับคุณภาพที่รายงานสำหรับไฟล์วิดีโอนี้\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"คำอธิบายการแสดงสำหรับไฟล์สื่อนี้\"},\"stream_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทสตรีมตัวเลขที่ส่งกลับสำหรับไฟล์นี้\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของวิดีโอที่เข้ารหัสในพิกเซล\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของวิดีโอที่เข้ารหัสในพิกเซล\"},\"fps\":{\"type\":\"integer\",\"description\":\"อัตราการเคลื่อนไหวที่รายงานเป็นเฟรมต่อวินาที\"},\"duration\":{\"type\":\"integer\",\"description\":\"ความยาวรวมของสตรีมสื่อนี้ในมิลลิวินาที\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาของวิดีโอในมิลลิวินาที。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"ความยาวของเทรนด์เสียงในมิลลิวินาที\"},\"size\":{\"type\":\"integer\",\"description\":\"ขนาดของไฟล์สื่อที่เข้ารหัสนี้ในไบต์\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"อัตราบิตเฉลี่ยของสตรีมสื่อนี้ในบิตต่อวินาที\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"อัตราบิตของเทรนด์วิดีโอในบิตต่อวินาที\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"อัตราบิตของเทรนด์เสียงในบิตต่อวินาที\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"จำนวนช่องเสียงที่รายงานสำหรับเทรนด์นี้\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"ชื่อโค้ดเสียงที่รายงานสำหรับเทรนด์นี้\"},\"video_codec\":{\"type\":\"string\",\"description\":\"ชื่อโค้ดวิดีโอที่รายงานสำหรับเทรนด์นี้\"},\"rotate\":{\"type\":\"integer\",\"description\":\"ค่าการหมุนที่รายงานสำหรับไฟล์วิดีโอนี้\"},\"psnr\":{\"type\":\"number\",\"description\":\"ค่าความคมชัด PSNR บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา\"},\"ssim\":{\"type\":\"integer\",\"description\":\"ค่าความคมชัด SSIM บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา\"},\"vmaf\":{\"type\":\"integer\",\"description\":\"ค่าความคมชัด VMAF บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา\"}}}},\"av1\":{\"type\":\"array\",\"description\":\"กลุ่มสตรีม AV1 ที่ส่งกลับมา กลุ่มอาจว่างเปล่าได้\"},\"h266\":{\"type\":\"array\",\"description\":\"กลุ่มสตรีม H.266 ที่ส่งกลับมา กลุ่มอาจว่างเปล่าได้\"}}},\"audio_stream\":{\"type\":\"object\",\"description\":\"รูปแบบเสียงเฉพาะสำหรับเสียงเท่านั้น เมื่อมีให้บริการ วัตถุนี้อาจว่างเปล่าได้\",\"properties\":{\"AAC\":{\"type\":\"array\",\"description\":\"รูปแบบเสียง AAC เฉพาะสำหรับวิดีโอที่ส่งกลับมา\",\"items\":{\"type\":\"object\",\"description\":\"รูปแบบเสียง AAC เฉพาะ\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL สื่อหลักสำหรับไฟล์นี้\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL สื่อทางเลือกสำหรับไฟล์นี้\",\"items\":{\"type\":\"string\",\"description\":\"URL สื่อทางเลือกอีกอันหนึ่ง\"}},\"format\":{\"type\":\"string\",\"description\":\"ชื่อรูปแบบคอนเทนเนอร์สำหรับไฟล์สื่อนี้\"},\"stream_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทสตรีมตัวเลขที่ส่งกลับสำหรับไฟล์นี้\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"ชื่อโค้ดเสียงที่รายงานสำหรับเทรนด์นี้\"},\"audio_profile\":{\"type\":\"string\",\"description\":\"รายละเอียดโปรโฟล์กของโปรแกรมเสียงที่รายงานสำหรับลูปนี้\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"จำนวนช่องเสียงที่รายงานสำหรับเทรนด์นี้\"},\"audio_samplerate\":{\"type\":\"integer\",\"description\":\"ค่าความเร็วของตัวอย่างที่รายงานสำหรับลูปเสียงเฉพาะนี้\"},\"audio_bit_depth\":{\"type\":\"integer\",\"description\":\"ความลึกของบิตของตัวอย่างที่รายงานสำหรับลูปนี้\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"ค่าความยาวของลูปที่รายงานสำหรับรูปแบบเสียงเฉพาะนี้\"},\"size\":{\"type\":\"integer\",\"description\":\"ค่าขนาดของข้อมูลที่เข้ารหัสสำหรับรูปแบบเสียงเฉพาะนี้\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"ค่าเฉลี่ยของความเร็วบิตที่รายงานสำหรับรูปแบบเสียงเฉพาะนี้\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"ค่าความเร็วบิตของเสียงที่รายงานสำหรับรูปแบบเสียงเฉพาะนี้\"}}}}}},\"audio_info\":{\"type\":\"object\",\"description\":\"ข้อมูลสตรีมเสียงเมื่อมีให้\",\"properties\":{\"stream_types\":{\"type\":\"array\",\"description\":\"รหัสประเภทสตรีมเสียงที่เป็นตัวเลขที่รายงานพร้อมกับข้อมูลเมตาดาต้าเสียง\",\"items\":{\"type\":\"integer\",\"description\":\"รหัสประเภทสตรีมเสียง\"}}}}}}}},\"native_voice_info\":{\"type\":\"object\",\"description\":\"เมตาดาต้าเสียงหรือเสียงที่เชื่อมต่อกับบันทึกเมื่อมีให้\",\"properties\":{\"sound_id\":{\"type\":\"string\",\"description\":\"ID ของเสียงที่แนบ\"},\"url\":{\"type\":\"string\",\"description\":\"URL ของสื่อสำหรับเสียงที่เชื่อมต่อ\"},\"deeplink\":{\"type\":\"string\",\"description\":\"ลิงก์การนำทางที่ส่งกลับมาสำหรับเสียงที่เชื่อมต่อ\"},\"use_count\":{\"type\":\"integer\",\"description\":\"จำนวนการใช้งานที่รายงานสำหรับเสียงนี้\"}}},\"simple_music_info\":{\"type\":\"object\",\"description\":\"เมตาดาต้าเพลงที่เชื่อมต่อกับบันทึกเมื่อมีให้\",\"properties\":{\"music_id\":{\"type\":\"string\",\"description\":\"ID ของเพลงที่แนบ\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่ส่งกลับมาสำหรับเพลงที่เชื่อมต่อ\"},\"url\":{\"type\":\"string\",\"description\":\"URL ของสื่อสำหรับเพลงที่แนบมา.\"},\"deeplink\":{\"type\":\"string\",\"description\":\"ลิงก์การนำทางที่ส่งกลับมาสำหรับเพลงที่แนบมา.\"}}},\"note_statement\":{\"type\":\"object\",\"description\":\"คำอธิบายและแหล่งที่มาแสดงเมื่อมี.\",\"properties\":{\"origin_info\":{\"type\":\"object\",\"description\":\"ข้อมูลแหล่งที่มาของเนื้อหาแสดงในคำอธิบาย.\",\"properties\":{\"origin_text\":{\"type\":\"string\",\"description\":\"ข้อความแหล่งที่มาแสดงพร้อมกับคำอธิบาย.\"},\"origin_link\":{\"type\":\"string\",\"description\":\"ลิงก์การนำทางที่ส่งกลับมาพร้อมกับข้อความแหล่งที่มา.\"}}}}},\"share_info\":{\"type\":\"object\",\"description\":\"ข้อมูลการแชร์ที่ส่งกลับมาสำหรับคำอธิบาย.\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"ชื่อสำหรับการแชร์คำอธิบาย.\"},\"content\":{\"type\":\"string\",\"description\":\"ข้อความสำหรับการแชร์คำอธิบาย.\"},\"image\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพสำหรับการแชร์คำอธิบาย.\"},\"link\":{\"type\":\"string\",\"description\":\"ลิงก์สำหรับการแชร์คำอธิบาย.\"},\"wechat_share_desc\":{\"type\":\"string\",\"description\":\"คำอธิบายการแชร์ที่ส่งกลับมาสำหรับ WeChat.\"}}},\"sticky\":{\"type\":\"boolean\",\"description\":\"สถานะการแชร์ที่ถูกติดแท็กที่รายงานพร้อมกับคำอธิบาย.\"},\"has_related_goods\":{\"type\":\"boolean\",\"description\":\"คำอธิบายว่าคำอธิบายนี้มีสินค้าที่เกี่ยวข้องหรือไม่.\"},\"related_goods_num\":{\"type\":\"integer\",\"description\":\"จำนวนสินค้าที่เกี่ยวข้องที่รายงานสำหรับคำอธิบาย.\"},\"media_save_config\":{\"type\":\"object\",\"description\":\"ตั้งค่าการบันทึกสื่อที่ส่งกลับมาสำหรับคำอธิบาย.\",\"properties\":{\"disable_save\":{\"type\":\"boolean\",\"description\":\"ว่าการตั้งค่าที่ส่งกลับมาจะปิดการบันทึกสื่อหรือไม่.\"},\"disable_watermark\":{\"type\":\"boolean\",\"description\":\"ว่าการตั้งค่าที่ส่งกลับมาจะปิดการแสดงโลโก้หรือไม่.\"}}},\"comment_prompt_config\":{\"type\":\"object\",\"description\":\"ข้อมูลคำเตือนเกี่ยวกับการแสดงความคิดเห็นที่ส่งกลับมาพร้อมกับคำอธิบาย.\",\"properties\":{\"placeholder_short\":{\"type\":\"string\",\"description\":\"ข้อความสำรองสั้นสำหรับการป้อนความคิดเห็น.\"},\"placeholder_long\":{\"type\":\"string\",\"description\":\"ข้อความสำรองยาวสำหรับการป้อนความคิดเห็น.\"}}},\"function_switch\":{\"type\":\"array\",\"description\":\"สถานะการเปิดใช้งานฟีเจอร์ที่รายงานพร้อมกับคำอธิบาย.\",\"items\":{\"type\":\"object\",\"description\":\"ฟีเจอร์ที่เปิดใช้งานที่ส่งกลับมา.\",\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"ป้ายกำกับประเภทของฟีเจอร์ที่เปิดใช้งาน.\"},\"enable\":{\"type\":\"boolean\",\"description\":\"ว่าฟีเจอร์ที่เปิดใช้งานนี้ถูกเปิดใช้งานหรือไม่.\"},\"reason\":{\"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/xiaohongshu/get-note-detail/v6\"")' />

<p>ดึงข้อมูลรายละเอียดวิดีโอบันทึกของ Xiaohongshu (RedNote) โดยใช้ ID ของบันทึก ใช้เพื่อค้นหาและประมวลผลวิดีโอบันทึกที่รู้จัก</p>

## สิ่งที่น่าสนใจ

::: tip เงื่อนไข
<p>เว็บ endpointนี้รองรับการดาวน์โหลดวิดีโอสำหรับบันทึกวิดีโอเท่านั้น; ไม่รองรับบันทึกภาพและข้อความ.</p>
:::

## พารามิเตอร์

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

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | โทเค็นการเข้าถึงสำหรับบริการ API นี้ |
| <code>noteId</code> | query | <code>string</code> | ใช่ | - | ตัวระบุบันทึกที่ไม่ซ้ำกันบน Xiaohongshu |

</div>

## ตัวอย่างโค้ด

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/xiaohongshu/get-note-detail/v6?token=YOUR_API_KEY&noteId=VALUE'
```

```text [🤖 คำแนะนำสำหรับ AI]
ฉันต้องการใช้ API "รายละเอียดโน้ต (V6)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/xiaohongshu/get-note-detail/v6?token=YOUR_API_KEY&noteId=VALUE
เอนด์พอยต์ API: BASE_URL + /api/xiaohongshu/get-note-detail/v6?token=YOUR_API_KEY&noteId=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/xiaohongshu-rednote/note-details-v6-th.json

พารามิเตอร์:
- token (query): โทเค็นการเข้าถึงสำหรับบริการ API นี้ (จำเป็น)
- noteId (query): ตัวระบุบันทึกที่ไม่ซ้ำกันบน Xiaohongshu (จำเป็น)

รูปแบบที่ส่งกลับ: จัดการ 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/xiaohongshu/get-note-detail/v6?token=YOUR_API_KEY&noteId=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/xiaohongshu/get-note-detail/v6?token=YOUR_API_KEY&noteId=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/xiaohongshu/get-note-detail/v6?token=YOUR_API_KEY&noteId=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/xiaohongshu/get-note-detail/v6?token=YOUR_API_KEY&noteId=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/xiaohongshu/get-note-detail/v6?token=YOUR_API_KEY&noteId=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/xiaohongshu-rednote/note-details-v6-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>data[]</code> | <code>object</code> | โน็ตวิดีโอ Xiaohongshu ที่ตรงกัน. |
| <code>data[].id</code> | <code>string</code> | ID ของบันทึกของซิอ่าวหงชู |
| <code>data[].type</code> | <code>string</code> | ป้ายกำกับประเภทโน็ตสำหรับโน็ตวิดีโอนี้. |
| <code>data[].title</code> | <code>string</code> | ชื่อของบันทึก |
| <code>data[].desc</code> | <code>string</code> | ข้อความคำอธิบายโน็ต. |
| <code>data[].time</code> | <code>integer</code> | เวลาการเผยแพร่โน้ตในรูปแบบ Unix timestamp ในหน่วยวินาที |
| <code>data[].last_update_time</code> | <code>integer</code> | เวลาการอัปเดตล่าสุดในรูปแบบเวลาบิตของ Unix ในวินาทีเมื่อตั้งค่า. ค่าสามารถเป็นศูนย์ได้. |
| <code>data[].text_language_code</code> | <code>string</code> | รหัสภาษาที่รายงานสำหรับโน็ต. |
| <code>data[].ip_location</code> | <code>string</code> | ป้ายกำกับสถานที่ที่แสดงบนโน็ตโดยแพลตฟอร์ม. |
| <code>data[].liked_count</code> | <code>integer</code> | จำนวนไลก์ของโพสต์ตามที่รายงาน |
| <code>data[].collected_count</code> | <code>integer</code> | จำนวนการบันทึกของโพสต์ตามที่รายงาน |
| <code>data[].comments_count</code> | <code>integer</code> | จำนวนความคิดเห็นของโพสต์ตามที่รายงาน |
| <code>data[].shared_count</code> | <code>integer</code> | จำนวนการแชร์ของโพสต์ตามที่รายงาน |
| <code>data[].view_count</code> | <code>integer</code> | จำนวนการดูของโพสต์ตามที่รายงาน |
| <code>data[].liked</code> | <code>boolean</code> | สถานะความชื่นชอบที่รายงานพร้อมกับโน็ต. |
| <code>data[].collected</code> | <code>boolean</code> | สถานะการบันทึกที่รายงานพร้อมกับโน็ต. |
| <code>data[].user</code> | <code>object</code> | ข้อมูลโปรไฟล์ของผู้เขียนที่ส่งกลับพร้อมกับโน็ต. |
| <code>data[].user.id</code> | <code>string</code> | ID ของผู้เขียนที่ส่งกลับพร้อมกับโปรไฟล์. |
| <code>data[].user.userid</code> | <code>string</code> | ID ของผู้ใช้ผู้เขียนที่ส่งกลับพร้อมกับโปรไฟล์. |
| <code>data[].user.name</code> | <code>string</code> | ชื่อที่แสดงผลของผู้เขียนตามที่รายงานในโปรไฟล์. |
| <code>data[].user.nickname</code> | <code>string</code> | ชื่อที่เรียกขานของผู้เขียน. |
| <code>data[].user.red_id</code> | <code>string</code> | ชื่อบัญชีของผู้เขียนในซิอ่าวหงชู |
| <code>data[].user.image</code> | <code>string</code> | URL ของรูปภาพโปรไฟล์ของผู้เขียน. |
| <code>data[].user.image_size_large</code> | <code>string</code> | URL ของรูปภาพโปรไฟล์ของผู้เขียนขนาดใหญ่, หากมีให้. |
| <code>data[].user.followed</code> | <code>boolean</code> | สถานะการติดตามที่รายงานพร้อมกับโปรไฟล์ของผู้เขียน. |
| <code>data[].user.red_official_verified</code> | <code>boolean</code> | ว่าการโปรไฟล์ของผู้เขียนถูกระบุว่าได้รับการยืนยันอย่างเป็นทางการหรือไม่. |
| <code>data[].user.red_official_verify_type</code> | <code>integer</code> | รหัสประเภทการตรวจสอบอย่างเป็นทางการที่เป็นตัวเลข |
| <code>data[].user.level</code> | <code>object</code> | ข้อมูลเครื่องหมายประจำผู้เขียน |
| <code>data[].user.level.image</code> | <code>string</code> | URL รูปภาพของป้ายระดับของผู้เขียน |
| <code>data[].topics</code> | <code>array</code> | หัวข้อที่เกี่ยวข้องกับบันทึกวิดีโอ |
| <code>data[].topics[]</code> | <code>object</code> | หัวข้อที่เกี่ยวข้องกับบันทึก |
| <code>data[].topics[].id</code> | <code>string</code> | ID ของหัวข้อ |
| <code>data[].topics[].name</code> | <code>string</code> | ชื่อหัวข้อ |
| <code>data[].topics[].image</code> | <code>string</code> | URL ของรูปภาพที่เกี่ยวข้องกับหัวข้อ |
| <code>data[].topics[].link</code> | <code>string</code> | ลิงก์การนำทางที่ส่งกลับมาสำหรับหัวข้อ |
| <code>data[].topics[].discuss_num</code> | <code>integer</code> | จำนวนการอภิปรายที่รายงานสำหรับหัวข้อ |
| <code>data[].hash_tag</code> | <code>array</code> | ข้อมูลแฮชแท็กที่ส่งกลับมาพร้อมกับบันทึก |
| <code>data[].hash_tag[]</code> | <code>object</code> | แฮชแท็กที่เชื่อมโยงกับบันทึก |
| <code>data[].hash_tag[].id</code> | <code>string</code> | ID แฮชแท็ก |
| <code>data[].hash_tag[].name</code> | <code>string</code> | ชื่อที่ปรากฏของแฮชแท็ก |
| <code>data[].hash_tag[].link</code> | <code>string</code> | ลิงก์การนำทางที่ส่งกลับมาสำหรับแฮชแท็ก |
| <code>data[].hash_tag[].type</code> | <code>string</code> | ป้ายกำกับประเภทของแฮชแท็ก |
| <code>data[].hash_tag[].tag_hint</code> | <code>string</code> | คำแนะนำการแสดงผลสำหรับแฮชแท็ก |
| <code>data[].ats</code> | <code>array</code> | บัญชีที่ถูกกล่าวถึงในบันทึก หากมี |
| <code>data[].ats[]</code> | <code>object</code> | บัญชีที่ถูกกล่าวถึงในหมายเหตุ. |
| <code>data[].ats[].id</code> | <code>string</code> | ID ของบัญชีที่ถูกกล่าวถึง |
| <code>data[].ats[].name</code> | <code>string</code> | ชื่อที่ส่งกลับมาจากบัญชีที่กล่าวถึง |
| <code>data[].ats[].nickname</code> | <code>string</code> | ชื่อที่ปรากฏของบัญชีที่ถูกกล่าวถึง |
| <code>data[].ats[].red_official_verified</code> | <code>boolean</code> | บัญชีที่ถูกกล่าวถึงนั้นได้รับการระบุว่าเป็นบัญชีที่ได้รับการตรวจสอบอย่างเป็นทางการหรือไม่ |
| <code>data[].ats[].red_official_verify_type</code> | <code>integer</code> | รหัสประเภทการตรวจสอบอย่างเป็นทางการที่เป็นตัวเลข |
| <code>data[].ats[].level</code> | <code>object</code> | ข้อมูลเครื่องหมายประจำระดับบัญชีที่ถูกกล่าวถึง |
| <code>data[].ats[].level.image</code> | <code>string</code> | URL ของรูปภาพสำหรับเครื่องหมายประจำระดับบัญชีที่ถูกกล่าวถึง |
| <code>data[].images_list</code> | <code>array</code> | รูปภาพที่เชื่อมโยงกับบันทึกวิดีโอ รวมถึงรูปปกที่มีอยู่ |
| <code>data[].images_list[]</code> | <code>object</code> | รูปภาพสำหรับบันทึกวิดีโอ |
| <code>data[].images_list[].fileid</code> | <code>string</code> | ID ของทรัพยากรรูปภาพ |
| <code>data[].images_list[].index</code> | <code>integer</code> | อ้างอิงของตำแหน่งรูปภาพนี้ |
| <code>data[].images_list[].url</code> | <code>string</code> | URL ของรูปภาพ. |
| <code>data[].images_list[].original</code> | <code>string</code> | URL ของภาพต้นฉบับ หากมีให้ใช้ |
| <code>data[].images_list[].url_size_large</code> | <code>string</code> | URL ของภาพขนาดใหญ่ หากมีให้ใช้ |
| <code>data[].images_list[].width</code> | <code>integer</code> | ความกว้างของภาพในพิกเซล |
| <code>data[].images_list[].height</code> | <code>integer</code> | ความสูงของภาพในพิกเซล |
| <code>data[].images_list[].origin_img</code> | <code>object</code> | ข้อมูลเมตาดาต้าของภาพต้นฉบับ หากมีให้ใช้ |
| <code>data[].images_list[].origin_img.width</code> | <code>integer</code> | ความกว้างของภาพต้นฉบับในพิกเซล |
| <code>data[].images_list[].origin_img.height</code> | <code>integer</code> | ความสูงของภาพต้นฉบับในพิกเซล |
| <code>data[].images_list[].origin_img.size</code> | <code>integer</code> | ค่าขนาดที่รายงานสำหรับภาพต้นฉบับ |
| <code>data[].video_info_v2</code> | <code>object</code> | ข้อมูลเมตาดาต้าของวิดีโอ, ภาพ และสตรีมสื่อสำหรับบันทึก |
| <code>data[].video_info_v2.image</code> | <code>object</code> | URL ของภาพตัวอย่างที่ส่งกลับมาพร้อมกับวิดีโอ |
| <code>data[].video_info_v2.image.first_frame</code> | <code>string</code> | URL ของภาพขนาดย่อที่ส่งกลับมาสำหรับวิดีโอ |
| <code>data[].video_info_v2.image.thumbnail</code> | <code>string</code> | URL ของไอเทมย่อยของวิดีโอ |
| <code>data[].video_info_v2.image.thumbnail_dim</code> | <code>string</code> | URL ขนาดย่อของวิดีโอเพิ่มเติมที่ส่งมา |
| <code>data[].video_info_v2.consumer</code> | <code>object</code> | ว่าข้อมูลเมตาดาติการเล่นระบุว่าวิดีโอมีความละเอียดสูงหรือไม่ |
| <code>data[].video_info_v2.consumer.can_super_resolution</code> | <code>boolean</code> | ข้อมูลเมตาดาต้าของวิดีโอและสตรีมสื่อ บางกลุ่มอาจไม่มีข้อมูลหรือว่างเปล่า |
| <code>data[].video_info_v2.media</code> | <code>object</code> | ข้อมูลเมตาของวิดีโอและสตรีมสื่อ ข้อมูลบางกลุ่มอาจไม่มีหรือเป็นค่าว่าง |
| <code>data[].video_info_v2.media.video_id</code> | <code>string</code> | ID ของวิดีโอที่รายงานในข้อมูลเมตาดาต้าของสื่อ |
| <code>data[].video_info_v2.media.video</code> | <code>object</code> | ความยาวรวมของวิดีโอในวินาที |
| <code>data[].video_info_v2.media.video.duration</code> | <code>integer</code> | ความยาวรวมของวิดีโอ หน่วยวินาที |
| <code>data[].video_info_v2.media.video.width</code> | <code>integer</code> | ความกว้างของวิดีโอในพิกเซล |
| <code>data[].video_info_v2.media.video.height</code> | <code>integer</code> | ความสูงของวิดีโอในพิกเซล |
| <code>data[].video_info_v2.media.video.hdr_type</code> | <code>integer</code> | รหัสประเภท HDR ที่เป็นตัวเลขสำหรับวิดีโอ |
| <code>data[].video_info_v2.media.video.drm_type</code> | <code>integer</code> | รหัสประเภท DRM ที่เป็นตัวเลขสำหรับวิดีโอ |
| <code>data[].video_info_v2.media.video.stream_types</code> | <code>array</code> | ค่าสำหรับรูปแบบสตรีมวิดีโอ |
| <code>data[].video_info_v2.media.video.stream_types[]</code> | <code>integer</code> | ค่าสำหรับรูปแบบสตรีมวิดีโอ |
| <code>data[].video_info_v2.media.video.subtitles</code> | <code>object</code> | ชุดคำบรรยายที่จัดกลุ่มตามคีย์ที่ส่งกลับมา คีย์อาจรวมถึงป้ายภาษาหรือข้อมูลต้นทาง |
| <code>data[].video_info_v2.media.video.subtitles.{key}</code> | <code>array</code> | ชุดคำบรรยายภายใต้คีย์นี้ |
| <code>data[].video_info_v2.media.video.subtitles.{key}[]</code> | <code>object</code> | ชุดคำบรรยายหนึ่ง |
| <code>data[].video_info_v2.media.video.subtitles.{key}[].language</code> | <code>string</code> | ป้ายภาษาที่ส่งกลับมาสำหรับชุดคำบรรยายนี้ |
| <code>data[].video_info_v2.media.video.subtitles.{key}[].url</code> | <code>string</code> | URL ของไฟล์สำหรับชุดคำบรรยายนี้ |
| <code>data[].video_info_v2.media.video.subtitles.{key}[].format</code> | <code>integer</code> | รหัสรูปแบบตัวเลขที่ส่งกลับสำหรับเนื้อหาชื่อเรื่องนี้ |
| <code>data[].video_info_v2.media.video.subtitles.{key}[].type</code> | <code>integer</code> | รหัสประเภทตัวเลขที่ส่งกลับสำหรับเนื้อหาชื่อเรื่องนี้ |
| <code>data[].video_info_v2.media.stream</code> | <code>object</code> | ไฟล์วิดีโอที่ถูกจัดกลุ่มตามครอบครัวโค้ด. บางกลุ่มอาจว่างเปล่า |
| <code>data[].video_info_v2.media.stream.h264</code> | <code>array</code> | ไฟล์สตรีมวิดีโอ H.264 ที่ส่งกลับสำหรับหมายเหตุนี้ |
| <code>data[].video_info_v2.media.stream.h264[]</code> | <code>object</code> | ไฟล์สตรีมวิดีโอและข้อมูลเมตาดาต้าเสียงที่มีอยู่ |
| <code>data[].video_info_v2.media.stream.h264[].master_url</code> | <code>string</code> | URL สื่อหลักสำหรับไฟล์นี้ |
| <code>data[].video_info_v2.media.stream.h264[].backup_urls</code> | <code>array</code> | URL สื่อทางเลือกสำหรับไฟล์นี้ |
| <code>data[].video_info_v2.media.stream.h264[].backup_urls[]</code> | <code>string</code> | URL สื่อทางเลือกอีกอันหนึ่ง |
| <code>data[].video_info_v2.media.stream.h264[].format</code> | <code>string</code> | ชื่อรูปแบบคอนเทนเนอร์สำหรับไฟล์สื่อนี้ |
| <code>data[].video_info_v2.media.stream.h264[].quality_type</code> | <code>string</code> | ป้ายกำกับคุณภาพที่รายงานสำหรับไฟล์วิดีโอนี้ |
| <code>data[].video_info_v2.media.stream.h264[].stream_desc</code> | <code>string</code> | คำอธิบายการแสดงสำหรับไฟล์สื่อนี้ |
| <code>data[].video_info_v2.media.stream.h264[].stream_type</code> | <code>integer</code> | รหัสประเภทสตรีมตัวเลขที่ส่งกลับสำหรับไฟล์นี้ |
| <code>data[].video_info_v2.media.stream.h264[].width</code> | <code>integer</code> | ความกว้างของวิดีโอที่เข้ารหัสในพิกเซล |
| <code>data[].video_info_v2.media.stream.h264[].height</code> | <code>integer</code> | ความสูงของวิดีโอที่เข้ารหัสในพิกเซล |
| <code>data[].video_info_v2.media.stream.h264[].fps</code> | <code>integer</code> | อัตราการเคลื่อนไหวที่รายงานเป็นเฟรมต่อวินาที |
| <code>data[].video_info_v2.media.stream.h264[].duration</code> | <code>integer</code> | ความยาวรวมของสตรีมสื่อนี้ในมิลลิวินาที |
| <code>data[].video_info_v2.media.stream.h264[].video_duration</code> | <code>integer</code> | ระยะเวลาของวิดีโอในมิลลิวินาที。 |
| <code>data[].video_info_v2.media.stream.h264[].audio_duration</code> | <code>integer</code> | ความยาวของเทรนด์เสียงในมิลลิวินาที |
| <code>data[].video_info_v2.media.stream.h264[].size</code> | <code>integer</code> | ขนาดของไฟล์สื่อที่เข้ารหัสนี้ในไบต์ |
| <code>data[].video_info_v2.media.stream.h264[].avg_bitrate</code> | <code>integer</code> | อัตราบิตเฉลี่ยของสตรีมสื่อนี้ในบิตต่อวินาที |
| <code>data[].video_info_v2.media.stream.h264[].video_bitrate</code> | <code>integer</code> | อัตราบิตของเทรนด์วิดีโอในบิตต่อวินาที |
| <code>data[].video_info_v2.media.stream.h264[].audio_bitrate</code> | <code>integer</code> | อัตราบิตของเทรนด์เสียงในบิตต่อวินาที |
| <code>data[].video_info_v2.media.stream.h264[].audio_channels</code> | <code>integer</code> | จำนวนช่องเสียงที่รายงานสำหรับเทรนด์นี้ |
| <code>data[].video_info_v2.media.stream.h264[].audio_codec</code> | <code>string</code> | ชื่อโค้ดเสียงที่รายงานสำหรับเทรนด์นี้ |
| <code>data[].video_info_v2.media.stream.h264[].video_codec</code> | <code>string</code> | ชื่อโค้ดวิดีโอที่รายงานสำหรับเทรนด์นี้ |
| <code>data[].video_info_v2.media.stream.h264[].rotate</code> | <code>integer</code> | ค่าการหมุนที่รายงานสำหรับไฟล์วิดีโอนี้ |
| <code>data[].video_info_v2.media.stream.h264[].psnr</code> | <code>integer</code> | ค่าความคมชัด PSNR บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา |
| <code>data[].video_info_v2.media.stream.h264[].ssim</code> | <code>integer</code> | ค่าความคมชัด SSIM บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา |
| <code>data[].video_info_v2.media.stream.h264[].vmaf</code> | <code>integer</code> | ค่าความคมชัด VMAF บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา |
| <code>data[].video_info_v2.media.stream.h265</code> | <code>array</code> | สตรีมวิดีโอ H.265 ที่ส่งกลับมาสำหรับบันทึก |
| <code>data[].video_info_v2.media.stream.h265[]</code> | <code>object</code> | ไฟล์สตรีมวิดีโอและข้อมูลเมตาดาต้าเสียงที่มีอยู่ |
| <code>data[].video_info_v2.media.stream.h265[].master_url</code> | <code>string</code> | URL สื่อหลักสำหรับไฟล์นี้ |
| <code>data[].video_info_v2.media.stream.h265[].backup_urls</code> | <code>array</code> | URL สื่อทางเลือกสำหรับไฟล์นี้ |
| <code>data[].video_info_v2.media.stream.h265[].backup_urls[]</code> | <code>string</code> | URL สื่อทางเลือกอีกอันหนึ่ง |
| <code>data[].video_info_v2.media.stream.h265[].format</code> | <code>string</code> | ชื่อรูปแบบคอนเทนเนอร์สำหรับไฟล์สื่อนี้ |
| <code>data[].video_info_v2.media.stream.h265[].quality_type</code> | <code>string</code> | ป้ายกำกับคุณภาพที่รายงานสำหรับไฟล์วิดีโอนี้ |
| <code>data[].video_info_v2.media.stream.h265[].stream_desc</code> | <code>string</code> | คำอธิบายการแสดงสำหรับไฟล์สื่อนี้ |
| <code>data[].video_info_v2.media.stream.h265[].stream_type</code> | <code>integer</code> | รหัสประเภทสตรีมตัวเลขที่ส่งกลับสำหรับไฟล์นี้ |
| <code>data[].video_info_v2.media.stream.h265[].width</code> | <code>integer</code> | ความกว้างของวิดีโอที่เข้ารหัสในพิกเซล |
| <code>data[].video_info_v2.media.stream.h265[].height</code> | <code>integer</code> | ความสูงของวิดีโอที่เข้ารหัสในพิกเซล |
| <code>data[].video_info_v2.media.stream.h265[].fps</code> | <code>integer</code> | อัตราการเคลื่อนไหวที่รายงานเป็นเฟรมต่อวินาที |
| <code>data[].video_info_v2.media.stream.h265[].duration</code> | <code>integer</code> | ความยาวรวมของสตรีมสื่อนี้ในมิลลิวินาที |
| <code>data[].video_info_v2.media.stream.h265[].video_duration</code> | <code>integer</code> | ระยะเวลาของวิดีโอในมิลลิวินาที。 |
| <code>data[].video_info_v2.media.stream.h265[].audio_duration</code> | <code>integer</code> | ความยาวของเทรนด์เสียงในมิลลิวินาที |
| <code>data[].video_info_v2.media.stream.h265[].size</code> | <code>integer</code> | ขนาดของไฟล์สื่อที่เข้ารหัสนี้ในไบต์ |
| <code>data[].video_info_v2.media.stream.h265[].avg_bitrate</code> | <code>integer</code> | อัตราบิตเฉลี่ยของสตรีมสื่อนี้ในบิตต่อวินาที |
| <code>data[].video_info_v2.media.stream.h265[].video_bitrate</code> | <code>integer</code> | อัตราบิตของเทรนด์วิดีโอในบิตต่อวินาที |
| <code>data[].video_info_v2.media.stream.h265[].audio_bitrate</code> | <code>integer</code> | อัตราบิตของเทรนด์เสียงในบิตต่อวินาที |
| <code>data[].video_info_v2.media.stream.h265[].audio_channels</code> | <code>integer</code> | จำนวนช่องเสียงที่รายงานสำหรับเทรนด์นี้ |
| <code>data[].video_info_v2.media.stream.h265[].audio_codec</code> | <code>string</code> | ชื่อโค้ดเสียงที่รายงานสำหรับเทรนด์นี้ |
| <code>data[].video_info_v2.media.stream.h265[].video_codec</code> | <code>string</code> | ชื่อโค้ดวิดีโอที่รายงานสำหรับเทรนด์นี้ |
| <code>data[].video_info_v2.media.stream.h265[].rotate</code> | <code>integer</code> | ค่าการหมุนที่รายงานสำหรับไฟล์วิดีโอนี้ |
| <code>data[].video_info_v2.media.stream.h265[].psnr</code> | <code>number</code> | ค่าความคมชัด PSNR บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา |
| <code>data[].video_info_v2.media.stream.h265[].ssim</code> | <code>integer</code> | ค่าความคมชัด SSIM บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา |
| <code>data[].video_info_v2.media.stream.h265[].vmaf</code> | <code>integer</code> | ค่าความคมชัด VMAF บนมาตราส่วนที่แพลตฟอร์มส่งกลับมา |
| <code>data[].video_info_v2.media.stream.av1</code> | <code>array</code> | กลุ่มสตรีม AV1 ที่ส่งกลับมา กลุ่มอาจว่างเปล่าได้ |
| <code>data[].video_info_v2.media.stream.h266</code> | <code>array</code> | กลุ่มสตรีม H.266 ที่ส่งกลับมา กลุ่มอาจว่างเปล่าได้ |
| <code>data[].video_info_v2.media.audio_stream</code> | <code>object</code> | รูปแบบเสียงเฉพาะสำหรับเสียงเท่านั้น เมื่อมีให้บริการ วัตถุนี้อาจว่างเปล่าได้ |
| <code>data[].video_info_v2.media.audio_stream.AAC</code> | <code>array</code> | รูปแบบเสียง AAC เฉพาะสำหรับวิดีโอที่ส่งกลับมา |
| <code>data[].video_info_v2.media.audio_stream.AAC[]</code> | <code>object</code> | รูปแบบเสียง AAC เฉพาะ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].master_url</code> | <code>string</code> | URL สื่อหลักสำหรับไฟล์นี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].backup_urls</code> | <code>array</code> | URL สื่อทางเลือกสำหรับไฟล์นี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].backup_urls[]</code> | <code>string</code> | URL สื่อทางเลือกอีกอันหนึ่ง |
| <code>data[].video_info_v2.media.audio_stream.AAC[].format</code> | <code>string</code> | ชื่อรูปแบบคอนเทนเนอร์สำหรับไฟล์สื่อนี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].stream_type</code> | <code>integer</code> | รหัสประเภทสตรีมตัวเลขที่ส่งกลับสำหรับไฟล์นี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].audio_codec</code> | <code>string</code> | ชื่อโค้ดเสียงที่รายงานสำหรับเทรนด์นี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].audio_profile</code> | <code>string</code> | รายละเอียดโปรโฟล์กของโปรแกรมเสียงที่รายงานสำหรับลูปนี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].audio_channels</code> | <code>integer</code> | จำนวนช่องเสียงที่รายงานสำหรับเทรนด์นี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].audio_samplerate</code> | <code>integer</code> | ค่าความเร็วของตัวอย่างที่รายงานสำหรับลูปเสียงเฉพาะนี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].audio_bit_depth</code> | <code>integer</code> | ความลึกของบิตของตัวอย่างที่รายงานสำหรับลูปนี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].audio_duration</code> | <code>integer</code> | ค่าความยาวของลูปที่รายงานสำหรับรูปแบบเสียงเฉพาะนี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].size</code> | <code>integer</code> | ค่าขนาดของข้อมูลที่เข้ารหัสสำหรับรูปแบบเสียงเฉพาะนี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].avg_bitrate</code> | <code>integer</code> | ค่าเฉลี่ยของความเร็วบิตที่รายงานสำหรับรูปแบบเสียงเฉพาะนี้ |
| <code>data[].video_info_v2.media.audio_stream.AAC[].audio_bitrate</code> | <code>integer</code> | ค่าความเร็วบิตของเสียงที่รายงานสำหรับรูปแบบเสียงเฉพาะนี้ |
| <code>data[].video_info_v2.media.audio_info</code> | <code>object</code> | ข้อมูลสตรีมเสียงเมื่อมีให้ |
| <code>data[].video_info_v2.media.audio_info.stream_types</code> | <code>array</code> | รหัสประเภทสตรีมเสียงที่เป็นตัวเลขที่รายงานพร้อมกับข้อมูลเมตาดาต้าเสียง |
| <code>data[].video_info_v2.media.audio_info.stream_types[]</code> | <code>integer</code> | รหัสประเภทสตรีมเสียง |
| <code>data[].native_voice_info</code> | <code>object</code> | เมตาดาต้าเสียงหรือเสียงที่เชื่อมต่อกับบันทึกเมื่อมีให้ |
| <code>data[].native_voice_info.sound_id</code> | <code>string</code> | ID ของเสียงที่แนบ |
| <code>data[].native_voice_info.url</code> | <code>string</code> | URL ของสื่อสำหรับเสียงที่เชื่อมต่อ |
| <code>data[].native_voice_info.deeplink</code> | <code>string</code> | ลิงก์การนำทางที่ส่งกลับมาสำหรับเสียงที่เชื่อมต่อ |
| <code>data[].native_voice_info.use_count</code> | <code>integer</code> | จำนวนการใช้งานที่รายงานสำหรับเสียงนี้ |
| <code>data[].simple_music_info</code> | <code>object</code> | เมตาดาต้าเพลงที่เชื่อมต่อกับบันทึกเมื่อมีให้ |
| <code>data[].simple_music_info.music_id</code> | <code>string</code> | ID ของเพลงที่แนบ |
| <code>data[].simple_music_info.name</code> | <code>string</code> | ชื่อที่ส่งกลับมาสำหรับเพลงที่เชื่อมต่อ |
| <code>data[].simple_music_info.url</code> | <code>string</code> | URL ของสื่อสำหรับเพลงที่แนบมา. |
| <code>data[].simple_music_info.deeplink</code> | <code>string</code> | ลิงก์การนำทางที่ส่งกลับมาสำหรับเพลงที่แนบมา. |
| <code>data[].note_statement</code> | <code>object</code> | คำอธิบายและแหล่งที่มาแสดงเมื่อมี. |
| <code>data[].note_statement.origin_info</code> | <code>object</code> | ข้อมูลแหล่งที่มาของเนื้อหาแสดงในคำอธิบาย. |
| <code>data[].note_statement.origin_info.origin_text</code> | <code>string</code> | ข้อความแหล่งที่มาแสดงพร้อมกับคำอธิบาย. |
| <code>data[].note_statement.origin_info.origin_link</code> | <code>string</code> | ลิงก์การนำทางที่ส่งกลับมาพร้อมกับข้อความแหล่งที่มา. |
| <code>data[].share_info</code> | <code>object</code> | ข้อมูลการแชร์ที่ส่งกลับมาสำหรับคำอธิบาย. |
| <code>data[].share_info.title</code> | <code>string</code> | ชื่อสำหรับการแชร์คำอธิบาย. |
| <code>data[].share_info.content</code> | <code>string</code> | ข้อความสำหรับการแชร์คำอธิบาย. |
| <code>data[].share_info.image</code> | <code>string</code> | URL ของรูปภาพสำหรับการแชร์คำอธิบาย. |
| <code>data[].share_info.link</code> | <code>string</code> | ลิงก์สำหรับการแชร์คำอธิบาย. |
| <code>data[].share_info.wechat_share_desc</code> | <code>string</code> | คำอธิบายการแชร์ที่ส่งกลับมาสำหรับ WeChat. |
| <code>data[].sticky</code> | <code>boolean</code> | สถานะการแชร์ที่ถูกติดแท็กที่รายงานพร้อมกับคำอธิบาย. |
| <code>data[].has_related_goods</code> | <code>boolean</code> | คำอธิบายว่าคำอธิบายนี้มีสินค้าที่เกี่ยวข้องหรือไม่. |
| <code>data[].related_goods_num</code> | <code>integer</code> | จำนวนสินค้าที่เกี่ยวข้องที่รายงานสำหรับคำอธิบาย. |
| <code>data[].media_save_config</code> | <code>object</code> | ตั้งค่าการบันทึกสื่อที่ส่งกลับมาสำหรับคำอธิบาย. |
| <code>data[].media_save_config.disable_save</code> | <code>boolean</code> | ว่าการตั้งค่าที่ส่งกลับมาจะปิดการบันทึกสื่อหรือไม่. |
| <code>data[].media_save_config.disable_watermark</code> | <code>boolean</code> | ว่าการตั้งค่าที่ส่งกลับมาจะปิดการแสดงโลโก้หรือไม่. |
| <code>data[].comment_prompt_config</code> | <code>object</code> | ข้อมูลคำเตือนเกี่ยวกับการแสดงความคิดเห็นที่ส่งกลับมาพร้อมกับคำอธิบาย. |
| <code>data[].comment_prompt_config.placeholder_short</code> | <code>string</code> | ข้อความสำรองสั้นสำหรับการป้อนความคิดเห็น. |
| <code>data[].comment_prompt_config.placeholder_long</code> | <code>string</code> | ข้อความสำรองยาวสำหรับการป้อนความคิดเห็น. |
| <code>data[].function_switch</code> | <code>array</code> | สถานะการเปิดใช้งานฟีเจอร์ที่รายงานพร้อมกับคำอธิบาย. |
| <code>data[].function_switch[]</code> | <code>object</code> | ฟีเจอร์ที่เปิดใช้งานที่ส่งกลับมา. |
| <code>data[].function_switch[].type</code> | <code>string</code> | ป้ายกำกับประเภทของฟีเจอร์ที่เปิดใช้งาน. |
| <code>data[].function_switch[].enable</code> | <code>boolean</code> | ว่าฟีเจอร์ที่เปิดใช้งานนี้ถูกเปิดใช้งานหรือไม่. |
| <code>data[].function_switch[].reason</code> | <code>string</code> | เหตุผลที่แสดงผลเมื่อใช้ตัวเลือกนี้ |

</div>

## ตัวอย่างผลการตอบกลับ

<ApiExampleSection :api='JSON.parse("\"/api/xiaohongshu/get-note-detail/v6\"")' />

