From aa31bf1a191c0d4b58262002f42c3796c361963d Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Fri, 10 Apr 2020 00:11:43 -0700 Subject: [PATCH] Update API docs with user is_active --- API.md | 4 ++++ plexpy/webserve.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/API.md b/API.md index ae147c46..41153114 100644 --- a/API.md +++ b/API.md @@ -2223,6 +2223,8 @@ Returns: "do_notify": 1, "email": "Jon.Snow.1337@CastleBlack.com", "friendly_name": "Jon Snow", + "is_active": 1, + "is_admin": 0, "is_allow_sync": 1, "is_home_user": 1, "is_restricted": 0, @@ -2423,6 +2425,7 @@ Returns: "filter_music": "", "filter_photos": "", "filter_tv": "", + "is_active": 1, "is_admin": 0, "is_allow_sync": 1, "is_home_user": 1, @@ -2469,6 +2472,7 @@ Returns: "guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en", "id": 1121, "ip_address": "xxx.xxx.xxx.xxx", + "is_active": 1, "keep_history": "Checked", "last_played": "Game of Thrones - The Red Woman", "last_seen": 1462591869, diff --git a/plexpy/webserve.py b/plexpy/webserve.py index a8e87aa4..c1618777 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -1072,6 +1072,7 @@ class WebInterface(object): "guid": "com.plexapp.agents.thetvdb://121361/6/1?lang=en", "id": 1121, "ip_address": "xxx.xxx.xxx.xxx", + "is_active": 1, "keep_history": "Checked", "last_played": "Game of Thrones - The Red Woman", "last_seen": 1462591869, @@ -1408,6 +1409,8 @@ class WebInterface(object): "do_notify": 1, "email": "Jon.Snow.1337@CastleBlack.com", "friendly_name": "Jon Snow", + "is_active": 1, + "is_admin": 0, "is_allow_sync": 1, "is_home_user": 1, "is_restricted": 0, @@ -5399,6 +5402,7 @@ class WebInterface(object): "filter_music": "", "filter_photos": "", "filter_tv": "", + "is_active": 1, "is_admin": 0, "is_allow_sync": 1, "is_home_user": 1,