The WebID of the agent whose Pods should be discovered
Optional
options: { fetch?: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response> }Optional parameter
options.fetch
: An alternative fetch
function to make the HTTP request,
compatible with the browser-native fetch API.Optional
fetch?: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response>a Promise resolving to an array containing the URLs of all the Pods
linked from the agent's profile resource using the pim:storage
predicate.
Discover the Pods an agent advertises for in their profile resources. Both the agent's WebID and alternative profiles are fetched. Note that this function will only return URLs of Pods linked to using the
pim:storage
, i.e. a triple looking like <myWebid, pim:storage, myPodUrl> should appear in the profile resources.