feat: add podcasting metrics to NodeInfo2 route
Is your feature request related to a problem? Please describe
The nodeInfo2 route lacks relevant data pertaining to podcasting, it only serves the basic instance info.
Describe the solution you'd like
The nodeInfo2 route should expose relevant podcasting metrics. Eg. number of podcasts, number of episodes, total episodes duration, episode publication frequency, etc.
Describe alternatives you've considered
--
Additional context
What is currently showing:
{
"version": "1.0",
"server": {
"baseUrl": "https://lespoesiesdheloise.fr",
"name": "Les Poésies d’Héloïse",
"software": "Castopod",
"version": "1.0.0-beta.15"
},
"protocols": [
"activitypub"
],
"openRegistrations": false,
"usage": {
"users": {
"total": 1,
"activeMonth": 1,
"activeHalfyear": 1
},
"localPosts": 1
}
}
Edited by Yassine Doghri