Interface GitHubReleaseAsset

Represents a release asset (a file attached to a GitHub release).

interface GitHubReleaseAsset {
    browser_download_url: string;
    content_type: string;
    created_at: string;
    download_count: number;
    id: number;
    label: null | string;
    name: string;
    size: number;
    updated_at: string;
    uploader: GitHubUser;
}

Properties

browser_download_url: string

Browser download URL

content_type: string

MIME content type

created_at: string

ISO 8601 timestamp of creation

download_count: number

Total number of downloads

id: number

Unique numeric asset ID

label: null | string

Asset label

name: string

Asset filename

size: number

File size in bytes

updated_at: string

ISO 8601 timestamp of last update

uploader: GitHubUser

User who uploaded the asset