mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
42 lines
453 B
Go
42 lines
453 B
Go
package api
|
|
|
|
/*
|
|
API
|
|
|
|
respnose JSON{
|
|
|
|
}
|
|
request JSON{
|
|
Action string
|
|
}
|
|
|
|
echo version
|
|
|
|
{
|
|
add torrent
|
|
remove torrent
|
|
list all torrents
|
|
get torrent
|
|
stream torrent
|
|
} all in one function
|
|
|
|
{
|
|
get viewed files mark in torrent
|
|
set viewed files mark in torrent
|
|
rem viewed files mark in torrent
|
|
} all in one
|
|
|
|
{
|
|
get m3u list of one torrent
|
|
get m3u list of one torrent and resume play
|
|
get m3u list of all torrent
|
|
}
|
|
|
|
{
|
|
get settings
|
|
set settings
|
|
}
|
|
|
|
???
|
|
*/
|