Adding basement for the direct download url

refs https://github.com/owncloud/core/issues/12286

@dragotin @danimo @guruz @ogoffart @karlitschek @icewind1991 THX
For return type you still need `array` instead of `[]` afaik