| CARVIEW |
Subject: API Updates 10 May 2010
I pushed out a few updates to the API today:
Source/Parent Keys on Repositories
Now when you access a repository, you can see the source and parent repos too. The parent is the repository that the current one was directly forked from. The source is the original repository at the top of the pyramid.
$ curl https://github.com/api/v2/yaml/repos/show/emk/mephisto
---
repository:
:name: mephisto
:owner: emk
:source: halorgium/mephisto
:parent: technoweenie/mephisto
Search Repositories by Language
You can now filter your Repository searches with the
?language parameter. You need to use the capitalized
format of the language name ("Ruby", not "ruby"). Refer to the
language drop down on the search
page if you're confused.
You can also search past the first page by passing a
?start_page parameter.
$ curl https://github.com/api/v2/yaml/repos/search/ruby+testing?start_page=2
$ curl https://github.com/api/v2/yaml/repos/search/ruby+testing?language=Ruby
Searching Users by Email
The docs for the user email search were just added. You can search for emails if the user has added it to their public profile:
$ curl -i https://github.com/api/v2/xml/user/email/user@email.com
2 people watching.
-
New Issue
-
Conversation Started
The GitHub staff has started a conversation to resolve this discussion.
-
Resolve the discussion Resolve the discussion
Private Permissions
This discussion is private. Only you and GitHub support staff can see and reply to it.
Recent Discussions
| 20 May, 2010 11:53 PM | Not able to create free account | |
| 20 May, 2010 10:28 PM | forking taking a Very Long Time. | |
| 20 May, 2010 09:19 PM | New language recognition in GitHub parsers. | |
| 20 May, 2010 09:14 PM | Another issue with forking | |
| 20 May, 2010 08:36 PM | Not seeing my collaborators' commits on my dashboard. |
| 20 May, 2010 08:28 PM | error: RPC failed; result=22, HTTP code = 411 | |
| 20 May, 2010 08:18 PM | Fork stalled | |
| 20 May, 2010 08:09 PM | Log-in creating issue | |
| 20 May, 2010 08:07 PM | Unread message counter is not working right | |
| 20 May, 2010 08:04 PM | repo classified as perl while it is ruby |
Tender™ is an entp production.
Hosting provided by Engine Yard
2 Posted by Henrik on 11 May, 2010 12:23 PM
When doing a search on a user email and that email isnt found the returned content is HTML and not XML.
Support Staff 3 Posted by technoweenie on 11 May, 2010 07:19 PM
I just noticed that. I think nginx is hijacking the response and sending the HTML template.