matrix-org / matrix-org/matrix-spec

Missing pushrules endpoints

Open
#508 0 comments 0 reactions 1 assignee View on GitHub

@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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.