getIncomingFilesRequests

TrueConfAbout 2 min

getIncomingFilesRequests

Description: get the list of downloaded files and new inbound file requests. v4.1.0+

Request example:

{
    "method": "getIncomingFilesRequests",
    "requestId" : "1"
}

Response example:

{
    "method": "getIncomingFilesRequests",
    "requestId" : "1",
    "incomingFilesRequests": [
        {
            "fileRequestId": "8e9dc8cc-fd65-47c0-8474-a4042bbbb395",
            "peerId": "820_1@some.server",
            "peerDn": "820_1",
            "fileName": "2.jpg",
            "size": 3200,
            "status": 1,
            "timestamp": 1659249467212
        },
        {
            "fileRequestId": "3fbbe5c1-a9c2-413e-9564-a485a018bd13",
            "peerId": "820_1@some.server",
            "peerDn": "820_1",
            "fileName": "3.png",
            "size": 7701,
            "status": 1,
            "timestamp": 1659249491211,
            "confId": "0000016f35f42ef6@some.server#vcs"
        }
    ],
    "result": true
}

Parameter description:

  • incomingFilesRequests β€” the list of requests

  • fileRequestId β€” Request identifier

  • peerId - the unique identifier of the user (TrueConf ID) who sent the file

  • peerDn β€” Display name of a user who sent a file

  • fileName β€” File name

  • size β€” File size in bytes.

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

  • confId β€” the unique identifier of the session during which the file request was made. The parameter is not included for the files sent outside group conferences.

  • 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: