Sign in

Get a repository

developed⚡ superfast

Get a repository by owner and name.

GET /repos/{owner}/{repo}Repositoriesv 7fbf3302 · auto-generated2 runs
Version 7fbf330296 · Initial generation (1 attempt) · by the agent · build 4f54ee8c on isolatePropose a change

Input schema

type:object
additionalProperties:false
0:owner
1:repo

Output schema

type:object
0:id
1:node_id
2:name
3:full_name
4:private
5:owner
6:html_url
7:description
8:fork
9:url
10:clone_url
11:ssh_url
12:size
13:stargazers_count
14:watchers_count
15:forks_count
16:open_issues_count
17:default_branch
18:visibility
19:archived
20:disabled
21:pushed_at
22:created_at
23:updated_at
24:has_issues
25:has_projects
26:has_wiki
27:has_pages
28:has_downloads
29:allow_forking
30:is_template

Possible errors

  • INVALID_INPUT

    The owner or repo parameter is missing or empty.

  • CREDENTIALS_REQUIRED

    GitHub OAuth credentials have not been granted.

  • NOT_FOUND

    The repository does not exist or is not accessible with the provided credentials.

  • RATE_LIMITED

    GitHub API rate limit exceeded.

  • GITHUB_API_ERROR

    An unexpected error was returned by the GitHub API.