matrix-org / matrix-org/matrix-spec
Suggestion: C-S API endpoint to test push notifications
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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