---
title: "Xiaohongshu (RedNote) Catatan yang Disimpan sebagai Favorit oleh Pengguna API (V1)"
description: "Mengambil catatan favorit pengguna di Xiaohongshu (RedNote) dengan ID pengguna, dengan paginasi kursor. Gunakan untuk meninjau konten yang disimpan oleh pengguna dan meneliti minat konten."
lastUpdated: false
aiUsagePrompt: true
---

# Xiaohongshu \(RedNote\) Catatan yang Disimpan sebagai Favorit oleh Pengguna API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/xiaohongshu/get-user-faved-note-list/v1\"")'
  :summary='JSON.parse("\"Catatan yang Disimpan sebagai Favorit oleh Pengguna (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/xiaohongshu-rednote/user-favorited-notes-v1-id.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Token akses untuk layanan API ini.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"userId\",\"in\":\"query\",\"description\":\"Identifikasi pengguna unik di Xiaohongshu.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"lastCursor\",\"in\":\"query\",\"description\":\"Untuk halaman berikutnya, berikan kursor dari respons sebelumnya. Abaikan atau berikan nilai kosong untuk halaman pertama.\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"Hasil catatan yang tersimpan dan field paginasi dikirimkan ketika payload merupakan objek. Respons yang sukses juga bisa tidak memiliki data.\",\"properties\":{\"cursor\":{\"type\":\"string\",\"description\":\"Kursor lanjutan yang dikirimkan untuk halaman berikutnya. Masukkan secara tidak berubah sebagai lastCursor. Bisa tidak ada atau kosong.\"},\"has_more\":{\"type\":\"boolean\",\"description\":\"Apakah respons melaporkan bahwa ada item tambahan yang tersedia.\"},\"notes\":{\"type\":\"array\",\"description\":\"Catatan yang tersimpan dikirimkan untuk profil yang diminta. Array kosong juga bisa terjadi ketika koleksi tidak tersedia.\",\"items\":{\"type\":\"object\",\"description\":\"Catatan dalam daftar catatan yang tersimpan.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID catatan yang tersimpan.\"},\"display_title\":{\"type\":\"string\",\"description\":\"Judul yang ditampilkan untuk catatan dalam daftar.\"},\"title\":{\"type\":\"string\",\"description\":\"Judul catatan, jika tersedia.\"},\"desc\":{\"type\":\"string\",\"description\":\"Teks atau deskripsi yang dikembalikan untuk catatan.\"},\"type\":{\"type\":\"string\",\"description\":\"Jenis catatan yang dilaporkan oleh Xiaohongshu.\"},\"create_time\":{\"type\":\"integer\",\"description\":\"Waktu pembuatan catatan yang dilaporkan dalam format timestamp Unix dalam detik.\"},\"last_update_time\":{\"type\":\"integer\",\"description\":\"Waktu pembaruan terakhir yang dilaporkan dalam format timestamp Unix dalam detik. Bisa bernilai nol.\"},\"ip_location\":{\"type\":\"string\",\"description\":\"Label lokasi IP yang ditampilkan oleh Xiaohongshu untuk catatan, jika tersedia.\"},\"is_goods_note\":{\"type\":\"boolean\",\"description\":\"Apakah Xiaohongshu mengidentifikasi catatan sebagai catatan produk.\"},\"xsec_token\":{\"type\":\"string\",\"description\":\"Token Xiaohongshu yang terkait dengan tautan catatan, jika diberikan.\"},\"comments_count\":{\"type\":\"integer\",\"description\":\"Jumlah komentar untuk postingan yang dilaporkan.\"},\"collected_count\":{\"type\":\"integer\",\"description\":\"Jumlah penyimpanan untuk postingan yang dilaporkan.\"},\"share_count\":{\"type\":\"integer\",\"description\":\"Jumlah bagian yang dibagikan untuk catatan.\"},\"note_attributes\":{\"type\":\"array\",\"description\":\"Atribut catatan yang dilaporkan oleh Xiaohongshu.\",\"items\":{\"type\":\"string\",\"description\":\"Nilai atribut catatan mentah yang dikembalikan oleh Xiaohongshu.\"}},\"ats\":{\"type\":\"array\",\"description\":\"Akun yang disebutkan dalam catatan, jika dilaporkan.\"},\"user\":{\"type\":\"object\",\"description\":\"Penulis catatan.\",\"properties\":{\"user_id\":{\"type\":\"string\",\"description\":\"ID akun penulis catatan.\"},\"images\":{\"type\":\"string\",\"description\":\"URL gambar avatar untuk penulis, jika tersedia.\"},\"nickname\":{\"type\":\"string\",\"description\":\"Nama tampilan penulis.\"},\"followed\":{\"type\":\"boolean\",\"description\":\"Status ikutan yang dilaporkan oleh Xiaohongshu untuk konteks respons saat ini.\"},\"red_official_verified\":{\"type\":\"boolean\",\"description\":\"Status verifikasi resmi yang dilaporkan oleh Xiaohongshu.\"},\"red_official_verify_type\":{\"type\":\"integer\",\"description\":\"Kode kategori verifikasi resmi yang dilaporkan oleh Xiaohongshu.\"},\"show_red_official_verify_icon\":{\"type\":\"boolean\",\"description\":\"Tanda yang menunjukkan apakah ikon verifikasi resmi akan ditampilkan.\"}}},\"images_list\":{\"type\":\"array\",\"description\":\"Gambar-gambar yang terkait dengan catatan tersebut, yang mungkin termasuk gambar sampul untuk catatan video.\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL gambar.\"},\"original\":{\"type\":\"string\",\"description\":\"URL yang disediakan dalam field “image”.\"},\"width\":{\"type\":\"integer\",\"description\":\"Lebar gambar yang tercatat dalam metadata, dalam piksel.\"},\"height\":{\"type\":\"integer\",\"description\":\"Tinggi gambar yang tercatat dalam metadata, dalam piksel.\"},\"fileid\":{\"type\":\"string\",\"description\":\"Identifikasi file platform untuk gambar.\"},\"index\":{\"type\":\"integer\",\"description\":\"Indeks posisi gambar yang dilaporkan oleh platform.\"},\"url_size_large\":{\"type\":\"string\",\"description\":\"URL untuk versi gambar berukuran besar.\"},\"live_photo_file_id\":{\"type\":\"string\",\"description\":\"ID file yang dilaporkan untuk foto langsung gambar.\"},\"live_photo\":{\"type\":\"object\",\"description\":\"Metadata Live Photo yang dikembalikan untuk gambar, jika tersedia.\",\"properties\":{\"media\":{\"type\":\"object\",\"description\":\"Metadata pemutaran yang disediakan untuk Live Photo.\",\"properties\":{\"video_id\":{\"type\":\"string\",\"description\":\"Identifikasi video untuk Live Photo.\"},\"video\":{\"type\":\"object\",\"description\":\"Metadata video yang terkait dengan Live Photo.\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"Lebar video dalam piksel.\"},\"height\":{\"type\":\"integer\",\"description\":\"Tinggi video dalam piksel.\"},\"duration\":{\"type\":\"integer\",\"description\":\"Nilai durasi video untuk Live Photo.\"},\"drm_type\":{\"type\":\"integer\",\"description\":\"Kode kategori DRM mentah yang dilaporkan untuk video.\"},\"hdr_type\":{\"type\":\"integer\",\"description\":\"Kode kategori HDR mentah yang dilaporkan untuk video.\"},\"stream_types\":{\"type\":\"array\",\"description\":\"Kode jenis streaming yang dilaporkan untuk video.\",\"items\":{\"type\":\"integer\",\"description\":\"Kode jenis streaming mentah yang dilaporkan untuk video.\"}}}},\"stream\":{\"type\":\"object\",\"description\":\"Variasi streaming yang dikelompokkan berdasarkan label codec yang dikembalikan oleh Xiaohongshu.\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"Stream H.264 yang dikembalikan untuk Live Photo.\"},\"h265\":{\"type\":\"array\",\"description\":\"Stream H.265 yang dikembalikan untuk Live Photo.\",\"items\":{\"type\":\"object\",\"description\":\"Metadata untuk satu saluran foto langsung H.265.\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL utama yang disediakan untuk stream ini.\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL alternatif yang disediakan untuk stream.\",\"items\":{\"type\":\"string\",\"description\":\"URL stream alternatif.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Lebar stream dalam piksel.\"},\"height\":{\"type\":\"integer\",\"description\":\"Tinggi stream dalam piksel.\"},\"fps\":{\"type\":\"integer\",\"description\":\"Kecepatan frame yang dilaporkan untuk stream.\"},\"format\":{\"type\":\"string\",\"description\":\"Format media yang dilaporkan untuk stream.\"},\"video_codec\":{\"type\":\"string\",\"description\":\"Codec video yang dilaporkan untuk stream.\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"Codec audio yang dilaporkan untuk stream. Mungkin kosong.\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"Jumlah saluran audio yang dilaporkan untuk streaming.\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate rata-rata yang dilaporkan untuk streaming.\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate video yang dilaporkan untuk streaming.\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate audio yang dilaporkan untuk streaming.\"},\"quality_type\":{\"type\":\"string\",\"description\":\"Label kualitas mentah yang dilaporkan untuk streaming.\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"Deskripsi yang disediakan oleh Xiaohongshu untuk streaming.\"},\"duration\":{\"type\":\"integer\",\"description\":\"Nilai durasi streaming yang dilaporkan oleh Xiaohongshu.\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"Nilai durasi video yang dilaporkan untuk streaming.\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"Nilai durasi audio yang dilaporkan untuk streaming.\"},\"size\":{\"type\":\"integer\",\"description\":\"Nilai ukuran streaming yang dilaporkan oleh Xiaohongshu.\"}}}},\"h266\":{\"type\":\"array\",\"description\":\"Daftar stream H.266 yang dikembalikan oleh Xiaohongshu. Mungkin kosong.\"},\"av1\":{\"type\":\"array\",\"description\":\"Daftar stream AV1 yang dikembalikan oleh Xiaohongshu. Mungkin kosong.\"}}}}}}}}}},\"video_info_v2\":{\"type\":\"object\",\"description\":\"Informasi media yang dikembalikan untuk beberapa catatan video.\",\"properties\":{\"image\":{\"type\":\"object\",\"description\":\"Gambar-gambar yang terkait dengan video.\",\"properties\":{\"thumbnail\":{\"type\":\"string\",\"description\":\"URL thumbnail video, jika tersedia.\"},\"first_frame\":{\"type\":\"string\",\"description\":\"URL untuk frame pertama video, jika tersedia.\"}}},\"media\":{\"type\":\"object\",\"description\":\"Metadata video dan aliran pemutaran untuk catatan.\",\"properties\":{\"video\":{\"type\":\"object\",\"description\":\"Metadata video yang terkait dengan catatan video.\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"Lebar video dalam piksel.\"},\"height\":{\"type\":\"integer\",\"description\":\"Tinggi video dalam piksel.\"},\"duration\":{\"type\":\"integer\",\"description\":\"Durasi video yang dilaporkan dalam detik.\"},\"drm_type\":{\"type\":\"integer\",\"description\":\"Kode kategori DRM mentah yang dilaporkan untuk video.\"},\"hdr_type\":{\"type\":\"integer\",\"description\":\"Kode kategori HDR mentah yang dilaporkan untuk video.\"},\"stream_types\":{\"type\":\"array\",\"description\":\"Kode jenis streaming yang dilaporkan untuk video.\",\"items\":{\"type\":\"integer\",\"description\":\"Kode jenis streaming mentah yang dilaporkan untuk video.\"}},\"md5\":{\"type\":\"string\",\"description\":\"Nilai MD5 yang dilaporkan dalam metadata video.\"}}},\"stream\":{\"type\":\"object\",\"description\":\"Variasi streaming yang dikelompokkan berdasarkan label codec yang dikembalikan oleh Xiaohongshu.\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"Stream H.264 yang dikembalikan untuk catatan video.\",\"items\":{\"type\":\"object\",\"description\":\"Metadata untuk satu stream video H.264.\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL utama yang disediakan untuk stream ini.\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL alternatif yang disediakan untuk stream.\",\"items\":{\"type\":\"string\",\"description\":\"URL stream alternatif.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Lebar stream dalam piksel.\"},\"height\":{\"type\":\"integer\",\"description\":\"Tinggi stream dalam piksel.\"},\"fps\":{\"type\":\"integer\",\"description\":\"Kecepatan frame yang dilaporkan untuk stream.\"},\"format\":{\"type\":\"string\",\"description\":\"Format media yang dilaporkan untuk stream.\"},\"video_codec\":{\"type\":\"string\",\"description\":\"Codec video yang dilaporkan untuk stream.\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"Codec audio yang dilaporkan untuk stream. Mungkin kosong.\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"Jumlah saluran audio yang dilaporkan untuk streaming.\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate rata-rata yang dilaporkan untuk streaming.\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate video yang dilaporkan untuk streaming.\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate audio yang dilaporkan untuk streaming.\"},\"quality_type\":{\"type\":\"string\",\"description\":\"Label kualitas mentah yang dilaporkan untuk streaming.\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"Deskripsi yang disediakan oleh Xiaohongshu untuk streaming.\"},\"duration\":{\"type\":\"integer\",\"description\":\"Durasi total stream dalam milidetik.\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"Durasi trek video dalam milidetik.\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"Durasi trek audio dalam milidetik. Nilainya bisa nol jika stream tidak memiliki audio.\"},\"size\":{\"type\":\"integer\",\"description\":\"Ukuran stream dalam byte.\"}}}},\"h265\":{\"type\":\"array\",\"description\":\"Stream H.265 yang dilaporkan untuk catatan video.\",\"items\":{\"type\":\"object\",\"description\":\"Metadata untuk satu stream video H.265.\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL utama yang disediakan untuk stream ini.\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL alternatif yang disediakan untuk stream.\",\"items\":{\"type\":\"string\",\"description\":\"URL stream alternatif.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Lebar stream dalam piksel.\"},\"height\":{\"type\":\"integer\",\"description\":\"Tinggi stream dalam piksel.\"},\"fps\":{\"type\":\"integer\",\"description\":\"Kecepatan frame yang dilaporkan untuk stream.\"},\"format\":{\"type\":\"string\",\"description\":\"Format media yang dilaporkan untuk stream.\"},\"video_codec\":{\"type\":\"string\",\"description\":\"Codec video yang dilaporkan untuk stream.\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"Codec audio yang dilaporkan untuk stream. Mungkin kosong.\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"Jumlah saluran audio yang dilaporkan untuk streaming.\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate rata-rata yang dilaporkan untuk streaming.\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate video yang dilaporkan untuk streaming.\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate audio yang dilaporkan untuk streaming.\"},\"quality_type\":{\"type\":\"string\",\"description\":\"Label kualitas mentah yang dilaporkan untuk streaming.\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"Deskripsi yang disediakan oleh Xiaohongshu untuk streaming.\"},\"duration\":{\"type\":\"integer\",\"description\":\"Durasi total stream dalam milidetik.\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"Durasi trek video dalam milidetik.\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"Durasi trek audio dalam milidetik. Nilainya bisa nol jika stream tidak memiliki audio.\"},\"size\":{\"type\":\"integer\",\"description\":\"Ukuran stream dalam byte.\"}}}},\"h266\":{\"type\":\"array\",\"description\":\"Stream H.266 jika tersedia.\",\"items\":{\"type\":\"object\",\"description\":\"Metadata untuk satu stream video H.266.\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL utama yang disediakan untuk stream ini.\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL alternatif yang disediakan untuk stream.\",\"items\":{\"type\":\"string\",\"description\":\"URL stream alternatif.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Lebar stream dalam piksel.\"},\"height\":{\"type\":\"integer\",\"description\":\"Tinggi stream dalam piksel.\"},\"fps\":{\"type\":\"integer\",\"description\":\"Kecepatan frame yang dilaporkan untuk stream.\"},\"format\":{\"type\":\"string\",\"description\":\"Format media yang dilaporkan untuk stream.\"},\"video_codec\":{\"type\":\"string\",\"description\":\"Codec video yang dilaporkan untuk stream.\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"Codec audio yang dilaporkan untuk stream. Mungkin kosong.\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"Jumlah saluran audio yang dilaporkan untuk streaming.\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate rata-rata yang dilaporkan untuk streaming.\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate video yang dilaporkan untuk streaming.\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate audio yang dilaporkan untuk streaming.\"},\"quality_type\":{\"type\":\"string\",\"description\":\"Label kualitas mentah yang dilaporkan untuk streaming.\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"Deskripsi yang disediakan oleh Xiaohongshu untuk streaming.\"},\"duration\":{\"type\":\"integer\",\"description\":\"Durasi total stream dalam milidetik.\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"Durasi trek video dalam milidetik.\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"Durasi trek audio dalam milidetik. Nilainya bisa nol jika stream tidak memiliki audio.\"},\"size\":{\"type\":\"integer\",\"description\":\"Ukuran stream dalam byte.\"}}}},\"av1\":{\"type\":\"array\",\"description\":\"Daftar stream AV1 yang dikembalikan oleh Xiaohongshu. Mungkin kosong.\"}}},\"audio_stream\":{\"type\":\"object\",\"description\":\"Stream audio dikelompokkan berdasarkan codec saat dikirimkan.\",\"properties\":{\"AAC\":{\"type\":\"array\",\"description\":\"Entri stream audio AAC saat dikirimkan.\",\"items\":{\"type\":\"object\",\"properties\":{\"audio_codec\":{\"type\":\"string\",\"description\":\"Label codec audio.\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"Jumlah kanal untuk stream audio.\"},\"master_url\":{\"type\":\"string\",\"description\":\"URL utama untuk stream audio.\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL alternatif untuk stream audio.\",\"items\":{\"type\":\"string\"}},\"format\":{\"type\":\"string\",\"description\":\"Format media yang dilaporkan untuk stream audio.\"},\"audio_profile\":{\"type\":\"string\",\"description\":\"Profil audio dilaporkan untuk stream.\"},\"audio_samplerate\":{\"type\":\"integer\",\"description\":\"Frekuensi sampel audio dalam hertz.\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"Durasi stream audio dalam milidetik.\"},\"size\":{\"type\":\"integer\",\"description\":\"Ukuran stream audio dalam byte.\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate audio yang dilaporkan untuk streaming.\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"Nilai bitrate rata-rata yang dilaporkan untuk stream audio.\"}}}}}},\"video_id\":{\"type\":\"integer\",\"format\":\"int64\",\"description\":\"Identifikasi video numerik yang dilaporkan oleh Xiaohongshu.\"}}},\"capa\":{\"type\":\"object\",\"description\":\"Metadata tambahan untuk video.\",\"properties\":{\"duration\":{\"type\":\"integer\",\"description\":\"Durasi video dari metadata ini, dalam detik.\"}}}}}}}}}}}},\"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\":\"Parameter atau isi permintaan yang tidak valid\",\"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\":\"Token akses yang tidak valid atau tidak aktif\",\"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\":\"Izin ditolak\",\"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\":\"Laju permintaan atau batas kuota harian terlampaui\",\"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\":\"Kesalahan server internal\",\"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\":\"Layanan sementara tidak tersedia\",\"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 produksi global (default)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/xiaohongshu/get-user-faved-note-list/v1\"")' />

