If you simply want to get data from your owncloud server then you would only need to generate a public link and download the file on the shiny app.
If you need things like authenticated downloads or upload files to your owncloud server, then you would need to use the API, as far as I know there is no R wrapper for the API so you would have to manually construct the API requests and use a package like httr or similar, to send them.