-
Problem report
-
Resolution: Won't fix
-
Minor
-
None
-
4.2.6
-
None
-
Ubuntu 18.04 LTS
When querying the fields in the API, the medias response is empty (marked in orange in the response).
All users have information for media type 1 (email) and 4 (mobile number) set in frontend. All notifications by mail and mobile work fine.
This behaviour affects all userids.
Either I am missing something in the documentation, then please point to what I am missing, or indeed this is unwanted behaviour.
Best regards,
Jörg
Request:
{{{}}
"jsonrpc": "2.0",
"method": "user.get",
"params": {
"userids" : 12,
"selectMedias" : "",
"selectMediatypes" : ""
{{ }, }}
"auth": "00700627abc77ab2e963d25d64bd31e6",
"id": 1
}
Response:
{{{}}
"jsonrpc": "2.0",
"result": [
{
"userid": "12",
{{ "alias": "joerg.bartz",}}
{{ "name": "Jörg",}}
{{ "surname": "Bartz",}}
{{ "url": "",}}
{{ "autologin": "0",}}
{{ "autologout": "0",}}
{{ "lang": "en_GB",}}
{{ "refresh": "30s",}}
{{ "type": "1",}}
{{ "theme": "default",}}
{{ "attempt_failed": "0",}}
{{ "attempt_ip": "10.12.x.y",}}
{{ "attempt_clock": "1546532635",}}
{{ "rows_per_page": "50",}}
{{ "medias": [],}}
{{ "mediatypes": [}}
{{ {}}
{{ "mediatypeid": "1"}}
{{ },}}
{{ {}}
{{ "mediatypeid": "4"}}
{{ }}}
{{ ]}}
{{ }}}
],
"id": 1
}