How can I call the Share URL with the Share Password within, so an user won't need to see the password page?
I've built this batch that builds some reports, store them on a proper ownCloud folder, them cUrl the /share API, with parameters for read-only public share (since my report clients are random internet users that request reports on-demand now and them) along with a random generated password that I deliver to him on another place.
So, my client doesn't ever get an account on my ownCloud.
This is my REST call, so other users may help or learn:
And with it:
path: ownCloud Manual.pdf
And I get as response:
And I insert a "/download" at the end and the direct download URL is perfect to deliver to my client, like this:
So far, so good, the URL works fine, but my client still stops at a page where he needs to enter the password (in this example: abc123), which is BAD, because, as designed, a Client will access this URL with his own Batch doing some cUrl. And his batch won't be able to interact with a screen.
Finally, the question: is there a way to supply the password at the same call for the share/download link?
Something like calling for:
...with a Request Header like: "password" : "abc123" ?