mirror of
https://codeberg.org/librarian/documentation
synced 2024-12-06 19:16:16 +01:00
Test AsciiDoc
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
= Comments (comments.odysee.tv)
|
||||
:toc:
|
||||
Documentation for the comments API. https://github.com/OdyseeTeam/commentron
|
||||
|
||||
== `POST` List comments
|
||||
https:/comments.odysee.tv/api/v2?m=comment.List
|
||||
|
||||
List comments for a claim.
|
||||
|
||||
=== `JSON` /api/v2?m=comment.List
|
||||
[,json]
|
||||
----
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"id": 1,
|
||||
"method": "comment.List",
|
||||
"params": {
|
||||
"page": 1,
|
||||
"page_size": 10,
|
||||
"top_level": true,
|
||||
"sort_by: 3, # 3 - Best, 2 - Controversial, 0 - New
|
||||
"parent_id": "parent comment ID", # For comment replies
|
||||
"claim_id": "463e63afb35a319f260b36ef8d5c3dc41a98ce28",
|
||||
"channel_id": "ecf0a6be99030d0ad4e10aec11d2c0bab94246ae",
|
||||
"channel_name": "@MusicARetro"
|
||||
}
|
||||
}
|
||||
----
|
||||
Reference in New Issue
Block a user