Nextcloud PHP API (master)

IDiscoveryService

Interface IDiscoveryService

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

Tags
since
12.0.0

Table of Contents

Methods

discover()  : array<string|int, mixed>
Discover OCS end-points

Methods

discover()

Discover OCS end-points

public discover(string $remote, string $service[, bool $skipCache = false ]) : array<string|int, mixed>

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<string|int, mixed>

        
On this page

Search results