How to access Synology NAS drive using API -


i newbie synology. want access synology nas drive. followed synology_download_station_official_api.

i read basic working example api information:

step 1: api information in order make api requests, should first request syno.api.info syno.api.auth api info session login , syno.downloadstation.task api info download task list.

request:

http://myds.com:5000/webapi/query.cgi?api=syno.api.info&version=1&my=syno.api.auth,syno.downloadstation.task

i changed myds.com:5000 mydomain.com:3456

i created request every time request times out. doing wrong?

please guide using first time.

i think request wrong, doesn't explains why timeout...

the correct request should be:

http://myds.com:5000/webapi/query.cgi?api=syno.api.info&version=1&method=query&query=syno.api.auth,syno.downloadstation.task

you can see correct requestes in synology documentation @ http://ukdl.synology.com/download/document/developerguide/synology_download_station_web_api.pdf


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -