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: Parameters: - $method (string)
- $url (string)
- $body (array)
- $query (array)
- $headers (array)
Returns: array
Throws: Throws: Throws: \Exception
Throws: Throws: Throws: \Exception
Throws: Throws: 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]]