OBJECT
Organization
An account on GitHub, with one or more owners, that has repositories, members and teams.
link GraphQL Schema definition
- type Organization implements Node, ProjectOwner, RepositoryOwner, UniformResourceLocatable {
- # A URL pointing to the organization'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! :
- # A list of users who are members of this organization.
- #
- # 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.
- Int, : String, : Int, : String): UserConnection! ( :
- # The organization's public profile name.
- String! :
- # The HTTP path for this user
- URI! :
- # Find project by number.
- #
- # Arguments
- # number: The project number to find.
- Int!): Project ( :
- # A list of projects under the owner.
- #
- # 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.
- # orderBy: Ordering options for projects returned from the
- # connection
- # search: Query to search projects by, currently only searching
- # by name.
- # states: A list of states to filter the projects by.
- (
- Int, :
- String, :
- Int, :
- String, :
- ProjectOrder, :
- String, :
- ProjectState!] : [
- ): ProjectConnection!
- # The HTTP path listing organization's projects
- URI! :
- # The HTTP url listing organization's projects
- 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 ( :
- # Find an organization's team by its slug.
- #
- # Arguments
- # slug: The name or slug of the team to find.
- String): Team ( :
- # A list of teams in this organization.
- #
- # 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 teams according to privacy
- # role: If non-null, filters teams according to whether the
- # viewer is an admin or member on team
- # query: If non-null, filters teams with query on team name and
- # team slug
- # orderBy: Ordering options for teams returned from the
- # connection
- (
- Int, :
- String, :
- Int, :
- String, :
- TeamPrivacy, :
- TeamRole, :
- String, :
- TeamOrder :
- ): TeamConnection!
- # The HTTP path listing organization's teams
- URI! :
- # The HTTP url listing organization's teams
- URI! :
- # The HTTP url for this user
- URI! :
- # Can the current viewer create new projects on this owner.
- Boolean! :
- # Viewer can create repositories on this organization
- Boolean! :
- }