Git Product home page Git Product logo

Comments (5)

kwent avatar kwent commented on May 26, 2024

What version of DSM and DownloadStation do you have installed ?

from syno.

shir avatar shir commented on May 26, 2024

@kwent

DSM 6.0.2-8451 Update 2, Download Station: 3.7.3-3409. Latest available.

from syno.

kwent avatar kwent commented on May 26, 2024

Hi @shir, the API compiled in this package for Download Station is 3.7.1-3282. Maybe that would do it if they considerably change their API. I would have to compile this package against your version package to make it work. PR is welcome !

from syno.

shir avatar shir commented on May 26, 2024

@kwent do you have any guide how I may compile for new API version? I've tried to figure it out by myself but without success.

from syno.

shir avatar shir commented on May 26, 2024

@kwent I made some investigation using tcpdump and found response to my request (why don't you show response in debug mode? It may be very helpful):

{"error":{"code":120,"errors":{"name":"list_id","reason":"required"}},"success":false}

So I figured out that I use wrong method. And method that I need is listTasks. But then I try to use this method I see request to url http://192.168.0.35:5000/webapi/DownloadStation/xunlei/dl_queue.cgi?api=SYNO.DownloadStation.Xunlei.Task&version=1&method=list and it returns error 403.

Why Xunlei? I don't even enable this service in Download Station (that's why I have error 403). I expect what listTasks will make request to url http://192.168.0.35:5000/webapi/DownloadStation/task.cgi?api=SYNO.DownloadStation.Task&version=1&method=list. Is it a bug? Or should I use some other method to get list of tasks?

from syno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.