Update get_home_stats API docs

This commit is contained in:
JonnyWong16 2021-03-15 14:06:17 -07:00
parent 7b920208a4
commit c0f7f1a409
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -6044,7 +6044,7 @@ class WebInterface(object):
stats_start (int) The row number of the stat item to start at, 0 stats_start (int) The row number of the stat item to start at, 0
stats_count (int): The number of stat items to return, 5 stats_count (int): The number of stat items to return, 5
stat_id (str): A single stat to return, 'top_movies', 'popular_movies', stat_id (str): A single stat to return, 'top_movies', 'popular_movies',
'top_tv', 'popular_tv', 'top_music', 'popular_music', 'top_tv', 'popular_tv', 'top_music', 'popular_music', 'top_libraries',
'top_users', 'top_platforms', 'last_watched', 'most_concurrent' 'top_users', 'top_platforms', 'last_watched', 'most_concurrent'
Returns: Returns:
@ -6096,6 +6096,10 @@ class WebInterface(object):
{"stat_id": "last_watched", {"stat_id": "last_watched",
"rows": [{...}] "rows": [{...}]
}, },
{"stat_id": "top_libraries",
"stat_type": "total_plays",
"rows": [{...}]
},
{"stat_id": "top_users", {"stat_id": "top_users",
"stat_type": "total_plays", "stat_type": "total_plays",
"rows": [{...}] "rows": [{...}]