How to access Synology NAS drive using API

Rajat picture Rajat · May 3, 2013 · Viewed 20.3k times · Source

I am newbie to synology. I want to access my Synology NAS drive. I followed Synology_Download_Station_Official_API.

I read basic Working example to get API Information:

Step 1: Get API Information In order to make API requests, you should first request SYNO.API.Info to get the SYNO.API.Auth API info for session login and SYNO.DownloadStation.Task API info for 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 with mydomain.com:3456

I created GET request but every time my request times out. Am i doing something wrong?

Please guide as i am using it for first time.

Answer

Urban picture Urban · Jun 21, 2014