Search for repositories
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ”Keyword
Limit search to repositories with keyword as topic
Include search of keyword within repository description
Search only for repos that the user with the given id owns or contributes to
Repo owner to prioritize in the results
Search only for repos that belong to the given team id
Search only for repos that the user with the given id has starred
Include private repositories this user has access to (defaults to true)
Show only public, private or all repositories (defaults to all)
Show only template, non-template or all repositories (defaults to all)
Show only archived, non-archived or all repositories (defaults to all)
Type of repository to search for. Supported values are “fork”, “source”, “mirror” and “collaborative”
If uid is given, search only for repos that the user owns
Sort repos by attribute. Supported values are “alpha”, “created”, “updated”, “size”, “git_size”, “lfs_size”, “stars”, “forks” and “id”. Default is “alpha”
Sort order, either “asc” (ascending) or “desc” (descending). Default is “asc”, ignored if “sort” is not specified.
Page number of results to return (1-based)
Page size of results
Responses
Section titled “ Responses ”SearchResults
SearchResults results of a successful search
object
Repository represents a repository
object
ExternalTracker represents settings for external tracker
object
External Issue Tracker URL Format. Use the placeholders {user}, {repo} and {index} for the username, repository name and issue index.
External Issue Tracker issue regular expression
External Issue Tracker Number Format, either numeric, alphanumeric, or regexp
URL of external issue tracker.
ExternalWiki represents setting for external wiki
object
URL of external wiki.
Is the wiki enabled
Have wiki pages ever been created
InternalTracker represents settings for internal tracker
object
Let only contributors track time (Built-in issue tracker)
Enable dependencies for issues and pull requests (Built-in issue tracker)
Enable time tracking (Built-in issue tracker)
ObjectFormatName of the underlying git repository
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
Permission represents a set of permissions
object
RepoTransfer represents a pending repo transfer
object
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
Team represents a team in an organization
object
Organization represents an organization
object
Deprecated
object
Example
{ "data": [ { "object_format_name": "sha1", "owner": { "login_name": "empty" }, "repo_transfer": { "doer": { "login_name": "empty" }, "recipient": { "login_name": "empty" }, "teams": [ { "permission": "none", "units": [ "repo.code", "repo.issues", "repo.ext_issues", "repo.wiki", "repo.pulls", "repo.releases", "repo.projects", "repo.ext_wiki" ], "units_map": { "repo.actions": "none", "repo.code": "read", "repo.ext_issues": "none", "repo.ext_wiki": "none", "repo.issues": "write", "repo.packages": "none", "repo.projects": "none", "repo.pulls": "owner", "repo.releases": "none", "repo.wiki": "admin" } } ] } } ]}APIValidationError is error format response related to input validation
object
Example generated
{ "message": "example", "url": "example"}