mirror of
https://github.com/asapach/peerflix-server.git
synced 2026-04-25 14:45:50 +03:00
[GH-ISSUE #28] How to start/stop torrents from REST api? #236
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iShift on GitHub (Mar 27, 2015).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/28
From web ui i can start/stop torrent, how can i do this fro api?
@asapach commented on GitHub (Mar 27, 2015):
Currently you can only do it using websocket api (undocumented). Any suggestions how you would expect to see it in the rest api?
@iShift commented on GitHub (Mar 29, 2015):
GET /torrents/{infoHash}/action
where action is (stop, pause,start)
@brunocascio commented on GitHub (Apr 30, 2015):
I think is better
POSTinstead ofGET, because you don't get nothing from server else you'll send stop/pause/play method.@asapach commented on GitHub (Apr 30, 2015):
@brunocascio, I agree
@asapach commented on GitHub (May 2, 2015):
fixed by #30