Mastodon API: push notification support #162

Open
opened 2023-08-29 20:09:18 +02:00 by VyrCossont · 0 comments
Contributor

Mastodon API clients can't register for push notifications because the Mastodon push notification API doesn't exist.

Impact: Mastodon API clients can't get push notifications.

There may not be an equivalent API for Misskey API clients either, but I don't know the Misskey API well enough to tell. There does seem to be some push notification stuff in the codebase already (start looking in push-notification.ts), but it's not well commented, half of those comments are in Japanese, and it's a pretty safe bet that it'd need a Mastodon-specific code path added to send web push notifications in the Mastodon format.

Other implementations: Besides Mastodon itself, Akkoma also supports push notifications for Mastodon API clients, while GotoSocial does not.

Mastodon API clients can't register for push notifications because [the Mastodon push notification API](https://docs.joinmastodon.org/methods/push/) doesn't exist. Impact: Mastodon API clients can't get push notifications. There may not be an equivalent API for Misskey API clients either, but I don't know the Misskey API well enough to tell. There does seem to be some push notification stuff in the codebase already (start looking in `push-notification.ts`), but it's not well commented, half of those comments are in Japanese, and it's a pretty safe bet that it'd need a Mastodon-specific code path added to send web push notifications in the Mastodon format. Other implementations: Besides Mastodon itself, Akkoma also supports push notifications for Mastodon API clients, while GotoSocial does not.
jeder added the
enhancement
label 2023-08-29 20:23:55 +02:00
zotan self-assigned this 2023-08-30 16:43:58 +02:00
zotan referenced this issue from a commit 2023-11-10 04:19:13 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: iceshrimp/iceshrimp#162
No description provided.