group_idstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
group_idstringobligatoirePost's group_id, can be obtained from the interface `/lemon8/app/fetch_post_detail`
item_idstringobligatoirePost's item_id, can be obtained from the interface `/lemon8/app/fetch_post_detail` or `/lemon8/app/get_item_id`
media_idstringobligatoirePost'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.
Par défaut : "0"
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Lemon8 Post Comments ListCette API Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Lemon8 | $0.001 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/lemon8/app/post-comment-list avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Obligatoire : group_id (string), item_id (string) et media_id (string). Facultatif : offset (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone).
Non. Lemon8 Post Comments List fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Lemon8 séparément.