getOutgoingFilesRequests
getOutgoingFilesRequests
Description: get a list of outgoing files. v4.1.0+
Request example:
{
"method": "getOutgoingFilesRequests",
"requestId" : "1"
}Response example:
{
"method": "getOutgoingFilesRequests",
"requestId" : "1",
"outgoingFilesRequests": [
{
"fileRequestId": "0d99602a-82a7-4aea-9a1d-f0b612bab793",
"fileName": "2.jpg",
"status": 2,
"size": 3200,
"timestamp": 1659251271,
"peerId": "820_1@some.server",
"peerDn": "820_1",
"fileId": 346234218
},
{
"fileRequestId": "d6ee6bd5-70a2-4833-805d-cbded201c0c9",
"fileName": "2.jpg",
"status": 2,
"size": 3200,
"timestamp": 1659251384,
"confId": "000001703e81e38e@some.server#vcs",
"fileId": 346234218
}
],
"result": true
}Parameter description:
outgoingFilesRequestsβ the list of filesfileRequestIdβ the unique identifier of a requestpeerId- a unique identifier of the user (TrueConf ID). This field is not present for files sent in a group conference.peerDnβ the user's display name. The field is not included for the files sent to a group conference.fileNameβ File namesizeβ File size in bytes.fileId- unique file identifier on the built-in HTTP servertimestampβ the timestamp indicating when the file request was createdoutgoingFilesRequestsβ an array of file requestsconfIdβ the communication session identifier. The parameter is available only for the files sent in a group conference.statusβ the status of a file request. The following statuses are possible:0β Internal failure1β waiting for a reply to the request2β the request has been accepted; the file is being downloaded3- request processed
requestId- a unique request identifier. You can find more details about it here.
See also:
- Built-in HTTP server
- getFileRequestInfo
- getFileList
- getFileTransferAvailability
- sendFileToConference
- getFileTransferHistory
- clearFileTransferHistory
- deleteFileTransferFile
- sendFile
- acceptIncomingFileRequest
- rejectIncomingFileRequest
- getIncomingFilesRequests
- incomingFileRequestRejected
- incomingFileRequestAccepted
- fileRequestStatusChanged
- fileTransferAvailabilityChanged
- receivedFileRequest
- fileTransferHistoryCleared
- fileDeletedFromFileTransferHistory
- outgoingFileRequestSent
- outgoingFileRequestSentToConference
- incomingFileRequestDownloadingProgress
- outgoingFileRequestUploadingProgress