mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[PR #886] [CLOSED] Expose total subscribers and topics in the /v1/stats api - 885 #1451
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1451
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/886
Author: @kevinlutzer
Created: 9/17/2023
Status: ❌ Closed
Base:
main← Head:kl/885📝 Commits (1)
d0898c8Expose total subscribers and topics in the /v1/stats api📊 Changes
3 files changed (+28 additions, -10 deletions)
View changed files
📝
server/server.go(+17 -2)📝
server/server_test.go(+7 -6)📝
server/types.go(+4 -2)📄 Description
Overview
I added the total subscription and topic count to the stats API
Proof of Performance
I build a dev container using

make docker-dev. Running it, I can hit the stats API to get the bellow response:Issue
https://github.com/binwiederhier/ntfy/issues/885
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.