]> cat aescling's git repositories - mastodon.git/commit
api/instances: Include the stats from the /about/more page (#4074)
authorGergely Nagy <algernon@users.noreply.github.com>
Tue, 8 Aug 2017 20:18:12 +0000 (22:18 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 8 Aug 2017 20:18:12 +0000 (22:18 +0200)
commit2ebe4ff5685ea022f8626e8917f5d6ae8b09d6e9
treec02e7a49caf76059a702906370ca0490e39733c2
parent61bfce5aa939add6829a216b4ae8e3c660d85791
api/instances: Include the stats from the /about/more page (#4074)

To be able to pull some basic statistics from a Mastodon instance, include the
user, status and connected domain counters in the `/api/v1/instance` response.

Fixes #3570.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
app/serializers/rest/instance_serializer.rb