You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Add support for Download Station.
Describe the solution you'd like
A way for Autobrr to send download events to Download Station.
Additional context
I've played around with their API and figured out the below endpoints in order to send a download event to DS.
Tested on DSM 7.2.1-69057 Update 3 and Download Station version 4.0.1-4709.
Based on the above doc we can get all the API endpoints by sending a GET request to /webapi/query.cgi?api=SYNO.API.Info:
curl -X GET "https://ip_or_fqdn_of_synology/webapi/query.cgi?api=SYNO.API.Info&version=1&method=query&query=ALL"
from there to authenticate the /webapi/auth.cgi?api=SYNO.API.Auth is used and version 7 (I guess for DSM 7 as anything below version 7 returns error 103 -> The requested method does not exist):
curl -X GET "https://ip_or_fqdn_of_synology/webapi/auth.cgi?api=SYNO.API.Auth&version=7&method=login&account=account_name&passwd=password&session=DownloadStation&format=sid
From there we need to "keep/save" the sid as its used for auth on every other API endpoint.
I've tested against TL and to create a task the /webapi/DownloadStation/entry.cgi is used with the following parameters:
api = SYNO.DownloadStation2.Task
version = 2
type = url
url = url of torrent file
create_list = false (not sure of this, but it's a required parameter)
method = create
destination = destination folder
Is your feature request related to a problem? Please describe.
Add support for Download Station.
Describe the solution you'd like
A way for Autobrr to send download events to Download Station.
Additional context
I've played around with their API and figured out the below endpoints in order to send a download event to DS.
Tested on DSM 7.2.1-69057 Update 3 and Download Station version 4.0.1-4709.
Link to an old doc for the DS API -> https://global.download.synology.com/download/Document/Software/DeveloperGuide/Package/DownloadStation/All/enu/Synology_Download_Station_Web_API.pdf
Based on the above doc we can get all the API endpoints by sending a GET request to /webapi/query.cgi?api=SYNO.API.Info:
from there to authenticate the /webapi/auth.cgi?api=SYNO.API.Auth is used and version 7 (I guess for DSM 7 as anything below version 7 returns error 103 -> The requested method does not exist):
Output is:
From there we need to "keep/save" the sid as its used for auth on every other API endpoint.
I've tested against TL and to create a task the /webapi/DownloadStation/entry.cgi is used with the following parameters:
The text was updated successfully, but these errors were encountered: