The sort order. Can be either newest
, oldest
, or stargazers
.
Allowed values:newestoldeststargazerswatchers
Default:newest
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
The sort order. Can be either newest
, oldest
, or stargazers
.
Allowed values:newestoldeststargazerswatchers
Default:newest
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Minimal Repository
Example:1296269
Example:MDEwOlJlcG9zaXRvcnkxMjk2MjY5
Example:Hello-World
Example:octocat/Hello-World
Simple User
Example:https://github.com/octocat/Hello-World
Example:This your first repo!
Example:https://api.github.com/repos/octocat/Hello-World
Example:http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}
Example:http://api.github.com/repos/octocat/Hello-World/assignees{/user}
Example:http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/branches{/branch}
Example:http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}
Example:http://api.github.com/repos/octocat/Hello-World/comments{/number}
Example:http://api.github.com/repos/octocat/Hello-World/commits{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}
Example:http://api.github.com/repos/octocat/Hello-World/contents/{+path}
Example:http://api.github.com/repos/octocat/Hello-World/contributors
Example:http://api.github.com/repos/octocat/Hello-World/deployments
Example:http://api.github.com/repos/octocat/Hello-World/downloads
Example:http://api.github.com/repos/octocat/Hello-World/events
Example:http://api.github.com/repos/octocat/Hello-World/forks
Example:http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}
Example:http://api.github.com/repos/octocat/Hello-World/issues/events{/number}
Example:http://api.github.com/repos/octocat/Hello-World/issues{/number}
Example:http://api.github.com/repos/octocat/Hello-World/keys{/key_id}
Example:http://api.github.com/repos/octocat/Hello-World/labels{/name}
Example:http://api.github.com/repos/octocat/Hello-World/languages
Example:http://api.github.com/repos/octocat/Hello-World/merges
Example:http://api.github.com/repos/octocat/Hello-World/milestones{/number}
Example:http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}
Example:http://api.github.com/repos/octocat/Hello-World/pulls{/number}
Example:http://api.github.com/repos/octocat/Hello-World/releases{/id}
Example:http://api.github.com/repos/octocat/Hello-World/stargazers
Example:http://api.github.com/repos/octocat/Hello-World/statuses/{sha}
Example:http://api.github.com/repos/octocat/Hello-World/subscribers
Example:http://api.github.com/repos/octocat/Hello-World/subscription
Example:http://api.github.com/repos/octocat/Hello-World/tags
Example:http://api.github.com/repos/octocat/Hello-World/teams
Example:http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/hooks
Example:2011-01-26T19:06:43Z
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:14:43Z
A git repository
Code Of Conduct
Example:0
Example:0
Example:0
Create a fork for the authenticated user.
Note: Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact GitHub Enterprise Server Support.
Optional parameter to specify the organization name if forking into an organization.
Response
Full Repository
Example:1296269
Example:MDEwOlJlcG9zaXRvcnkxMjk2MjY5
Example:Hello-World
Example:octocat/Hello-World
Simple User
Example:https://github.com/octocat/Hello-World
Example:This your first repo!
Example:https://api.github.com/repos/octocat/Hello-World
Example:http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}
Example:http://api.github.com/repos/octocat/Hello-World/assignees{/user}
Example:http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/branches{/branch}
Example:http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}
Example:http://api.github.com/repos/octocat/Hello-World/comments{/number}
Example:http://api.github.com/repos/octocat/Hello-World/commits{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}
Example:http://api.github.com/repos/octocat/Hello-World/contents/{+path}
Example:http://api.github.com/repos/octocat/Hello-World/contributors
Example:http://api.github.com/repos/octocat/Hello-World/deployments
Example:http://api.github.com/repos/octocat/Hello-World/downloads
Example:http://api.github.com/repos/octocat/Hello-World/events
Example:http://api.github.com/repos/octocat/Hello-World/forks
Example:http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}
Example:http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}
Example:git:github.com/octocat/Hello-World.git
Example:http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}
Example:http://api.github.com/repos/octocat/Hello-World/issues/events{/number}
Example:http://api.github.com/repos/octocat/Hello-World/issues{/number}
Example:http://api.github.com/repos/octocat/Hello-World/keys{/key_id}
Example:http://api.github.com/repos/octocat/Hello-World/labels{/name}
Example:http://api.github.com/repos/octocat/Hello-World/languages
Example:http://api.github.com/repos/octocat/Hello-World/merges
Example:http://api.github.com/repos/octocat/Hello-World/milestones{/number}
Example:http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}
Example:http://api.github.com/repos/octocat/Hello-World/pulls{/number}
Example:http://api.github.com/repos/octocat/Hello-World/releases{/id}
Example:git@github.com:octocat/Hello-World.git
Example:http://api.github.com/repos/octocat/Hello-World/stargazers
Example:http://api.github.com/repos/octocat/Hello-World/statuses/{sha}
Example:http://api.github.com/repos/octocat/Hello-World/subscribers
Example:http://api.github.com/repos/octocat/Hello-World/subscription
Example:http://api.github.com/repos/octocat/Hello-World/tags
Example:http://api.github.com/repos/octocat/Hello-World/teams
Example:http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}
Example:https://github.com/octocat/Hello-World.git
Example:git:git.example.com/octocat/Hello-World
Example:http://api.github.com/repos/octocat/Hello-World/hooks
Example:https://svn.github.com/octocat/Hello-World
Example:https://github.com
Example:9
Example:80
Example:80
Example:108
Example:master
Example:0
Example:true
Example:["octocat","atom","electron","API"]
Example:true
Example:true
Example:true
Example:true
Returns whether or not this repository disabled.
The repository visibility: public, private, or internal.
Example:public
Example:2011-01-26T19:06:43Z
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:14:43Z
Example:true
A git repository
Example:true
Example:false
Example:true
Example:true
Example:42
Example:0
License Simple
Simple User
A git repository
A git repository
Whether anonymous git access is allowed.
Default:true
Code of Conduct Simple
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Webhooks for repositories.
Unique identifier of the webhook.
Example:42
The name of a valid service, use ‘web’ for a webhook.
Example:web
Determines whether the hook is actually triggered on pushes.
Example:true
Determines what events the hook is triggered for. Default: [‘push’].
Example:["push","pull_request"]
Example:2011-09-06T20:39:23Z
Example:2011-09-06T17:26:27Z
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1/test
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1/pings
Repositories can have multiple webhooks installed. Each webhook should have a unique config
. Multiple webhooks can
share the same config
as long as those webhooks do not have any events
that overlap.
Use web
to create a webhook. Default: web
. This parameter only accepts the value web
.
Key/value pairs to provide settings for this webhook. These are defined below.
Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications.
Default:true
Response
Webhooks for repositories.
Unique identifier of the webhook.
Example:42
The name of a valid service, use ‘web’ for a webhook.
Example:web
Determines whether the hook is actually triggered on pushes.
Example:true
Determines what events the hook is triggered for. Default: [‘push’].
Example:["push","pull_request"]
Example:2011-09-06T20:39:23Z
Example:2011-09-06T17:26:27Z
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1/test
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1/pings
Returns a webhook configured in a repository. To get only the webhook config
properties, see “Get a webhook configuration for a repository.”
Response
Webhooks for repositories.
Unique identifier of the webhook.
Example:42
The name of a valid service, use ‘web’ for a webhook.
Example:web
Determines whether the hook is actually triggered on pushes.
Example:true
Determines what events the hook is triggered for. Default: [‘push’].
Example:["push","pull_request"]
Example:2011-09-06T20:39:23Z
Example:2011-09-06T17:26:27Z
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1/test
Example:https://api.github.com/repos/octocat/Hello-World/hooks/1/pings