GitHub v3 REST API

Get license information

get
{protocol}://{hostname}/api/v3/enterprise/settings/license

Response

200 application/json

Response

license-info

seatsOne Of
Variant 1string
seats_usedinteger
seats_availableOne Of
Variant 1string
kindstring
days_until_expirationinteger
expire_atstring
get/enterprise/settings/license
 
200 application/json

Get all statistics

get
{protocol}://{hostname}/api/v3/enterprise/stats/all

Response

200 application/json

Response

enterprise-overview

reposobject
Show Child Parameters
hooksobject
Show Child Parameters
pagesobject
Show Child Parameters
orgsobject
Show Child Parameters
usersobject
Show Child Parameters
pullsobject
Show Child Parameters
issuesobject
Show Child Parameters
milestonesobject
Show Child Parameters
gistsobject
Show Child Parameters
commentsobject
Show Child Parameters
get/enterprise/stats/all
 
200 application/json

Get comment statistics

get
{protocol}://{hostname}/api/v3/enterprise/stats/comments

Response

200 application/json

Response

Enterprise Comment Stats

total_commit_commentsintegerrequired
total_gist_commentsintegerrequired
total_issue_commentsintegerrequired
total_pull_request_commentsintegerrequired
get/enterprise/stats/comments
 
200 application/json

Get gist statistics

get
{protocol}://{hostname}/api/v3/enterprise/stats/gists

Response

200 application/json

Response

Enterprise Gist Stats

total_gistsintegerrequired
private_gistsintegerrequired
public_gistsintegerrequired
get/enterprise/stats/gists
 
200 application/json

Get hooks statistics

get
{protocol}://{hostname}/api/v3/enterprise/stats/hooks

Response

200 application/json

Response

Hooks Enterprise Stats

total_hooksintegerrequired
active_hooksintegerrequired
inactive_hooksintegerrequired
get/enterprise/stats/hooks
 
200 application/json