Skip to content
Sursa Developers

Objects

UploadCreate

A multipart upload session (POST /v1/uploads).

Fields

  • filenamestringrequired

    The file name with its extension; the extension selects the format.

    length ≥ 1, length ≤ 255

  • content_typestring

    The declared content type (MIME); it is compared with the file signature.

    length ≤ 255

  • sizeinteger (int64)required

    The file size in bytes.

    ≥ 1

  • purposeUploadPurposerequired
  • sha256string

    The SHA-256 of the file, if known in advance; complete compares its checksum with it.

Used by