ApiUploadResponse
Successful response with one ApiUpload
errorintegerrequired
Always 0 in a successful response
Constant value:
0messagestring | nullnullablerequired
Always null in a successful response
data objectrequired
Resource returned by the operation
upload_idintegerrequired
mimetypestring | nullnullablerequired
MIME type associated with the extension of the file, for example application/pdf
filenamestringrequired
Name given to the file by the service when storing it
original_filenamestring | nullnullablerequired
Name of the file as uploaded by the client
file_extensionstring | nullnullablerequired
Extension of the file name, in lowercase, for example pdf
upload_datedate-timerequired
Date and time of the upload
metarequired
Always null: only the paginated lists have a meta
Constant value:
nullApiUploadResponse
{
"error": 0,
"message": "string",
"data": {
"upload_id": 0,
"mimetype": "string",
"filename": "string",
"original_filename": "string",
"file_extension": "string",
"upload_date": "2024-07-29T15:51:28.071Z"
}
}