Giter VIP home page Giter VIP logo

Comments (6)

Alindil avatar Alindil commented on May 27, 2024

I found the error. In the connection request the version must be 7 and not 2 as it is now. But I don't know if it will work with DSM6
image

from synology-api.

N4S4 avatar N4S4 commented on May 27, 2024

Hello thank you and nice catch,
I am quite sure that DSM 7 had many changes, including API call, I tried to contact synology support with no success, however I did not have the chance to test it with DSM7 ad I did not upgrade yet, I will wait that things gets more stable yo run some tests.
Are you able to interact with all functions once login?

from synology-api.

Alindil avatar Alindil commented on May 27, 2024

Hello, I did not test all the features but the only one I had a problem with was the connection. The other functions that I use work correctly

from synology-api.

ajarzyn avatar ajarzyn commented on May 27, 2024

Three ideas:

  1. It would be possibleto configure version of DSM.
    (+) less overhead
    (-) user would have to decide which API to use (which could be also good)
  2. I don't know if it's possible but it would be a good idea to discover which API version is called
    (+) user doesn't need to know which dsm version is he using
    (+) possible to upgrade dsm without upgrading scripts based on this api
    (-) more overhed by double call if incorrect version (if there is api to print dsm version API could just make that call first)
  3. Hybrid solution
    New initialization parameter would be introduced (swversion) which coudl get numerical value or "auto". Based on that API proceed with point 1 od 2.

BR,
Andrew

from synology-api.

N4S4 avatar N4S4 commented on May 27, 2024

@ajarzyn yes I was thinking the same, for now I will let the user choose the version, than I will work to make it automatic according to the version, will see what I can do

from synology-api.

N4S4 avatar N4S4 commented on May 27, 2024

Fixed with v0.2.3

from synology-api.

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.