Interface GitHub::RepositoryOwner

Represents an owner of a Repository.

Fields

avatarUrl(size: Int): URI!

A URL pointing to the owner's public avatar.

Args

size: Int

The size of the resulting square image.

id: ID!

login: String!

The username used to login.

repositories(privacy: RepositoryPrivacy, orderBy: RepositoryOrder, affiliations: [RepositoryAffiliation], ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR], isLocked: Boolean, after: String, before: String, first: Int, last: Int, isFork: Boolean): RepositoryConnection!

A list of repositories that the user owns.

Args

privacy: RepositoryPrivacy

If non-null, filters repositories according to privacy

orderBy: RepositoryOrder

Ordering options for repositories returned from the connection

affiliations: [RepositoryAffiliation]

Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.

ownerAffiliations: [RepositoryAffiliation] = [OWNER, COLLABORATOR]

Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.

isLocked: Boolean

If non-null, filters repositories according to whether they have been locked

after: String

Returns the elements in the list that come after the specified cursor.

before: String

Returns the elements in the list that come before the specified cursor.

first: Int

Returns the first n elements from the list.

last: Int

Returns the last n elements from the list.

isFork: Boolean

If non-null, filters repositories according to whether they are forks of another repository

repository(name: String!): Repository

Find Repository.

Args

name: String!

Name of Repository to find.

resourcePath: URI!

The HTTP URL for the owner.

url: URI!

The HTTP URL for the owner.

Possible Types

Organization

User

Uses

Gist.owner

PullRequest.headRepositoryOwner

Query.repositoryOwner

Repository.owner

RepositoryInfo.owner