no, it is called the same way we do all the ajax calls:
https://github.com/owncloud/core/pull/8599/files#diff-941af7f2c2587938ba6d4fc0ef342312R9