Skip to content
New issue

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

API token's for GET requets to Appveyor API #613

Open
sckott opened this issue May 8, 2019 · 1 comment
Open

API token's for GET requets to Appveyor API #613

sckott opened this issue May 8, 2019 · 1 comment

Comments

@sckott
Copy link

sckott commented May 8, 2019

This is regardint this page of the API docs: https://github.com/appveyor/website/blob/master/src/docs/api/index.md

I maintain a Ruby gem for the Appveyor API. Someone suggested that we don't need tokens for GET requests to the API sckott/veyor#8 but in your docs. you say every request should have an API token. It does seem that GET requests still work without an API key, but what is best practice? Do you prefer every request have a token, and is the response any different if a token is included?

@IlyaFinkelshteyn
Copy link
Contributor

IlyaFinkelshteyn commented May 9, 2019

Without token it will work only for Get requests to public projects (connected to the OSS repos). Any other requests to public projects and any requests to private projects do require API token. Therefore I would require it in any case to avoid confusion, but it is up to you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants