Interface GitHubOrganization

Represents a GitHub organization.

interface GitHubOrganization {
    avatar_url: string;
    created_at: string;
    description: null | string;
    followers: number;
    following: number;
    html_url: string;
    id: number;
    is_verified?: boolean;
    login: string;
    members_count?: number;
    name: null | string;
    public_gists: number;
    public_repos: number;
    repos_url: string;
    total_private_repos?: number;
    type: "Organization";
    updated_at: string;
}

Properties

avatar_url: string

URL to the organization's avatar image

created_at: string

ISO 8601 timestamp of organization creation

description: null | string

Organization description

followers: number

Number of followers

following: number

Number of accounts the org follows

html_url: string

URL to the organization's GitHub page

id: number

Unique numeric organization ID

is_verified?: boolean

Whether this is a verified organization

login: string

The organization's login name (e.g., 'github')

members_count?: number

Total number of members

name: null | string

Display name

public_gists: number

Number of public gists

public_repos: number

Number of public repositories

repos_url: string

API URL for the organization's repositories

total_private_repos?: number

Number of private repositories (requires admin scope)

type: "Organization"

Account type — always 'Organization'

updated_at: string

ISO 8601 timestamp of last update