interface Repository {
    forkable: boolean;
    id: number;
    links: repo.synchronized.Links;
    name: string;
    project: repo.synchronized.Project;
    public: boolean;
    scmId: string;
    slug: string;
    state:
        | undefined
        | "AVAILABLE"
        | "INITIALISATION_FAILED"
        | "INITIALISING"
        | "OFFLINE";
    statusMessage: string;
}

Properties

forkable: boolean
id: number

This JSON object contains the HTTP and SSH clone URLs of the primary server as well as the mirror that synchronized these changes. It also contains a link to view this repository in Bitbucket.

name: string
public: boolean
scmId: string
slug: string
state:
    | undefined
    | "AVAILABLE"
    | "INITIALISATION_FAILED"
    | "INITIALISING"
    | "OFFLINE"
statusMessage: string