pub fn endpoints(host: &str, base: Option<&str>) -> (String, String)
Where a host’s APIs answer: api.github.com for github.com, /api/v3 on an Enterprise server; base replaces both (tests, a proxy).
api.github.com
/api/v3
base