Filebot Node curl for tasks and SynoAPI
Posted: 04 Dec 2022, 07:16
Hi. I have a Synology DS220+ running DSM 7.1.1-42962 and the Filebot Node package.
Is it possible to fully automate (i.e., make non-interactive) the process of running a Filebot task from within a Docker container?
For example, I was wondering how the curl command for running Filebot tasks is automatically formed within Filebot Node. Specifically, how does Filebot Node generate a correctly-formed curl command with cookie id and synotoken?
The general idea is that I'd like to automate the generation of a correctly formed curl command on the fly for use in a Docker container, outside of an active login session, if that's possible. After reading up on it a bit, I figure that I can script the necessary API calls but that does not seem very secure or "the right way" to go about this. If I'm going to go that route, maybe it's better to use a FileBot Node Docker container.
Is it possible to fully automate (i.e., make non-interactive) the process of running a Filebot task from within a Docker container?
For example, I was wondering how the curl command for running Filebot tasks is automatically formed within Filebot Node. Specifically, how does Filebot Node generate a correctly-formed curl command with cookie id and synotoken?
The general idea is that I'd like to automate the generation of a correctly formed curl command on the fly for use in a Docker container, outside of an active login session, if that's possible. After reading up on it a bit, I figure that I can script the necessary API calls but that does not seem very secure or "the right way" to go about this. If I'm going to go that route, maybe it's better to use a FileBot Node Docker container.