INTERFACE
RepositoryOwner
Represents an owner of a Repository.
link GraphQL Schema definition
- interface RepositoryOwner {
- # A URL pointing to the owner's public avatar.
- #
- # Arguments
- # size: The size of the resulting square image.
- Int): String! ( :
- # Find gist by repo name.
- #
- # Arguments
- # name: The gist name to find.
- String!): Gist ( :
- # A list of the Gists the user has created.
- #
- # Arguments
- # first: Returns the first _n_ elements from the list.
- # after: Returns the elements in the list that come after the
- # specified global ID.
- # last: Returns the last _n_ elements from the list.
- # before: Returns the elements in the list that come before the
- # specified global ID.
- # visibility: Allows filtering by gist visibility.
- (
- Int, :
- String, :
- Int, :
- String, :
- GistVisibility :
- ): GistConnection!
- ID! :
- # The username used to login.
- String! :
- # The HTTP url for the owner.
- URI! :
- # A list of repositories that the user owns.
- #
- # Arguments
- # first: Returns the first _n_ elements from the list.
- # after: Returns the elements in the list that come after the
- # specified global ID.
- # last: Returns the last _n_ elements from the list.
- # before: Returns the elements in the list that come before the
- # specified global ID.
- # privacy: If non-null, filters repositories according to privacy
- # isFork: If non-null, filters repositories according to whether
- # they are forks of another repository
- # orderBy: Ordering options for repositories returned from the
- # connection
- # affiliation: Affiliation options for repositories returned from
- # the connection
- # isLocked: If non-null, filters repositories according to
- # whether they have been locked
- (
- Int, :
- String, :
- Int, :
- String, :
- RepositoryPrivacy, :
- Boolean, :
- RepositoryOrder, :
- RepositoryAffiliation], : [
- Boolean :
- ): RepositoryConnection!
- # Find Repository.
- #
- # Arguments
- # name: Name of Repository to find.
- String!): Repository ( :
- # The HTTP url for the owner.
- URI! :
- }
link Require by
- GistA Gist.
- OrganizationAn account on GitHub, with one or more owners, that has repositories, members and teams.
- PullRequestA repository pull request.
- QueryThe query root of GitHub's GraphQL interface.
- RepositoryA repository contains the content for a project.
- RepositoryInfoA subset of repository info.
- RepositoryInvitationRepositoryA subset of repository info shared with potential collaborators.
- UserA user is an individual's account on GitHub that owns repositories and can make new content.