Add web API support for querying remote repositories.
Review Request #5917 — Created June 2, 2014 and submitted — Latest diff uploaded
This adds a new child resource off the HostingServiceAccount resource
for querying remote repositories.Since every hosting service works differently, this resource needs to
take different query parameters depending on the hosting service it's
querying. Specifically, theowner-type=
andfilter-type=
values.
Tested this with valid and invalid repositories on GitHub.
Tested different possible values for
owner_type
andfilter_type
.Unit tests pass.
Built docs and saw that they looked correct (though, examples and links
have to be turned off, since we don't have DB-backed state to generate
from).