externalMediaSelector
Index
Methods
externalget
Returns a StarlightItemResponse with a single MediaObject.
Note: MediaObjects are identified by their IDs, since they don’t have slugs.
Parameters
externalid: string | number
The media object ID.
Returns Promise<StarlightItemResponse<MediaObject>>
externallist
Returns a StarlightListResponse with the list of MediaObjects in this workspace.
Returns Promise<StarlightListResponse<MediaObject>>
A Selector that provide methods to list and request information on MediaObjects.
You can use a MediaSelector by accessing StarlightClient.media.