chiark / gitweb /
Decentralise version component of API URLs.
authorSimon Tatham <anakin@pobox.com>
Tue, 2 Jan 2024 07:01:41 +0000 (07:01 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 2 Jan 2024 17:30:18 +0000 (17:30 +0000)
commit27f95acb4505b731bf3d592129137a4d4a2591b0
treea837f5b2a67e5785a56f6bed5a291ab602f0ca3a
parent7cefe1dfa8736865d9be2e3f177340bcf0d696e9
Decentralise version component of API URLs.

I thought it was /api/v1/whatever, but I've just realised that it's
actually /api/v2/instance in particular. _That's_ why I keep seeing
"uri" from some servers and "domain" from others: if I requested the
up-to-date version of the record, it would agree on "domain".
src/client.rs
src/types.rs