We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So github enterprise would have a unique URL such as
https://my_company.com/api/v3/[normal_request_header]
Should be an easy feature if not already there to add support to pass a custom URL as an argument to support Github Enterprise
The text was updated successfully, but these errors were encountered:
The baseUrl option allows you specifying a custom URL for GitHub Enterprise support: https://github.com/octokit/rest.js#client-options
baseUrl
Do you mind creating a pull request to add a --baseurl option?
--baseurl
It might look something like this:
program .option('--baseurl <baseurl>', 'API endpoint', 'https://api.github.com')
const octokit = new Octokit({ baseUrl: program.baseurl, // other options });
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
So github enterprise would have a unique URL such as
https://my_company.com/api/v3/[normal_request_header]
Should be an easy feature if not already there to add support to pass a custom URL as an argument to support Github Enterprise
The text was updated successfully, but these errors were encountered: