File CRUD and repository statistics now available in the API

Today we’re happy to announce two big additions to our API: File CRUD and Repository Statistics.


The repository contents API has allowed reading files for a while. Now you can easily commit changes to single files, just like you can in the web UI.

Starting today, these methods are available to you:

Repository Statistics

We’re using the repository statistics API to power our graphs, but we can’t wait to see what others do with this information.

Starting today, these resources are available to you:


Have feedback on this post? Let @github know on Twitter.
Need help or found a bug? Contact us.



Discover new ways to build better

Try Marketplace apps free for 14 days

Learn more