Skip to main content

API_PREFIX

Constant API_PREFIX 

Source
pub const API_PREFIX: &str = "/v1";
Expand description

The path every endpoint of protocol version 1 lives under.

A later major version of the protocol gets a path of its own, so a relay can serve two versions while its clients move from one to the other.