Table of Contents

get_list

C → S {type:'get_list', list:…, from:…, data:…}

Request fetch of a list from central storage on the IXNX server. Lists are different types of data at a secure, central location that survives power off. Some lists has been stored by previous set_list commands, others generated by the IXNX server.

arguments:

  • list - type of data to request:
    • "call_log" - fetch the list of calls user has made
    • "msg_log" - fetch the list of chat messages user has made
  • from - addressname of sender

optional arguments:

  • data - JSON structure containing details about the data to retrieve

S → C {type:'get_list', list:…, data:…}

IXNX server will return the requested list data.

Arguments:

  • list - type of requested data
  • data - JSON structure containing the requested data (see wrtc.onList() for possible data formats)

Error

In case an unknown list has been requested IXNX server will send back:

S → C {type:'get_list', list:…, error:404, data:"Not Found"}

arguments:

  • list - type of requested data

see also

ixnx/wrtc/rtcgate/get_list.txt · Last modified: by tibor
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0