Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 3.94 KB

File metadata and controls

69 lines (49 loc) · 3.94 KB

API

GitHub

Repository Querying Routes

The following routes are used to query information about GitHub repositories.

Method Route Description
GET /github/repositories Get all GitHub repositories.
GET /github/repositories/num Get the number of GitHub repositories.
GET /github/repositories/num/year Get the number of GitHub repositories per year.
GET /github/repositories/counts Get the counts of GitHub repositories by feature.
GET /github/repositories/{id} Get information about a particular GitHub repository.

Language Querying Routes

The following routes are used to query information about the languages that are used in GitHub repositories.

Method Route Description
GET /github/repositories/languages Get a list of the languages used in GitHub repositories.
GET /github/repositories/languages/counts Get the number of GitHub repositories by langauge.
GET /github/repositories/languages/counts/year Get the number of GitHub repositories in each language by year.

License Querying Routes

The following routes are used to query information about the licenses that are used in GitHub repositories.

Method Route Description
GET /github/repositories/licenses Get a list of the licenses used in the GitHub repositories.
GET /github/repositories/licenses/counts Get the number of GitHub repositories by license.
GET /github/repositories/licenses/counts/year Get the number of GitHub repositories with each license by year.

GitLab

Project Querying Routes

The following routes are used to query information about GitLab projects.

Method Route Description
GET /gitlab/projects Get all GitLab projects.
GET /gitlab/projects/num Get the number of GitLab projects.
GET /gitlab/projects/num/year Get the number of GitLab projects per year.
GET /gitlab/projects/counts Get the counts of GitLab projects by feature.
GET /gitlab/projects/{id} Get information about a particular GitLab project.

Language Querying Routes

The following routes are used to query information about the languages that are used in GitLab projects.

Method Route Description
GET /gitlab/projects/languages Get a list of the languages used in GitLab projects.
GET /gitlab/projects/languages/counts Get the number of GitLab projects by langauge.
GET /gitlab/projects/languages/counts/year Get the number of GitLab projects in each language by year.

License Querying Routes

The following routes are used to query information about the licenses that are used in GitLab projects.

Method Route Description
GET /gitlab/projects/licenses Get a list of the licenses used in GitLab projects.
GET /gitlab/projects/licenses/counts Get the number of GitLab projects by license.
GET /gitlab/projects/licenses/counts/year Get the number of GitLab projects with each license by year.