Skip to main content

API_PREFIX

Constant API_PREFIX 

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

The prefix every built-in endpoint is nested under.

Fixed rather than configurable: every route in every project is then predictable from the outside, and the derived analytics endpoint can be stated in the documentation without qualification.