Read a resumable folder upload: which parts arrived and its state [read]

Changed on

received lists the part numbers already stored, so an interrupted upload sends only the rest.

get/sessions/{id}/workspace/imports/{upload_id}

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/sessions/{id}/workspace/imports/{upload_id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The session id

upload_idstring required

Response

OK

idstring
namestring
sizeinteger
sha256string
part_sizeinteger
partsinteger

how many parts the upload has

receivedinteger[]

part numbers already stored

state'uploading' | 'verified' | 'importing' | 'imported' | 'failed'
pathstring

where the folder landed, once imported

filesinteger

files unpacked, once imported

Changes