D2834: wireproto: support /api/* URL space for exposing APIs
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Mon Mar 19 19:37:20 EDT 2018
indygreg added a comment.
So, assuming we can't introduce new top-level URLs without risking conflicts with subrepos or hgwebdir virtual repos, for at least the wire protocol, assuming we keep the `?cmd=capabilities` mechanism for the initial server handshake, we can add something that defines where API requests should be routed. We can then allow server operators to reconfigure the base URL for these requests.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2834
To: indygreg, #hg-reviewers
Cc: mharbison72, mercurial-devel
More information about the Mercurial-devel
mailing list