Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 783 Bytes

File metadata and controls

40 lines (32 loc) · 783 Bytes
name example route scope type
Get a repository
octokit.rest.repos.get({ owner, repo })
GET /repos/{owner}/{repo}
repos
API method

Get a repository

The parent and source objects are present when the repository is a fork. parent is the repository this repository was forked from, source is the ultimate source for the network.

octokit.rest.repos.get({
  owner,
  repo,
});

Parameters

name required description
owneryes
repoyes

See also: GitHub Developer Guide documentation.