Over a million developers have joined DZone.

Github Releases New API Version

· Cloud Zone

Learn about the benefits and drawbacks of microservices with best practices for your own architecture, brought to you in partnership with Iron.io.

Using the new Github API users can manage labels, issue comments, milestones, and events.

The new API also has full support for Gists.

They’ve also made several updates to their RESTful approach:

  • URLs are simpler and more consistent: https://api.github.com/repos/github/gollum/issues.json.
  • Resources return url fields so that clients don’t have to build URLs.
  • Create/Update actions take JSON, instead of POST parameters.
  • Pagination and Rate Limiting info is returned on every applicable request.
  • JSON-P requests get a special payload with header information.

The new version of the API only supports JSON as the request and response format.

There is also a new daily cap of 5000 requests for the API.

There are still supporting API v2, and will announce deprecation plans soon.

The Cloud Zone is brought to you in partnership with Iron.io.  Learn about best practices and common pitfalls for working with Iron.io. Avoid the dead ends, and take the enlightened path.

Topics:

Published at DZone with permission of Kin Lane , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}