method

RiduClient.getUploadURLs

Create delivery URLs for up to 100 uploads in one request, returned in input order.

Arguments

ArgumentTypeDescription
collectionSlugThe collection value.
itemsreadonly (string | { id: string; size?: string; })[]The items value.
optionsOmit<UploadURLOptions, "size"> | undefinedThe 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[]>

Source packages/sdk/src/types.ts:961

Related types

  • UploadCollectionSlug

    Collection slugs with the generated upload capability.

  • UploadURLOptions

    Options for short-lived upload delivery URLs.

  • UploadURL

    A delivery URL that authorizes one upload object without carrying the session token.