Your masjid · Statistics
Your One statistics
How your masjids do in the Masjidbox One app: followers, follows, searches and the devices your notifications reached.
Right on the key: Statistics: read for a read, edit (secret key) for a write.
Your One statistics
GET/v1/masjid/stats/one
Your masjids' figures in the Masjidbox One app: followers now, follows, searches, donation-page opens, notifications sent and the devices they reached. Needs Statistics: read.
Parameters
No parameters.
Returns
The statistics.
objectone_statsAlways
one_stats.masjidsstring[]Your organization's masjids.
statsobject[]One line per masjid of your organization.
Show child attributes (13)
masjidstringA masjid of your organization.
followersintegerDevices following the masjid now; 0 when One does not answer.
followsintegerTimes the masjid was followed.
searchesintegerTimes the masjid came up in a One search.
donationClicksintegerTimes its donation page was opened from One.
notificationsintegerNotifications sent for it.
notificationsDeliveredobjectDevices reached by those notifications, per wave.
notificationsDelivered.followersobjectFollowers reached.
notificationsDelivered.followers.iosintegeriOS devices reached.
notificationsDelivered.followers.androidintegerAndroid devices reached.
notificationsDelivered.nearbyobjectDevices nearby reached.
notificationsDelivered.nearby.iosintegeriOS devices reached.
notificationsDelivered.nearby.androidintegerAndroid devices reached.
Errors
curl "https://hub.masjidbox.com/v1/masjid/stats/one" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"masjids": [
"msj_o5urjd3hd5"
],
"object": "one_stats",
"stats": [
{
"donationClicks": 4,
"followers": 512,
"follows": 120,
"masjid": "msj_o5urjd3hd5",
"notifications": 3,
"notificationsDelivered": {
"followers": {
"android": 21,
"ios": 10
},
"nearby": {
"android": 2,
"ios": 1
}
},
"searches": 900
}
]
}