Skip to main content

Get Object Upload Information

POST 

/v1/storages/get-objects-upload-info

Batch Obtain Required Information for Uploading Objects.

Request

Body

arrayrequired

Upload object request parameters, in array format.

  • Array [
  • objectId Object ID, e.g., file name (string)required
    signedHeader object
    property name* string[]
  • Array [
  • string

  • ]
  • ]

Responses

Returned on success

Response Headers
  • X-Request-Id string

    Request ID

Schema
  • Array [
  • oneOf
    uploadUrl Object upload URL
    downloadUrl Download URL of the object after upload (without URL encoding)
    downloadUrlEncoded URL-encoded download URL of the object after upload
    token Token required for upload, to be filled in X-Cos-Security-Token header (string)
    authorization Authorization information required for upload, to be filled in Authorization header (string)
    cloudObjectMeta Metadata information required for upload, to be filled in X-Cos-Meta-Fileid header (string)
    cloudObjectId Cloud object ID after upload (string)
    objectId Object ID for this request (string)
  • ]
Loading...