I just updated the code for the GitHub Endpoints.
GET /v2/github/sync
Now “/v2/github/sync” is without “enforce” parameter and it works asynchronously. It returns the status code “running” or “done”.
{ "status": "running" }
POST /v2/github/{repo_key}
“/v2/github/{repo_key}” has a new parameter “file”. In the previous version this Endpoint was only able to import a Gemfile. Now it is possible to define the project file. The “file” parameter is optional. If it’s not specified the default value is “Gemfile”.
DELETE /v2/github/{repo_key}
Now “/v2/github/{repo_key}” has a “file” parameter as well. It works the same way as described for “POST /v2/github/{repo_key}”.
GET /v2/github/search
This Endpoint was removed because it was kind of redundant and out of scope. After “/v2/github/sync” you can filter down your repositories with the “GET /v2/github” Endpoint.
Let me know if you questions or suggestions to this.
One thought on “VersionEye API Updates”