matrix-org / matrix-org/matrix-spec

Suggestion: C-S API endpoint to test push notifications

Open
#1,716 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-Client-Server A-Push enhancement
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

When making a notification test, the notification is issued by the client side. It would make sense to have it issued by the homeserver side in order to be closer to the real notification process.
That might be made by adding to the client-server-api for push notif (https://spec.matrix.org/v1.9/client-server-api/#client-behaviour-11) the endpoint `POST /_matrix/client/v3/pushers/test` with the request body containing `app_id`.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Matrix client-server API section on client behavior and review the surrounding pusher endpoint definitions in the specification. Determine the expected request and server-side notification behavior, then confirm that the endpoint is fully specified and consistent with the existing API.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.