{
  "openapi": "3.1.0",
  "info": {
    "title": "Xiaohongshu (RedNote) Komentar Catatan API (V2)",
    "version": "v0",
    "description": "Mengambil komentar untuk catatan Xiaohongshu (RedNote) dengan paginan kursor dan sortasi normal, terbaru, atau jumlah seperti. Digunakan untuk mendukung proses peninjauan umpan balik, analisis diskusi, dan moderasi komentar."
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API produksi global (default)"
    }
  ],
  "tags": [
    {
      "name": "Xiaohongshu (RedNote)",
      "description": "Platform Xiaohongshu untuk catatan, komentar, pengguna, pencarian, dan resolusi tautan untuk pemantauan konten dan penelitian creator.",
      "x-platform-id": "xiaohongshu-rednote",
      "x-platform-aliases": [
        "Xiaohongshu",
        "RedNote",
        "小红书"
      ],
      "x-platform-detection-aliases": [
        "Xiaohongshu",
        "RedNote",
        "小红书"
      ]
    }
  ],
  "paths": {
    "/api/xiaohongshu/get-note-comment/v2": {
      "get": {
        "tags": [
          "Xiaohongshu (RedNote)"
        ],
        "summary": "Komentar Catatan",
        "description": "Mengambil komentar untuk catatan Xiaohongshu (RedNote) dengan paginan kursor dan sortasi normal, terbaru, atau jumlah seperti. Digunakan untuk mendukung proses peninjauan umpan balik, analisis diskusi, dan moderasi komentar.",
        "operationId": "getApiXiaohongshuGetNoteCommentV2",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Token akses untuk layanan API ini.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "noteId",
            "in": "query",
            "description": "ID catatan Xiaohongshu atau URL explore yang mengandung /explore/.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lastCursor",
            "in": "query",
            "description": "Kursor paginasi dari halaman sebelumnya (gunakan nilai kursor yang dikembalikan oleh respons terakhir).",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Strategi sort untuk set hasil.\n\nNilai yang tersedia:\n- `normal`: Normal\n- `latest`: Terbaru\n- `like_count`: Jumlah like",
            "required": false,
            "schema": {
              "type": "string",
              "default": "latest",
              "description": "Urutan sortanisasi komentar Xiaohongshu V3",
              "enum": [
                "normal",
                "latest",
                "like_count"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "description": "Field yang dikembalikan ketika respons mengandung halaman komentar catatan Xiaohongshu.",
                        "properties": {
                          "comments": {
                            "type": "array",
                            "description": "Komentar tingkat atas pada halaman yang dikembalikan.",
                            "items": {
                              "type": "object",
                              "description": "Komentar tingkat atas pada catatan tersebut.",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID komentar Xiaohongshu yang unik."
                                },
                                "note_id": {
                                  "type": "string",
                                  "description": "ID catatan yang terkait dengan komentar ini."
                                },
                                "content": {
                                  "type": "string",
                                  "description": "Teks komentar yang dikembalikan oleh Xiaohongshu."
                                },
                                "time": {
                                  "type": "integer",
                                  "description": "Waktu pembuatan komentar sebagai timestamp Unix dalam detik."
                                },
                                "ip_location": {
                                  "type": "string",
                                  "description": "Label lokasi IP yang ditampilkan untuk komentar, jika dikembalikan."
                                },
                                "like_count": {
                                  "type": "integer",
                                  "description": "Jumlah like yang dilaporkan untuk komentar."
                                },
                                "liked": {
                                  "type": "boolean",
                                  "description": "Apakah platform menandai komentar ini sebagai disukai dalam konteks respons."
                                },
                                "downvoted": {
                                  "type": "boolean",
                                  "description": "Apakah platform menandai komentar ini sebagai downvoted dalam konteks respons."
                                },
                                "collected": {
                                  "type": "boolean",
                                  "description": "Apakah platform menandai komentar ini sebagai terlindungi dalam konteks respons."
                                },
                                "hidden": {
                                  "type": "boolean",
                                  "description": "Apakah platform menandai komentar ini sebagai tersembunyi."
                                },
                                "status": {
                                  "type": "integer",
                                  "description": "Kode status yang dikembalikan untuk komentar."
                                },
                                "comment_type": {
                                  "type": "integer",
                                  "description": "Kode jenis komentar platform."
                                },
                                "show_type": {
                                  "type": "string",
                                  "description": "Kode jenis tampilan yang dikembalikan untuk komentar."
                                },
                                "score": {
                                  "type": "integer",
                                  "description": "Skor komentar yang dilaporkan oleh platform."
                                },
                                "track_id": {
                                  "type": "string",
                                  "description": "Identifikasi trace yang terkait dengan komentar oleh Xiaohongshu."
                                },
                                "translation_strategy": {
                                  "type": "integer",
                                  "description": "Kode platform untuk perilaku terjemahan komentar."
                                },
                                "share_strategy": {
                                  "type": "integer",
                                  "description": "Kode platform untuk perilaku berbagi komentar."
                                },
                                "friend_liked_msg": {
                                  "type": "string",
                                  "description": "Pesan platform mengenai like dari teman, yang bisa kosong."
                                },
                                "user": {
                                  "type": "object",
                                  "description": "Penulis komentar tingkat atas ini.",
                                  "properties": {
                                    "userid": {
                                      "type": "string",
                                      "description": "ID pengguna Xiaohongshu untuk akun ini."
                                    },
                                    "red_id": {
                                      "type": "string",
                                      "description": "ID akun Xiaohongshu yang terlihat, yang bisa kosong."
                                    },
                                    "nickname": {
                                      "type": "string",
                                      "description": "Nama tampilan akun ini."
                                    },
                                    "images": {
                                      "type": "string",
                                      "description": "URL avatar profil yang dikembalikan untuk akun ini."
                                    },
                                    "current_user": {
                                      "type": "string",
                                      "description": "Indikator pengguna aktif di platform, dikembalikan sebagai string."
                                    },
                                    "ai_agent": {
                                      "type": "boolean",
                                      "description": "Apakah platform menandai akun ini sebagai agen AI."
                                    },
                                    "level": {
                                      "type": "object",
                                      "description": "Informasi level yang dikembalikan untuk akun ini.",
                                      "properties": {
                                        "image": {
                                          "type": "string",
                                          "description": "Gambar yang dikembalikan untuk level akun."
                                        }
                                      }
                                    },
                                    "additional_tags": {
                                      "type": "object",
                                      "description": "Metada tag akun tambahan, yang bisa kosong."
                                    }
                                  }
                                },
                                "at_users": {
                                  "type": "array",
                                  "description": "Akun yang disebutkan dalam komentar.",
                                  "items": {
                                    "type": "object",
                                    "description": "Akun yang disebutkan dalam komentar.",
                                    "properties": {
                                      "userid": {
                                        "type": "string",
                                        "description": "ID pengguna Xiaohongshu akun yang disebutkan."
                                      },
                                      "nickname": {
                                        "type": "string",
                                        "description": "Nama tampilan akun yang disebutkan."
                                      },
                                      "ai_agent": {
                                        "type": "boolean",
                                        "description": "Apakah platform menandai akun yang disebutkan sebagai agen AI."
                                      },
                                      "level": {
                                        "type": "object",
                                        "description": "Informasi level untuk akun yang disebutkan.",
                                        "properties": {
                                          "image": {
                                            "type": "string",
                                            "description": "Gambar yang dikembalikan untuk level akun yang disebutkan."
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "hash_tags": {
                                  "type": "array",
                                  "description": "Hashtag yang terkait dengan komentar, jika dikembalikan.",
                                  "items": {
                                    "type": "object",
                                    "description": "Hashtag yang terkait dengan komentar.",
                                    "properties": {
                                      "name": {
                                        "type": "string",
                                        "description": "Nama tampilan hashtag."
                                      },
                                      "link": {
                                        "type": "string",
                                        "description": "Link yang terkait dengan hashtag."
                                      },
                                      "type": {
                                        "type": "string",
                                        "description": "Kode jenis hashtag di platform."
                                      },
                                      "disable_jump": {
                                        "type": "boolean",
                                        "description": "Apakah platform memblokir navigasi dari hashtag."
                                      }
                                    }
                                  }
                                },
                                "show_tags": {
                                  "type": "array",
                                  "description": "Tag tampilan yang dikembalikan untuk komentar. Array bisa kosong."
                                },
                                "show_tags_v2": {
                                  "type": "array",
                                  "description": "Tag tampilan terstruktur yang dikembalikan untuk komentar.",
                                  "items": {
                                    "type": "object",
                                    "description": "Tag tampilan terstruktur.",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "description": "Kode jenis platform untuk tag tersebut."
                                      },
                                      "text": {
                                        "type": "string",
                                        "description": "Teks tampilan untuk tag tersebut."
                                      },
                                      "style_id": {
                                        "type": "string",
                                        "description": "Identifikasi gaya tampilan untuk tag tersebut."
                                      },
                                      "pos": {
                                        "type": "string",
                                        "description": "Kode posisi tampilan untuk tag tersebut."
                                      }
                                    }
                                  }
                                },
                                "biz_label": {
                                  "type": "object",
                                  "description": "Penanda bisnis dan teks padat untuk komentar.",
                                  "properties": {
                                    "product_review": {
                                      "type": "boolean",
                                      "description": "Apakah platform menandai item ini sebagai ulasan produk."
                                    },
                                    "group_invite": {
                                      "type": "string",
                                      "description": "Metadata undangan kelompok yang dikembalikan dalam bentuk string."
                                    },
                                    "rich_text": {
                                      "type": "string",
                                      "description": "Metadata teks padat yang dikembalikan dalam bentuk string."
                                    }
                                  }
                                },
                                "pictures": {
                                  "type": "array",
                                  "description": "Lampiran gambar atau stiker, jika dikembalikan.",
                                  "items": {
                                    "type": "object",
                                    "description": "Lampiran gambar atau stiker untuk komentar.",
                                    "properties": {
                                      "file_id": {
                                        "type": "string",
                                        "description": "ID file platform untuk lampiran tersebut."
                                      },
                                      "url": {
                                        "type": "string",
                                        "description": "URL gambar lampiran yang dikembalikan untuk tampilan."
                                      },
                                      "origin_url": {
                                        "type": "string",
                                        "description": "URL gambar lampiran asli yang dikembalikan oleh platform."
                                      },
                                      "width": {
                                        "type": "integer",
                                        "description": "Nilai lebar yang dikembalikan untuk gambar lampiran."
                                      },
                                      "height": {
                                        "type": "integer",
                                        "description": "Nilai tinggi yang dikembalikan untuk gambar lampiran."
                                      },
                                      "box_w": {
                                        "type": "integer",
                                        "description": "Nilai lebar kotak tampilan yang dikembalikan untuk lampiran."
                                      },
                                      "box_h": {
                                        "type": "integer",
                                        "description": "Nilai tinggi kotak tampilan yang dikembalikan untuk lampiran."
                                      },
                                      "meme_package": {
                                        "type": "object",
                                        "description": "Metadata untuk stiker atau meme yang terkait dengan lampiran.",
                                        "properties": {
                                          "meme_id": {
                                            "type": "string",
                                            "description": "ID stiker atau meme, jika dikembalikan."
                                          },
                                          "image_url": {
                                            "type": "string",
                                            "description": "URL gambar stiker atau meme, jika dikembalikan."
                                          },
                                          "width": {
                                            "type": "integer",
                                            "description": "Nilai lebar yang dikembalikan untuk stiker atau meme."
                                          },
                                          "height": {
                                            "type": "integer",
                                            "description": "Nilai tinggi yang dikembalikan untuk stiker atau meme."
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "media_source_type": {
                                  "type": "integer",
                                  "description": "Kode jenis sumber media platform untuk lampiran komentar."
                                },
                                "sub_comment_count": {
                                  "type": "integer",
                                  "description": "Jumlah balasan yang dilaporkan untuk komentar tingkat atas ini."
                                },
                                "sub_comment_cursor": {
                                  "type": "string",
                                  "description": "Konteks paginasi balasan opsional untuk komentar tingkat atas ini. Endpoint balasan menyediakan kursor kelanjutannya sendiri."
                                },
                                "sub_comments": {
                                  "type": "array",
                                  "description": "Balasan yang tercetak dalam halaman komentar. Daftar ini bisa parsial atau kosong, meskipun sub_comment_count positif.",
                                  "items": {
                                    "type": "object",
                                    "description": "Balasan yang terbungkus di bawah komentar tingkat atas.",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "ID Xiaohongshu dari balasan tersebut."
                                      },
                                      "note_id": {
                                        "type": "string",
                                        "description": "ID catatan yang terkait dengan balasan ini."
                                      },
                                      "content": {
                                        "type": "string",
                                        "description": "Teks balasan yang dikembalikan oleh Xiaohongshu."
                                      },
                                      "time": {
                                        "type": "integer",
                                        "description": "Waktu pembuatan balasan dalam format timestamp Unix dalam detik."
                                      },
                                      "ip_location": {
                                        "type": "string",
                                        "description": "Label lokasi IP yang ditampilkan untuk balasan, jika dikembalikan."
                                      },
                                      "like_count": {
                                        "type": "integer",
                                        "description": "Jumlah like yang dilaporkan untuk balasan."
                                      },
                                      "liked": {
                                        "type": "boolean",
                                        "description": "Apakah platform menandai balasan sebagai disukai dalam konteks respons."
                                      },
                                      "downvoted": {
                                        "type": "boolean",
                                        "description": "Apakah platform menandai balasan sebagai downvoted dalam konteks respons."
                                      },
                                      "collected": {
                                        "type": "boolean",
                                        "description": "Apakah platform menandai balasan sebagai disimpan dalam konteks respons."
                                      },
                                      "hidden": {
                                        "type": "boolean",
                                        "description": "Apakah platform menandai balasan sebagai tersembunyi."
                                      },
                                      "status": {
                                        "type": "integer",
                                        "description": "Kode status yang dikembalikan untuk balasan."
                                      },
                                      "comment_type": {
                                        "type": "integer",
                                        "description": "Kode jenis balasan dari platform."
                                      },
                                      "show_type": {
                                        "type": "string",
                                        "description": "Kode jenis tampilan yang dikembalikan untuk balasan."
                                      },
                                      "score": {
                                        "type": "integer",
                                        "description": "Skor balasan yang dilaporkan oleh platform."
                                      },
                                      "translation_strategy": {
                                        "type": "integer",
                                        "description": "Kode platform untuk perilaku terjemahan balasan."
                                      },
                                      "share_strategy": {
                                        "type": "integer",
                                        "description": "Kode platform untuk perilaku berbagi balasan."
                                      },
                                      "friend_liked_msg": {
                                        "type": "string",
                                        "description": "Pesan platform mengenai like dari teman, yang bisa kosong."
                                      },
                                      "at_users": {
                                        "type": "array",
                                        "description": "Akun yang disebutkan dalam balasan. Array ini bisa kosong."
                                      },
                                      "show_tags": {
                                        "type": "array",
                                        "description": "Tag tampilan yang dikembalikan untuk balasan. Array ini bisa kosong."
                                      },
                                      "show_tags_v2": {
                                        "type": "array",
                                        "description": "Tag tampilan terstruktur yang dikembalikan untuk balasan.",
                                        "items": {
                                          "type": "object",
                                          "description": "Tag tampilan terstruktur.",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "description": "Kode jenis platform untuk tag tersebut."
                                            },
                                            "text": {
                                              "type": "string",
                                              "description": "Teks tampilan untuk tag tersebut."
                                            },
                                            "style_id": {
                                              "type": "string",
                                              "description": "Identifikasi gaya tampilan untuk tag tersebut."
                                            },
                                            "pos": {
                                              "type": "string",
                                              "description": "Kode posisi tampilan untuk tag tersebut."
                                            }
                                          }
                                        }
                                      },
                                      "biz_label": {
                                        "type": "object",
                                        "description": "Tag bisnis dan teks padat untuk balasan.",
                                        "properties": {
                                          "product_review": {
                                            "type": "boolean",
                                            "description": "Apakah platform menandai item ini sebagai ulasan produk."
                                          },
                                          "group_invite": {
                                            "type": "string",
                                            "description": "Metadata undangan kelompok yang dikembalikan dalam bentuk string."
                                          },
                                          "rich_text": {
                                            "type": "string",
                                            "description": "Metadata teks padat yang dikembalikan dalam bentuk string."
                                          }
                                        }
                                      },
                                      "user": {
                                        "type": "object",
                                        "description": "Penulis balasan yang terbungkus.",
                                        "properties": {
                                          "userid": {
                                            "type": "string",
                                            "description": "ID pengguna Xiaohongshu untuk akun ini."
                                          },
                                          "red_id": {
                                            "type": "string",
                                            "description": "ID akun Xiaohongshu yang terlihat, yang bisa kosong."
                                          },
                                          "nickname": {
                                            "type": "string",
                                            "description": "Nama tampilan akun ini."
                                          },
                                          "images": {
                                            "type": "string",
                                            "description": "URL avatar profil yang dikembalikan untuk akun ini."
                                          },
                                          "current_user": {
                                            "type": "string",
                                            "description": "Indikator pengguna aktif di platform, dikembalikan sebagai string."
                                          },
                                          "ai_agent": {
                                            "type": "boolean",
                                            "description": "Apakah platform menandai akun ini sebagai agen AI."
                                          },
                                          "level": {
                                            "type": "object",
                                            "description": "Informasi level yang dikembalikan untuk akun ini.",
                                            "properties": {
                                              "image": {
                                                "type": "string",
                                                "description": "Gambar yang dikembalikan untuk level akun."
                                              }
                                            }
                                          },
                                          "additional_tags": {
                                            "type": "object",
                                            "description": "Metada tag akun tambahan, yang bisa kosong."
                                          }
                                        }
                                      },
                                      "target_comment": {
                                        "type": "object",
                                        "description": "Informasi tentang komentar yang ditanggapi oleh balasan ini.",
                                        "properties": {
                                          "id": {
                                            "type": "string",
                                            "description": "ID komentar yang ditanggapi."
                                          },
                                          "status": {
                                            "type": "integer",
                                            "description": "Kode status yang dikirim untuk komentar yang ditanggapi."
                                          },
                                          "user": {
                                            "type": "object",
                                            "description": "Penulis komentar yang ditanggapi.",
                                            "properties": {
                                              "userid": {
                                                "type": "string",
                                                "description": "ID pengguna Xiaohongshu untuk akun ini."
                                              },
                                              "red_id": {
                                                "type": "string",
                                                "description": "ID akun Xiaohongshu yang terlihat, yang bisa kosong."
                                              },
                                              "nickname": {
                                                "type": "string",
                                                "description": "Nama tampilan akun ini."
                                              },
                                              "images": {
                                                "type": "string",
                                                "description": "URL avatar profil yang dikembalikan untuk akun ini."
                                              },
                                              "current_user": {
                                                "type": "string",
                                                "description": "Indikator pengguna aktif di platform, dikembalikan sebagai string."
                                              },
                                              "ai_agent": {
                                                "type": "boolean",
                                                "description": "Apakah platform menandai akun ini sebagai agen AI."
                                              },
                                              "level": {
                                                "type": "object",
                                                "description": "Informasi level yang dikembalikan untuk akun ini.",
                                                "properties": {
                                                  "image": {
                                                    "type": "string",
                                                    "description": "Gambar yang dikembalikan untuk level akun."
                                                  }
                                                }
                                              },
                                              "additional_tags": {
                                                "type": "object",
                                                "description": "Metada tag akun tambahan, yang bisa kosong."
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "user_id": {
                            "type": "string",
                            "description": "ID pengguna Xiaohongshu penulis catatan."
                          },
                          "comment_count": {
                            "type": "integer",
                            "description": "Jumlah total komentar yang dilaporkan oleh Xiaohongshu untuk catatan tersebut."
                          },
                          "comment_count_l1": {
                            "type": "integer",
                            "description": "Jumlah komentar tingkat atas yang dilaporkan di seluruh halaman catatan tersebut."
                          },
                          "has_more": {
                            "type": "boolean",
                            "description": "Apakah respons melaporkan halaman lain dengan komentar tingkat atas."
                          },
                          "cursor": {
                            "type": "string",
                            "description": "Kursor kontinuitas komentar tingkat atas. Jika tersedia, serahkan secara tidak berubah sebagai lastCursor untuk catatan yang sama dan lakukan sort. Bisa kosong atau tidak ada di akhir."
                          },
                          "page_context": {
                            "type": "string",
                            "description": "Konteks halaman yang tidak jelas yang dikembalikan oleh Xiaohongshu."
                          },
                          "current_sort_strategy": {
                            "type": "string",
                            "description": "Kode strategi sort yang dilaporkan bersama respons. Nilainya bisa berbeda dari nilai sort yang diminta."
                          },
                          "all_sort_strategies": {
                            "type": "array",
                            "description": "Opsi sort yang dilaporkan dengan halaman ini, ketika dikembalikan.",
                            "items": {
                              "type": "object",
                              "description": "Opsi sort yang dilaporkan dengan halaman ini.",
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "description": "Kode opsi sort yang dilaporkan oleh Xiaohongshu."
                                },
                                "optional_name": {
                                  "type": "string",
                                  "description": "Label tampilan utama untuk opsi sort."
                                },
                                "suffix_name": {
                                  "type": "string",
                                  "description": "Label tampilan tambahan untuk opsi sort."
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "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"
                  ]
                }
              }
            }
          }
        },
        "x-order": "12001500",
        "x-api-version": "v2",
        "x-docs-slug": "note-comments-v2",
        "x-search-aliases": [
          "Xiaohongshu note comments",
          "RedNote comment list",
          "Xiaohongshu comments by note",
          "小红书笔记评论",
          "小红书评论列表",
          "小红书笔记评论分页"
        ],
        "x-highlights": [
          {
            "type": "tip",
            "kind": "GUIDANCE",
            "content": "Kami merekomendasikan penggunaan sortir `latest` secara default. Jika komentar tidak dapat diambil untuk beberapa catatan dengan `latest`, coba lagi menggunakan `normal`."
          }
        ],
        "x-endpoint-family": "xiaohongshu_get_note_comment"
      }
    }
  }
}