synology-csi icon indicating copy to clipboard operation
synology-csi copied to clipboard

syno-config.yml Link to the differing API version parameter documentation

Open ahuffman opened this issue 5 years ago • 2 comments
trafficstars

I opted to use v2 since it seemed like it didn't need a lot of extra config, however I was wondering if you could add a link to the API docs you used to help those that want to use the newer API versions with obtaining the appropriate settings. Either that or adding in more comments to the syno-config.yml documentation would be another great option.

For example I didn't know where I would find the deviceId and deviceName settings for the v6 API. Clarifying where to get these settings/values would be helpful in the future. I also had no idea what enableSynoToken means and what it relates to other than that it's a v3+ API option.

ahuffman avatar Apr 15 '20 22:04 ahuffman

Hi @ahuffman , do you find deviceId and deviceName refere to? I'm looking everywhere in this git but cant find one

reski-rukmantiyo avatar Oct 14 '20 23:10 reski-rukmantiyo

@reski-rukmantiyo you can leave those "optional" fields empty. The only stuff I have filled in my config is like:

host: ds918.mydomain.local
port: 5000
sslVerify: false
username: "k8s-storage"
password: "1234123412341234"

ahuffman avatar Oct 22 '20 16:10 ahuffman