IDiscoveryService¶
-
interface
OCP\OCS\
IDiscoveryService
¶ - Interface IDiscoveryServiceAllows you to discover OCS end-points on a remote server
Implemented by: OC\OCS\DiscoveryService
Source: lib/public/OCS/IDiscoveryService.php#38
Methods¶
-
public
OCP\OCS\IDiscoveryService::
discover
($remote, $service, $skipCache=false)¶ - Discover OCS end-pointsIf no valid discovery data is found the defaults are returned
Source: Parameters: - $remote (string)
- $service (string) the service you want to discover
- $skipCache (bool) We won’t check if the data is in the cache. This is useful if a background job is updating the status - Added in 14.0.0
Since: 12.0.0
Returns: array