Drive > Files > File/Directory > Upload > Session

Batch : close sessions

Changed on

Finish one or more upload session, verify and save the uploaded data to the kDrive.<br/> <br/><note> The batch cannot exceed 1000 sessions. </note>

post/3/drive/{drive_id}/upload/session/batch/finish

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/3/drive/{drive_id}/upload/session/batch/finish
  • Auth
    HTTP bearer

Path parameters

drive_idinteger required

Drive identifier

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

Request body

Example request

{
  "*": {
    "total_chunk_hash": "xxh3:00ec7bec63e548df"
  }
}

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

data91ac10ffClosinguploadsession[] (unresolved $ref)

Changes

    • warning

      the / request property's min was set to -62135596800.00

    • warning

      the / request property's min was set to -62135596800.00

    • warning

      added the new ebook enum value to the //// response property for the response status