Bitbucket Data Center API Client
    Preparing search index...

    Interface CreateRepositoryData

    Payload for POST /rest/api/latest/projects/{key}/repos (create).

    interface CreateRepositoryData {
        defaultBranch?: string;
        description?: string;
        forkable?: boolean;
        name: string;
        public?: boolean;
        scmId?: string;
        slug?: string;
    }
    Index

    Properties

    defaultBranch?: string

    Name of the default branch (e.g. 'main')

    description?: string
    forkable?: boolean
    name: string
    public?: boolean
    scmId?: string

    SCM to use; defaults to 'git' (the only bundled SCM)

    slug?: string

    Slug for the new repository; derived from name when omitted