List a repository's forks
GET
/repos/{owner}/{repo}/forks
repository
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/repos///forks'
Response Response Example
[
{
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"archived": true,
"avatar_url": "string",
"clone_url": "string",
"created_at": "2019-08-24T14:15:22Z",
"default_branch": "string",
"default_merge_style": "string",
"description": "string",
"empty": true,
"external_tracker": {
"external_tracker_format": "string",
"external_tracker_style": "string",
"external_tracker_url": "string"
},
"external_wiki": {
"external_wiki_url": "string"
},
"fork": true,
"forks_count": 0,
"full_name": "string",
"has_issues": true,
"has_projects": true,
"has_pull_requests": true,
"has_wiki": true,
"html_url": "string",
"id": 0,
"ignore_whitespace_conflicts": true,
"internal": true,
"internal_tracker": {
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true,
"enable_time_tracker": true
},
"mirror": true,
"mirror_interval": "string",
"name": "string",
"open_issues_count": 0,
"open_pr_counter": 0,
"original_url": "string",
"owner": {
"active": true,
"avatar_url": "string",
"created": "2019-08-24T14:15:22Z",
"description": "string",
"email": "user@example.com",
"followers_count": 0,
"following_count": 0,
"full_name": "string",
"id": 0,
"is_admin": true,
"language": "string",
"last_login": "2019-08-24T14:15:22Z",
"location": "string",
"login": "string",
"prohibit_login": true,
"restricted": true,
"starred_repos_count": 0,
"visibility": "string",
"website": "string"
},
"parent": {},
"permissions": {
"admin": true,
"pull": true,
"push": true
},
"private": true,
"release_counter": 0,
"size": 0,
"ssh_url": "string",
"stars_count": 0,
"template": true,
"updated_at": "2019-08-24T14:15:22Z",
"watchers_count": 0,
"website": "string"
}
]
Request
Path Params
owner
stringÂ
required
repo
stringÂ
required
Query Params
page
integerÂ
optional
limit
integerÂ
optional