Upload Library Documents
POST /library/documents/upload-batch
POST
/library/documents/upload-batch
Upload SEVERAL files in one request.
PARTIAL SUCCESS IS THE NORMAL OUTCOME. Each file is processed on its own session, so one rejected file does not roll the others back and the status stays 201. Read the per-file result in the body, not the HTTP status.
Named upload-batch rather than the app’s upload-multi: the same
operation, spelled the way the rest of this contract spells a bulk verb.
Authorizations
Parameters
Header Parameters
Request Body required
Responses
201
Successful Response
object
data
required
An open envelope for a LIST result, so a bare list keeps its shape.
items is always present and always the list, whichever key the app used
for it - so a caller can page one way rather than learning six key names.
object
items
Array
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string