Getting Started
APIs
Snippets
Private
Sign up
Log in
Search
K
Log in
Sign up
Docs
GitHub v3 REST API
Get license information
get
http://HOSTNAME/api/v3
/enterprise/settings/license
Response
200
application/json
Response
license-info
seats
One Of
Variant 1
Variant 1
string
seats_used
integer
seats_available
One Of
Variant 1
Variant 1
string
kind
string
days_until_expiration
integer
expire_at
string
get
/enterprise/settings/license
Try It!
Path Parameters
Query Parameters
Headers
Body
Shell
200
application/json
Get all statistics
get
http://HOSTNAME/api/v3
/enterprise/stats/all
Response
200
application/json
Response
enterprise-overview
repos
object
Show Child Parameters
hooks
object
Show Child Parameters
pages
object
Show Child Parameters
orgs
object
Show Child Parameters
users
object
Show Child Parameters
pulls
object
Show Child Parameters
issues
object
Show Child Parameters
milestones
object
Show Child Parameters
gists
object
Show Child Parameters
comments
object
Show Child Parameters
get
/enterprise/stats/all
Try It!
Path Parameters
Query Parameters
Headers
Body
Shell
200
application/json
Get comment statistics
get
http://HOSTNAME/api/v3
/enterprise/stats/comments
Response
200
application/json
Response
Enterprise Comment Stats
total_commit_comments
integer
required
total_gist_comments
integer
required
total_issue_comments
integer
required
total_pull_request_comments
integer
required
get
/enterprise/stats/comments
Try It!
Path Parameters
Query Parameters
Headers
Body
Shell
200
application/json
Get gist statistics
get
http://HOSTNAME/api/v3
/enterprise/stats/gists
Response
200
application/json
Response
Enterprise Gist Stats
total_gists
integer
required
private_gists
integer
required
public_gists
integer
required
get
/enterprise/stats/gists
Try It!
Path Parameters
Query Parameters
Headers
Body
Shell
200
application/json
Get hooks statistics
get
http://HOSTNAME/api/v3
/enterprise/stats/hooks
Response
200
application/json
Response
Hooks Enterprise Stats
total_hooks
integer
required
active_hooks
integer
required
inactive_hooks
integer
required
get
/enterprise/stats/hooks
Try It!
Path Parameters
Query Parameters
Headers
Body
Shell
200
application/json