Skip to content

Support for discovering API endpoints via .well-known URIs (SPEC-121) #433

@matrixbot

Description

@matrixbot

Documentation: https://docs.google.com/document/d/1OdEj06qA7diURofyonIMgTR3fB_pWf12Txye41qd-U4/edit, https://docs.google.com/document/d/1vF-uWlUYmf1Xo161m871H1upJbwiIPeikWGWzaE_lrU/edit#
Author: @maxidor, others
Shepherd: @uhoreg
PRs: #1359

We have several reasons why we might want to use .well-known URIs to discover API endpoints:

  • Clients which can't query SRV records (e.g. webclients trying to discover the C-S API for a given user ID's domain)
  • Admins who don't want to use the /_matrix convention, and adhere to RFC5785 instead
  • Admins who can't create SRV records
  • Dynamic .well-known URIs to help discover nomadic homeservers

See also SYWEB-224 and SYN-167

We should just get on and do it. Unsure whether SRV should trump .well-known URIs or not for server-server traffic.

(Imported from https://matrix.org/jira/browse/SPEC-121)

(Reported by @ara4n)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureSuggestion for a significant extension which needs considerable considerationkind:featureMSC for not-core and not-maintenance stuffmergedA proposal whose PR has merged into the spec!p1proposalA matrix spec change proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions