https://github.com/owncloud/documentation/blob/master/developer_manual/core/externalapi.rst