API: comments/add method
Name | Descr. | Default |
---|---|---|
id | API release id or API P2P release id | (required) |
type | Use one of: release|p2p_rls | (required) |
text | The comment. You may use BBCode to format the text. Can be empty if both video_rating and audio_rating are set. | (empty) |
video_rating audio_rating | Video and audio rating between 1 (bad) to 10 (good). You must always rate both or none. You may only vote once, and may not change your vote. Check the <vote> tag from the response to get the rating as displayed on the website. | (optional) |
<?xml version="1.0" encoding="UTF-8"?> <added_comment> <id>05378f88236ad</id> <time>1442967487</time> <author> <id>ca121da22</id> <name>Doakes</name> </author> <text>This value might be enclosed into CDATA if new lines are present. It may also contain [b]BB[/b]Code.</text> <link_href>https://www.xrel.to/comments-goto.html?id=303595</link_href> <rating> <video>9</video> <audio>8</audio> </rating> <votes> <positive>0</positive> <negative>0</negative> </votes> <edits> <count>0</count> <last /> </edits> </added_comment>
Zuletzt aktualisiert: 8. Jan. 2021, 18:48 Uhr.