Notify_props missing


no ‘notify_props’ in API resp.

Steps to reproduce

curl -i -H ‘Authorization: Bearer xibsunqqdjgnxrb7dpskgtjyoe’ http://localhost:8065/api/v4/users/username/dmitriy_...n

Expected behavior

Expecting to get all details with ‘notify_props’ section
“id”: “string”,
“create_at”: 0,


“roles”: “string”,
“locale”: “string”,
“notify_props”: {
“email”: “string”,
“push”: “string”,
“desktop”: “string”,
“desktop_sound”: “string”,
“mention_keys”: “string”,
“channel”: “string”,
“first_name”: “string”
“props”: {},
“last_password_update”: 0,
“last_picture_update”: 0,
“failed_attempts”: 0,
“mfa_active”: true

Observed behavior

HTTP/1.1 200 OK
Content-Type: application/json
Etag: 5.0.0.buqskqrwmjnhfgmpg83sx3o4ca.1529252455250.true.true
Expires: 0
X-Request-Id: bfdq633yijyu8dyxrzgietak9r
Date: Sun, 17 Jun 2018 16:34:45 GMT
Content-Length: 494

“roles”:“system_user system_admin”,

Hi @dmittr,

Those fields should be set if you’re logged in as a system administrator or as the user that you’re requesting, but it looks like those aren’t set when using the /users/username route, so I’ll file a bug for that.

In the meantime, you can get the notify_props for the current user using the /api/v4/users/me route

Edit: Here’s the ticket: