const data = await ctx.modules.uploads.fetchPublicFileUrls({
  // Request body
});

Public

No

Request

const data = await ctx.modules.uploads.fetchPublicFileUrls({
  // Request body
});

Request

Object containing the following properties:
PropertyType
uploadId (*)string
filePaths (*)Array<string>
expirySecondsnumber
(*) Required.

Response

Response

Object containing the following properties:
PropertyType
files (*)Array of objects:
  • uploadId: string
  • url: string
  • path: string
  • mime: string (nullable)
  • contentLength: string
(*) Required.