method
RiduClient.getUploadURLs
Create delivery URLs for up to 100 uploads in one request, returned in input order.
Arguments
| Argument | Type | Description |
|---|---|---|
collection | Slug | The collection value. |
items | readonly (string | | The items value. |
options | Omit< | The options value. |
Returns
The declared result.
Promise<UploadURL[]>Full signature
RiduClient.getUploadURLs<Slug extends UploadCollectionSlug<Config>>(
collection: Slug,
items: readonly (string | {
id: string
size?: string
})[],
options?: Omit<UploadURLOptions, "size">,
): Promise<UploadURL[]>Related types
UploadCollectionSlugCollection slugs with the generated upload capability.
UploadURLOptionsOptions for short-lived upload delivery URLs.
UploadURLA delivery URL that authorizes one upload object without carrying the session token.