group_idstringbắt buộc
Post's group_id, can be obtained from the interface `/lemon8/app/fetch_post_detail`
https://api.sandbase.ai/v1/api/lemon8/app/post-comment-listRetrieves the list of comments for a specific Lemon8 post. Requires the post item ID, group ID, and media ID with support for paginated results.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Retrieves comments for a specific post on Lemon8 using item_id, group_id, and media_id. Supports pagination via offset.
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/post-comment-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"group_id": "7361926875709129222", "item_id": "7361926875709129222", "media_id": "7428056850216862763"}'
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | Post's item_id, can be obtained from the interface /lemon8/app/fetch_post_detail or /lemon8/app/get_item_id |
group_id | string | Yes | Post's group_id, can be obtained from the interface /lemon8/app/fetch_post_detail |
media_id | string | Yes | Post's media_id, can be obtained from the interface /lemon8/app/fetch_post_detail |
offset | string | No | Pagination parameter, can be obtained from the return result of the last request. |
item_id, group_id, and media_id from the post details endpoint.offset empty on the initial request, then pass the offset returned in the previous response for pagination.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/lemon8/app/post-comment-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"offset": "0",
"item_id": "7361926875709129222",
"group_id": "7361926875709129222",
"media_id": "7428056850216862763"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
group_idstringbắt buộcPost's group_id, can be obtained from the interface `/lemon8/app/fetch_post_detail`
item_idstringbắt buộcPost's item_id, can be obtained from the interface `/lemon8/app/fetch_post_detail` or `/lemon8/app/get_item_id`
media_idstringbắt buộcPost's media_id, can be obtained from the interface `/lemon8/app/fetch_post_detail`
offsetstringPagination parameter, can be obtained from the return result of the last request. It is empty for the first request, and the offset returned by the last request is used for subsequent requests.
Mặc định: "0"
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Lemon8 Post Comments ListAPI này Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Lemon8 | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/lemon8/app/post-comment-list với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.
Bắt buộc: group_id (string), item_id (string) và media_id (string). Tùy chọn: offset (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).
Không. Lemon8 Post Comments List chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Lemon8.