As per https://enterprise.github.com/help/articles/using-the-api and my own experiments, API endpoints on github enterprise are not present on some host (like api.github.com), but instead routes are prefixed with /api/v3/ against base hosts.
Thus, initializing githubApi with host: "custom.tld" does not work.
As per https://enterprise.github.com/help/articles/using-the-api and my own experiments, API endpoints on github enterprise are not present on some host (like api.github.com), but instead routes are prefixed with
/api/v3/
against base hosts.Thus, initializing githubApi with
host: "custom.tld"
does not work.