mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
refactor and to go mod
This commit is contained in:
41
server/web/api/doc.go
Normal file
41
server/web/api/doc.go
Normal file
@@ -0,0 +1,41 @@
|
||||
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
|
||||
}
|
||||
|
||||
???
|
||||
*/
|
||||
Reference in New Issue
Block a user