<p>Mengambil catatan favorit pengguna di Xiaohongshu (RedNote) dengan ID pengguna, dengan paginasi kursor. Gunakan untuk meninjau konten yang disimpan oleh pengguna dan meneliti minat konten.</p>

## Hal-hal penting

::: info Panduan
<p>Hasil pencarian halaman pertama, halaman berikutnya, koleksi kosong, dan koleksi pribadi dikenai biaya.</p>
:::

## Parameter

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

| Nama | Lokasi | Jenis | Wajib | Bawaan | Deskripsi |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Ya | - | Token akses untuk layanan API ini. |
| <code>userId</code> | query | <code>string</code> | Ya | - | Identifikasi pengguna unik di Xiaohongshu. |
| <code>lastCursor</code> | query | <code>string</code> | Tidak | <code></code> | Untuk halaman berikutnya, berikan kursor dari respons sebelumnya. Abaikan atau berikan nilai kosong untuk halaman pertama. |

</div>

## Contoh Kode

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/xiaohongshu/get-user-faved-note-list/v1?token=YOUR_API_KEY&userId=VALUE'
```

```text [🤖 Prompt AI]
Saya ingin menggunakan API "Catatan yang Disimpan sebagai Favorit oleh Pengguna (V1)" dari JustOneAPI.
URL dasar: https://api.justoneapi.com.
Jalur API: /api/xiaohongshu/get-user-faved-note-list/v1?token=YOUR_API_KEY&userId=VALUE
Endpoint API: BASE_URL + /api/xiaohongshu/get-user-faved-note-list/v1?token=YOUR_API_KEY&userId=VALUE
Metode HTTP: GET
Autentikasi: Tambahkan parameter query "token" ke URL.
Definisi OpenAPI: https://docs.justoneapi.com/openapi/xiaohongshu-rednote/user-favorited-notes-v1-id.json

