Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy load text has inconsistent url parameter notation #1982

Open
MTRNord opened this issue Oct 17, 2024 · 2 comments
Open

Lazy load text has inconsistent url parameter notation #1982

MTRNord opened this issue Oct 17, 2024 · 2 comments
Labels
spec-bug Something which is in the spec, but is wrong

Comments

@MTRNord
Copy link
Contributor

MTRNord commented Oct 17, 2024

Link to problem area: https://spec.matrix.org/v1.12/client-server-api/#lazy-loading-room-members

Issue
An image speaks more than a thousand words:
grafik

Expected behaviour
The url parameter style should be consistent across endpoints.

@MTRNord MTRNord added the spec-bug Something which is in the spec, but is wrong label Oct 17, 2024
@MTRNord
Copy link
Contributor Author

MTRNord commented Oct 17, 2024

Oh since there is possibly confusing highlighting: I am referring to <room_id> vs {roomId} as well as the snake_case vs camelCase style

@zecakeh
Copy link
Contributor

zecakeh commented Oct 26, 2024

FWIW, since I am guessing that the {roomId} "OpenAPI" style, which is used for the endpoints definitions should prevail to be consistent across the spec, there are more references to endpoints using the <id> format at least in the CS API. Searching for rooms/<room_id> and user/<user_id> should find most of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec-bug Something which is in the spec, but is wrong
Projects
None yet
Development

No branches or pull requests

2 participants