From 7dfd063138c4c1c5e1a6c4287e066ab40c257bf0 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Tue, 18 Aug 2015 12:36:10 -0700 Subject: [PATCH] Update documentation for home stats --- data/interfaces/default/home_stats.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/interfaces/default/home_stats.html b/data/interfaces/default/home_stats.html index 5c54d771..b4b9e600 100644 --- a/data/interfaces/default/home_stats.html +++ b/data/interfaces/default/home_stats.html @@ -9,7 +9,8 @@ Variable names: data [array] data[array_index] :: Usable parameters -data['stat_id'] Returns the name of the stat. Either 'top_tv', 'popular_tv', 'top_user' or 'top_platform' +data['stat_id'] Returns the name of the stat. Either 'top_tv', 'top_movies', 'popular_tv', 'popular_movies', 'top_user' or 'top_platform' +data['stat_type'] Returns the type of the stat. Either 'total_plays' or 'total_duration' data['rows'] Returns an array containing stat data data[array_index]['rows'] :: Usable parameters