Following are the steps I followed to have further understanding
-
Know the architecture from this link. Whether the API totally encapsulates the CGI or there are some differences, that is not the topic of this guide, so it's better to be always aware of the Disk Station Architecture your script would support, so that when we have to read the sources we'll know which source to check
-
Try a working ansible role. That will give a pretty good overview of how the interaction is implemented.
-
Check the official docs for the