GitHub API: Moving On
API v3 has been in place for nearly a year. We’ve seen a large increase in the amount of API consumers and have ambitious future plans for it. However, at…
API v3 has been in place for nearly a year. We’ve seen a large increase in
the amount of API consumers and have ambitious future plans for it. However,
at some point we have to let the old code go. A single codebase will allow
us to provide a more reliable and secure API.
We will terminate API v1 and API v2 in 1 month on June 1st, 2012. (Note: The date was pushed back a month from the original date).
For those that depend on the API, we’re setting up a @githubapi Twitter account
for announcements. You can also follow changes to the API documentation
on its Git repository.
The motto for API v3 has been: “it’s not shipped if it’s not documented”.
Notable Changes for API v3
- Versioning is done through a custom GitHub mime type.
We’re currently planning for the first API v3 mime type version change due to
some incompatible tweaks to the output JSON. - Basic auth with tokens is not supported. You can create OAuth tokens for
internal scripts through the Authorizations API.
The benefit here is you can set OAuth scopes per token, and even attach notes
to tell you what function they’re serving.
Feedback
Let us know through support@github.com or our
Contact form if API v3 is missing features that
you depend on for API v2. If you have a friend or Nagios alert that’s using API
v2, be sure to let them know too.
Written by
Related posts
The top 10 gifts for the developer in your life
Whether you’re hunting for the perfect gift for your significant other, the colleague you drew in the office gift exchange, or maybe (just maybe) even for yourself, we’ve got you covered with our top 10 gifts that any developer would love.
Congratulations to the winners of the 2024 Gaady Awards
The Gaady Awards are like the Emmy Awards for the field of digital accessibility. And, just like the Emmys, the Gaadys are a reason to celebrate! On November 21, GitHub was honored to roll out the red carpet for the accessibility community at our San Francisco headquarters.
Students: Start building your skills with the GitHub Foundations certification
The GitHub Foundations Certification exam fee is now waived for all students verified through GitHub Education.