Parameter:
- token (query): Token akses untuk layanan API ini. (Wajib)
- userId (query): Identifikasi pengguna unik di Xiaohongshu. (Wajib)
- lastCursor (query): Untuk halaman berikutnya, berikan kursor dari respons sebelumnya. Abaikan atau berikan nilai kosong untuk halaman pertama.

Format Kembalian: tangani dengan aman JSON atau teks sesuai dengan Content-Type yang sebenarnya.

Penanganan respons dan kode kesalahan:
1. Tentukan hasil pemrosesan dari kolom "code" dalam isi respons (code 0 berarti berhasil).
2. Batas waktu yang disarankan: Atur batas waktu permintaan menjadi 120 detik. Jika 120 detik terlalu lama untuk kebutuhan Anda, gunakan setidaknya 60 detik. Sebagian kecil permintaan mungkin mencapai batas waktu sebelum hasil diterima.
3. Kode hasil:
   - 0: Berhasil
   - 100: Token tidak valid atau tidak aktif
   - 301: Gagal mengambil data. Silakan coba lagi.
   - 302: Batas frekuensi permintaan terlampaui
   - 303: Kuota harian terlampaui
   - 400: Parameter tidak valid
   - 500: Kesalahan internal server
   - 600: Akses ditolak
   - 601: Saldo tidak mencukupi
   - 602: Batas anggaran token tercapai
4. Kode 601 berarti saldo bersama akun tidak mencukupi. Kode 602 berarti token API yang digunakan telah mencapai batas anggaran kumulatifnya sendiri. Menetapkan batas anggaran token tidak memindahkan dana dari saldo bersama akun.

Tolong bantu saya menulis skrip dalam bahasa pemrograman favorit saya untuk memanggil API ini dan menangani responsnya.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Diberikan oleh server OpenAPI

url = BASE_URL + "/api/xiaohongshu/get-user-faved-note-list/v1?token=YOUR_API_KEY&userId=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"; // Diberikan oleh server OpenAPI
const url = BASE_URL + "/api/xiaohongshu/get-user-faved-note-list/v1?token=YOUR_API_KEY&userId=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"; // Diberikan oleh server OpenAPI
        final String url = BASE_URL + "/api/xiaohongshu/get-user-faved-note-list/v1?token=YOUR_API_KEY&userId=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" // Diberikan oleh server OpenAPI

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/xiaohongshu/get-user-faved-note-list/v1?token=YOUR_API_KEY&userId=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'; // Diberikan oleh server OpenAPI
$url = $BASE_URL . '/api/xiaohongshu/get-user-faved-note-list/v1?token=YOUR_API_KEY&userId=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/user-favorited-notes-v1-id.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[Definisi OpenAPI (JSON)]</a>
</div>

## Field Respons

Field Kunci dalam respons yang sukses (`code = 0`).

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

| Jalur Field | Jenis | Deskripsi |
| --- | --- | --- |
| <code>data</code> | - | Hasil catatan yang tersimpan dan field paginasi dikirimkan ketika payload merupakan objek. Respons yang sukses juga bisa tidak memiliki data. |
| <code>data.cursor</code> | <code>string</code> | Kursor lanjutan yang dikirimkan untuk halaman berikutnya. Masukkan secara tidak berubah sebagai lastCursor. Bisa tidak ada atau kosong. |
| <code>data.has_more</code> | <code>boolean</code> | Apakah respons melaporkan bahwa ada item tambahan yang tersedia. |
| <code>data.notes</code> | <code>array</code> | Catatan yang tersimpan dikirimkan untuk profil yang diminta. Array kosong juga bisa terjadi ketika koleksi tidak tersedia. |
| <code>data.notes[]</code> | <code>object</code> | Catatan dalam daftar catatan yang tersimpan. |
| <code>data.notes[].id</code> | <code>string</code> | ID catatan yang tersimpan. |
| <code>data.notes[].display_title</code> | <code>string</code> | Judul yang ditampilkan untuk catatan dalam daftar. |
| <code>data.notes[].title</code> | <code>string</code> | Judul catatan, jika tersedia. |
| <code>data.notes[].desc</code> | <code>string</code> | Teks atau deskripsi yang dikembalikan untuk catatan. |
| <code>data.notes[].type</code> | <code>string</code> | Jenis catatan yang dilaporkan oleh Xiaohongshu. |
| <code>data.notes[].create_time</code> | <code>integer</code> | Waktu pembuatan catatan yang dilaporkan dalam format timestamp Unix dalam detik. |
| <code>data.notes[].last_update_time</code> | <code>integer</code> | Waktu pembaruan terakhir yang dilaporkan dalam format timestamp Unix dalam detik. Bisa bernilai nol. |
| <code>data.notes[].ip_location</code> | <code>string</code> | Label lokasi IP yang ditampilkan oleh Xiaohongshu untuk catatan, jika tersedia. |
| <code>data.notes[].is_goods_note</code> | <code>boolean</code> | Apakah Xiaohongshu mengidentifikasi catatan sebagai catatan produk. |
| <code>data.notes[].xsec_token</code> | <code>string</code> | Token Xiaohongshu yang terkait dengan tautan catatan, jika diberikan. |
| <code>data.notes[].comments_count</code> | <code>integer</code> | Jumlah komentar untuk postingan yang dilaporkan. |
| <code>data.notes[].collected_count</code> | <code>integer</code> | Jumlah penyimpanan untuk postingan yang dilaporkan. |
| <code>data.notes[].share_count</code> | <code>integer</code> | Jumlah bagian yang dibagikan untuk catatan. |
| <code>data.notes[].note_attributes</code> | <code>array</code> | Atribut catatan yang dilaporkan oleh Xiaohongshu. |
| <code>data.notes[].note_attributes[]</code> | <code>string</code> | Nilai atribut catatan mentah yang dikembalikan oleh Xiaohongshu. |
| <code>data.notes[].ats</code> | <code>array</code> | Akun yang disebutkan dalam catatan, jika dilaporkan. |
| <code>data.notes[].user</code> | <code>object</code> | Penulis catatan. |
| <code>data.notes[].user.user_id</code> | <code>string</code> | ID akun penulis catatan. |
| <code>data.notes[].user.images</code> | <code>string</code> | URL gambar avatar untuk penulis, jika tersedia. |
| <code>data.notes[].user.nickname</code> | <code>string</code> | Nama tampilan penulis. |
| <code>data.notes[].user.followed</code> | <code>boolean</code> | Status ikutan yang dilaporkan oleh Xiaohongshu untuk konteks respons saat ini. |
| <code>data.notes[].user.red_official_verified</code> | <code>boolean</code> | Status verifikasi resmi yang dilaporkan oleh Xiaohongshu. |
| <code>data.notes[].user.red_official_verify_type</code> | <code>integer</code> | Kode kategori verifikasi resmi yang dilaporkan oleh Xiaohongshu. |
| <code>data.notes[].user.show_red_official_verify_icon</code> | <code>boolean</code> | Tanda yang menunjukkan apakah ikon verifikasi resmi akan ditampilkan. |
| <code>data.notes[].images_list</code> | <code>array</code> | Gambar-gambar yang terkait dengan catatan tersebut, yang mungkin termasuk gambar sampul untuk catatan video. |
| <code>data.notes[].images_list[]</code> | <code>object</code> | - |
| <code>data.notes[].images_list[].url</code> | <code>string</code> | URL gambar. |
| <code>data.notes[].images_list[].original</code> | <code>string</code> | URL yang disediakan dalam field “image”. |
| <code>data.notes[].images_list[].width</code> | <code>integer</code> | Lebar gambar yang tercatat dalam metadata, dalam piksel. |
| <code>data.notes[].images_list[].height</code> | <code>integer</code> | Tinggi gambar yang tercatat dalam metadata, dalam piksel. |
| <code>data.notes[].images_list[].fileid</code> | <code>string</code> | Identifikasi file platform untuk gambar. |
| <code>data.notes[].images_list[].index</code> | <code>integer</code> | Indeks posisi gambar yang dilaporkan oleh platform. |
| <code>data.notes[].images_list[].url_size_large</code> | <code>string</code> | URL untuk versi gambar berukuran besar. |
| <code>data.notes[].images_list[].live_photo_file_id</code> | <code>string</code> | ID file yang dilaporkan untuk foto langsung gambar. |
| <code>data.notes[].images_list[].live_photo</code> | <code>object</code> | Metadata Live Photo yang dikembalikan untuk gambar, jika tersedia. |
| <code>data.notes[].images_list[].live_photo.media</code> | <code>object</code> | Metadata pemutaran yang disediakan untuk Live Photo. |
| <code>data.notes[].images_list[].live_photo.media.video_id</code> | <code>string</code> | Identifikasi video untuk Live Photo. |
| <code>data.notes[].images_list[].live_photo.media.video</code> | <code>object</code> | Metadata video yang terkait dengan Live Photo. |
| <code>data.notes[].images_list[].live_photo.media.video.width</code> | <code>integer</code> | Lebar video dalam piksel. |
| <code>data.notes[].images_list[].live_photo.media.video.height</code> | <code>integer</code> | Tinggi video dalam piksel. |
| <code>data.notes[].images_list[].live_photo.media.video.duration</code> | <code>integer</code> | Nilai durasi video untuk Live Photo. |
| <code>data.notes[].images_list[].live_photo.media.video.drm_type</code> | <code>integer</code> | Kode kategori DRM mentah yang dilaporkan untuk video. |
| <code>data.notes[].images_list[].live_photo.media.video.hdr_type</code> | <code>integer</code> | Kode kategori HDR mentah yang dilaporkan untuk video. |
| <code>data.notes[].images_list[].live_photo.media.video.stream_types</code> | <code>array</code> | Kode jenis streaming yang dilaporkan untuk video. |
| <code>data.notes[].images_list[].live_photo.media.video.stream_types[]</code> | <code>integer</code> | Kode jenis streaming mentah yang dilaporkan untuk video. |
| <code>data.notes[].images_list[].live_photo.media.stream</code> | <code>object</code> | Variasi streaming yang dikelompokkan berdasarkan label codec yang dikembalikan oleh Xiaohongshu. |
| <code>data.notes[].images_list[].live_photo.media.stream.h264</code> | <code>array</code> | Stream H.264 yang dikembalikan untuk Live Photo. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265</code> | <code>array</code> | Stream H.265 yang dikembalikan untuk Live Photo. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[]</code> | <code>object</code> | Metadata untuk satu saluran foto langsung H.265. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].master_url</code> | <code>string</code> | URL utama yang disediakan untuk stream ini. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].backup_urls</code> | <code>array</code> | URL alternatif yang disediakan untuk stream. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].backup_urls[]</code> | <code>string</code> | URL stream alternatif. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].width</code> | <code>integer</code> | Lebar stream dalam piksel. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].height</code> | <code>integer</code> | Tinggi stream dalam piksel. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].fps</code> | <code>integer</code> | Kecepatan frame yang dilaporkan untuk stream. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].format</code> | <code>string</code> | Format media yang dilaporkan untuk stream. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].video_codec</code> | <code>string</code> | Codec video yang dilaporkan untuk stream. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_codec</code> | <code>string</code> | Codec audio yang dilaporkan untuk stream. Mungkin kosong. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_channels</code> | <code>integer</code> | Jumlah saluran audio yang dilaporkan untuk streaming. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].avg_bitrate</code> | <code>integer</code> | Nilai bitrate rata-rata yang dilaporkan untuk streaming. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].video_bitrate</code> | <code>integer</code> | Nilai bitrate video yang dilaporkan untuk streaming. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_bitrate</code> | <code>integer</code> | Nilai bitrate audio yang dilaporkan untuk streaming. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].quality_type</code> | <code>string</code> | Label kualitas mentah yang dilaporkan untuk streaming. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].stream_desc</code> | <code>string</code> | Deskripsi yang disediakan oleh Xiaohongshu untuk streaming. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].duration</code> | <code>integer</code> | Nilai durasi streaming yang dilaporkan oleh Xiaohongshu. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].video_duration</code> | <code>integer</code> | Nilai durasi video yang dilaporkan untuk streaming. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_duration</code> | <code>integer</code> | Nilai durasi audio yang dilaporkan untuk streaming. |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].size</code> | <code>integer</code> | Nilai ukuran streaming yang dilaporkan oleh Xiaohongshu. |
| <code>data.notes[].images_list[].live_photo.media.stream.h266</code> | <code>array</code> | Daftar stream H.266 yang dikembalikan oleh Xiaohongshu. Mungkin kosong. |
| <code>data.notes[].images_list[].live_photo.media.stream.av1</code> | <code>array</code> | Daftar stream AV1 yang dikembalikan oleh Xiaohongshu. Mungkin kosong. |
| <code>data.notes[].video_info_v2</code> | <code>object</code> | Informasi media yang dikembalikan untuk beberapa catatan video. |
| <code>data.notes[].video_info_v2.image</code> | <code>object</code> | Gambar-gambar yang terkait dengan video. |
| <code>data.notes[].video_info_v2.image.thumbnail</code> | <code>string</code> | URL thumbnail video, jika tersedia. |
| <code>data.notes[].video_info_v2.image.first_frame</code> | <code>string</code> | URL untuk frame pertama video, jika tersedia. |
| <code>data.notes[].video_info_v2.media</code> | <code>object</code> | Metadata video dan aliran pemutaran untuk catatan. |
| <code>data.notes[].video_info_v2.media.video</code> | <code>object</code> | Metadata video yang terkait dengan catatan video. |
| <code>data.notes[].video_info_v2.media.video.width</code> | <code>integer</code> | Lebar video dalam piksel. |
| <code>data.notes[].video_info_v2.media.video.height</code> | <code>integer</code> | Tinggi video dalam piksel. |
| <code>data.notes[].video_info_v2.media.video.duration</code> | <code>integer</code> | Durasi video yang dilaporkan dalam detik. |
| <code>data.notes[].video_info_v2.media.video.drm_type</code> | <code>integer</code> | Kode kategori DRM mentah yang dilaporkan untuk video. |
| <code>data.notes[].video_info_v2.media.video.hdr_type</code> | <code>integer</code> | Kode kategori HDR mentah yang dilaporkan untuk video. |
| <code>data.notes[].video_info_v2.media.video.stream_types</code> | <code>array</code> | Kode jenis streaming yang dilaporkan untuk video. |
| <code>data.notes[].video_info_v2.media.video.stream_types[]</code> | <code>integer</code> | Kode jenis streaming mentah yang dilaporkan untuk video. |
| <code>data.notes[].video_info_v2.media.video.md5</code> | <code>string</code> | Nilai MD5 yang dilaporkan dalam metadata video. |
| <code>data.notes[].video_info_v2.media.stream</code> | <code>object</code> | Variasi streaming yang dikelompokkan berdasarkan label codec yang dikembalikan oleh Xiaohongshu. |
| <code>data.notes[].video_info_v2.media.stream.h264</code> | <code>array</code> | Stream H.264 yang dikembalikan untuk catatan video. |
| <code>data.notes[].video_info_v2.media.stream.h264[]</code> | <code>object</code> | Metadata untuk satu stream video H.264. |
| <code>data.notes[].video_info_v2.media.stream.h264[].master_url</code> | <code>string</code> | URL utama yang disediakan untuk stream ini. |
| <code>data.notes[].video_info_v2.media.stream.h264[].backup_urls</code> | <code>array</code> | URL alternatif yang disediakan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h264[].backup_urls[]</code> | <code>string</code> | URL stream alternatif. |
| <code>data.notes[].video_info_v2.media.stream.h264[].width</code> | <code>integer</code> | Lebar stream dalam piksel. |
| <code>data.notes[].video_info_v2.media.stream.h264[].height</code> | <code>integer</code> | Tinggi stream dalam piksel. |
| <code>data.notes[].video_info_v2.media.stream.h264[].fps</code> | <code>integer</code> | Kecepatan frame yang dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h264[].format</code> | <code>string</code> | Format media yang dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h264[].video_codec</code> | <code>string</code> | Codec video yang dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h264[].audio_codec</code> | <code>string</code> | Codec audio yang dilaporkan untuk stream. Mungkin kosong. |
| <code>data.notes[].video_info_v2.media.stream.h264[].audio_channels</code> | <code>integer</code> | Jumlah saluran audio yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h264[].avg_bitrate</code> | <code>integer</code> | Nilai bitrate rata-rata yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h264[].video_bitrate</code> | <code>integer</code> | Nilai bitrate video yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h264[].audio_bitrate</code> | <code>integer</code> | Nilai bitrate audio yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h264[].quality_type</code> | <code>string</code> | Label kualitas mentah yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h264[].stream_desc</code> | <code>string</code> | Deskripsi yang disediakan oleh Xiaohongshu untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h264[].duration</code> | <code>integer</code> | Durasi total stream dalam milidetik. |
| <code>data.notes[].video_info_v2.media.stream.h264[].video_duration</code> | <code>integer</code> | Durasi trek video dalam milidetik. |
| <code>data.notes[].video_info_v2.media.stream.h264[].audio_duration</code> | <code>integer</code> | Durasi trek audio dalam milidetik. Nilainya bisa nol jika stream tidak memiliki audio. |
| <code>data.notes[].video_info_v2.media.stream.h264[].size</code> | <code>integer</code> | Ukuran stream dalam byte. |
| <code>data.notes[].video_info_v2.media.stream.h265</code> | <code>array</code> | Stream H.265 yang dilaporkan untuk catatan video. |
| <code>data.notes[].video_info_v2.media.stream.h265[]</code> | <code>object</code> | Metadata untuk satu stream video H.265. |
| <code>data.notes[].video_info_v2.media.stream.h265[].master_url</code> | <code>string</code> | URL utama yang disediakan untuk stream ini. |
| <code>data.notes[].video_info_v2.media.stream.h265[].backup_urls</code> | <code>array</code> | URL alternatif yang disediakan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h265[].backup_urls[]</code> | <code>string</code> | URL stream alternatif. |
| <code>data.notes[].video_info_v2.media.stream.h265[].width</code> | <code>integer</code> | Lebar stream dalam piksel. |
| <code>data.notes[].video_info_v2.media.stream.h265[].height</code> | <code>integer</code> | Tinggi stream dalam piksel. |
| <code>data.notes[].video_info_v2.media.stream.h265[].fps</code> | <code>integer</code> | Kecepatan frame yang dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h265[].format</code> | <code>string</code> | Format media yang dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h265[].video_codec</code> | <code>string</code> | Codec video yang dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h265[].audio_codec</code> | <code>string</code> | Codec audio yang dilaporkan untuk stream. Mungkin kosong. |
| <code>data.notes[].video_info_v2.media.stream.h265[].audio_channels</code> | <code>integer</code> | Jumlah saluran audio yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h265[].avg_bitrate</code> | <code>integer</code> | Nilai bitrate rata-rata yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h265[].video_bitrate</code> | <code>integer</code> | Nilai bitrate video yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h265[].audio_bitrate</code> | <code>integer</code> | Nilai bitrate audio yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h265[].quality_type</code> | <code>string</code> | Label kualitas mentah yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h265[].stream_desc</code> | <code>string</code> | Deskripsi yang disediakan oleh Xiaohongshu untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h265[].duration</code> | <code>integer</code> | Durasi total stream dalam milidetik. |
| <code>data.notes[].video_info_v2.media.stream.h265[].video_duration</code> | <code>integer</code> | Durasi trek video dalam milidetik. |
| <code>data.notes[].video_info_v2.media.stream.h265[].audio_duration</code> | <code>integer</code> | Durasi trek audio dalam milidetik. Nilainya bisa nol jika stream tidak memiliki audio. |
| <code>data.notes[].video_info_v2.media.stream.h265[].size</code> | <code>integer</code> | Ukuran stream dalam byte. |
| <code>data.notes[].video_info_v2.media.stream.h266</code> | <code>array</code> | Stream H.266 jika tersedia. |
| <code>data.notes[].video_info_v2.media.stream.h266[]</code> | <code>object</code> | Metadata untuk satu stream video H.266. |
| <code>data.notes[].video_info_v2.media.stream.h266[].master_url</code> | <code>string</code> | URL utama yang disediakan untuk stream ini. |
| <code>data.notes[].video_info_v2.media.stream.h266[].backup_urls</code> | <code>array</code> | URL alternatif yang disediakan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h266[].backup_urls[]</code> | <code>string</code> | URL stream alternatif. |
| <code>data.notes[].video_info_v2.media.stream.h266[].width</code> | <code>integer</code> | Lebar stream dalam piksel. |
| <code>data.notes[].video_info_v2.media.stream.h266[].height</code> | <code>integer</code> | Tinggi stream dalam piksel. |
| <code>data.notes[].video_info_v2.media.stream.h266[].fps</code> | <code>integer</code> | Kecepatan frame yang dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h266[].format</code> | <code>string</code> | Format media yang dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h266[].video_codec</code> | <code>string</code> | Codec video yang dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.stream.h266[].audio_codec</code> | <code>string</code> | Codec audio yang dilaporkan untuk stream. Mungkin kosong. |
| <code>data.notes[].video_info_v2.media.stream.h266[].audio_channels</code> | <code>integer</code> | Jumlah saluran audio yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h266[].avg_bitrate</code> | <code>integer</code> | Nilai bitrate rata-rata yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h266[].video_bitrate</code> | <code>integer</code> | Nilai bitrate video yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h266[].audio_bitrate</code> | <code>integer</code> | Nilai bitrate audio yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h266[].quality_type</code> | <code>string</code> | Label kualitas mentah yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h266[].stream_desc</code> | <code>string</code> | Deskripsi yang disediakan oleh Xiaohongshu untuk streaming. |
| <code>data.notes[].video_info_v2.media.stream.h266[].duration</code> | <code>integer</code> | Durasi total stream dalam milidetik. |
| <code>data.notes[].video_info_v2.media.stream.h266[].video_duration</code> | <code>integer</code> | Durasi trek video dalam milidetik. |
| <code>data.notes[].video_info_v2.media.stream.h266[].audio_duration</code> | <code>integer</code> | Durasi trek audio dalam milidetik. Nilainya bisa nol jika stream tidak memiliki audio. |
| <code>data.notes[].video_info_v2.media.stream.h266[].size</code> | <code>integer</code> | Ukuran stream dalam byte. |
| <code>data.notes[].video_info_v2.media.stream.av1</code> | <code>array</code> | Daftar stream AV1 yang dikembalikan oleh Xiaohongshu. Mungkin kosong. |
| <code>data.notes[].video_info_v2.media.audio_stream</code> | <code>object</code> | Stream audio dikelompokkan berdasarkan codec saat dikirimkan. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC</code> | <code>array</code> | Entri stream audio AAC saat dikirimkan. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[]</code> | <code>object</code> | - |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_codec</code> | <code>string</code> | Label codec audio. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_channels</code> | <code>integer</code> | Jumlah kanal untuk stream audio. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].master_url</code> | <code>string</code> | URL utama untuk stream audio. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].backup_urls</code> | <code>array</code> | URL alternatif untuk stream audio. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].backup_urls[]</code> | <code>string</code> | - |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].format</code> | <code>string</code> | Format media yang dilaporkan untuk stream audio. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_profile</code> | <code>string</code> | Profil audio dilaporkan untuk stream. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_samplerate</code> | <code>integer</code> | Frekuensi sampel audio dalam hertz. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_duration</code> | <code>integer</code> | Durasi stream audio dalam milidetik. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].size</code> | <code>integer</code> | Ukuran stream audio dalam byte. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_bitrate</code> | <code>integer</code> | Nilai bitrate audio yang dilaporkan untuk streaming. |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].avg_bitrate</code> | <code>integer</code> | Nilai bitrate rata-rata yang dilaporkan untuk stream audio. |
| <code>data.notes[].video_info_v2.media.video_id</code> | <code>integer</code> | Identifikasi video numerik yang dilaporkan oleh Xiaohongshu. |
| <code>data.notes[].video_info_v2.capa</code> | <code>object</code> | Metadata tambahan untuk video. |
| <code>data.notes[].video_info_v2.capa.duration</code> | <code>integer</code> | Durasi video dari metadata ini, dalam detik. |

</div>

## Contoh Respons

<ApiExampleSection :api='JSON.parse("\"/api/xiaohongshu/get-user-faved-note-list/v1\"")' />

