method
RiduClient.previewUploadFromURL
Fetch a remote file for local editing without creating a document.
Arguments
| Argument | Type | Description |
|---|---|---|
collection | Slug | The collection value. |
url | string | The url value. |
options | (RequestOptions & | The options value. |
Returns
The declared result.
Promise<UploadFile>Full signature
RiduClient.previewUploadFromURL<Slug extends UploadCollectionSlug<Config>>(
collection: Slug,
url: string,
options?: RequestOptions & { id?: string; },
): Promise<UploadFile>Related types
UploadCollectionSlugCollection slugs with the generated upload capability.
RequestOptionsOptions shared by every request.
UploadFileA downloaded file which has not yet been persisted as a document.