Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

New endpoints - Mainlining #283

Closed
guillaumevillemont opened this issue Jul 1, 2022 · 2 comments
Closed

New endpoints - Mainlining #283

guillaumevillemont opened this issue Jul 1, 2022 · 2 comments

Comments

@guillaumevillemont
Copy link

guillaumevillemont commented Jul 1, 2022

Doing some tests on Dev env (mainlined synapse), I got some weird issues which are related to changing endpoints.
From mainlining documentation :

The endpoints changing are:
/_matrix/client/unstable/users/info -> /_matrix/client/v1/account_status
The new request format is described in MSC3720
In addition to the MSC, the endpoint also returns an org.matrix.expired field for each user (if the user exists) that indicates whether the user is expired
/_matrix/client/unstable/account_validity/* -> /_synapse/client/email_account_validity/*
The request format does not change
/_synapse/admin/v1/account_validity/validity -> /_synapse/client/email_account_validity/admin
The request format does not change
Not sure if used directly by clients
/_matrix/client/unstable/account/3pid/lookup (and equivalent bulk_lookup)
Replaced with v2 identity API (see the Matrix specification for more details)
/_matrix/client/versions
No change in the route
m.lazy_load_members should not be relied on to figure out whether the homeserver supports lazy-loading. The mention of r0.5.0 or more recent versions of the Matrix specification in the response must be used instead.

source: https://docs.google.com/document/d/1vzjZgauLAMvsjVUdxLnqYkqf2GHKZcQupooEVutfmVA/edit?pli=1#heading=h.hl9xdcqvj2py

@guillaumevillemont guillaumevillemont added the web tchap-web label Jul 1, 2022
@guillaumevillemont
Copy link
Author

FTR, the error I faced was a bug in mainlined synapse. But issue is still relevant when we will move out from "mainlined" (with backported route) and go 100% upstream.
I'll keep it open, but this is just Not urgent (yet).

@mcalinghee
Copy link
Contributor

I am going to close this issue : we have reported the API changes and moved them into individual issues.
Those issues have been grouped in and will be addressed separately :

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants