OCS

class OC\Remote\Api\OCS
Source:lib/private/Remote/Api/OCS.php#34
Parent:OC\Remote\Api\ApiBase
Implements:OCP\Remote\Api\ICapabilitiesApi OCP\Remote\Api\IUserApi

Methods

protected OC\Remote\Api\OCS::request($method, $url, $body=[], $query=[], $headers=[])
Source:

lib/private/Remote/Api/OCS.php#46

Parameters:
  • $method (string)
  • $url (string)
  • $body (array)
  • $query (array)
  • $headers (array)
Returns:

array

Throws:

\OC\ForbiddenException

Throws:

\OC\Remote\Api\NotFoundException

Throws:

\Exception

Throws:

\OC\ForbiddenException

Throws:

\OC\Remote\Api\NotFoundException

Throws:

\Exception

Throws:

\OC\ForbiddenException

Throws:

\OC\Remote\Api\NotFoundException

Throws:

\Exception

public OC\Remote\Api\OCS::getUser($userId)
Source:lib/private/Remote/Api/OCS.php#88
public OC\Remote\Api\OCS::getCapabilities()
Source:lib/private/Remote/Api/OCS.php#97
Returns:array The capabilities in the form of [$appId => [$capability => $value]]