Update API docs with user is_active

This commit is contained in:
JonnyWong16 2020-04-10 00:11:43 -07:00
parent f366304c50
commit aa31bf1a19
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 8 additions and 0 deletions

4
API.md
View file

@ -2223,6 +2223,8 @@ Returns:
"do_notify": 1, "do_notify": 1,
"email": "Jon.Snow.1337@CastleBlack.com", "email": "Jon.Snow.1337@CastleBlack.com",
"friendly_name": "Jon Snow", "friendly_name": "Jon Snow",
"is_active": 1,
"is_admin": 0,
"is_allow_sync": 1, "is_allow_sync": 1,
"is_home_user": 1, "is_home_user": 1,
"is_restricted": 0, "is_restricted": 0,
@ -2423,6 +2425,7 @@ Returns:
"filter_music": "", "filter_music": "",
"filter_photos": "", "filter_photos": "",
"filter_tv": "", "filter_tv": "",
"is_active": 1,
"is_admin": 0, "is_admin": 0,
"is_allow_sync": 1, "is_allow_sync": 1,
"is_home_user": 1, "is_home_user": 1,
@ -2469,6 +2472,7 @@ Returns:
"guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en", "guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en",
"id": 1121, "id": 1121,
"ip_address": "xxx.xxx.xxx.xxx", "ip_address": "xxx.xxx.xxx.xxx",
"is_active": 1,
"keep_history": "Checked", "keep_history": "Checked",
"last_played": "Game of Thrones - The Red Woman", "last_played": "Game of Thrones - The Red Woman",
"last_seen": 1462591869, "last_seen": 1462591869,

View file

@ -1072,6 +1072,7 @@ class WebInterface(object):
"guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en", "guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en",
"id": 1121, "id": 1121,
"ip_address": "xxx.xxx.xxx.xxx", "ip_address": "xxx.xxx.xxx.xxx",
"is_active": 1,
"keep_history": "Checked", "keep_history": "Checked",
"last_played": "Game of Thrones - The Red Woman", "last_played": "Game of Thrones - The Red Woman",
"last_seen": 1462591869, "last_seen": 1462591869,
@ -1408,6 +1409,8 @@ class WebInterface(object):
"do_notify": 1, "do_notify": 1,
"email": "Jon.Snow.1337@CastleBlack.com", "email": "Jon.Snow.1337@CastleBlack.com",
"friendly_name": "Jon Snow", "friendly_name": "Jon Snow",
"is_active": 1,
"is_admin": 0,
"is_allow_sync": 1, "is_allow_sync": 1,
"is_home_user": 1, "is_home_user": 1,
"is_restricted": 0, "is_restricted": 0,
@ -5399,6 +5402,7 @@ class WebInterface(object):
"filter_music": "", "filter_music": "",
"filter_photos": "", "filter_photos": "",
"filter_tv": "", "filter_tv": "",
"is_active": 1,
"is_admin": 0, "is_admin": 0,
"is_allow_sync": 1, "is_allow_sync": 1,
"is_home_user": 1, "is_home_user": 1,