// RemoteApiResponse.LinkedResource represents a linked resource returned // alongside a RemoteApiResponse. It has a protected constructor — instances // are created by the system and accessed via response.linkedResources. // // Properties (readonly): // url: string — the URL of the linked resource
performApiRequest(request, (response) => { console.log('Number of linked resources:', response.linkedResources.length);
// Each LinkedResource has a single readonly property: url (string) for (constlinkedofresponse.linkedResources) { console.log('LinkedResource url:', linked.url); } });
console.log('LinkedResource is accessed via RemoteApiResponse.linkedResources[].'); console.log('Each LinkedResource has a readonly url (string) property.');
Represents a resource linked to the API response.
Example