mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #1392] [CLOSED] FEAT : add get topic subscribers endpoint #1590
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#1590
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/1392
Author: @MohamedElbashar
Created: 7/17/2025
Status: ❌ Closed
Base:
main← Head:get-topic-subscribers-endpoint📝 Commits (1)
9ca2c32FEAT : add get topic subscribers endpoint📊 Changes
2 files changed (+47 additions, -0 deletions)
View changed files
📝
server/server.go(+40 -0)📝
server/types.go(+7 -0)📄 Description
ntfy Subscriber Endpoint Implementation
Overview
This implementation adds a new REST API endpoint to ntfy that allows you to check if a topic has active subscribers and get real-time connectivity information between topics and consumers.
New Feature Added
Endpoint:
GET /v1/topics/{topic}/subscribersThis endpoint returns real-time information about whether anyone is currently subscribed to a specific topic, enabling you to verify connectivity before sending important notifications.
Check if anyone is subscribed to a topic:
Response format:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.