Nextcloud PHP API (stable19)

IDiscoveryService

Interface IDiscoveryService

Allows you to discover OCS end-points on a remote server

Tags
since
12.0.0

Table of Contents

discover()  : array
Discover OCS end-points

Methods

discover()

Discover OCS end-points

public discover(string $remote, string $service[, bool $skipCache = false ]) : array

If no valid discovery data is found the defaults are returned

Parameters
$remote : string
$service : string

the service you want to discover

$skipCache : bool = false

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

Tags
since
12.0.0
Return values
array

Search results