kwent / syno

Simple Node.js wrapper and CLI for Synology DSM REST API 5.x and 6.x.
http://kwent.github.io/syno
MIT License
316 stars 51 forks source link

[Q] CLI JSON Payload #21

Closed mcNETDev closed 8 years ago

mcNETDev commented 8 years ago

When i run:

syno dsm --ignore-certificate-errors --pretty getUser

From where i know what payload i must add?

kwent commented 8 years ago

Hi @mcNETDev.

Actually that is a very good question.

The Synology API is really poorly documented for some packages and do not provide available parameters to pass in their API description files.

Only official documentation is available here : https://www.synology.com/en-us/support/developer#tool

So i can't give you a specific answer. The only solution would have them provide the full documentation of DSM Core API.