GitHub v3 REST API

Get GitHub Enterprise Server meta information

get
http://HOSTNAME/api/v3/meta

Response

application/json

Response

Api Overview

Api Overview

verifiable_password_authenticationbooleanrequired

Example:true

packagesarray[string]

Example:["13.65.0.0/16","157.55.204.33/32","2a01:111:f403:f90c::/62"]

dependabotarray[string]

Example:["192.168.7.15/32","192.168.7.16/32"]

installed_versionstring

Example:3.0.0

 
application/json

Get Octocat

Get the octocat as ASCII art

get
http://HOSTNAME/api/v3/octocat

Query Parameters

sstring

The words to show in Octocat’s speech bubble

Response

200 application/octocat-stream

Response

string
 
200 application/octocat-stream

Get the Zen of GitHub

Get a random sentence from the Zen of GitHub

get
http://HOSTNAME/api/v3/zen

Response

200 text/plain

Response

string
 
200 text/plain

orgs

Interact with GitHub Orgs.

List organizations

Lists all organizations, in the order that they were created on GitHub Enterprise Server.

Note: Pagination is powered exclusively by the since parameter. Use the Link header to get the URL for the next page of organizations.

get
http://HOSTNAME/api/v3/organizations

Query Parameters

sinceinteger

An organization ID. Only return organizations with an ID greater than this ID.

per_pageinteger

Results per page (max 100)

Default:30

Response

application/json

Response

Organization Simple

loginstringrequired

Example:github

idintegerrequired

Example:1

node_idstringrequired

Example:MDEyOk9yZ2FuaXphdGlvbjE=

urlstring(uri)required

Example:https://api.github.com/orgs/github

repos_urlstring(uri)required

Example:https://api.github.com/orgs/github/repos

events_urlstring(uri)required

Example:https://api.github.com/orgs/github/events

hooks_urlstringrequired

Example:https://api.github.com/orgs/github/hooks

issues_urlstringrequired

Example:https://api.github.com/orgs/github/issues

members_urlstringrequired

Example:https://api.github.com/orgs/github/members{/member}

public_members_urlstringrequired

Example:https://api.github.com/orgs/github/public_members{/member}

avatar_urlstringrequired

Example:https://github.com/images/error/octocat_happy.gif

descriptionstring | nullrequired

Example:A great organization

 
application/json