matrix-org / matrix-org/matrix-spec
Missing pushrules endpoints
Open
@anoadragon453 is already working on this.
Since Jul 17, 2019.
A-Client-Server
spec-omission
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
The spec currently has the following endpoints defined for push rules: https://matrix.org/docs/spec/client_server/unstable#id483
However, both `GET /r0/pushrules/{scope}/{kind}` and `GET /r0/pushrules/{scope}/` are missing from this list, and are used in Synapse: https://github.com/matrix-org/sytest/blob/8c1761808b7f50e9f7448b56abfaf516a8ea177c/tests/61push/02add_rules.pl#L34-L42
They are used to indicate not filtering on a specific ruleID or kind/ruleID pair.
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.
Assessment
This issue has not been assessed yet.