How to search using Github API with enterprise -
i'm trying search through repositories, can't seem figure out github enterprise edition. have tried next no results. suggestions?
curl -i http://my.domain.com/api/v3/repositories "if-modified-since: mon, 16 jun 2014 01:01:01 cst" curl -i http://my.domain.com/api/v3/search/repos?q=pushed:2014-06-17 http/1.1 404 not found server: github.com date: wed, 18 jun 2014 16:45:58 gmt content-type: application/json; charset=utf-8 connection: keep-alive status: 404 not found x-github-media-type: github.beta x-content-type-options: nosniff content-length: 29 access-control-allow-credentials: true access-control-expose-headers: etag, link, x-ratelimit-limit, x-ratelimit-remaining, x- ratelimit-res et, x-oauth-scopes, x-accepted-oauth-scopes access-control-allow-origin: * x-github-request-id: b4eec0e7-1b1a-48b7-81d8-d63c28b55b37 { "message": "not found" }
one of nice things of github's api both public , enterprise, if go api root, tell endpoints available. on enterprise instance is: http://my.domain.com/api/v3/. looking @ company's enterprise instance (sorry not sure of version), see legacy search api endpoints.
as result: http://my.domain.com/api/v3/legacy/repos/search/pushed:2014-06-17 search url wanting.
github github-api
No comments:
Post a Comment