Uploads

Complete Upload

Alert the module that the upload has been completed

Request

  • uploadId
    string

Response

  • upload
    object
    • upload.id
      string
    • upload.metadata
      object
    • upload.bucket
      string
    • upload.contentLength
      string
    • upload.createdAt
      string
    • upload.updatedAt
      string
    • upload.completedAt
      nullable string

Usage

1. Install the module

2. Use this script

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