matrix-org / matrix-org/matrix-spec

GET /pushrules/ should not require a trailing slash

Open
#457 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

AFAICT, [GET /pushrules/](https://matrix.org/docs/spec/client_server/r0.4.0.html#get-matrix-client-r0-pushrules) is our only endpoint which requires a trailing slash. We should make the slash optional imho.

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 by reading the linked Matrix Client-Server API section for GET /pushrules/ and locate the endpoint definition in the specification. Update the definition so the trailing slash is optional; done means the published specification no longer requires it.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
api, documentation
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.