misskey
misskey copied to clipboard
API instance information counts
Summary
Hello, I was looking into https://the-federation.info/ and I noticed that none of the Misskey instance have any information on the following data:
- Users
- Last 6 months active users
- Last month active users
- Posts
- Comments
What is meant by this data is really the amount of each that is on the instance, so respectively:
- Total amount of users
- Total amount of users active during the last 6 months
- Total amount of users active during the last month
- Total amount of notes
- Total amount of replies
Providing this information either as new API endpoints, or as part of the meta/stats endpoint would be a nice idea.
I have noticed that the meta/stats endpoint seems to provide the following data, for which I have created a twin issue on their github project:
- Users
- Posts/Comments (as one)
Which is linked here: https://github.com/thefederationinfo/the-federation.info/issues/245
Kusoneko
It looks like active users count worked ok, but it now gives bad results (just 12 active users)
This could be achieved by completely populating the usage section in the nodeinfo api. misskey instances that I have looked at set both activeMonth and activeHalfyear to 'undef'. localPosts, localComments and (users) total are set to what I assume are correct values so it's half way there.