getOutgoingFilesRequests

TrueConfAbout 2 min

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 files

  • fileRequestId β€” the unique identifier of a request

  • peerId - 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 name

  • size β€” File size in bytes.

  • fileId - unique file identifier on the built-in HTTP server

  • timestamp β€” the timestamp indicating when the file request was created

  • outgoingFilesRequests β€” an array of file requests

  • confId β€” 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 failure

    • 1 β€” waiting for a reply to the request

    • 2 β€” the request has been accepted; the file is being downloaded

    • 3 - request processed

  • requestId - a unique request identifier. You can find more details about it here.

See also: