-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add a /versions endpoint #542
Conversation
@@ -92,6 +93,7 @@ def __init__(self, sydent: "Sydent", lookup_pepper: str) -> None: | |||
matrix.putChild(b"identity", identity) | |||
identity.putChild(b"api", api) | |||
identity.putChild(b"v2", v2) | |||
identity.putChild(b"versions", VersionsServlet()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a test for this endpoint wouldn't go amiss...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding one to the IS tester likely makes the most sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f9219ec
to
31f2b4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM otherwise
Thanks @clokep :) Next steps: get this deployed to matrix.org and vector.im, then the clients can start to look for it in 3-6 months (closer to 3, I think). |
We'll also want to do a release. 👍 There's a PR pending for deployment though. Will ensure it gets done once more folks are back from holidays. |
FYI this is now deployed: $ curl https://matrix.org/_matrix/identity/versions
{"versions": ["r0.1.0", "r0.2.0", "r0.2.1", "r0.3.0", "v1.1", "v1.2", "v1.3", "v1.4", "v1.5"]} |
Fixes #424.
Depends on #541.