fix build warnings, fix docs to not use the request from core that does not contain the url parameters  owncloud/core#8827