diff --git a/docs/sources/http_api/user.md b/docs/sources/http_api/user.md index 2f338f5cf30..9d06f95f87d 100644 --- a/docs/sources/http_api/user.md +++ b/docs/sources/http_api/user.md @@ -38,14 +38,22 @@ Content-Type: application/json "name": "Admin", "login": "admin", "email": "admin@mygraf.com", - "isAdmin": true + "isAdmin": true, + "isDisabled": false, + "lastSeenAt": "2020-04-10T20:29:27+03:00", + "lastSeenAtAge': "2m", + "authLabels": ["OAuth"] }, { "id": 2, "name": "User", "login": "user", "email": "user@mygraf.com", - "isAdmin": false + "isAdmin": false, + "isDisabled": false, + "lastSeenAt": "2020-01-24T12:38:47+02:00", + "lastSeenAtAge": "2M", + "authLabels": [] } ] ``` @@ -80,14 +88,22 @@ Content-Type: application/json "name": "Admin", "login": "admin", "email": "admin@mygraf.com", - "isAdmin": true + "isAdmin": true, + "isDisabled": false, + "lastSeenAt": "2020-04-10T20:29:27+03:00", + "lastSeenAtAge': "2m", + "authLabels": ["OAuth"] }, { "id": 2, "name": "User", "login": "user", "email": "user@mygraf.com", - "isAdmin": false + "isAdmin": false, + "isDisabled": false, + "lastSeenAt": "2020-01-24T12:38:47+02:00", + "lastSeenAtAge": "2M", + "authLabels": [] } ], "page": 1, @@ -127,7 +143,8 @@ Content-Type: application/json "isExternal": false, "authLabels": [], "updatedAt": "2019-09-09T11:31:26+01:00", - "createdAt": "2019-09-09T11:31:26+01:00" + "createdAt": "2019-09-09T11:31:26+01:00", + "avatarUrl": "" } ``` @@ -173,7 +190,8 @@ Content-Type: application/json "isExternal": false, "authLabels": null, "updatedAt": "2019-09-25T14:44:37+01:00", - "createdAt": "2019-09-25T14:44:37+01:00" + "createdAt": "2019-09-25T14:44:37+01:00", + "avatarUrl":"" } ``` @@ -294,12 +312,19 @@ HTTP/1.1 200 Content-Type: application/json { + "id":1, "email":"admin@mygraf.com", "name":"Admin", "login":"admin", "theme":"light", "orgId":1, - "isGrafanaAdmin":true + "isGrafanaAdmin":true, + "isDisabled":false + "isExternal": false, + "authLabels": [], + "updatedAt": "2019-09-09T11:31:26+01:00", + "createdAt": "2019-09-09T11:31:26+01:00", + "avatarUrl": "" } ```