Class Api<SecurityDataType>

Title

Gitea API.

Version

1.21.0+dev-326-g28ecac802

License

MIT (http://opensource.org/licenses/MIT)

Base Url

/api/v1

This documentation describes the Gitea API.

Type Parameters

  • SecurityDataType extends unknown

Hierarchy

Constructors

  • Type Parameters

    • SecurityDataType extends unknown

    Parameters

    Returns Api<SecurityDataType>

Properties

activitypub: {
    activitypubPerson: ((userId, params?) => Promise<HttpResponse<ActivityPub, any>>);
    activitypubPersonInbox: ((userId, params?) => Promise<HttpResponse<any, any>>);
} = ...

Type declaration

  • activitypubPerson: ((userId, params?) => Promise<HttpResponse<ActivityPub, any>>)
      • (userId, params?): Promise<HttpResponse<ActivityPub, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<ActivityPub, any>>

        Tags

        activitypub

        Name

        ActivitypubPerson

        Summary

        Returns the Person actor for a user

        Request

        GET:/activitypub/user-id/{user-id}

        Secure

  • activitypubPersonInbox: ((userId, params?) => Promise<HttpResponse<any, any>>)
      • (userId, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        activitypub

        Name

        ActivitypubPersonInbox

        Summary

        Send to the inbox

        Request

        POST:/activitypub/user-id/{user-id}/inbox

        Secure

admin: {
    adminAdoptRepository: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    adminCreateHook: ((body, params?) => Promise<HttpResponse<Hook, any>>);
    adminCreateOrg: ((username, organization, params?) => Promise<HttpResponse<Organization, any>>);
    adminCreatePublicKey: ((username, key, params?) => Promise<HttpResponse<PublicKey, any>>);
    adminCreateRepo: ((username, repository, params?) => Promise<HttpResponse<Repository, any>>);
    adminCreateUser: ((body, params?) => Promise<HttpResponse<User, any>>);
    adminCronList: ((query?, params?) => Promise<HttpResponse<Cron[], any>>);
    adminCronRun: ((task, params?) => Promise<HttpResponse<any, any>>);
    adminDeleteHook: ((id, params?) => Promise<HttpResponse<any, any>>);
    adminDeleteUnadoptedRepository: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    adminDeleteUser: ((username, query?, params?) => Promise<HttpResponse<any, any>>);
    adminDeleteUserPublicKey: ((username, id, params?) => Promise<HttpResponse<any, any>>);
    adminEditHook: ((id, body, params?) => Promise<HttpResponse<Hook, any>>);
    adminEditUser: ((username, body, params?) => Promise<HttpResponse<User, any>>);
    adminGetAllEmails: ((query?, params?) => Promise<HttpResponse<Email[], any>>);
    adminGetAllOrgs: ((query?, params?) => Promise<HttpResponse<Organization[], any>>);
    adminGetHook: ((id, params?) => Promise<HttpResponse<Hook, any>>);
    adminListHooks: ((query?, params?) => Promise<HttpResponse<Hook[], any>>);
    adminRenameUser: ((username, body, params?) => Promise<HttpResponse<any, any>>);
    adminSearchEmails: ((query?, params?) => Promise<HttpResponse<Email[], any>>);
    adminSearchUsers: ((query?, params?) => Promise<HttpResponse<User[], any>>);
    adminUnadoptedList: ((query?, params?) => Promise<HttpResponse<string[], any>>);
} = ...

Type declaration

  • adminAdoptRepository: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        admin

        Name

        AdminAdoptRepository

        Summary

        Adopt unadopted files as a repository

        Request

        POST:/admin/unadopted/{owner}/{repo}

        Secure

  • adminCreateHook: ((body, params?) => Promise<HttpResponse<Hook, any>>)
  • adminCreateOrg: ((username, organization, params?) => Promise<HttpResponse<Organization, any>>)
  • adminCreatePublicKey: ((username, key, params?) => Promise<HttpResponse<PublicKey, any>>)
  • adminCreateRepo: ((username, repository, params?) => Promise<HttpResponse<Repository, any>>)
  • adminCreateUser: ((body, params?) => Promise<HttpResponse<User, any>>)
  • adminCronList: ((query?, params?) => Promise<HttpResponse<Cron[], any>>)
      • (query?, params?): Promise<HttpResponse<Cron[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Cron[], any>>

        Tags

        admin

        Name

        AdminCronList

        Summary

        List cron tasks

        Request

        GET:/admin/cron

        Secure

  • adminCronRun: ((task, params?) => Promise<HttpResponse<any, any>>)
      • (task, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        admin

        Name

        AdminCronRun

        Summary

        Run cron task

        Request

        POST:/admin/cron/{task}

        Secure

  • adminDeleteHook: ((id, params?) => Promise<HttpResponse<any, any>>)
      • (id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        admin

        Name

        AdminDeleteHook

        Summary

        Delete a hook

        Request

        DELETE:/admin/hooks/{id}

        Secure

  • adminDeleteUnadoptedRepository: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        admin

        Name

        AdminDeleteUnadoptedRepository

        Summary

        Delete unadopted files

        Request

        DELETE:/admin/unadopted/{owner}/{repo}

        Secure

  • adminDeleteUser: ((username, query?, params?) => Promise<HttpResponse<any, any>>)
      • (username, query?, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              purge?: boolean;
          }
          • Optional purge?: boolean

            purge the user from the system completely

        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        admin

        Name

        AdminDeleteUser

        Summary

        Delete a user

        Request

        DELETE:/admin/users/{username}

        Secure

  • adminDeleteUserPublicKey: ((username, id, params?) => Promise<HttpResponse<any, any>>)
      • (username, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        admin

        Name

        AdminDeleteUserPublicKey

        Summary

        Delete a user's public key

        Request

        DELETE:/admin/users/{username}/keys/{id}

        Secure

  • adminEditHook: ((id, body, params?) => Promise<HttpResponse<Hook, any>>)
  • adminEditUser: ((username, body, params?) => Promise<HttpResponse<User, any>>)
  • adminGetAllEmails: ((query?, params?) => Promise<HttpResponse<Email[], any>>)
      • (query?, params?): Promise<HttpResponse<Email[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Email[], any>>

        Tags

        admin

        Name

        AdminGetAllEmails

        Summary

        List all emails

        Request

        GET:/admin/emails

        Secure

  • adminGetAllOrgs: ((query?, params?) => Promise<HttpResponse<Organization[], any>>)
      • (query?, params?): Promise<HttpResponse<Organization[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Organization[], any>>

        Tags

        admin

        Name

        AdminGetAllOrgs

        Summary

        List all organizations

        Request

        GET:/admin/orgs

        Secure

  • adminGetHook: ((id, params?) => Promise<HttpResponse<Hook, any>>)
      • (id, params?): Promise<HttpResponse<Hook, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Hook, any>>

        Tags

        admin

        Name

        AdminGetHook

        Summary

        Get a hook

        Request

        GET:/admin/hooks/{id}

        Secure

  • adminListHooks: ((query?, params?) => Promise<HttpResponse<Hook[], any>>)
      • (query?, params?): Promise<HttpResponse<Hook[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Hook[], any>>

        Tags

        admin

        Name

        AdminListHooks

        Summary

        List system's webhooks

        Request

        GET:/admin/hooks

        Secure

  • adminRenameUser: ((username, body, params?) => Promise<HttpResponse<any, any>>)
      • (username, body, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        admin

        Name

        AdminRenameUser

        Summary

        Rename a user

        Request

        POST:/admin/users/{username}/rename

        Secure

  • adminSearchEmails: ((query?, params?) => Promise<HttpResponse<Email[], any>>)
      • (query?, params?): Promise<HttpResponse<Email[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
              q?: string;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional q?: string

            keyword

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Email[], any>>

        Tags

        admin

        Name

        AdminSearchEmails

        Summary

        Search all emails

        Request

        GET:/admin/emails/search

        Secure

  • adminSearchUsers: ((query?, params?) => Promise<HttpResponse<User[], any>>)
      • (query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              login_name?: string;
              page?: number;
              source_id?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional login_name?: string

            user's login name to search for

          • Optional page?: number

            page number of results to return (1-based)

          • Optional source_id?: number

            ID of the user's login source to search for

            Format

            int64

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        admin

        Name

        AdminSearchUsers

        Summary

        Search users according filter conditions

        Request

        GET:/admin/users

        Secure

  • adminUnadoptedList: ((query?, params?) => Promise<HttpResponse<string[], any>>)
      • (query?, params?): Promise<HttpResponse<string[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
              pattern?: string;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional pattern?: string

            pattern of repositories to search for

        • params: RequestParams = {}

        Returns Promise<HttpResponse<string[], any>>

        Tags

        admin

        Name

        AdminUnadoptedList

        Summary

        List unadopted repositories

        Request

        GET:/admin/unadopted

        Secure

baseUrl: string = '/api/v1'
gitignore: {
    getGitignoreTemplateInfo: ((name, params?) => Promise<HttpResponse<GitignoreTemplateInfo, any>>);
    listGitignoresTemplates: ((params?) => Promise<HttpResponse<string[], any>>);
} = ...

Type declaration

label: {
    getLabelTemplateInfo: ((name, params?) => Promise<HttpResponse<LabelTemplate[], any>>);
    listLabelTemplates: ((params?) => Promise<HttpResponse<string[], any>>);
} = ...

Type declaration

  • getLabelTemplateInfo: ((name, params?) => Promise<HttpResponse<LabelTemplate[], any>>)
  • listLabelTemplates: ((params?) => Promise<HttpResponse<string[], any>>)
      • (params?): Promise<HttpResponse<string[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<string[], any>>

        Tags

        miscellaneous

        Name

        ListLabelTemplates

        Summary

        Returns a list of all label templates

        Request

        GET:/label/templates

        Secure

licenses: {
    getLicenseTemplateInfo: ((name, params?) => Promise<HttpResponse<LicenseTemplateInfo, any>>);
    listLicenseTemplates: ((params?) => Promise<HttpResponse<LicensesTemplateListEntry[], any>>);
} = ...

Type declaration

markdown: {
    renderMarkdown: ((body, params?) => Promise<HttpResponse<string, any>>);
    renderMarkdownRaw: ((body, params?) => Promise<HttpResponse<string, any>>);
} = ...

Type declaration

  • renderMarkdown: ((body, params?) => Promise<HttpResponse<string, any>>)
      • (body, params?): Promise<HttpResponse<string, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<string, any>>

        Tags

        miscellaneous

        Name

        RenderMarkdown

        Summary

        Render a markdown document as HTML

        Request

        POST:/markdown

        Secure

  • renderMarkdownRaw: ((body, params?) => Promise<HttpResponse<string, any>>)
      • (body, params?): Promise<HttpResponse<string, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<string, any>>

        Tags

        miscellaneous

        Name

        RenderMarkdownRaw

        Summary

        Render raw markdown as HTML

        Request

        POST:/markdown/raw

        Secure

markup: {
    renderMarkup: ((body, params?) => Promise<HttpResponse<string, any>>);
} = ...

Type declaration

  • renderMarkup: ((body, params?) => Promise<HttpResponse<string, any>>)
      • (body, params?): Promise<HttpResponse<string, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<string, any>>

        Tags

        miscellaneous

        Name

        RenderMarkup

        Summary

        Render a markup document as HTML

        Request

        POST:/markup

        Secure

nodeinfo: {
    getNodeInfo: ((params?) => Promise<HttpResponse<NodeInfo, any>>);
} = ...

Type declaration

notifications: {
    notifyGetList: ((query?, params?) => Promise<HttpResponse<NotificationThread[], any>>);
    notifyGetThread: ((id, params?) => Promise<HttpResponse<NotificationThread, any>>);
    notifyNewAvailable: ((params?) => Promise<HttpResponse<NotificationCount, any>>);
    notifyReadList: ((query?, params?) => Promise<HttpResponse<NotificationThread[], any>>);
    notifyReadThread: ((id, query?, params?) => Promise<HttpResponse<NotificationThread, any>>);
} = ...

Type declaration

  • notifyGetList: ((query?, params?) => Promise<HttpResponse<NotificationThread[], any>>)
      • (query?, params?): Promise<HttpResponse<NotificationThread[], any>>
      • No description

        Parameters

        • Optional query: {
              all?: boolean;
              before?: string;
              limit?: number;
              page?: number;
              since?: string;
              status-types?: string[];
              subject-type?: ("issue" | "pull" | "commit" | "repository")[];
          }
          • Optional all?: boolean

            If true, show notifications marked as read. Default value is false

          • Optional before?: string

            Only show notifications updated before the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional since?: string

            Only show notifications updated after the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional status-types?: string[]

            Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned.

          • Optional subject-type?: ("issue" | "pull" | "commit" | "repository")[]

            filter notifications by subject type

        • params: RequestParams = {}

        Returns Promise<HttpResponse<NotificationThread[], any>>

        Tags

        notification

        Name

        NotifyGetList

        Summary

        List users's notification threads

        Request

        GET:/notifications

        Secure

  • notifyGetThread: ((id, params?) => Promise<HttpResponse<NotificationThread, any>>)
  • notifyNewAvailable: ((params?) => Promise<HttpResponse<NotificationCount, any>>)
  • notifyReadList: ((query?, params?) => Promise<HttpResponse<NotificationThread[], any>>)
      • (query?, params?): Promise<HttpResponse<NotificationThread[], any>>
      • No description

        Parameters

        • Optional query: {
              all?: string;
              last_read_at?: string;
              status-types?: string[];
              to-status?: string;
          }
          • Optional all?: string

            If true, mark all notifications on this repo. Default value is false

          • Optional last_read_at?: string

            Describes the last point that notifications were checked. Anything updated since this time will not be updated.

            Format

            date-time

          • Optional status-types?: string[]

            Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread.

          • Optional to-status?: string

            Status to mark notifications as, Defaults to read.

        • params: RequestParams = {}

        Returns Promise<HttpResponse<NotificationThread[], any>>

        Tags

        notification

        Name

        NotifyReadList

        Summary

        Mark notification threads as read, pinned or unread

        Request

        PUT:/notifications

        Secure

  • notifyReadThread: ((id, query?, params?) => Promise<HttpResponse<NotificationThread, any>>)
      • (id, query?, params?): Promise<HttpResponse<NotificationThread, any>>
      • No description

        Parameters

        • id: string
        • Optional query: {
              to-status?: string;
          }
          • Optional to-status?: string

            Status to mark notifications as

            Default

            "read"
            
        • params: RequestParams = {}

        Returns Promise<HttpResponse<NotificationThread, any>>

        Tags

        notification

        Name

        NotifyReadThread

        Summary

        Mark notification thread as read by ID

        Request

        PATCH:/notifications/threads/{id}

        Secure

org: {
    createOrgRepoDeprecated: ((org, body, params?) => Promise<HttpResponse<Repository, any>>);
} = ...

Type declaration

orgs: {
    createOrgRepo: ((org, body, params?) => Promise<HttpResponse<Repository, any>>);
    orgConcealMember: ((org, username, params?) => Promise<HttpResponse<any, any>>);
    orgCreate: ((organization, params?) => Promise<HttpResponse<Organization, any>>);
    orgCreateHook: ((org, body, params?) => Promise<HttpResponse<Hook, any>>);
    orgCreateLabel: ((org, body, params?) => Promise<HttpResponse<Label, any>>);
    orgCreateTeam: ((org, body, params?) => Promise<HttpResponse<Team, any>>);
    orgDelete: ((org, params?) => Promise<HttpResponse<any, any>>);
    orgDeleteAvatar: ((org, params?) => Promise<HttpResponse<any, any>>);
    orgDeleteHook: ((org, id, params?) => Promise<HttpResponse<any, any>>);
    orgDeleteLabel: ((org, id, params?) => Promise<HttpResponse<any, any>>);
    orgDeleteMember: ((org, username, params?) => Promise<HttpResponse<void, any>>);
    orgEdit: ((org, body, params?) => Promise<HttpResponse<Organization, any>>);
    orgEditHook: ((org, id, body, params?) => Promise<HttpResponse<Hook, any>>);
    orgEditLabel: ((org, id, body, params?) => Promise<HttpResponse<Label, any>>);
    orgGet: ((org, params?) => Promise<HttpResponse<Organization, any>>);
    orgGetAll: ((query?, params?) => Promise<HttpResponse<Organization[], any>>);
    orgGetHook: ((org, id, params?) => Promise<HttpResponse<Hook, any>>);
    orgGetLabel: ((org, id, params?) => Promise<HttpResponse<Label, any>>);
    orgIsMember: ((org, username, params?) => Promise<HttpResponse<void, void>>);
    orgIsPublicMember: ((org, username, params?) => Promise<HttpResponse<void, void>>);
    orgListActivityFeeds: ((org, query?, params?) => Promise<HttpResponse<Activity[], any>>);
    orgListHooks: ((org, query?, params?) => Promise<HttpResponse<Hook[], any>>);
    orgListLabels: ((org, query?, params?) => Promise<HttpResponse<Label[], any>>);
    orgListMembers: ((org, query?, params?) => Promise<HttpResponse<User[], any>>);
    orgListPublicMembers: ((org, query?, params?) => Promise<HttpResponse<User[], any>>);
    orgListRepos: ((org, query?, params?) => Promise<HttpResponse<Repository[], any>>);
    orgListTeams: ((org, query?, params?) => Promise<HttpResponse<Team[], any>>);
    orgPublicizeMember: ((org, username, params?) => Promise<HttpResponse<void, any>>);
    orgUpdateAvatar: ((org, body, params?) => Promise<HttpResponse<any, any>>);
    teamSearch: ((org, query?, params?) => Promise<HttpResponse<{
        data?: Team[];
        ok?: boolean;
    }, any>>);
} = ...

Type declaration

  • createOrgRepo: ((org, body, params?) => Promise<HttpResponse<Repository, any>>)
  • orgConcealMember: ((org, username, params?) => Promise<HttpResponse<any, any>>)
      • (org, username, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        organization

        Name

        OrgConcealMember

        Summary

        Conceal a user's membership

        Request

        DELETE:/orgs/{org}/public_members/{username}

        Secure

  • orgCreate: ((organization, params?) => Promise<HttpResponse<Organization, any>>)
  • orgCreateHook: ((org, body, params?) => Promise<HttpResponse<Hook, any>>)
  • orgCreateLabel: ((org, body, params?) => Promise<HttpResponse<Label, any>>)
  • orgCreateTeam: ((org, body, params?) => Promise<HttpResponse<Team, any>>)
  • orgDelete: ((org, params?) => Promise<HttpResponse<any, any>>)
      • (org, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        organization

        Name

        OrgDelete

        Summary

        Delete an organization

        Request

        DELETE:/orgs/{org}

        Secure

  • orgDeleteAvatar: ((org, params?) => Promise<HttpResponse<any, any>>)
      • (org, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        organization

        Name

        OrgDeleteAvatar

        Summary

        Delete Avatar

        Request

        DELETE:/orgs/{org}/avatar

        Secure

  • orgDeleteHook: ((org, id, params?) => Promise<HttpResponse<any, any>>)
      • (org, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        organization

        Name

        OrgDeleteHook

        Summary

        Delete a hook

        Request

        DELETE:/orgs/{org}/hooks/{id}

        Secure

  • orgDeleteLabel: ((org, id, params?) => Promise<HttpResponse<any, any>>)
      • (org, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        organization

        Name

        OrgDeleteLabel

        Summary

        Delete a label

        Request

        DELETE:/orgs/{org}/labels/{id}

        Secure

  • orgDeleteMember: ((org, username, params?) => Promise<HttpResponse<void, any>>)
      • (org, username, params?): Promise<HttpResponse<void, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<void, any>>

        Tags

        organization

        Name

        OrgDeleteMember

        Summary

        Remove a member from an organization

        Request

        DELETE:/orgs/{org}/members/{username}

        Secure

  • orgEdit: ((org, body, params?) => Promise<HttpResponse<Organization, any>>)
  • orgEditHook: ((org, id, body, params?) => Promise<HttpResponse<Hook, any>>)
  • orgEditLabel: ((org, id, body, params?) => Promise<HttpResponse<Label, any>>)
  • orgGet: ((org, params?) => Promise<HttpResponse<Organization, any>>)
  • orgGetAll: ((query?, params?) => Promise<HttpResponse<Organization[], any>>)
      • (query?, params?): Promise<HttpResponse<Organization[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Organization[], any>>

        Tags

        organization

        Name

        OrgGetAll

        Summary

        Get list of organizations

        Request

        GET:/orgs

        Secure

  • orgGetHook: ((org, id, params?) => Promise<HttpResponse<Hook, any>>)
      • (org, id, params?): Promise<HttpResponse<Hook, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Hook, any>>

        Tags

        organization

        Name

        OrgGetHook

        Summary

        Get a hook

        Request

        GET:/orgs/{org}/hooks/{id}

        Secure

  • orgGetLabel: ((org, id, params?) => Promise<HttpResponse<Label, any>>)
      • (org, id, params?): Promise<HttpResponse<Label, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Label, any>>

        Tags

        organization

        Name

        OrgGetLabel

        Summary

        Get a single label

        Request

        GET:/orgs/{org}/labels/{id}

        Secure

  • orgIsMember: ((org, username, params?) => Promise<HttpResponse<void, void>>)
      • (org, username, params?): Promise<HttpResponse<void, void>>
      • No description

        Parameters

        Returns Promise<HttpResponse<void, void>>

        Tags

        organization

        Name

        OrgIsMember

        Summary

        Check if a user is a member of an organization

        Request

        GET:/orgs/{org}/members/{username}

        Secure

  • orgIsPublicMember: ((org, username, params?) => Promise<HttpResponse<void, void>>)
      • (org, username, params?): Promise<HttpResponse<void, void>>
      • No description

        Parameters

        Returns Promise<HttpResponse<void, void>>

        Tags

        organization

        Name

        OrgIsPublicMember

        Summary

        Check if a user is a public member of an organization

        Request

        GET:/orgs/{org}/public_members/{username}

        Secure

  • orgListActivityFeeds: ((org, query?, params?) => Promise<HttpResponse<Activity[], any>>)
      • (org, query?, params?): Promise<HttpResponse<Activity[], any>>
      • No description

        Parameters

        • org: string
        • Optional query: {
              date?: string;
              limit?: number;
              page?: number;
          }
          • Optional date?: string

            the date of the activities to be found

            Format

            date

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Activity[], any>>

        Tags

        organization

        Name

        OrgListActivityFeeds

        Summary

        List an organization's activity feeds

        Request

        GET:/orgs/{org}/activities/feeds

        Secure

  • orgListHooks: ((org, query?, params?) => Promise<HttpResponse<Hook[], any>>)
      • (org, query?, params?): Promise<HttpResponse<Hook[], any>>
      • No description

        Parameters

        • org: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Hook[], any>>

        Tags

        organization

        Name

        OrgListHooks

        Summary

        List an organization's webhooks

        Request

        GET:/orgs/{org}/hooks

        Secure

  • orgListLabels: ((org, query?, params?) => Promise<HttpResponse<Label[], any>>)
      • (org, query?, params?): Promise<HttpResponse<Label[], any>>
      • No description

        Parameters

        • org: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Label[], any>>

        Tags

        organization

        Name

        OrgListLabels

        Summary

        List an organization's labels

        Request

        GET:/orgs/{org}/labels

        Secure

  • orgListMembers: ((org, query?, params?) => Promise<HttpResponse<User[], any>>)
      • (org, query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • org: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        organization

        Name

        OrgListMembers

        Summary

        List an organization's members

        Request

        GET:/orgs/{org}/members

        Secure

  • orgListPublicMembers: ((org, query?, params?) => Promise<HttpResponse<User[], any>>)
      • (org, query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • org: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        organization

        Name

        OrgListPublicMembers

        Summary

        List an organization's public members

        Request

        GET:/orgs/{org}/public_members

        Secure

  • orgListRepos: ((org, query?, params?) => Promise<HttpResponse<Repository[], any>>)
      • (org, query?, params?): Promise<HttpResponse<Repository[], any>>
      • No description

        Parameters

        • org: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Repository[], any>>

        Tags

        organization

        Name

        OrgListRepos

        Summary

        List an organization's repos

        Request

        GET:/orgs/{org}/repos

        Secure

  • orgListTeams: ((org, query?, params?) => Promise<HttpResponse<Team[], any>>)
      • (org, query?, params?): Promise<HttpResponse<Team[], any>>
      • No description

        Parameters

        • org: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Team[], any>>

        Tags

        organization

        Name

        OrgListTeams

        Summary

        List an organization's teams

        Request

        GET:/orgs/{org}/teams

        Secure

  • orgPublicizeMember: ((org, username, params?) => Promise<HttpResponse<void, any>>)
      • (org, username, params?): Promise<HttpResponse<void, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<void, any>>

        Tags

        organization

        Name

        OrgPublicizeMember

        Summary

        Publicize a user's membership

        Request

        PUT:/orgs/{org}/public_members/{username}

        Secure

  • orgUpdateAvatar: ((org, body, params?) => Promise<HttpResponse<any, any>>)
  • teamSearch: ((org, query?, params?) => Promise<HttpResponse<{
        data?: Team[];
        ok?: boolean;
    }, any>>)
      • (org, query?, params?): Promise<HttpResponse<{
            data?: Team[];
            ok?: boolean;
        }, any>>
      • No description

        Parameters

        • org: string
        • Optional query: {
              include_desc?: boolean;
              limit?: number;
              page?: number;
              q?: string;
          }
          • Optional include_desc?: boolean

            include search within team description (defaults to true)

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional q?: string

            keywords to search

        • params: RequestParams = {}

        Returns Promise<HttpResponse<{
            data?: Team[];
            ok?: boolean;
        }, any>>

        Tags

        organization

        Name

        TeamSearch

        Summary

        Search for teams within an organization

        Request

        GET:/orgs/{org}/teams/search

        Secure

packages: {
    deletePackage: ((owner, type, name, version, params?) => Promise<HttpResponse<any, any>>);
    getPackage: ((owner, type, name, version, params?) => Promise<HttpResponse<Package, any>>);
    listPackageFiles: ((owner, type, name, version, params?) => Promise<HttpResponse<PackageFile[], any>>);
    listPackages: ((owner, query?, params?) => Promise<HttpResponse<Package[], any>>);
} = ...

Type declaration

  • deletePackage: ((owner, type, name, version, params?) => Promise<HttpResponse<any, any>>)
      • (owner, type, name, version, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • type: string
        • name: string
        • version: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        package

        Name

        DeletePackage

        Summary

        Delete a package

        Request

        DELETE:/packages/{owner}/{type}/{name}/{version}

        Secure

  • getPackage: ((owner, type, name, version, params?) => Promise<HttpResponse<Package, any>>)
      • (owner, type, name, version, params?): Promise<HttpResponse<Package, any>>
      • No description

        Parameters

        • owner: string
        • type: string
        • name: string
        • version: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Package, any>>

        Tags

        package

        Name

        GetPackage

        Summary

        Gets a package

        Request

        GET:/packages/{owner}/{type}/{name}/{version}

        Secure

  • listPackageFiles: ((owner, type, name, version, params?) => Promise<HttpResponse<PackageFile[], any>>)
      • (owner, type, name, version, params?): Promise<HttpResponse<PackageFile[], any>>
      • No description

        Parameters

        • owner: string
        • type: string
        • name: string
        • version: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<PackageFile[], any>>

        Tags

        package

        Name

        ListPackageFiles

        Summary

        Gets all files of a package

        Request

        GET:/packages/{owner}/{type}/{name}/{version}/files

        Secure

  • listPackages: ((owner, query?, params?) => Promise<HttpResponse<Package[], any>>)
      • (owner, query?, params?): Promise<HttpResponse<Package[], any>>
      • No description

        Parameters

        • owner: string
        • Optional query: {
              limit?: number;
              page?: number;
              q?: string;
              type?: "alpine" | "cargo" | "chef" | "composer" | "conan" | "conda" | "container" | "cran" | "debian" | "generic" | "go" | "helm" | "maven" | "npm" | "nuget" | "pub" | "pypi" | "rpm" | "rubygems" | "swift" | "vagrant";
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional q?: string

            name filter

          • Optional type?: "alpine" | "cargo" | "chef" | "composer" | "conan" | "conda" | "container" | "cran" | "debian" | "generic" | "go" | "helm" | "maven" | "npm" | "nuget" | "pub" | "pypi" | "rpm" | "rubygems" | "swift" | "vagrant"

            package type filter

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Package[], any>>

        Tags

        package

        Name

        ListPackages

        Summary

        Gets all packages of an owner

        Request

        GET:/packages/{owner}

        Secure

repos: {
    acceptRepoTransfer: ((owner, repo, params?) => Promise<HttpResponse<Repository, any>>);
    createFork: ((owner, repo, body, params?) => Promise<HttpResponse<Repository, void>>);
    generateRepo: ((templateOwner, templateRepo, body, params?) => Promise<HttpResponse<Repository, void>>);
    getAnnotatedTag: ((owner, repo, sha, params?) => Promise<HttpResponse<AnnotatedTag, any>>);
    getBlob: ((owner, repo, sha, params?) => Promise<HttpResponse<GitBlobResponse, any>>);
    getTree: ((owner, repo, sha, query?, params?) => Promise<HttpResponse<GitTreeResponse, any>>);
    issueAddLabel: ((owner, repo, index, body, params?) => Promise<HttpResponse<Label[], any>>);
    issueAddSubscription: ((owner, repo, index, user, params?) => Promise<HttpResponse<void, void>>);
    issueAddTime: ((owner, repo, index, body, params?) => Promise<HttpResponse<TrackedTime, any>>);
    issueCheckSubscription: ((owner, repo, index, params?) => Promise<HttpResponse<WatchInfo, any>>);
    issueClearLabels: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>);
    issueCreateComment: ((owner, repo, index, body, params?) => Promise<HttpResponse<Comment, any>>);
    issueCreateIssue: ((owner, repo, body, params?) => Promise<HttpResponse<Issue, any>>);
    issueCreateIssueAttachment: ((owner, repo, index, data, query?, params?) => Promise<HttpResponse<Attachment, any>>);
    issueCreateIssueBlocking: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, void>>);
    issueCreateIssueCommentAttachment: ((owner, repo, id, data, query?, params?) => Promise<HttpResponse<Attachment, any>>);
    issueCreateIssueDependencies: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, void>>);
    issueCreateLabel: ((owner, repo, body, params?) => Promise<HttpResponse<Label, any>>);
    issueCreateMilestone: ((owner, repo, body, params?) => Promise<HttpResponse<Milestone, any>>);
    issueDelete: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>);
    issueDeleteComment: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>);
    issueDeleteCommentDeprecated: ((owner, repo, index, id, params?) => Promise<HttpResponse<any, any>>);
    issueDeleteCommentReaction: ((owner, repo, id, content, params?) => Promise<HttpResponse<any, any>>);
    issueDeleteIssueAttachment: ((owner, repo, index, attachmentId, params?) => Promise<HttpResponse<any, any>>);
    issueDeleteIssueCommentAttachment: ((owner, repo, id, attachmentId, params?) => Promise<HttpResponse<any, any>>);
    issueDeleteIssueReaction: ((owner, repo, index, content, params?) => Promise<HttpResponse<any, any>>);
    issueDeleteLabel: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>);
    issueDeleteMilestone: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>);
    issueDeleteStopWatch: ((owner, repo, index, params?) => Promise<HttpResponse<any, void>>);
    issueDeleteSubscription: ((owner, repo, index, user, params?) => Promise<HttpResponse<void, void>>);
    issueDeleteTime: ((owner, repo, index, id, params?) => Promise<HttpResponse<any, any>>);
    issueEditComment: ((owner, repo, id, body, params?) => Promise<HttpResponse<Comment, any>>);
    issueEditCommentDeprecated: ((owner, repo, index, id, body, params?) => Promise<HttpResponse<Comment, any>>);
    issueEditIssue: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, any>>);
    issueEditIssueAttachment: ((owner, repo, index, attachmentId, body, params?) => Promise<HttpResponse<Attachment, any>>);
    issueEditIssueCommentAttachment: ((owner, repo, id, attachmentId, body, params?) => Promise<HttpResponse<Attachment, any>>);
    issueEditIssueDeadline: ((owner, repo, index, body, params?) => Promise<HttpResponse<IssueDeadline, any>>);
    issueEditLabel: ((owner, repo, id, body, params?) => Promise<HttpResponse<Label, any>>);
    issueEditMilestone: ((owner, repo, id, body, params?) => Promise<HttpResponse<Milestone, any>>);
    issueGetComment: ((owner, repo, id, params?) => Promise<HttpResponse<Comment, any>>);
    issueGetCommentReactions: ((owner, repo, id, params?) => Promise<HttpResponse<Reaction[], any>>);
    issueGetComments: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Comment[], any>>);
    issueGetCommentsAndTimeline: ((owner, repo, index, query?, params?) => Promise<HttpResponse<TimelineComment[], any>>);
    issueGetIssue: ((owner, repo, index, params?) => Promise<HttpResponse<Issue, any>>);
    issueGetIssueAttachment: ((owner, repo, index, attachmentId, params?) => Promise<HttpResponse<Attachment, any>>);
    issueGetIssueCommentAttachment: ((owner, repo, id, attachmentId, params?) => Promise<HttpResponse<Attachment, any>>);
    issueGetIssueReactions: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Reaction[], any>>);
    issueGetLabel: ((owner, repo, id, params?) => Promise<HttpResponse<Label, any>>);
    issueGetLabels: ((owner, repo, index, params?) => Promise<HttpResponse<Label[], any>>);
    issueGetMilestone: ((owner, repo, id, params?) => Promise<HttpResponse<Milestone, any>>);
    issueGetMilestonesList: ((owner, repo, query?, params?) => Promise<HttpResponse<Milestone[], any>>);
    issueGetRepoComments: ((owner, repo, query?, params?) => Promise<HttpResponse<Comment[], any>>);
    issueListBlocks: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Issue[], any>>);
    issueListIssueAttachments: ((owner, repo, index, params?) => Promise<HttpResponse<Attachment[], any>>);
    issueListIssueCommentAttachments: ((owner, repo, id, params?) => Promise<HttpResponse<Attachment[], any>>);
    issueListIssueDependencies: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Issue[], any>>);
    issueListIssues: ((owner, repo, query?, params?) => Promise<HttpResponse<Issue[], any>>);
    issueListLabels: ((owner, repo, query?, params?) => Promise<HttpResponse<Label[], any>>);
    issuePostCommentReaction: ((owner, repo, id, content, params?) => Promise<HttpResponse<Reaction, any>>);
    issuePostIssueReaction: ((owner, repo, index, content, params?) => Promise<HttpResponse<Reaction, any>>);
    issueRemoveIssueBlocking: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, any>>);
    issueRemoveIssueDependencies: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, any>>);
    issueRemoveLabel: ((owner, repo, index, id, params?) => Promise<HttpResponse<any, any>>);
    issueReplaceLabels: ((owner, repo, index, body, params?) => Promise<HttpResponse<Label[], any>>);
    issueResetTime: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>);
    issueSearchIssues: ((query?, params?) => Promise<HttpResponse<Issue[], any>>);
    issueStartStopWatch: ((owner, repo, index, params?) => Promise<HttpResponse<any, void>>);
    issueStopStopWatch: ((owner, repo, index, params?) => Promise<HttpResponse<any, void>>);
    issueSubscriptions: ((owner, repo, index, query?, params?) => Promise<HttpResponse<User[], any>>);
    issueTrackedTimes: ((owner, repo, index, query?, params?) => Promise<HttpResponse<TrackedTime[], any>>);
    listForks: ((owner, repo, query?, params?) => Promise<HttpResponse<Repository[], any>>);
    moveIssuePin: ((owner, repo, index, position, params?) => Promise<HttpResponse<any, any>>);
    notifyGetRepoList: ((owner, repo, query?, params?) => Promise<HttpResponse<NotificationThread[], any>>);
    notifyReadRepoList: ((owner, repo, query?, params?) => Promise<HttpResponse<NotificationThread[], any>>);
    pinIssue: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>);
    rejectRepoTransfer: ((owner, repo, params?) => Promise<HttpResponse<Repository, any>>);
    repoAddCollaborator: ((owner, repo, collaborator, body, params?) => Promise<HttpResponse<any, any>>);
    repoAddPushMirror: ((owner, repo, body, params?) => Promise<HttpResponse<PushMirror, any>>);
    repoAddTeam: ((owner, repo, team, params?) => Promise<HttpResponse<any, any>>);
    repoAddTopic: ((owner, repo, topic, params?) => Promise<HttpResponse<any, any>>);
    repoApplyDiffPatch: ((owner, repo, body, params?) => Promise<HttpResponse<FileResponse, any>>);
    repoCancelScheduledAutoMerge: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>);
    repoChangeFiles: ((owner, repo, body, params?) => Promise<HttpResponse<FilesResponse, any>>);
    repoCheckCollaborator: ((owner, repo, collaborator, params?) => Promise<HttpResponse<any, any>>);
    repoCheckTeam: ((owner, repo, team, params?) => Promise<HttpResponse<Team, any>>);
    repoCreateBranch: ((owner, repo, body, params?) => Promise<HttpResponse<Branch, void>>);
    repoCreateBranchProtection: ((owner, repo, body, params?) => Promise<HttpResponse<BranchProtection, any>>);
    repoCreateFile: ((owner, repo, filepath, body, params?) => Promise<HttpResponse<FileResponse, any>>);
    repoCreateHook: ((owner, repo, body, params?) => Promise<HttpResponse<Hook, any>>);
    repoCreateKey: ((owner, repo, body, params?) => Promise<HttpResponse<DeployKey, any>>);
    repoCreatePullRequest: ((owner, repo, body, params?) => Promise<HttpResponse<PullRequest, any>>);
    repoCreatePullReview: ((owner, repo, index, body, params?) => Promise<HttpResponse<PullReview, any>>);
    repoCreatePullReviewRequests: ((owner, repo, index, body, params?) => Promise<HttpResponse<PullReview[], any>>);
    repoCreateRelease: ((owner, repo, body, params?) => Promise<HttpResponse<Release, any>>);
    repoCreateReleaseAttachment: ((owner, repo, id, data, query?, params?) => Promise<HttpResponse<Attachment, any>>);
    repoCreateStatus: ((owner, repo, sha, body, params?) => Promise<HttpResponse<CommitStatus, any>>);
    repoCreateTag: ((owner, repo, body, params?) => Promise<HttpResponse<Tag, any>>);
    repoCreateWikiPage: ((owner, repo, body, params?) => Promise<HttpResponse<WikiPage, any>>);
    repoDelete: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteAvatar: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteBranch: ((owner, repo, branch, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteBranchProtection: ((owner, repo, name, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteCollaborator: ((owner, repo, collaborator, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteFile: ((owner, repo, filepath, body, params?) => Promise<HttpResponse<FileDeleteResponse, any>>);
    repoDeleteGitHook: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteHook: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteKey: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>);
    repoDeletePullReview: ((owner, repo, index, id, params?) => Promise<HttpResponse<any, any>>);
    repoDeletePullReviewRequests: ((owner, repo, index, body, params?) => Promise<HttpResponse<any, any>>);
    repoDeletePushMirror: ((owner, repo, name, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteRelease: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteReleaseAttachment: ((owner, repo, id, attachmentId, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteReleaseByTag: ((owner, repo, tag, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteTag: ((owner, repo, tag, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteTeam: ((owner, repo, team, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteTopic: ((owner, repo, topic, params?) => Promise<HttpResponse<any, any>>);
    repoDeleteWikiPage: ((owner, repo, pageName, params?) => Promise<HttpResponse<any, any>>);
    repoDismissPullReview: ((owner, repo, index, id, body, params?) => Promise<HttpResponse<PullReview, any>>);
    repoDownloadCommitDiffOrPatch: ((owner, repo, sha, diffType, params?) => Promise<HttpResponse<string, any>>);
    repoDownloadPullDiffOrPatch: ((owner, repo, index, diffType, query?, params?) => Promise<HttpResponse<string, any>>);
    repoEdit: ((owner, repo, body, params?) => Promise<HttpResponse<Repository, any>>);
    repoEditBranchProtection: ((owner, repo, name, body, params?) => Promise<HttpResponse<BranchProtection, any>>);
    repoEditGitHook: ((owner, repo, id, body, params?) => Promise<HttpResponse<GitHook, any>>);
    repoEditHook: ((owner, repo, id, body, params?) => Promise<HttpResponse<Hook, any>>);
    repoEditPullRequest: ((owner, repo, index, body, params?) => Promise<HttpResponse<PullRequest, any>>);
    repoEditRelease: ((owner, repo, id, body, params?) => Promise<HttpResponse<Release, any>>);
    repoEditReleaseAttachment: ((owner, repo, id, attachmentId, body, params?) => Promise<HttpResponse<Attachment, any>>);
    repoEditWikiPage: ((owner, repo, pageName, body, params?) => Promise<HttpResponse<WikiPage, any>>);
    repoGet: ((owner, repo, params?) => Promise<HttpResponse<Repository, any>>);
    repoGetAllCommits: ((owner, repo, query?, params?) => Promise<HttpResponse<Commit[], APIError>>);
    repoGetArchive: ((owner, repo, archive, params?) => Promise<HttpResponse<void, any>>);
    repoGetAssignees: ((owner, repo, params?) => Promise<HttpResponse<User[], any>>);
    repoGetBranch: ((owner, repo, branch, params?) => Promise<HttpResponse<Branch, any>>);
    repoGetBranchProtection: ((owner, repo, name, params?) => Promise<HttpResponse<BranchProtection, any>>);
    repoGetCombinedStatusByRef: ((owner, repo, ref, query?, params?) => Promise<HttpResponse<CombinedStatus, any>>);
    repoGetContents: ((owner, repo, filepath, query?, params?) => Promise<HttpResponse<ContentsResponse, any>>);
    repoGetContentsList: ((owner, repo, query?, params?) => Promise<HttpResponse<ContentsResponse[], any>>);
    repoGetEditorConfig: ((owner, repo, filepath, query?, params?) => Promise<HttpResponse<void, any>>);
    repoGetGitHook: ((owner, repo, id, params?) => Promise<HttpResponse<GitHook, any>>);
    repoGetHook: ((owner, repo, id, params?) => Promise<HttpResponse<Hook, any>>);
    repoGetIssueConfig: ((owner, repo, params?) => Promise<HttpResponse<IssueConfig, any>>);
    repoGetIssueTemplates: ((owner, repo, params?) => Promise<HttpResponse<IssueTemplate[], any>>);
    repoGetKey: ((owner, repo, id, params?) => Promise<HttpResponse<DeployKey, any>>);
    repoGetLanguages: ((owner, repo, params?) => Promise<HttpResponse<Record<string, number>, any>>);
    repoGetLatestRelease: ((owner, repo, params?) => Promise<HttpResponse<Release, any>>);
    repoGetNote: ((owner, repo, sha, params?) => Promise<HttpResponse<Note, any>>);
    repoGetPullRequest: ((owner, repo, index, params?) => Promise<HttpResponse<PullRequest, any>>);
    repoGetPullRequestCommits: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Commit[], any>>);
    repoGetPullRequestFiles: ((owner, repo, index, query?, params?) => Promise<HttpResponse<ChangedFile[], any>>);
    repoGetPullReview: ((owner, repo, index, id, params?) => Promise<HttpResponse<PullReview, any>>);
    repoGetPullReviewComments: ((owner, repo, index, id, params?) => Promise<HttpResponse<PullReviewComment[], any>>);
    repoGetPushMirrorByRemoteName: ((owner, repo, name, params?) => Promise<HttpResponse<PushMirror, any>>);
    repoGetRawFile: ((owner, repo, filepath, query?, params?) => Promise<HttpResponse<void, any>>);
    repoGetRawFileOrLfs: ((owner, repo, filepath, query?, params?) => Promise<HttpResponse<void, any>>);
    repoGetRelease: ((owner, repo, id, params?) => Promise<HttpResponse<Release, any>>);
    repoGetReleaseAttachment: ((owner, repo, id, attachmentId, params?) => Promise<HttpResponse<Attachment, any>>);
    repoGetReleaseByTag: ((owner, repo, tag, params?) => Promise<HttpResponse<Release, any>>);
    repoGetRepoPermissions: ((owner, repo, collaborator, params?) => Promise<HttpResponse<RepoCollaboratorPermission, any>>);
    repoGetReviewers: ((owner, repo, params?) => Promise<HttpResponse<User[], any>>);
    repoGetSingleCommit: ((owner, repo, sha, query?, params?) => Promise<HttpResponse<Commit, any>>);
    repoGetTag: ((owner, repo, tag, params?) => Promise<HttpResponse<Tag, any>>);
    repoGetWikiPage: ((owner, repo, pageName, params?) => Promise<HttpResponse<WikiPage, any>>);
    repoGetWikiPageRevisions: ((owner, repo, pageName, query?, params?) => Promise<HttpResponse<WikiCommitList, any>>);
    repoGetWikiPages: ((owner, repo, query?, params?) => Promise<HttpResponse<WikiPageMetaData[], any>>);
    repoListActivityFeeds: ((owner, repo, query?, params?) => Promise<HttpResponse<Activity[], any>>);
    repoListAllGitRefs: ((owner, repo, params?) => Promise<HttpResponse<Reference[], any>>);
    repoListBranchProtection: ((owner, repo, params?) => Promise<HttpResponse<BranchProtection[], any>>);
    repoListBranches: ((owner, repo, query?, params?) => Promise<HttpResponse<Branch[], any>>);
    repoListCollaborators: ((owner, repo, query?, params?) => Promise<HttpResponse<User[], any>>);
    repoListGitHooks: ((owner, repo, params?) => Promise<HttpResponse<GitHook[], any>>);
    repoListGitRefs: ((owner, repo, ref, params?) => Promise<HttpResponse<Reference[], any>>);
    repoListHooks: ((owner, repo, query?, params?) => Promise<HttpResponse<Hook[], any>>);
    repoListKeys: ((owner, repo, query?, params?) => Promise<HttpResponse<DeployKey[], any>>);
    repoListPinnedIssues: ((owner, repo, params?) => Promise<HttpResponse<Issue[], any>>);
    repoListPinnedPullRequests: ((owner, repo, params?) => Promise<HttpResponse<PullRequest[], any>>);
    repoListPullRequests: ((owner, repo, query?, params?) => Promise<HttpResponse<PullRequest[], any>>);
    repoListPullReviews: ((owner, repo, index, query?, params?) => Promise<HttpResponse<PullReview[], any>>);
    repoListPushMirrors: ((owner, repo, query?, params?) => Promise<HttpResponse<PushMirror[], any>>);
    repoListReleaseAttachments: ((owner, repo, id, params?) => Promise<HttpResponse<Attachment[], any>>);
    repoListReleases: ((owner, repo, query?, params?) => Promise<HttpResponse<Release[], any>>);
    repoListStargazers: ((owner, repo, query?, params?) => Promise<HttpResponse<User[], any>>);
    repoListStatuses: ((owner, repo, sha, query?, params?) => Promise<HttpResponse<CommitStatus[], any>>);
    repoListStatusesByRef: ((owner, repo, ref, query?, params?) => Promise<HttpResponse<CommitStatus[], any>>);
    repoListSubscribers: ((owner, repo, query?, params?) => Promise<HttpResponse<User[], any>>);
    repoListTags: ((owner, repo, query?, params?) => Promise<HttpResponse<Tag[], any>>);
    repoListTeams: ((owner, repo, params?) => Promise<HttpResponse<Team[], any>>);
    repoListTopics: ((owner, repo, query?, params?) => Promise<HttpResponse<TopicName, any>>);
    repoMergePullRequest: ((owner, repo, index, body, params?) => Promise<HttpResponse<any, any>>);
    repoMigrate: ((body, params?) => Promise<HttpResponse<Repository, void>>);
    repoMirrorSync: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    repoNewPinAllowed: ((owner, repo, params?) => Promise<HttpResponse<NewIssuePinsAllowed, any>>);
    repoPullRequestIsMerged: ((owner, repo, index, params?) => Promise<HttpResponse<void, void>>);
    repoPushMirrorSync: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    repoSearch: ((query?, params?) => Promise<HttpResponse<SearchResults, any>>);
    repoSigningKey: ((owner, repo, params?) => Promise<HttpResponse<string, any>>);
    repoSubmitPullReview: ((owner, repo, index, id, body, params?) => Promise<HttpResponse<PullReview, any>>);
    repoTestHook: ((owner, repo, id, query?, params?) => Promise<HttpResponse<any, any>>);
    repoTrackedTimes: ((owner, repo, query?, params?) => Promise<HttpResponse<TrackedTime[], any>>);
    repoTransfer: ((owner, repo, body, params?) => Promise<HttpResponse<Repository, any>>);
    repoUnDismissPullReview: ((owner, repo, index, id, params?) => Promise<HttpResponse<PullReview, any>>);
    repoUpdateAvatar: ((owner, repo, body, params?) => Promise<HttpResponse<any, any>>);
    repoUpdateFile: ((owner, repo, filepath, body, params?) => Promise<HttpResponse<FileResponse, any>>);
    repoUpdatePullRequest: ((owner, repo, index, query?, params?) => Promise<HttpResponse<any, any>>);
    repoUpdateTopics: ((owner, repo, body, params?) => Promise<HttpResponse<any, any>>);
    repoValidateIssueConfig: ((owner, repo, params?) => Promise<HttpResponse<IssueConfigValidation, any>>);
    unpinIssue: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>);
    userCurrentCheckSubscription: ((owner, repo, params?) => Promise<HttpResponse<WatchInfo, void>>);
    userCurrentDeleteSubscription: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    userCurrentPutSubscription: ((owner, repo, params?) => Promise<HttpResponse<WatchInfo, any>>);
    userTrackedTimes: ((owner, repo, user, params?) => Promise<HttpResponse<TrackedTime[], any>>);
} = ...

Type declaration

  • acceptRepoTransfer: ((owner, repo, params?) => Promise<HttpResponse<Repository, any>>)
      • (owner, repo, params?): Promise<HttpResponse<Repository, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Repository, any>>

        Tags

        repository

        Name

        AcceptRepoTransfer

        Summary

        Accept a repo transfer

        Request

        POST:/repos/{owner}/{repo}/transfer/accept

        Secure

  • createFork: ((owner, repo, body, params?) => Promise<HttpResponse<Repository, void>>)
  • generateRepo: ((templateOwner, templateRepo, body, params?) => Promise<HttpResponse<Repository, void>>)
      • (templateOwner, templateRepo, body, params?): Promise<HttpResponse<Repository, void>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Repository, void>>

        Tags

        repository

        Name

        GenerateRepo

        Summary

        Create a repository using a template

        Request

        POST:/repos/{template_owner}/{template_repo}/generate

        Secure

  • getAnnotatedTag: ((owner, repo, sha, params?) => Promise<HttpResponse<AnnotatedTag, any>>)
      • (owner, repo, sha, params?): Promise<HttpResponse<AnnotatedTag, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • sha: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<AnnotatedTag, any>>

        Tags

        repository

        Name

        GetAnnotatedTag

        Summary

        Gets the tag object of an annotated tag (not lightweight tags)

        Request

        GET:/repos/{owner}/{repo}/git/tags/{sha}

        Secure

  • getBlob: ((owner, repo, sha, params?) => Promise<HttpResponse<GitBlobResponse, any>>)
      • (owner, repo, sha, params?): Promise<HttpResponse<GitBlobResponse, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • sha: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<GitBlobResponse, any>>

        Tags

        repository

        Name

        GetBlob

        Summary

        Gets the blob of a repository.

        Request

        GET:/repos/{owner}/{repo}/git/blobs/{sha}

        Secure

  • getTree: ((owner, repo, sha, query?, params?) => Promise<HttpResponse<GitTreeResponse, any>>)
      • (owner, repo, sha, query?, params?): Promise<HttpResponse<GitTreeResponse, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • sha: string
        • Optional query: {
              page?: number;
              per_page?: number;
              recursive?: boolean;
          }
          • Optional page?: number

            page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page

          • Optional per_page?: number

            number of items per page

          • Optional recursive?: boolean

            show all directories and files

        • params: RequestParams = {}

        Returns Promise<HttpResponse<GitTreeResponse, any>>

        Tags

        repository

        Name

        GetTree

        Summary

        Gets the tree of a repository.

        Request

        GET:/repos/{owner}/{repo}/git/trees/{sha}

        Secure

  • issueAddLabel: ((owner, repo, index, body, params?) => Promise<HttpResponse<Label[], any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<Label[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Label[], any>>

        Tags

        issue

        Name

        IssueAddLabel

        Summary

        Add a label to an issue

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/labels

        Secure

  • issueAddSubscription: ((owner, repo, index, user, params?) => Promise<HttpResponse<void, void>>)
      • (owner, repo, index, user, params?): Promise<HttpResponse<void, void>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • user: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<void, void>>

        Tags

        issue

        Name

        IssueAddSubscription

        Summary

        Subscribe user to issue

        Request

        PUT:/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}

        Secure

  • issueAddTime: ((owner, repo, index, body, params?) => Promise<HttpResponse<TrackedTime, any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<TrackedTime, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<TrackedTime, any>>

        Tags

        issue

        Name

        IssueAddTime

        Summary

        Add tracked time to a issue

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/times

        Secure

  • issueCheckSubscription: ((owner, repo, index, params?) => Promise<HttpResponse<WatchInfo, any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<WatchInfo, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<WatchInfo, any>>

        Tags

        issue

        Name

        IssueCheckSubscription

        Summary

        Check if user is subscribed to an issue

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/subscriptions/check

        Secure

  • issueClearLabels: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueClearLabels

        Summary

        Remove all labels from an issue

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/labels

        Secure

  • issueCreateComment: ((owner, repo, index, body, params?) => Promise<HttpResponse<Comment, any>>)
  • issueCreateIssue: ((owner, repo, body, params?) => Promise<HttpResponse<Issue, any>>)
      • (owner, repo, body, params?): Promise<HttpResponse<Issue, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Issue, any>>

        Tags

        issue

        Name

        IssueCreateIssue

        Summary

        Create an issue. If using deadline only the date will be taken into account, and time of day ignored.

        Request

        POST:/repos/{owner}/{repo}/issues

        Secure

  • issueCreateIssueAttachment: ((owner, repo, index, data, query?, params?) => Promise<HttpResponse<Attachment, any>>)
      • (owner, repo, index, data, query?, params?): Promise<HttpResponse<Attachment, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • data: {
              attachment: File;
          }
          • attachment: File

            attachment to upload

        • Optional query: {
              name?: string;
          }
          • Optional name?: string

            name of the attachment

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Attachment, any>>

        Tags

        issue

        Name

        IssueCreateIssueAttachment

        Summary

        Create an issue attachment

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/assets

        Secure

  • issueCreateIssueBlocking: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, void>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<Issue, void>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Issue, void>>

        Tags

        issue

        Name

        IssueCreateIssueBlocking

        Summary

        Block the issue given in the body by the issue in path

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/blocks

        Secure

  • issueCreateIssueCommentAttachment: ((owner, repo, id, data, query?, params?) => Promise<HttpResponse<Attachment, any>>)
      • (owner, repo, id, data, query?, params?): Promise<HttpResponse<Attachment, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • data: {
              attachment: File;
          }
          • attachment: File

            attachment to upload

        • Optional query: {
              name?: string;
          }
          • Optional name?: string

            name of the attachment

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Attachment, any>>

        Tags

        issue

        Name

        IssueCreateIssueCommentAttachment

        Summary

        Create a comment attachment

        Request

        POST:/repos/{owner}/{repo}/issues/comments/{id}/assets

        Secure

  • issueCreateIssueDependencies: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, void>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<Issue, void>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Issue, void>>

        Tags

        issue

        Name

        IssueCreateIssueDependencies

        Summary

        Make the issue in the url depend on the issue in the form.

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/dependencies

        Secure

  • issueCreateLabel: ((owner, repo, body, params?) => Promise<HttpResponse<Label, any>>)
  • issueCreateMilestone: ((owner, repo, body, params?) => Promise<HttpResponse<Milestone, any>>)
  • issueDelete: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDelete

        Summary

        Delete an issue

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}

        Secure

  • issueDeleteComment: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDeleteComment

        Summary

        Delete a comment

        Request

        DELETE:/repos/{owner}/{repo}/issues/comments/{id}

        Secure

  • issueDeleteCommentDeprecated: ((owner, repo, index, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDeleteCommentDeprecated

        Summary

        Delete a comment

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/comments/{id}

        Deprecated

        Secure

  • issueDeleteCommentReaction: ((owner, repo, id, content, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, content, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDeleteCommentReaction

        Summary

        Remove a reaction from a comment of an issue

        Request

        DELETE:/repos/{owner}/{repo}/issues/comments/{id}/reactions

        Secure

  • issueDeleteIssueAttachment: ((owner, repo, index, attachmentId, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, attachmentId, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • attachmentId: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDeleteIssueAttachment

        Summary

        Delete an issue attachment

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}

        Secure

  • issueDeleteIssueCommentAttachment: ((owner, repo, id, attachmentId, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, attachmentId, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • attachmentId: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDeleteIssueCommentAttachment

        Summary

        Delete a comment attachment

        Request

        DELETE:/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}

        Secure

  • issueDeleteIssueReaction: ((owner, repo, index, content, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, content, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDeleteIssueReaction

        Summary

        Remove a reaction from an issue

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/reactions

        Secure

  • issueDeleteLabel: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDeleteLabel

        Summary

        Delete a label

        Request

        DELETE:/repos/{owner}/{repo}/labels/{id}

        Secure

  • issueDeleteMilestone: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDeleteMilestone

        Summary

        Delete a milestone

        Request

        DELETE:/repos/{owner}/{repo}/milestones/{id}

        Secure

  • issueDeleteStopWatch: ((owner, repo, index, params?) => Promise<HttpResponse<any, void>>)
      • (owner, repo, index, params?): Promise<HttpResponse<any, void>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, void>>

        Tags

        issue

        Name

        IssueDeleteStopWatch

        Summary

        Delete an issue's existing stopwatch.

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/stopwatch/delete

        Secure

  • issueDeleteSubscription: ((owner, repo, index, user, params?) => Promise<HttpResponse<void, void>>)
      • (owner, repo, index, user, params?): Promise<HttpResponse<void, void>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • user: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<void, void>>

        Tags

        issue

        Name

        IssueDeleteSubscription

        Summary

        Unsubscribe user from issue

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}

        Secure

  • issueDeleteTime: ((owner, repo, index, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueDeleteTime

        Summary

        Delete specific tracked time

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/times/{id}

        Secure

  • issueEditComment: ((owner, repo, id, body, params?) => Promise<HttpResponse<Comment, any>>)
  • issueEditCommentDeprecated: ((owner, repo, index, id, body, params?) => Promise<HttpResponse<Comment, any>>)
      • (owner, repo, index, id, body, params?): Promise<HttpResponse<Comment, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Comment, any>>

        Tags

        issue

        Name

        IssueEditCommentDeprecated

        Summary

        Edit a comment

        Request

        PATCH:/repos/{owner}/{repo}/issues/{index}/comments/{id}

        Deprecated

        Secure

  • issueEditIssue: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<Issue, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Issue, any>>

        Tags

        issue

        Name

        IssueEditIssue

        Summary

        Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.

        Request

        PATCH:/repos/{owner}/{repo}/issues/{index}

        Secure

  • issueEditIssueAttachment: ((owner, repo, index, attachmentId, body, params?) => Promise<HttpResponse<Attachment, any>>)
      • (owner, repo, index, attachmentId, body, params?): Promise<HttpResponse<Attachment, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Attachment, any>>

        Tags

        issue

        Name

        IssueEditIssueAttachment

        Summary

        Edit an issue attachment

        Request

        PATCH:/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}

        Secure

  • issueEditIssueCommentAttachment: ((owner, repo, id, attachmentId, body, params?) => Promise<HttpResponse<Attachment, any>>)
      • (owner, repo, id, attachmentId, body, params?): Promise<HttpResponse<Attachment, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Attachment, any>>

        Tags

        issue

        Name

        IssueEditIssueCommentAttachment

        Summary

        Edit a comment attachment

        Request

        PATCH:/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}

        Secure

  • issueEditIssueDeadline: ((owner, repo, index, body, params?) => Promise<HttpResponse<IssueDeadline, any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<IssueDeadline, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<IssueDeadline, any>>

        Tags

        issue

        Name

        IssueEditIssueDeadline

        Summary

        Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/deadline

        Secure

  • issueEditLabel: ((owner, repo, id, body, params?) => Promise<HttpResponse<Label, any>>)
      • (owner, repo, id, body, params?): Promise<HttpResponse<Label, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Label, any>>

        Tags

        issue

        Name

        IssueEditLabel

        Summary

        Update a label

        Request

        PATCH:/repos/{owner}/{repo}/labels/{id}

        Secure

  • issueEditMilestone: ((owner, repo, id, body, params?) => Promise<HttpResponse<Milestone, any>>)
  • issueGetComment: ((owner, repo, id, params?) => Promise<HttpResponse<Comment, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<Comment, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Comment, any>>

        Tags

        issue

        Name

        IssueGetComment

        Summary

        Get a comment

        Request

        GET:/repos/{owner}/{repo}/issues/comments/{id}

        Secure

  • issueGetCommentReactions: ((owner, repo, id, params?) => Promise<HttpResponse<Reaction[], any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<Reaction[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Reaction[], any>>

        Tags

        issue

        Name

        IssueGetCommentReactions

        Summary

        Get a list of reactions from a comment of an issue

        Request

        GET:/repos/{owner}/{repo}/issues/comments/{id}/reactions

        Secure

  • issueGetComments: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Comment[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<Comment[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • Optional query: {
              before?: string;
              since?: string;
          }
          • Optional before?: string

            if provided, only comments updated before the provided time are returned.

            Format

            date-time

          • Optional since?: string

            if provided, only comments updated since the specified time are returned.

            Format

            date-time

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Comment[], any>>

        Tags

        issue

        Name

        IssueGetComments

        Summary

        List all comments on an issue

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/comments

        Secure

  • issueGetCommentsAndTimeline: ((owner, repo, index, query?, params?) => Promise<HttpResponse<TimelineComment[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<TimelineComment[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • Optional query: {
              before?: string;
              limit?: number;
              page?: number;
              since?: string;
          }
          • Optional before?: string

            if provided, only comments updated before the provided time are returned.

            Format

            date-time

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional since?: string

            if provided, only comments updated since the specified time are returned.

            Format

            date-time

        • params: RequestParams = {}

        Returns Promise<HttpResponse<TimelineComment[], any>>

        Tags

        issue

        Name

        IssueGetCommentsAndTimeline

        Summary

        List all comments and events on an issue

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/timeline

        Secure

  • issueGetIssue: ((owner, repo, index, params?) => Promise<HttpResponse<Issue, any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<Issue, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Issue, any>>

        Tags

        issue

        Name

        IssueGetIssue

        Summary

        Get an issue

        Request

        GET:/repos/{owner}/{repo}/issues/{index}

        Secure

  • issueGetIssueAttachment: ((owner, repo, index, attachmentId, params?) => Promise<HttpResponse<Attachment, any>>)
      • (owner, repo, index, attachmentId, params?): Promise<HttpResponse<Attachment, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • attachmentId: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Attachment, any>>

        Tags

        issue

        Name

        IssueGetIssueAttachment

        Summary

        Get an issue attachment

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}

        Secure

  • issueGetIssueCommentAttachment: ((owner, repo, id, attachmentId, params?) => Promise<HttpResponse<Attachment, any>>)
      • (owner, repo, id, attachmentId, params?): Promise<HttpResponse<Attachment, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • attachmentId: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Attachment, any>>

        Tags

        issue

        Name

        IssueGetIssueCommentAttachment

        Summary

        Get a comment attachment

        Request

        GET:/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}

        Secure

  • issueGetIssueReactions: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Reaction[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<Reaction[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Reaction[], any>>

        Tags

        issue

        Name

        IssueGetIssueReactions

        Summary

        Get a list reactions of an issue

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/reactions

        Secure

  • issueGetLabel: ((owner, repo, id, params?) => Promise<HttpResponse<Label, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<Label, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Label, any>>

        Tags

        issue

        Name

        IssueGetLabel

        Summary

        Get a single label

        Request

        GET:/repos/{owner}/{repo}/labels/{id}

        Secure

  • issueGetLabels: ((owner, repo, index, params?) => Promise<HttpResponse<Label[], any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<Label[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Label[], any>>

        Tags

        issue

        Name

        IssueGetLabels

        Summary

        Get an issue's labels

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/labels

        Secure

  • issueGetMilestone: ((owner, repo, id, params?) => Promise<HttpResponse<Milestone, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<Milestone, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Milestone, any>>

        Tags

        issue

        Name

        IssueGetMilestone

        Summary

        Get a milestone

        Request

        GET:/repos/{owner}/{repo}/milestones/{id}

        Secure

  • issueGetMilestonesList: ((owner, repo, query?, params?) => Promise<HttpResponse<Milestone[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Milestone[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              name?: string;
              page?: number;
              state?: string;
          }
          • Optional limit?: number

            page size of results

          • Optional name?: string

            filter by milestone name

          • Optional page?: number

            page number of results to return (1-based)

          • Optional state?: string

            Milestone state, Recognized values are open, closed and all. Defaults to "open"

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Milestone[], any>>

        Tags

        issue

        Name

        IssueGetMilestonesList

        Summary

        Get all of a repository's opened milestones

        Request

        GET:/repos/{owner}/{repo}/milestones

        Secure

  • issueGetRepoComments: ((owner, repo, query?, params?) => Promise<HttpResponse<Comment[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Comment[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              before?: string;
              limit?: number;
              page?: number;
              since?: string;
          }
          • Optional before?: string

            if provided, only comments updated before the provided time are returned.

            Format

            date-time

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional since?: string

            if provided, only comments updated since the provided time are returned.

            Format

            date-time

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Comment[], any>>

        Tags

        issue

        Name

        IssueGetRepoComments

        Summary

        List all comments in a repository

        Request

        GET:/repos/{owner}/{repo}/issues/comments

        Secure

  • issueListBlocks: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Issue[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<Issue[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Issue[], any>>

        Tags

        issue

        Name

        IssueListBlocks

        Summary

        List issues that are blocked by this issue

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/blocks

        Secure

  • issueListIssueAttachments: ((owner, repo, index, params?) => Promise<HttpResponse<Attachment[], any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<Attachment[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Attachment[], any>>

        Tags

        issue

        Name

        IssueListIssueAttachments

        Summary

        List issue's attachments

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/assets

        Secure

  • issueListIssueCommentAttachments: ((owner, repo, id, params?) => Promise<HttpResponse<Attachment[], any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<Attachment[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Attachment[], any>>

        Tags

        issue

        Name

        IssueListIssueCommentAttachments

        Summary

        List comment's attachments

        Request

        GET:/repos/{owner}/{repo}/issues/comments/{id}/assets

        Secure

  • issueListIssueDependencies: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Issue[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<Issue[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Issue[], any>>

        Tags

        issue

        Name

        IssueListIssueDependencies

        Summary

        List an issue's dependencies, i.e all issues that block this issue.

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/dependencies

        Secure

  • issueListIssues: ((owner, repo, query?, params?) => Promise<HttpResponse<Issue[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Issue[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              assigned_by?: string;
              before?: string;
              created_by?: string;
              labels?: string;
              limit?: number;
              mentioned_by?: string;
              milestones?: string;
              page?: number;
              q?: string;
              since?: string;
              state?: "open" | "closed" | "all";
              type?: "issues" | "pulls";
          }
          • Optional assigned_by?: string

            Only show items for which the given user is assigned

          • Optional before?: string

            Only show items updated before the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional created_by?: string

            Only show items which were created by the the given user

          • Optional labels?: string

            comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded

          • Optional limit?: number

            page size of results

          • Optional mentioned_by?: string

            Only show items in which the given user was mentioned

          • Optional milestones?: string

            comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded

          • Optional page?: number

            page number of results to return (1-based)

          • Optional q?: string

            search string

          • Optional since?: string

            Only show items updated after the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional state?: "open" | "closed" | "all"

            whether issue is open or closed

          • Optional type?: "issues" | "pulls"

            filter by type (issues / pulls) if set

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Issue[], any>>

        Tags

        issue

        Name

        IssueListIssues

        Summary

        List a repository's issues

        Request

        GET:/repos/{owner}/{repo}/issues

        Secure

  • issueListLabels: ((owner, repo, query?, params?) => Promise<HttpResponse<Label[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Label[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Label[], any>>

        Tags

        issue

        Name

        IssueListLabels

        Summary

        Get all of a repository's labels

        Request

        GET:/repos/{owner}/{repo}/labels

        Secure

  • issuePostCommentReaction: ((owner, repo, id, content, params?) => Promise<HttpResponse<Reaction, any>>)
      • (owner, repo, id, content, params?): Promise<HttpResponse<Reaction, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Reaction, any>>

        Tags

        issue

        Name

        IssuePostCommentReaction

        Summary

        Add a reaction to a comment of an issue

        Request

        POST:/repos/{owner}/{repo}/issues/comments/{id}/reactions

        Secure

  • issuePostIssueReaction: ((owner, repo, index, content, params?) => Promise<HttpResponse<Reaction, any>>)
      • (owner, repo, index, content, params?): Promise<HttpResponse<Reaction, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Reaction, any>>

        Tags

        issue

        Name

        IssuePostIssueReaction

        Summary

        Add a reaction to an issue

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/reactions

        Secure

  • issueRemoveIssueBlocking: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<Issue, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Issue, any>>

        Tags

        issue

        Name

        IssueRemoveIssueBlocking

        Summary

        Unblock the issue given in the body by the issue in path

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/blocks

        Secure

  • issueRemoveIssueDependencies: ((owner, repo, index, body, params?) => Promise<HttpResponse<Issue, any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<Issue, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Issue, any>>

        Tags

        issue

        Name

        IssueRemoveIssueDependencies

        Summary

        Remove an issue dependency

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/dependencies

        Secure

  • issueRemoveLabel: ((owner, repo, index, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueRemoveLabel

        Summary

        Remove a label from an issue

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/labels/{id}

        Secure

  • issueReplaceLabels: ((owner, repo, index, body, params?) => Promise<HttpResponse<Label[], any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<Label[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Label[], any>>

        Tags

        issue

        Name

        IssueReplaceLabels

        Summary

        Replace an issue's labels

        Request

        PUT:/repos/{owner}/{repo}/issues/{index}/labels

        Secure

  • issueResetTime: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        IssueResetTime

        Summary

        Reset a tracked time of an issue

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/times

        Secure

  • issueSearchIssues: ((query?, params?) => Promise<HttpResponse<Issue[], any>>)
      • (query?, params?): Promise<HttpResponse<Issue[], any>>
      • No description

        Parameters

        • Optional query: {
              assigned?: boolean;
              before?: string;
              created?: boolean;
              labels?: string;
              limit?: number;
              mentioned?: boolean;
              milestones?: string;
              owner?: string;
              page?: number;
              priority_repo_id?: number;
              q?: string;
              review_requested?: boolean;
              reviewed?: boolean;
              since?: string;
              state?: string;
              team?: string;
              type?: string;
          }
          • Optional assigned?: boolean

            filter (issues / pulls) assigned to you, default is false

          • Optional before?: string

            Only show notifications updated before the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional created?: boolean

            filter (issues / pulls) created by you, default is false

          • Optional labels?: string

            comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded

          • Optional limit?: number

            page size of results

          • Optional mentioned?: boolean

            filter (issues / pulls) mentioning you, default is false

          • Optional milestones?: string

            comma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded

          • Optional owner?: string

            filter by owner

          • Optional page?: number

            page number of results to return (1-based)

          • Optional priority_repo_id?: number

            repository to prioritize in the results

            Format

            int64

          • Optional q?: string

            search string

          • Optional review_requested?: boolean

            filter pulls requesting your review, default is false

          • Optional reviewed?: boolean

            filter pulls reviewed by you, default is false

          • Optional since?: string

            Only show notifications updated after the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional state?: string

            whether issue is open or closed

          • Optional team?: string

            filter by team (requires organization owner parameter to be provided)

          • Optional type?: string

            filter by type (issues / pulls) if set

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Issue[], any>>

        Tags

        issue

        Name

        IssueSearchIssues

        Summary

        Search for issues across the repositories that the user has access to

        Request

        GET:/repos/issues/search

        Secure

  • issueStartStopWatch: ((owner, repo, index, params?) => Promise<HttpResponse<any, void>>)
      • (owner, repo, index, params?): Promise<HttpResponse<any, void>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, void>>

        Tags

        issue

        Name

        IssueStartStopWatch

        Summary

        Start stopwatch on an issue.

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/stopwatch/start

        Secure

  • issueStopStopWatch: ((owner, repo, index, params?) => Promise<HttpResponse<any, void>>)
      • (owner, repo, index, params?): Promise<HttpResponse<any, void>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, void>>

        Tags

        issue

        Name

        IssueStopStopWatch

        Summary

        Stop an issue's existing stopwatch.

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/stopwatch/stop

        Secure

  • issueSubscriptions: ((owner, repo, index, query?, params?) => Promise<HttpResponse<User[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        issue

        Name

        IssueSubscriptions

        Summary

        Get users who subscribed on an issue.

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/subscriptions

        Secure

  • issueTrackedTimes: ((owner, repo, index, query?, params?) => Promise<HttpResponse<TrackedTime[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<TrackedTime[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • Optional query: {
              before?: string;
              limit?: number;
              page?: number;
              since?: string;
              user?: string;
          }
          • Optional before?: string

            Only show times updated before the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional since?: string

            Only show times updated after the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional user?: string

            optional filter by user (available for issue managers)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<TrackedTime[], any>>

        Tags

        issue

        Name

        IssueTrackedTimes

        Summary

        List an issue's tracked times

        Request

        GET:/repos/{owner}/{repo}/issues/{index}/times

        Secure

  • listForks: ((owner, repo, query?, params?) => Promise<HttpResponse<Repository[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Repository[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Repository[], any>>

        Tags

        repository

        Name

        ListForks

        Summary

        List a repository's forks

        Request

        GET:/repos/{owner}/{repo}/forks

        Secure

  • moveIssuePin: ((owner, repo, index, position, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, position, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • position: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        MoveIssuePin

        Summary

        Moves the Pin to the given Position

        Request

        PATCH:/repos/{owner}/{repo}/issues/{index}/pin/{position}

        Secure

  • notifyGetRepoList: ((owner, repo, query?, params?) => Promise<HttpResponse<NotificationThread[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<NotificationThread[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              all?: boolean;
              before?: string;
              limit?: number;
              page?: number;
              since?: string;
              status-types?: string[];
              subject-type?: ("issue" | "pull" | "commit" | "repository")[];
          }
          • Optional all?: boolean

            If true, show notifications marked as read. Default value is false

          • Optional before?: string

            Only show notifications updated before the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional since?: string

            Only show notifications updated after the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional status-types?: string[]

            Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned

          • Optional subject-type?: ("issue" | "pull" | "commit" | "repository")[]

            filter notifications by subject type

        • params: RequestParams = {}

        Returns Promise<HttpResponse<NotificationThread[], any>>

        Tags

        notification

        Name

        NotifyGetRepoList

        Summary

        List users's notification threads on a specific repo

        Request

        GET:/repos/{owner}/{repo}/notifications

        Secure

  • notifyReadRepoList: ((owner, repo, query?, params?) => Promise<HttpResponse<NotificationThread[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<NotificationThread[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              all?: string;
              last_read_at?: string;
              status-types?: string[];
              to-status?: string;
          }
          • Optional all?: string

            If true, mark all notifications on this repo. Default value is false

          • Optional last_read_at?: string

            Describes the last point that notifications were checked. Anything updated since this time will not be updated.

            Format

            date-time

          • Optional status-types?: string[]

            Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread.

          • Optional to-status?: string

            Status to mark notifications as. Defaults to read.

        • params: RequestParams = {}

        Returns Promise<HttpResponse<NotificationThread[], any>>

        Tags

        notification

        Name

        NotifyReadRepoList

        Summary

        Mark notification threads as read, pinned or unread on a specific repo

        Request

        PUT:/repos/{owner}/{repo}/notifications

        Secure

  • pinIssue: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        PinIssue

        Summary

        Pin an Issue

        Request

        POST:/repos/{owner}/{repo}/issues/{index}/pin

        Secure

  • rejectRepoTransfer: ((owner, repo, params?) => Promise<HttpResponse<Repository, any>>)
      • (owner, repo, params?): Promise<HttpResponse<Repository, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Repository, any>>

        Tags

        repository

        Name

        RejectRepoTransfer

        Summary

        Reject a repo transfer

        Request

        POST:/repos/{owner}/{repo}/transfer/reject

        Secure

  • repoAddCollaborator: ((owner, repo, collaborator, body, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, collaborator, body, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoAddCollaborator

        Summary

        Add a collaborator to a repository

        Request

        PUT:/repos/{owner}/{repo}/collaborators/{collaborator}

        Secure

  • repoAddPushMirror: ((owner, repo, body, params?) => Promise<HttpResponse<PushMirror, any>>)
  • repoAddTeam: ((owner, repo, team, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, team, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • team: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoAddTeam

        Summary

        Add a team to a repository

        Request

        PUT:/repos/{owner}/{repo}/teams/{team}

        Secure

  • repoAddTopic: ((owner, repo, topic, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, topic, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • topic: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoAddTopic

        Summary

        Add a topic to a repository

        Request

        PUT:/repos/{owner}/{repo}/topics/{topic}

        Secure

  • repoApplyDiffPatch: ((owner, repo, body, params?) => Promise<HttpResponse<FileResponse, any>>)
  • repoCancelScheduledAutoMerge: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoCancelScheduledAutoMerge

        Summary

        Cancel the scheduled auto merge for the given pull request

        Request

        DELETE:/repos/{owner}/{repo}/pulls/{index}/merge

        Secure

  • repoChangeFiles: ((owner, repo, body, params?) => Promise<HttpResponse<FilesResponse, any>>)
  • repoCheckCollaborator: ((owner, repo, collaborator, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, collaborator, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • collaborator: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoCheckCollaborator

        Summary

        Check if a user is a collaborator of a repository

        Request

        GET:/repos/{owner}/{repo}/collaborators/{collaborator}

        Secure

  • repoCheckTeam: ((owner, repo, team, params?) => Promise<HttpResponse<Team, any>>)
      • (owner, repo, team, params?): Promise<HttpResponse<Team, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • team: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Team, any>>

        Tags

        repository

        Name

        RepoCheckTeam

        Summary

        Check if a team is assigned to a repository

        Request

        GET:/repos/{owner}/{repo}/teams/{team}

        Secure

  • repoCreateBranch: ((owner, repo, body, params?) => Promise<HttpResponse<Branch, void>>)
  • repoCreateBranchProtection: ((owner, repo, body, params?) => Promise<HttpResponse<BranchProtection, any>>)
  • repoCreateFile: ((owner, repo, filepath, body, params?) => Promise<HttpResponse<FileResponse, any>>)
  • repoCreateHook: ((owner, repo, body, params?) => Promise<HttpResponse<Hook, any>>)
      • (owner, repo, body, params?): Promise<HttpResponse<Hook, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Hook, any>>

        Tags

        repository

        Name

        RepoCreateHook

        Summary

        Create a hook

        Request

        POST:/repos/{owner}/{repo}/hooks

        Secure

  • repoCreateKey: ((owner, repo, body, params?) => Promise<HttpResponse<DeployKey, any>>)
  • repoCreatePullRequest: ((owner, repo, body, params?) => Promise<HttpResponse<PullRequest, any>>)
  • repoCreatePullReview: ((owner, repo, index, body, params?) => Promise<HttpResponse<PullReview, any>>)
  • repoCreatePullReviewRequests: ((owner, repo, index, body, params?) => Promise<HttpResponse<PullReview[], any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<PullReview[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<PullReview[], any>>

        Tags

        repository

        Name

        RepoCreatePullReviewRequests

        Summary

        create review requests for a pull request

        Request

        POST:/repos/{owner}/{repo}/pulls/{index}/requested_reviewers

        Secure

  • repoCreateRelease: ((owner, repo, body, params?) => Promise<HttpResponse<Release, any>>)
  • repoCreateReleaseAttachment: ((owner, repo, id, data, query?, params?) => Promise<HttpResponse<Attachment, any>>)
      • (owner, repo, id, data, query?, params?): Promise<HttpResponse<Attachment, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • data: {
              attachment: File;
          }
          • attachment: File

            attachment to upload

        • Optional query: {
              name?: string;
          }
          • Optional name?: string

            name of the attachment

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Attachment, any>>

        Tags

        repository

        Name

        RepoCreateReleaseAttachment

        Summary

        Create a release attachment

        Request

        POST:/repos/{owner}/{repo}/releases/{id}/assets

        Secure

  • repoCreateStatus: ((owner, repo, sha, body, params?) => Promise<HttpResponse<CommitStatus, any>>)
  • repoCreateTag: ((owner, repo, body, params?) => Promise<HttpResponse<Tag, any>>)
      • (owner, repo, body, params?): Promise<HttpResponse<Tag, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Tag, any>>

        Tags

        repository

        Name

        RepoCreateTag

        Summary

        Create a new git tag in a repository

        Request

        POST:/repos/{owner}/{repo}/tags

        Secure

  • repoCreateWikiPage: ((owner, repo, body, params?) => Promise<HttpResponse<WikiPage, any>>)
  • repoDelete: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDelete

        Summary

        Delete a repository

        Request

        DELETE:/repos/{owner}/{repo}

        Secure

  • repoDeleteAvatar: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteAvatar

        Summary

        Delete avatar

        Request

        DELETE:/repos/{owner}/{repo}/avatar

        Secure

  • repoDeleteBranch: ((owner, repo, branch, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, branch, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • branch: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteBranch

        Summary

        Delete a specific branch from a repository

        Request

        DELETE:/repos/{owner}/{repo}/branches/{branch}

        Secure

  • repoDeleteBranchProtection: ((owner, repo, name, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, name, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • name: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteBranchProtection

        Summary

        Delete a specific branch protection for the repository

        Request

        DELETE:/repos/{owner}/{repo}/branch_protections/{name}

        Secure

  • repoDeleteCollaborator: ((owner, repo, collaborator, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, collaborator, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • collaborator: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteCollaborator

        Summary

        Delete a collaborator from a repository

        Request

        DELETE:/repos/{owner}/{repo}/collaborators/{collaborator}

        Secure

  • repoDeleteFile: ((owner, repo, filepath, body, params?) => Promise<HttpResponse<FileDeleteResponse, any>>)
  • repoDeleteGitHook: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteGitHook

        Summary

        Delete a Git hook in a repository

        Request

        DELETE:/repos/{owner}/{repo}/hooks/git/{id}

        Secure

  • repoDeleteHook: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteHook

        Summary

        Delete a hook in a repository

        Request

        DELETE:/repos/{owner}/{repo}/hooks/{id}

        Secure

  • repoDeleteKey: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteKey

        Summary

        Delete a key from a repository

        Request

        DELETE:/repos/{owner}/{repo}/keys/{id}

        Secure

  • repoDeletePullReview: ((owner, repo, index, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeletePullReview

        Summary

        Delete a specific review from a pull request

        Request

        DELETE:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}

        Secure

  • repoDeletePullReviewRequests: ((owner, repo, index, body, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeletePullReviewRequests

        Summary

        cancel review requests for a pull request

        Request

        DELETE:/repos/{owner}/{repo}/pulls/{index}/requested_reviewers

        Secure

  • repoDeletePushMirror: ((owner, repo, name, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, name, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • name: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeletePushMirror

        Summary

        deletes a push mirror from a repository by remoteName

        Request

        DELETE:/repos/{owner}/{repo}/push_mirrors/{name}

        Secure

  • repoDeleteRelease: ((owner, repo, id, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteRelease

        Summary

        Delete a release

        Request

        DELETE:/repos/{owner}/{repo}/releases/{id}

        Secure

  • repoDeleteReleaseAttachment: ((owner, repo, id, attachmentId, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, attachmentId, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • attachmentId: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteReleaseAttachment

        Summary

        Delete a release attachment

        Request

        DELETE:/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}

        Secure

  • repoDeleteReleaseByTag: ((owner, repo, tag, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, tag, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • tag: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteReleaseByTag

        Summary

        Delete a release by tag name

        Request

        DELETE:/repos/{owner}/{repo}/releases/tags/{tag}

        Secure

  • repoDeleteTag: ((owner, repo, tag, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, tag, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • tag: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteTag

        Summary

        Delete a repository's tag by name

        Request

        DELETE:/repos/{owner}/{repo}/tags/{tag}

        Secure

  • repoDeleteTeam: ((owner, repo, team, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, team, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • team: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteTeam

        Summary

        Delete a team from a repository

        Request

        DELETE:/repos/{owner}/{repo}/teams/{team}

        Secure

  • repoDeleteTopic: ((owner, repo, topic, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, topic, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • topic: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteTopic

        Summary

        Delete a topic from a repository

        Request

        DELETE:/repos/{owner}/{repo}/topics/{topic}

        Secure

  • repoDeleteWikiPage: ((owner, repo, pageName, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, pageName, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • pageName: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoDeleteWikiPage

        Summary

        Delete a wiki page

        Request

        DELETE:/repos/{owner}/{repo}/wiki/page/{pageName}

        Secure

  • repoDismissPullReview: ((owner, repo, index, id, body, params?) => Promise<HttpResponse<PullReview, any>>)
      • (owner, repo, index, id, body, params?): Promise<HttpResponse<PullReview, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<PullReview, any>>

        Tags

        repository

        Name

        RepoDismissPullReview

        Summary

        Dismiss a review for a pull request

        Request

        POST:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals

        Secure

  • repoDownloadCommitDiffOrPatch: ((owner, repo, sha, diffType, params?) => Promise<HttpResponse<string, any>>)
      • (owner, repo, sha, diffType, params?): Promise<HttpResponse<string, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • sha: string
        • diffType: "diff" | "patch"
        • params: RequestParams = {}

        Returns Promise<HttpResponse<string, any>>

        Tags

        repository

        Name

        RepoDownloadCommitDiffOrPatch

        Summary

        Get a commit's diff or patch

        Request

        GET:/repos/{owner}/{repo}/git/commits/{sha}.{diffType}

        Secure

  • repoDownloadPullDiffOrPatch: ((owner, repo, index, diffType, query?, params?) => Promise<HttpResponse<string, any>>)
      • (owner, repo, index, diffType, query?, params?): Promise<HttpResponse<string, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • diffType: "diff" | "patch"
        • Optional query: {
              binary?: boolean;
          }
          • Optional binary?: boolean

            whether to include binary file changes. if true, the diff is applicable with git apply

        • params: RequestParams = {}

        Returns Promise<HttpResponse<string, any>>

        Tags

        repository

        Name

        RepoDownloadPullDiffOrPatch

        Summary

        Get a pull request diff or patch

        Request

        GET:/repos/{owner}/{repo}/pulls/{index}.{diffType}

        Secure

  • repoEdit: ((owner, repo, body, params?) => Promise<HttpResponse<Repository, any>>)
      • (owner, repo, body, params?): Promise<HttpResponse<Repository, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Repository, any>>

        Tags

        repository

        Name

        RepoEdit

        Summary

        Edit a repository's properties. Only fields that are set will be changed.

        Request

        PATCH:/repos/{owner}/{repo}

        Secure

  • repoEditBranchProtection: ((owner, repo, name, body, params?) => Promise<HttpResponse<BranchProtection, any>>)
  • repoEditGitHook: ((owner, repo, id, body, params?) => Promise<HttpResponse<GitHook, any>>)
      • (owner, repo, id, body, params?): Promise<HttpResponse<GitHook, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<GitHook, any>>

        Tags

        repository

        Name

        RepoEditGitHook

        Summary

        Edit a Git hook in a repository

        Request

        PATCH:/repos/{owner}/{repo}/hooks/git/{id}

        Secure

  • repoEditHook: ((owner, repo, id, body, params?) => Promise<HttpResponse<Hook, any>>)
      • (owner, repo, id, body, params?): Promise<HttpResponse<Hook, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Hook, any>>

        Tags

        repository

        Name

        RepoEditHook

        Summary

        Edit a hook in a repository

        Request

        PATCH:/repos/{owner}/{repo}/hooks/{id}

        Secure

  • repoEditPullRequest: ((owner, repo, index, body, params?) => Promise<HttpResponse<PullRequest, any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<PullRequest, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<PullRequest, any>>

        Tags

        repository

        Name

        RepoEditPullRequest

        Summary

        Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.

        Request

        PATCH:/repos/{owner}/{repo}/pulls/{index}

        Secure

  • repoEditRelease: ((owner, repo, id, body, params?) => Promise<HttpResponse<Release, any>>)
      • (owner, repo, id, body, params?): Promise<HttpResponse<Release, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Release, any>>

        Tags

        repository

        Name

        RepoEditRelease

        Summary

        Update a release

        Request

        PATCH:/repos/{owner}/{repo}/releases/{id}

        Secure

  • repoEditReleaseAttachment: ((owner, repo, id, attachmentId, body, params?) => Promise<HttpResponse<Attachment, any>>)
      • (owner, repo, id, attachmentId, body, params?): Promise<HttpResponse<Attachment, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Attachment, any>>

        Tags

        repository

        Name

        RepoEditReleaseAttachment

        Summary

        Edit a release attachment

        Request

        PATCH:/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}

        Secure

  • repoEditWikiPage: ((owner, repo, pageName, body, params?) => Promise<HttpResponse<WikiPage, any>>)
      • (owner, repo, pageName, body, params?): Promise<HttpResponse<WikiPage, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<WikiPage, any>>

        Tags

        repository

        Name

        RepoEditWikiPage

        Summary

        Edit a wiki page

        Request

        PATCH:/repos/{owner}/{repo}/wiki/page/{pageName}

        Secure

  • repoGet: ((owner, repo, params?) => Promise<HttpResponse<Repository, any>>)
  • repoGetAllCommits: ((owner, repo, query?, params?) => Promise<HttpResponse<Commit[], APIError>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Commit[], APIError>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              files?: boolean;
              limit?: number;
              not?: string;
              page?: number;
              path?: string;
              sha?: string;
              stat?: boolean;
              verification?: boolean;
          }
          • Optional files?: boolean

            include a list of affected files for every commit (disable for speedup, default 'true')

          • Optional limit?: number

            page size of results (ignored if used with 'path')

          • Optional not?: string

            commits that match the given specifier will not be listed.

          • Optional page?: number

            page number of results to return (1-based)

          • Optional path?: string

            filepath of a file/dir

          • Optional sha?: string

            SHA or branch to start listing commits from (usually 'master')

          • Optional stat?: boolean

            include diff stats for every commit (disable for speedup, default 'true')

          • Optional verification?: boolean

            include verification for every commit (disable for speedup, default 'true')

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Commit[], APIError>>

        Tags

        repository

        Name

        RepoGetAllCommits

        Summary

        Get a list of all commits from a repository

        Request

        GET:/repos/{owner}/{repo}/commits

        Secure

  • repoGetArchive: ((owner, repo, archive, params?) => Promise<HttpResponse<void, any>>)
      • (owner, repo, archive, params?): Promise<HttpResponse<void, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • archive: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<void, any>>

        Tags

        repository

        Name

        RepoGetArchive

        Summary

        Get an archive of a repository

        Request

        GET:/repos/{owner}/{repo}/archive/{archive}

        Secure

  • repoGetAssignees: ((owner, repo, params?) => Promise<HttpResponse<User[], any>>)
      • (owner, repo, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<User[], any>>

        Tags

        repository

        Name

        RepoGetAssignees

        Summary

        Return all users that have write access and can be assigned to issues

        Request

        GET:/repos/{owner}/{repo}/assignees

        Secure

  • repoGetBranch: ((owner, repo, branch, params?) => Promise<HttpResponse<Branch, any>>)
      • (owner, repo, branch, params?): Promise<HttpResponse<Branch, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • branch: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Branch, any>>

        Tags

        repository

        Name

        RepoGetBranch

        Summary

        Retrieve a specific branch from a repository, including its effective branch protection

        Request

        GET:/repos/{owner}/{repo}/branches/{branch}

        Secure

  • repoGetBranchProtection: ((owner, repo, name, params?) => Promise<HttpResponse<BranchProtection, any>>)
      • (owner, repo, name, params?): Promise<HttpResponse<BranchProtection, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • name: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<BranchProtection, any>>

        Tags

        repository

        Name

        RepoGetBranchProtection

        Summary

        Get a specific branch protection for the repository

        Request

        GET:/repos/{owner}/{repo}/branch_protections/{name}

        Secure

  • repoGetCombinedStatusByRef: ((owner, repo, ref, query?, params?) => Promise<HttpResponse<CombinedStatus, any>>)
      • (owner, repo, ref, query?, params?): Promise<HttpResponse<CombinedStatus, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • ref: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<CombinedStatus, any>>

        Tags

        repository

        Name

        RepoGetCombinedStatusByRef

        Summary

        Get a commit's combined status, by branch/tag/commit reference

        Request

        GET:/repos/{owner}/{repo}/commits/{ref}/status

        Secure

  • repoGetContents: ((owner, repo, filepath, query?, params?) => Promise<HttpResponse<ContentsResponse, any>>)
      • (owner, repo, filepath, query?, params?): Promise<HttpResponse<ContentsResponse, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • filepath: string
        • Optional query: {
              ref?: string;
          }
          • Optional ref?: string

            The name of the commit/branch/tag. Default the repository’s default branch (usually master)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<ContentsResponse, any>>

        Tags

        repository

        Name

        RepoGetContents

        Summary

        Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir

        Request

        GET:/repos/{owner}/{repo}/contents/{filepath}

        Secure

  • repoGetContentsList: ((owner, repo, query?, params?) => Promise<HttpResponse<ContentsResponse[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<ContentsResponse[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              ref?: string;
          }
          • Optional ref?: string

            The name of the commit/branch/tag. Default the repository’s default branch (usually master)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<ContentsResponse[], any>>

        Tags

        repository

        Name

        RepoGetContentsList

        Summary

        Gets the metadata of all the entries of the root dir

        Request

        GET:/repos/{owner}/{repo}/contents

        Secure

  • repoGetEditorConfig: ((owner, repo, filepath, query?, params?) => Promise<HttpResponse<void, any>>)
      • (owner, repo, filepath, query?, params?): Promise<HttpResponse<void, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • filepath: string
        • Optional query: {
              ref?: string;
          }
          • Optional ref?: string

            The name of the commit/branch/tag. Default the repository’s default branch (usually master)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<void, any>>

        Tags

        repository

        Name

        RepoGetEditorConfig

        Summary

        Get the EditorConfig definitions of a file in a repository

        Request

        GET:/repos/{owner}/{repo}/editorconfig/{filepath}

        Secure

  • repoGetGitHook: ((owner, repo, id, params?) => Promise<HttpResponse<GitHook, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<GitHook, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<GitHook, any>>

        Tags

        repository

        Name

        RepoGetGitHook

        Summary

        Get a Git hook

        Request

        GET:/repos/{owner}/{repo}/hooks/git/{id}

        Secure

  • repoGetHook: ((owner, repo, id, params?) => Promise<HttpResponse<Hook, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<Hook, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Hook, any>>

        Tags

        repository

        Name

        RepoGetHook

        Summary

        Get a hook

        Request

        GET:/repos/{owner}/{repo}/hooks/{id}

        Secure

  • repoGetIssueConfig: ((owner, repo, params?) => Promise<HttpResponse<IssueConfig, any>>)
      • (owner, repo, params?): Promise<HttpResponse<IssueConfig, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<IssueConfig, any>>

        Tags

        repository

        Name

        RepoGetIssueConfig

        Summary

        Returns the issue config for a repo

        Request

        GET:/repos/{owner}/{repo}/issue_config

        Secure

  • repoGetIssueTemplates: ((owner, repo, params?) => Promise<HttpResponse<IssueTemplate[], any>>)
      • (owner, repo, params?): Promise<HttpResponse<IssueTemplate[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<IssueTemplate[], any>>

        Tags

        repository

        Name

        RepoGetIssueTemplates

        Summary

        Get available issue templates for a repository

        Request

        GET:/repos/{owner}/{repo}/issue_templates

        Secure

  • repoGetKey: ((owner, repo, id, params?) => Promise<HttpResponse<DeployKey, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<DeployKey, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<DeployKey, any>>

        Tags

        repository

        Name

        RepoGetKey

        Summary

        Get a repository's key by id

        Request

        GET:/repos/{owner}/{repo}/keys/{id}

        Secure

  • repoGetLanguages: ((owner, repo, params?) => Promise<HttpResponse<Record<string, number>, any>>)
      • (owner, repo, params?): Promise<HttpResponse<Record<string, number>, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Record<string, number>, any>>

        Tags

        repository

        Name

        RepoGetLanguages

        Summary

        Get languages and number of bytes of code written

        Request

        GET:/repos/{owner}/{repo}/languages

        Secure

  • repoGetLatestRelease: ((owner, repo, params?) => Promise<HttpResponse<Release, any>>)
      • (owner, repo, params?): Promise<HttpResponse<Release, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Release, any>>

        Tags

        repository

        Name

        RepoGetLatestRelease

        Summary

        Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at

        Request

        GET:/repos/{owner}/{repo}/releases/latest

        Secure

  • repoGetNote: ((owner, repo, sha, params?) => Promise<HttpResponse<Note, any>>)
      • (owner, repo, sha, params?): Promise<HttpResponse<Note, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • sha: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Note, any>>

        Tags

        repository

        Name

        RepoGetNote

        Summary

        Get a note corresponding to a single commit from a repository

        Request

        GET:/repos/{owner}/{repo}/git/notes/{sha}

        Secure

  • repoGetPullRequest: ((owner, repo, index, params?) => Promise<HttpResponse<PullRequest, any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<PullRequest, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<PullRequest, any>>

        Tags

        repository

        Name

        RepoGetPullRequest

        Summary

        Get a pull request

        Request

        GET:/repos/{owner}/{repo}/pulls/{index}

        Secure

  • repoGetPullRequestCommits: ((owner, repo, index, query?, params?) => Promise<HttpResponse<Commit[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<Commit[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Commit[], any>>

        Tags

        repository

        Name

        RepoGetPullRequestCommits

        Summary

        Get commits for a pull request

        Request

        GET:/repos/{owner}/{repo}/pulls/{index}/commits

        Secure

  • repoGetPullRequestFiles: ((owner, repo, index, query?, params?) => Promise<HttpResponse<ChangedFile[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<ChangedFile[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • Optional query: {
              limit?: number;
              page?: number;
              skip-to?: string;
              whitespace?: "ignore-all" | "ignore-change" | "ignore-eol" | "show-all";
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional skip-to?: string

            skip to given file

          • Optional whitespace?: "ignore-all" | "ignore-change" | "ignore-eol" | "show-all"

            whitespace behavior

        • params: RequestParams = {}

        Returns Promise<HttpResponse<ChangedFile[], any>>

        Tags

        repository

        Name

        RepoGetPullRequestFiles

        Summary

        Get changed files for a pull request

        Request

        GET:/repos/{owner}/{repo}/pulls/{index}/files

        Secure

  • repoGetPullReview: ((owner, repo, index, id, params?) => Promise<HttpResponse<PullReview, any>>)
      • (owner, repo, index, id, params?): Promise<HttpResponse<PullReview, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<PullReview, any>>

        Tags

        repository

        Name

        RepoGetPullReview

        Summary

        Get a specific review for a pull request

        Request

        GET:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}

        Secure

  • repoGetPullReviewComments: ((owner, repo, index, id, params?) => Promise<HttpResponse<PullReviewComment[], any>>)
      • (owner, repo, index, id, params?): Promise<HttpResponse<PullReviewComment[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<PullReviewComment[], any>>

        Tags

        repository

        Name

        RepoGetPullReviewComments

        Summary

        Get a specific review for a pull request

        Request

        GET:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments

        Secure

  • repoGetPushMirrorByRemoteName: ((owner, repo, name, params?) => Promise<HttpResponse<PushMirror, any>>)
      • (owner, repo, name, params?): Promise<HttpResponse<PushMirror, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • name: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<PushMirror, any>>

        Tags

        repository

        Name

        RepoGetPushMirrorByRemoteName

        Summary

        Get push mirror of the repository by remoteName

        Request

        GET:/repos/{owner}/{repo}/push_mirrors/{name}

        Secure

  • repoGetRawFile: ((owner, repo, filepath, query?, params?) => Promise<HttpResponse<void, any>>)
      • (owner, repo, filepath, query?, params?): Promise<HttpResponse<void, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • filepath: string
        • Optional query: {
              ref?: string;
          }
          • Optional ref?: string

            The name of the commit/branch/tag. Default the repository’s default branch (usually master)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<void, any>>

        Tags

        repository

        Name

        RepoGetRawFile

        Summary

        Get a file from a repository

        Request

        GET:/repos/{owner}/{repo}/raw/{filepath}

        Secure

  • repoGetRawFileOrLfs: ((owner, repo, filepath, query?, params?) => Promise<HttpResponse<void, any>>)
      • (owner, repo, filepath, query?, params?): Promise<HttpResponse<void, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • filepath: string
        • Optional query: {
              ref?: string;
          }
          • Optional ref?: string

            The name of the commit/branch/tag. Default the repository’s default branch (usually master)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<void, any>>

        Tags

        repository

        Name

        RepoGetRawFileOrLfs

        Summary

        Get a file or it's LFS object from a repository

        Request

        GET:/repos/{owner}/{repo}/media/{filepath}

        Secure

  • repoGetRelease: ((owner, repo, id, params?) => Promise<HttpResponse<Release, any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<Release, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Release, any>>

        Tags

        repository

        Name

        RepoGetRelease

        Summary

        Get a release

        Request

        GET:/repos/{owner}/{repo}/releases/{id}

        Secure

  • repoGetReleaseAttachment: ((owner, repo, id, attachmentId, params?) => Promise<HttpResponse<Attachment, any>>)
      • (owner, repo, id, attachmentId, params?): Promise<HttpResponse<Attachment, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • attachmentId: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Attachment, any>>

        Tags

        repository

        Name

        RepoGetReleaseAttachment

        Summary

        Get a release attachment

        Request

        GET:/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}

        Secure

  • repoGetReleaseByTag: ((owner, repo, tag, params?) => Promise<HttpResponse<Release, any>>)
      • (owner, repo, tag, params?): Promise<HttpResponse<Release, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • tag: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Release, any>>

        Tags

        repository

        Name

        RepoGetReleaseByTag

        Summary

        Get a release by tag name

        Request

        GET:/repos/{owner}/{repo}/releases/tags/{tag}

        Secure

  • repoGetRepoPermissions: ((owner, repo, collaborator, params?) => Promise<HttpResponse<RepoCollaboratorPermission, any>>)
  • repoGetReviewers: ((owner, repo, params?) => Promise<HttpResponse<User[], any>>)
      • (owner, repo, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<User[], any>>

        Tags

        repository

        Name

        RepoGetReviewers

        Summary

        Return all users that can be requested to review in this repo

        Request

        GET:/repos/{owner}/{repo}/reviewers

        Secure

  • repoGetSingleCommit: ((owner, repo, sha, query?, params?) => Promise<HttpResponse<Commit, any>>)
      • (owner, repo, sha, query?, params?): Promise<HttpResponse<Commit, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • sha: string
        • Optional query: {
              files?: boolean;
              stat?: boolean;
              verification?: boolean;
          }
          • Optional files?: boolean

            include a list of affected files for every commit (disable for speedup, default 'true')

          • Optional stat?: boolean

            include diff stats for every commit (disable for speedup, default 'true')

          • Optional verification?: boolean

            include verification for every commit (disable for speedup, default 'true')

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Commit, any>>

        Tags

        repository

        Name

        RepoGetSingleCommit

        Summary

        Get a single commit from a repository

        Request

        GET:/repos/{owner}/{repo}/git/commits/{sha}

        Secure

  • repoGetTag: ((owner, repo, tag, params?) => Promise<HttpResponse<Tag, any>>)
      • (owner, repo, tag, params?): Promise<HttpResponse<Tag, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • tag: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Tag, any>>

        Tags

        repository

        Name

        RepoGetTag

        Summary

        Get the tag of a repository by tag name

        Request

        GET:/repos/{owner}/{repo}/tags/{tag}

        Secure

  • repoGetWikiPage: ((owner, repo, pageName, params?) => Promise<HttpResponse<WikiPage, any>>)
      • (owner, repo, pageName, params?): Promise<HttpResponse<WikiPage, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • pageName: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<WikiPage, any>>

        Tags

        repository

        Name

        RepoGetWikiPage

        Summary

        Get a wiki page

        Request

        GET:/repos/{owner}/{repo}/wiki/page/{pageName}

        Secure

  • repoGetWikiPageRevisions: ((owner, repo, pageName, query?, params?) => Promise<HttpResponse<WikiCommitList, any>>)
      • (owner, repo, pageName, query?, params?): Promise<HttpResponse<WikiCommitList, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • pageName: string
        • Optional query: {
              page?: number;
          }
          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<WikiCommitList, any>>

        Tags

        repository

        Name

        RepoGetWikiPageRevisions

        Summary

        Get revisions of a wiki page

        Request

        GET:/repos/{owner}/{repo}/wiki/revisions/{pageName}

        Secure

  • repoGetWikiPages: ((owner, repo, query?, params?) => Promise<HttpResponse<WikiPageMetaData[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<WikiPageMetaData[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<WikiPageMetaData[], any>>

        Tags

        repository

        Name

        RepoGetWikiPages

        Summary

        Get all wiki pages

        Request

        GET:/repos/{owner}/{repo}/wiki/pages

        Secure

  • repoListActivityFeeds: ((owner, repo, query?, params?) => Promise<HttpResponse<Activity[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Activity[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              date?: string;
              limit?: number;
              page?: number;
          }
          • Optional date?: string

            the date of the activities to be found

            Format

            date

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Activity[], any>>

        Tags

        repository

        Name

        RepoListActivityFeeds

        Summary

        List a repository's activity feeds

        Request

        GET:/repos/{owner}/{repo}/activities/feeds

        Secure

  • repoListAllGitRefs: ((owner, repo, params?) => Promise<HttpResponse<Reference[], any>>)
      • (owner, repo, params?): Promise<HttpResponse<Reference[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Reference[], any>>

        Tags

        repository

        Name

        RepoListAllGitRefs

        Summary

        Get specified ref or filtered repository's refs

        Request

        GET:/repos/{owner}/{repo}/git/refs

        Secure

  • repoListBranchProtection: ((owner, repo, params?) => Promise<HttpResponse<BranchProtection[], any>>)
      • (owner, repo, params?): Promise<HttpResponse<BranchProtection[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<BranchProtection[], any>>

        Tags

        repository

        Name

        RepoListBranchProtection

        Summary

        List branch protections for a repository

        Request

        GET:/repos/{owner}/{repo}/branch_protections

        Secure

  • repoListBranches: ((owner, repo, query?, params?) => Promise<HttpResponse<Branch[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Branch[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Branch[], any>>

        Tags

        repository

        Name

        RepoListBranches

        Summary

        List a repository's branches

        Request

        GET:/repos/{owner}/{repo}/branches

        Secure

  • repoListCollaborators: ((owner, repo, query?, params?) => Promise<HttpResponse<User[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        repository

        Name

        RepoListCollaborators

        Summary

        List a repository's collaborators

        Request

        GET:/repos/{owner}/{repo}/collaborators

        Secure

  • repoListGitHooks: ((owner, repo, params?) => Promise<HttpResponse<GitHook[], any>>)
      • (owner, repo, params?): Promise<HttpResponse<GitHook[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<GitHook[], any>>

        Tags

        repository

        Name

        RepoListGitHooks

        Summary

        List the Git hooks in a repository

        Request

        GET:/repos/{owner}/{repo}/hooks/git

        Secure

  • repoListGitRefs: ((owner, repo, ref, params?) => Promise<HttpResponse<Reference[], any>>)
      • (owner, repo, ref, params?): Promise<HttpResponse<Reference[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • ref: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Reference[], any>>

        Tags

        repository

        Name

        RepoListGitRefs

        Summary

        Get specified ref or filtered repository's refs

        Request

        GET:/repos/{owner}/{repo}/git/refs/{ref}

        Secure

  • repoListHooks: ((owner, repo, query?, params?) => Promise<HttpResponse<Hook[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Hook[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Hook[], any>>

        Tags

        repository

        Name

        RepoListHooks

        Summary

        List the hooks in a repository

        Request

        GET:/repos/{owner}/{repo}/hooks

        Secure

  • repoListKeys: ((owner, repo, query?, params?) => Promise<HttpResponse<DeployKey[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<DeployKey[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              fingerprint?: string;
              key_id?: number;
              limit?: number;
              page?: number;
          }
          • Optional fingerprint?: string

            fingerprint of the key

          • Optional key_id?: number

            the key_id to search for

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<DeployKey[], any>>

        Tags

        repository

        Name

        RepoListKeys

        Summary

        List a repository's keys

        Request

        GET:/repos/{owner}/{repo}/keys

        Secure

  • repoListPinnedIssues: ((owner, repo, params?) => Promise<HttpResponse<Issue[], any>>)
      • (owner, repo, params?): Promise<HttpResponse<Issue[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Issue[], any>>

        Tags

        repository

        Name

        RepoListPinnedIssues

        Summary

        List a repo's pinned issues

        Request

        GET:/repos/{owner}/{repo}/issues/pinned

        Secure

  • repoListPinnedPullRequests: ((owner, repo, params?) => Promise<HttpResponse<PullRequest[], any>>)
      • (owner, repo, params?): Promise<HttpResponse<PullRequest[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<PullRequest[], any>>

        Tags

        repository

        Name

        RepoListPinnedPullRequests

        Summary

        List a repo's pinned pull requests

        Request

        GET:/repos/{owner}/{repo}/pulls/pinned

        Secure

  • repoListPullRequests: ((owner, repo, query?, params?) => Promise<HttpResponse<PullRequest[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<PullRequest[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              labels?: number[];
              limit?: number;
              milestone?: number;
              page?: number;
              sort?: "oldest" | "recentupdate" | "leastupdate" | "mostcomment" | "leastcomment" | "priority";
              state?: "open" | "closed" | "all";
          }
          • Optional labels?: number[]

            Label IDs

          • Optional limit?: number

            page size of results

          • Optional milestone?: number

            ID of the milestone

            Format

            int64

          • Optional page?: number

            page number of results to return (1-based)

          • Optional sort?: "oldest" | "recentupdate" | "leastupdate" | "mostcomment" | "leastcomment" | "priority"

            Type of sort

          • Optional state?: "open" | "closed" | "all"

            State of pull request: open or closed (optional)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<PullRequest[], any>>

        Tags

        repository

        Name

        RepoListPullRequests

        Summary

        List a repo's pull requests

        Request

        GET:/repos/{owner}/{repo}/pulls

        Secure

  • repoListPullReviews: ((owner, repo, index, query?, params?) => Promise<HttpResponse<PullReview[], any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<PullReview[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<PullReview[], any>>

        Tags

        repository

        Name

        RepoListPullReviews

        Summary

        List all reviews for a pull request

        Request

        GET:/repos/{owner}/{repo}/pulls/{index}/reviews

        Secure

  • repoListPushMirrors: ((owner, repo, query?, params?) => Promise<HttpResponse<PushMirror[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<PushMirror[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<PushMirror[], any>>

        Tags

        repository

        Name

        RepoListPushMirrors

        Summary

        Get all push mirrors of the repository

        Request

        GET:/repos/{owner}/{repo}/push_mirrors

        Secure

  • repoListReleaseAttachments: ((owner, repo, id, params?) => Promise<HttpResponse<Attachment[], any>>)
      • (owner, repo, id, params?): Promise<HttpResponse<Attachment[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<Attachment[], any>>

        Tags

        repository

        Name

        RepoListReleaseAttachments

        Summary

        List release's attachments

        Request

        GET:/repos/{owner}/{repo}/releases/{id}/assets

        Secure

  • repoListReleases: ((owner, repo, query?, params?) => Promise<HttpResponse<Release[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Release[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              draft?: boolean;
              limit?: number;
              page?: number;
              per_page?: number;
              pre-release?: boolean;
          }
          • Optional draft?: boolean

            filter (exclude / include) drafts, if you dont have repo write access none will show

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional per_page?: number

            page size of results, deprecated - use limit

          • Optional pre-release?: boolean

            filter (exclude / include) pre-releases

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Release[], any>>

        Tags

        repository

        Name

        RepoListReleases

        Summary

        List a repo's releases

        Request

        GET:/repos/{owner}/{repo}/releases

        Secure

  • repoListStargazers: ((owner, repo, query?, params?) => Promise<HttpResponse<User[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        repository

        Name

        RepoListStargazers

        Summary

        List a repo's stargazers

        Request

        GET:/repos/{owner}/{repo}/stargazers

        Secure

  • repoListStatuses: ((owner, repo, sha, query?, params?) => Promise<HttpResponse<CommitStatus[], any>>)
      • (owner, repo, sha, query?, params?): Promise<HttpResponse<CommitStatus[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • sha: string
        • Optional query: {
              limit?: number;
              page?: number;
              sort?: "oldest" | "recentupdate" | "leastupdate" | "leastindex" | "highestindex";
              state?: "error" | "pending" | "success" | "failure" | "warning";
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional sort?: "oldest" | "recentupdate" | "leastupdate" | "leastindex" | "highestindex"

            type of sort

          • Optional state?: "error" | "pending" | "success" | "failure" | "warning"

            type of state

        • params: RequestParams = {}

        Returns Promise<HttpResponse<CommitStatus[], any>>

        Tags

        repository

        Name

        RepoListStatuses

        Summary

        Get a commit's statuses

        Request

        GET:/repos/{owner}/{repo}/statuses/{sha}

        Secure

  • repoListStatusesByRef: ((owner, repo, ref, query?, params?) => Promise<HttpResponse<CommitStatus[], any>>)
      • (owner, repo, ref, query?, params?): Promise<HttpResponse<CommitStatus[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • ref: string
        • Optional query: {
              limit?: number;
              page?: number;
              sort?: "oldest" | "recentupdate" | "leastupdate" | "leastindex" | "highestindex";
              state?: "error" | "pending" | "success" | "failure" | "warning";
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional sort?: "oldest" | "recentupdate" | "leastupdate" | "leastindex" | "highestindex"

            type of sort

          • Optional state?: "error" | "pending" | "success" | "failure" | "warning"

            type of state

        • params: RequestParams = {}

        Returns Promise<HttpResponse<CommitStatus[], any>>

        Tags

        repository

        Name

        RepoListStatusesByRef

        Summary

        Get a commit's statuses, by branch/tag/commit reference

        Request

        GET:/repos/{owner}/{repo}/commits/{ref}/statuses

        Secure

  • repoListSubscribers: ((owner, repo, query?, params?) => Promise<HttpResponse<User[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        repository

        Name

        RepoListSubscribers

        Summary

        List a repo's watchers

        Request

        GET:/repos/{owner}/{repo}/subscribers

        Secure

  • repoListTags: ((owner, repo, query?, params?) => Promise<HttpResponse<Tag[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<Tag[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results, default maximum page size is 50

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Tag[], any>>

        Tags

        repository

        Name

        RepoListTags

        Summary

        List a repository's tags

        Request

        GET:/repos/{owner}/{repo}/tags

        Secure

  • repoListTeams: ((owner, repo, params?) => Promise<HttpResponse<Team[], any>>)
      • (owner, repo, params?): Promise<HttpResponse<Team[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Team[], any>>

        Tags

        repository

        Name

        RepoListTeams

        Summary

        List a repository's teams

        Request

        GET:/repos/{owner}/{repo}/teams

        Secure

  • repoListTopics: ((owner, repo, query?, params?) => Promise<HttpResponse<TopicName, any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<TopicName, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<TopicName, any>>

        Tags

        repository

        Name

        RepoListTopics

        Summary

        Get list of topics that a repository has

        Request

        GET:/repos/{owner}/{repo}/topics

        Secure

  • repoMergePullRequest: ((owner, repo, index, body, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, body, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoMergePullRequest

        Summary

        Merge a pull request

        Request

        POST:/repos/{owner}/{repo}/pulls/{index}/merge

        Secure

  • repoMigrate: ((body, params?) => Promise<HttpResponse<Repository, void>>)
  • repoMirrorSync: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoMirrorSync

        Summary

        Sync a mirrored repository

        Request

        POST:/repos/{owner}/{repo}/mirror-sync

        Secure

  • repoNewPinAllowed: ((owner, repo, params?) => Promise<HttpResponse<NewIssuePinsAllowed, any>>)
  • repoPullRequestIsMerged: ((owner, repo, index, params?) => Promise<HttpResponse<void, void>>)
      • (owner, repo, index, params?): Promise<HttpResponse<void, void>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<void, void>>

        Tags

        repository

        Name

        RepoPullRequestIsMerged

        Summary

        Check if a pull request has been merged

        Request

        GET:/repos/{owner}/{repo}/pulls/{index}/merge

        Secure

  • repoPushMirrorSync: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoPushMirrorSync

        Summary

        Sync all push mirrored repository

        Request

        POST:/repos/{owner}/{repo}/push_mirrors-sync

        Secure

  • repoSearch: ((query?, params?) => Promise<HttpResponse<SearchResults, any>>)
      • (query?, params?): Promise<HttpResponse<SearchResults, any>>
      • No description

        Parameters

        • Optional query: {
              archived?: boolean;
              exclusive?: boolean;
              includeDesc?: boolean;
              is_private?: boolean;
              limit?: number;
              mode?: string;
              order?: string;
              page?: number;
              priority_owner_id?: number;
              private?: boolean;
              q?: string;
              sort?: string;
              starredBy?: number;
              team_id?: number;
              template?: boolean;
              topic?: boolean;
              uid?: number;
          }
          • Optional archived?: boolean

            show only archived, non-archived or all repositories (defaults to all)

          • Optional exclusive?: boolean

            if uid is given, search only for repos that the user owns

          • Optional includeDesc?: boolean

            include search of keyword within repository description

          • Optional is_private?: boolean

            show only pubic, private or all repositories (defaults to all)

          • Optional limit?: number

            page size of results

          • Optional mode?: string

            type of repository to search for. Supported values are "fork", "source", "mirror" and "collaborative"

          • Optional order?: string

            sort order, either "asc" (ascending) or "desc" (descending). Default is "asc", ignored if "sort" is not specified.

          • Optional page?: number

            page number of results to return (1-based)

          • Optional priority_owner_id?: number

            repo owner to prioritize in the results

            Format

            int64

          • Optional private?: boolean

            include private repositories this user has access to (defaults to true)

          • Optional q?: string

            keyword

          • Optional sort?: string

            sort repos by attribute. Supported values are "alpha", "created", "updated", "size", and "id". Default is "alpha"

          • Optional starredBy?: number

            search only for repos that the user with the given id has starred

            Format

            int64

          • Optional team_id?: number

            search only for repos that belong to the given team id

            Format

            int64

          • Optional template?: boolean

            include template repositories this user has access to (defaults to true)

          • Optional topic?: boolean

            Limit search to repositories with keyword as topic

          • Optional uid?: number

            search only for repos that the user with the given id owns or contributes to

            Format

            int64

        • params: RequestParams = {}

        Returns Promise<HttpResponse<SearchResults, any>>

        Tags

        repository

        Name

        RepoSearch

        Summary

        Search for repositories

        Request

        GET:/repos/search

        Secure

  • repoSigningKey: ((owner, repo, params?) => Promise<HttpResponse<string, any>>)
      • (owner, repo, params?): Promise<HttpResponse<string, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<string, any>>

        Tags

        repository

        Name

        RepoSigningKey

        Summary

        Get signing-key.gpg for given repository

        Request

        GET:/repos/{owner}/{repo}/signing-key.gpg

        Secure

  • repoSubmitPullReview: ((owner, repo, index, id, body, params?) => Promise<HttpResponse<PullReview, any>>)
      • (owner, repo, index, id, body, params?): Promise<HttpResponse<PullReview, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<PullReview, any>>

        Tags

        repository

        Name

        RepoSubmitPullReview

        Summary

        Submit a pending review to an pull request

        Request

        POST:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}

        Secure

  • repoTestHook: ((owner, repo, id, query?, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, id, query?, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • id: number
        • Optional query: {
              ref?: string;
          }
          • Optional ref?: string

            The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload.

        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoTestHook

        Summary

        Test a push webhook

        Request

        POST:/repos/{owner}/{repo}/hooks/{id}/tests

        Secure

  • repoTrackedTimes: ((owner, repo, query?, params?) => Promise<HttpResponse<TrackedTime[], any>>)
      • (owner, repo, query?, params?): Promise<HttpResponse<TrackedTime[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • Optional query: {
              before?: string;
              limit?: number;
              page?: number;
              since?: string;
              user?: string;
          }
          • Optional before?: string

            Only show times updated before the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional since?: string

            Only show times updated after the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional user?: string

            optional filter by user (available for issue managers)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<TrackedTime[], any>>

        Tags

        repository

        Name

        RepoTrackedTimes

        Summary

        List a repo's tracked times

        Request

        GET:/repos/{owner}/{repo}/times

        Secure

  • repoTransfer: ((owner, repo, body, params?) => Promise<HttpResponse<Repository, any>>)
  • repoUnDismissPullReview: ((owner, repo, index, id, params?) => Promise<HttpResponse<PullReview, any>>)
      • (owner, repo, index, id, params?): Promise<HttpResponse<PullReview, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • id: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<PullReview, any>>

        Tags

        repository

        Name

        RepoUnDismissPullReview

        Summary

        Cancel to dismiss a review for a pull request

        Request

        POST:/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals

        Secure

  • repoUpdateAvatar: ((owner, repo, body, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, body, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoUpdateAvatar

        Summary

        Update avatar

        Request

        POST:/repos/{owner}/{repo}/avatar

        Secure

  • repoUpdateFile: ((owner, repo, filepath, body, params?) => Promise<HttpResponse<FileResponse, any>>)
  • repoUpdatePullRequest: ((owner, repo, index, query?, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, query?, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • Optional query: {
              style?: "merge" | "rebase";
          }
          • Optional style?: "merge" | "rebase"

            how to update pull request

        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoUpdatePullRequest

        Summary

        Merge PR's baseBranch into headBranch

        Request

        POST:/repos/{owner}/{repo}/pulls/{index}/update

        Secure

  • repoUpdateTopics: ((owner, repo, body, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, body, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        RepoUpdateTopics

        Summary

        Replace list of topics for a repository

        Request

        PUT:/repos/{owner}/{repo}/topics

        Secure

  • repoValidateIssueConfig: ((owner, repo, params?) => Promise<HttpResponse<IssueConfigValidation, any>>)
  • unpinIssue: ((owner, repo, index, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, index, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • index: number
        • params: RequestParams = {}

        Returns Promise<HttpResponse<any, any>>

        Tags

        issue

        Name

        UnpinIssue

        Summary

        Unpin an Issue

        Request

        DELETE:/repos/{owner}/{repo}/issues/{index}/pin

        Secure

  • userCurrentCheckSubscription: ((owner, repo, params?) => Promise<HttpResponse<WatchInfo, void>>)
      • (owner, repo, params?): Promise<HttpResponse<WatchInfo, void>>
      • No description

        Parameters

        Returns Promise<HttpResponse<WatchInfo, void>>

        Tags

        repository

        Name

        UserCurrentCheckSubscription

        Summary

        Check if the current user is watching a repo

        Request

        GET:/repos/{owner}/{repo}/subscription

        Secure

  • userCurrentDeleteSubscription: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        repository

        Name

        UserCurrentDeleteSubscription

        Summary

        Unwatch a repo

        Request

        DELETE:/repos/{owner}/{repo}/subscription

        Secure

  • userCurrentPutSubscription: ((owner, repo, params?) => Promise<HttpResponse<WatchInfo, any>>)
      • (owner, repo, params?): Promise<HttpResponse<WatchInfo, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<WatchInfo, any>>

        Tags

        repository

        Name

        UserCurrentPutSubscription

        Summary

        Watch a repo

        Request

        PUT:/repos/{owner}/{repo}/subscription

        Secure

  • userTrackedTimes: ((owner, repo, user, params?) => Promise<HttpResponse<TrackedTime[], any>>)
      • (owner, repo, user, params?): Promise<HttpResponse<TrackedTime[], any>>
      • No description

        Parameters

        • owner: string
        • repo: string
        • user: string
        • params: RequestParams = {}

        Returns Promise<HttpResponse<TrackedTime[], any>>

        Tags

        repository

        Name

        UserTrackedTimes

        Summary

        List a user's tracked times in a repo

        Request

        GET:/repos/{owner}/{repo}/times/{user}

        Deprecated

        Secure

repositories: {
    repoGetById: ((id, params?) => Promise<HttpResponse<Repository, any>>);
} = ...

Type declaration

settings: {
    getGeneralApiSettings: ((params?) => Promise<HttpResponse<GeneralAPISettings, any>>);
    getGeneralAttachmentSettings: ((params?) => Promise<HttpResponse<GeneralAttachmentSettings, any>>);
    getGeneralRepositorySettings: ((params?) => Promise<HttpResponse<GeneralRepoSettings, any>>);
    getGeneralUiSettings: ((params?) => Promise<HttpResponse<GeneralUISettings, any>>);
} = ...

Type declaration

signingKeyGpg: {
    getSigningKey: ((params?) => Promise<HttpResponse<string, any>>);
} = ...

Type declaration

  • getSigningKey: ((params?) => Promise<HttpResponse<string, any>>)
      • (params?): Promise<HttpResponse<string, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<string, any>>

        Tags

        miscellaneous

        Name

        GetSigningKey

        Summary

        Get default signing-key.gpg

        Request

        GET:/signing-key.gpg

        Secure

teams: {
    orgAddTeamMember: ((id, username, params?) => Promise<HttpResponse<any, any>>);
    orgAddTeamRepository: ((id, org, repo, params?) => Promise<HttpResponse<any, any>>);
    orgDeleteTeam: ((id, params?) => Promise<HttpResponse<void, any>>);
    orgEditTeam: ((id, body, params?) => Promise<HttpResponse<Team, any>>);
    orgGetTeam: ((id, params?) => Promise<HttpResponse<Team, any>>);
    orgListTeamActivityFeeds: ((id, query?, params?) => Promise<HttpResponse<Activity[], any>>);
    orgListTeamMember: ((id, username, params?) => Promise<HttpResponse<User, any>>);
    orgListTeamMembers: ((id, query?, params?) => Promise<HttpResponse<User[], any>>);
    orgListTeamRepo: ((id, org, repo, params?) => Promise<HttpResponse<Repository, any>>);
    orgListTeamRepos: ((id, query?, params?) => Promise<HttpResponse<Repository[], any>>);
    orgRemoveTeamMember: ((id, username, params?) => Promise<HttpResponse<any, any>>);
    orgRemoveTeamRepository: ((id, org, repo, params?) => Promise<HttpResponse<any, any>>);
} = ...

Type declaration

  • orgAddTeamMember: ((id, username, params?) => Promise<HttpResponse<any, any>>)
      • (id, username, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        organization

        Name

        OrgAddTeamMember

        Summary

        Add a team member

        Request

        PUT:/teams/{id}/members/{username}

        Secure

  • orgAddTeamRepository: ((id, org, repo, params?) => Promise<HttpResponse<any, any>>)
      • (id, org, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        organization

        Name

        OrgAddTeamRepository

        Summary

        Add a repository to a team

        Request

        PUT:/teams/{id}/repos/{org}/{repo}

        Secure

  • orgDeleteTeam: ((id, params?) => Promise<HttpResponse<void, any>>)
      • (id, params?): Promise<HttpResponse<void, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<void, any>>

        Tags

        organization

        Name

        OrgDeleteTeam

        Summary

        Delete a team

        Request

        DELETE:/teams/{id}

        Secure

  • orgEditTeam: ((id, body, params?) => Promise<HttpResponse<Team, any>>)
  • orgGetTeam: ((id, params?) => Promise<HttpResponse<Team, any>>)
      • (id, params?): Promise<HttpResponse<Team, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Team, any>>

        Tags

        organization

        Name

        OrgGetTeam

        Summary

        Get a team

        Request

        GET:/teams/{id}

        Secure

  • orgListTeamActivityFeeds: ((id, query?, params?) => Promise<HttpResponse<Activity[], any>>)
      • (id, query?, params?): Promise<HttpResponse<Activity[], any>>
      • No description

        Parameters

        • id: number
        • Optional query: {
              date?: string;
              limit?: number;
              page?: number;
          }
          • Optional date?: string

            the date of the activities to be found

            Format

            date

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Activity[], any>>

        Tags

        organization

        Name

        OrgListTeamActivityFeeds

        Summary

        List a team's activity feeds

        Request

        GET:/teams/{id}/activities/feeds

        Secure

  • orgListTeamMember: ((id, username, params?) => Promise<HttpResponse<User, any>>)
      • (id, username, params?): Promise<HttpResponse<User, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<User, any>>

        Tags

        organization

        Name

        OrgListTeamMember

        Summary

        List a particular member of team

        Request

        GET:/teams/{id}/members/{username}

        Secure

  • orgListTeamMembers: ((id, query?, params?) => Promise<HttpResponse<User[], any>>)
      • (id, query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • id: number
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        organization

        Name

        OrgListTeamMembers

        Summary

        List a team's members

        Request

        GET:/teams/{id}/members

        Secure

  • orgListTeamRepo: ((id, org, repo, params?) => Promise<HttpResponse<Repository, any>>)
      • (id, org, repo, params?): Promise<HttpResponse<Repository, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Repository, any>>

        Tags

        organization

        Name

        OrgListTeamRepo

        Summary

        List a particular repo of team

        Request

        GET:/teams/{id}/repos/{org}/{repo}

        Secure

  • orgListTeamRepos: ((id, query?, params?) => Promise<HttpResponse<Repository[], any>>)
      • (id, query?, params?): Promise<HttpResponse<Repository[], any>>
      • No description

        Parameters

        • id: number
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Repository[], any>>

        Tags

        organization

        Name

        OrgListTeamRepos

        Summary

        List a team's repos

        Request

        GET:/teams/{id}/repos

        Secure

  • orgRemoveTeamMember: ((id, username, params?) => Promise<HttpResponse<any, any>>)
      • (id, username, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        organization

        Name

        OrgRemoveTeamMember

        Summary

        Remove a team member

        Request

        DELETE:/teams/{id}/members/{username}

        Secure

  • orgRemoveTeamRepository: ((id, org, repo, params?) => Promise<HttpResponse<any, any>>)
      • (id, org, repo, params?): Promise<HttpResponse<any, any>>
      • Parameters

        Returns Promise<HttpResponse<any, any>>

        Description

        This does not delete the repository, it only removes the repository from the team.

        Tags

        organization

        Name

        OrgRemoveTeamRepository

        Summary

        Remove a repository from a team

        Request

        DELETE:/teams/{id}/repos/{org}/{repo}

        Secure

topics: {
    topicSearch: ((query, params?) => Promise<HttpResponse<TopicResponse[], any>>);
} = ...

Type declaration

  • topicSearch: ((query, params?) => Promise<HttpResponse<TopicResponse[], any>>)
      • (query, params?): Promise<HttpResponse<TopicResponse[], any>>
      • No description

        Parameters

        • query: {
              limit?: number;
              page?: number;
              q: string;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • q: string

            keywords to search

        • params: RequestParams = {}

        Returns Promise<HttpResponse<TopicResponse[], any>>

        Tags

        repository

        Name

        TopicSearch

        Summary

        search topics via keyword

        Request

        GET:/topics/search

        Secure

user: {
    createCurrentUserRepo: ((body, params?) => Promise<HttpResponse<Repository, void>>);
    getUserSettings: ((params?) => Promise<HttpResponse<UserSettings, any>>);
    getVerificationToken: ((params?) => Promise<HttpResponse<string, any>>);
    orgListCurrentUserOrgs: ((query?, params?) => Promise<HttpResponse<Organization[], any>>);
    updateUserSettings: ((body, params?) => Promise<HttpResponse<UserSettings, any>>);
    userAddEmail: ((body, params?) => Promise<HttpResponse<Email[], any>>);
    userCreateHook: ((body, params?) => Promise<HttpResponse<Hook, any>>);
    userCreateOAuth2Application: ((body, params?) => Promise<HttpResponse<OAuth2Application, any>>);
    userCurrentCheckFollowing: ((username, params?) => Promise<HttpResponse<any, any>>);
    userCurrentCheckStarring: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    userCurrentDeleteFollow: ((username, params?) => Promise<HttpResponse<any, any>>);
    userCurrentDeleteGpgKey: ((id, params?) => Promise<HttpResponse<any, any>>);
    userCurrentDeleteKey: ((id, params?) => Promise<HttpResponse<any, any>>);
    userCurrentDeleteStar: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    userCurrentGetGpgKey: ((id, params?) => Promise<HttpResponse<GPGKey, any>>);
    userCurrentGetKey: ((id, params?) => Promise<HttpResponse<PublicKey, any>>);
    userCurrentListFollowers: ((query?, params?) => Promise<HttpResponse<User[], any>>);
    userCurrentListFollowing: ((query?, params?) => Promise<HttpResponse<User[], any>>);
    userCurrentListGpgKeys: ((query?, params?) => Promise<HttpResponse<GPGKey[], any>>);
    userCurrentListKeys: ((query?, params?) => Promise<HttpResponse<PublicKey[], any>>);
    userCurrentListRepos: ((query?, params?) => Promise<HttpResponse<Repository[], any>>);
    userCurrentListStarred: ((query?, params?) => Promise<HttpResponse<Repository[], any>>);
    userCurrentListSubscriptions: ((query?, params?) => Promise<HttpResponse<Repository[], any>>);
    userCurrentPostGpgKey: ((Form, params?) => Promise<HttpResponse<GPGKey, any>>);
    userCurrentPostKey: ((body, params?) => Promise<HttpResponse<PublicKey, any>>);
    userCurrentPutFollow: ((username, params?) => Promise<HttpResponse<any, any>>);
    userCurrentPutStar: ((owner, repo, params?) => Promise<HttpResponse<any, any>>);
    userCurrentTrackedTimes: ((query?, params?) => Promise<HttpResponse<TrackedTime[], any>>);
    userDeleteAvatar: ((params?) => Promise<HttpResponse<any, any>>);
    userDeleteEmail: ((body, params?) => Promise<HttpResponse<any, any>>);
    userDeleteHook: ((id, params?) => Promise<HttpResponse<any, any>>);
    userDeleteOAuth2Application: ((id, params?) => Promise<HttpResponse<any, any>>);
    userEditHook: ((id, body, params?) => Promise<HttpResponse<Hook, any>>);
    userGetCurrent: ((params?) => Promise<HttpResponse<User, any>>);
    userGetHook: ((id, params?) => Promise<HttpResponse<Hook, any>>);
    userGetOAuth2Application: ((id, params?) => Promise<HttpResponse<OAuth2Application, any>>);
    userGetOauth2Application: ((query?, params?) => Promise<HttpResponse<OAuth2Application[], any>>);
    userGetStopWatches: ((query?, params?) => Promise<HttpResponse<StopWatch[], any>>);
    userListEmails: ((params?) => Promise<HttpResponse<Email[], any>>);
    userListHooks: ((query?, params?) => Promise<HttpResponse<Hook[], any>>);
    userListTeams: ((query?, params?) => Promise<HttpResponse<Team[], any>>);
    userUpdateAvatar: ((body, params?) => Promise<HttpResponse<any, any>>);
    userUpdateOAuth2Application: ((id, body, params?) => Promise<HttpResponse<OAuth2Application, any>>);
    userVerifyGpgKey: ((params?) => Promise<HttpResponse<GPGKey, any>>);
} = ...

Type declaration

  • createCurrentUserRepo: ((body, params?) => Promise<HttpResponse<Repository, void>>)
  • getUserSettings: ((params?) => Promise<HttpResponse<UserSettings, any>>)
  • getVerificationToken: ((params?) => Promise<HttpResponse<string, any>>)
      • (params?): Promise<HttpResponse<string, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<string, any>>

        Tags

        user

        Name

        GetVerificationToken

        Summary

        Get a Token to verify

        Request

        GET:/user/gpg_key_token

        Secure

  • orgListCurrentUserOrgs: ((query?, params?) => Promise<HttpResponse<Organization[], any>>)
      • (query?, params?): Promise<HttpResponse<Organization[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Organization[], any>>

        Tags

        organization

        Name

        OrgListCurrentUserOrgs

        Summary

        List the current user's organizations

        Request

        GET:/user/orgs

        Secure

  • updateUserSettings: ((body, params?) => Promise<HttpResponse<UserSettings, any>>)
  • userAddEmail: ((body, params?) => Promise<HttpResponse<Email[], any>>)
  • userCreateHook: ((body, params?) => Promise<HttpResponse<Hook, any>>)
  • userCreateOAuth2Application: ((body, params?) => Promise<HttpResponse<OAuth2Application, any>>)
  • userCurrentCheckFollowing: ((username, params?) => Promise<HttpResponse<any, any>>)
      • (username, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserCurrentCheckFollowing

        Summary

        Check whether a user is followed by the authenticated user

        Request

        GET:/user/following/{username}

        Secure

  • userCurrentCheckStarring: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserCurrentCheckStarring

        Summary

        Whether the authenticated is starring the repo

        Request

        GET:/user/starred/{owner}/{repo}

        Secure

  • userCurrentDeleteFollow: ((username, params?) => Promise<HttpResponse<any, any>>)
      • (username, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserCurrentDeleteFollow

        Summary

        Unfollow a user

        Request

        DELETE:/user/following/{username}

        Secure

  • userCurrentDeleteGpgKey: ((id, params?) => Promise<HttpResponse<any, any>>)
      • (id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserCurrentDeleteGpgKey

        Summary

        Remove a GPG key

        Request

        DELETE:/user/gpg_keys/{id}

        Secure

  • userCurrentDeleteKey: ((id, params?) => Promise<HttpResponse<any, any>>)
      • (id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserCurrentDeleteKey

        Summary

        Delete a public key

        Request

        DELETE:/user/keys/{id}

        Secure

  • userCurrentDeleteStar: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserCurrentDeleteStar

        Summary

        Unstar the given repo

        Request

        DELETE:/user/starred/{owner}/{repo}

        Secure

  • userCurrentGetGpgKey: ((id, params?) => Promise<HttpResponse<GPGKey, any>>)
      • (id, params?): Promise<HttpResponse<GPGKey, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<GPGKey, any>>

        Tags

        user

        Name

        UserCurrentGetGpgKey

        Summary

        Get a GPG key

        Request

        GET:/user/gpg_keys/{id}

        Secure

  • userCurrentGetKey: ((id, params?) => Promise<HttpResponse<PublicKey, any>>)
  • userCurrentListFollowers: ((query?, params?) => Promise<HttpResponse<User[], any>>)
      • (query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        user

        Name

        UserCurrentListFollowers

        Summary

        List the authenticated user's followers

        Request

        GET:/user/followers

        Secure

  • userCurrentListFollowing: ((query?, params?) => Promise<HttpResponse<User[], any>>)
      • (query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        user

        Name

        UserCurrentListFollowing

        Summary

        List the users that the authenticated user is following

        Request

        GET:/user/following

        Secure

  • userCurrentListGpgKeys: ((query?, params?) => Promise<HttpResponse<GPGKey[], any>>)
      • (query?, params?): Promise<HttpResponse<GPGKey[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<GPGKey[], any>>

        Tags

        user

        Name

        UserCurrentListGpgKeys

        Summary

        List the authenticated user's GPG keys

        Request

        GET:/user/gpg_keys

        Secure

  • userCurrentListKeys: ((query?, params?) => Promise<HttpResponse<PublicKey[], any>>)
      • (query?, params?): Promise<HttpResponse<PublicKey[], any>>
      • No description

        Parameters

        • Optional query: {
              fingerprint?: string;
              limit?: number;
              page?: number;
          }
          • Optional fingerprint?: string

            fingerprint of the key

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<PublicKey[], any>>

        Tags

        user

        Name

        UserCurrentListKeys

        Summary

        List the authenticated user's public keys

        Request

        GET:/user/keys

        Secure

  • userCurrentListRepos: ((query?, params?) => Promise<HttpResponse<Repository[], any>>)
      • (query?, params?): Promise<HttpResponse<Repository[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Repository[], any>>

        Tags

        user

        Name

        UserCurrentListRepos

        Summary

        List the repos that the authenticated user owns

        Request

        GET:/user/repos

        Secure

  • userCurrentListStarred: ((query?, params?) => Promise<HttpResponse<Repository[], any>>)
      • (query?, params?): Promise<HttpResponse<Repository[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Repository[], any>>

        Tags

        user

        Name

        UserCurrentListStarred

        Summary

        The repos that the authenticated user has starred

        Request

        GET:/user/starred

        Secure

  • userCurrentListSubscriptions: ((query?, params?) => Promise<HttpResponse<Repository[], any>>)
      • (query?, params?): Promise<HttpResponse<Repository[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Repository[], any>>

        Tags

        user

        Name

        UserCurrentListSubscriptions

        Summary

        List repositories watched by the authenticated user

        Request

        GET:/user/subscriptions

        Secure

  • userCurrentPostGpgKey: ((Form, params?) => Promise<HttpResponse<GPGKey, any>>)
  • userCurrentPostKey: ((body, params?) => Promise<HttpResponse<PublicKey, any>>)
  • userCurrentPutFollow: ((username, params?) => Promise<HttpResponse<any, any>>)
      • (username, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserCurrentPutFollow

        Summary

        Follow a user

        Request

        PUT:/user/following/{username}

        Secure

  • userCurrentPutStar: ((owner, repo, params?) => Promise<HttpResponse<any, any>>)
      • (owner, repo, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserCurrentPutStar

        Summary

        Star the given repo

        Request

        PUT:/user/starred/{owner}/{repo}

        Secure

  • userCurrentTrackedTimes: ((query?, params?) => Promise<HttpResponse<TrackedTime[], any>>)
      • (query?, params?): Promise<HttpResponse<TrackedTime[], any>>
      • No description

        Parameters

        • Optional query: {
              before?: string;
              limit?: number;
              page?: number;
              since?: string;
          }
          • Optional before?: string

            Only show times updated before the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional since?: string

            Only show times updated after the given time. This is a timestamp in RFC 3339 format

            Format

            date-time

        • params: RequestParams = {}

        Returns Promise<HttpResponse<TrackedTime[], any>>

        Tags

        user

        Name

        UserCurrentTrackedTimes

        Summary

        List the current user's tracked times

        Request

        GET:/user/times

        Secure

  • userDeleteAvatar: ((params?) => Promise<HttpResponse<any, any>>)
      • (params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserDeleteAvatar

        Summary

        Delete Avatar

        Request

        DELETE:/user/avatar

        Secure

  • userDeleteEmail: ((body, params?) => Promise<HttpResponse<any, any>>)
  • userDeleteHook: ((id, params?) => Promise<HttpResponse<any, any>>)
      • (id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserDeleteHook

        Summary

        Delete a hook

        Request

        DELETE:/user/hooks/{id}

        Secure

  • userDeleteOAuth2Application: ((id, params?) => Promise<HttpResponse<any, any>>)
      • (id, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserDeleteOAuth2Application

        Summary

        delete an OAuth2 Application

        Request

        DELETE:/user/applications/oauth2/{id}

        Secure

  • userEditHook: ((id, body, params?) => Promise<HttpResponse<Hook, any>>)
  • userGetCurrent: ((params?) => Promise<HttpResponse<User, any>>)
  • userGetHook: ((id, params?) => Promise<HttpResponse<Hook, any>>)
      • (id, params?): Promise<HttpResponse<Hook, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Hook, any>>

        Tags

        user

        Name

        UserGetHook

        Summary

        Get a hook

        Request

        GET:/user/hooks/{id}

        Secure

  • userGetOAuth2Application: ((id, params?) => Promise<HttpResponse<OAuth2Application, any>>)
  • userGetOauth2Application: ((query?, params?) => Promise<HttpResponse<OAuth2Application[], any>>)
      • (query?, params?): Promise<HttpResponse<OAuth2Application[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<OAuth2Application[], any>>

        Tags

        user

        Name

        UserGetOauth2Application

        Summary

        List the authenticated user's oauth2 applications

        Request

        GET:/user/applications/oauth2

        Secure

  • userGetStopWatches: ((query?, params?) => Promise<HttpResponse<StopWatch[], any>>)
      • (query?, params?): Promise<HttpResponse<StopWatch[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<StopWatch[], any>>

        Tags

        user

        Name

        UserGetStopWatches

        Summary

        Get list of all existing stopwatches

        Request

        GET:/user/stopwatches

        Secure

  • userListEmails: ((params?) => Promise<HttpResponse<Email[], any>>)
      • (params?): Promise<HttpResponse<Email[], any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<Email[], any>>

        Tags

        user

        Name

        UserListEmails

        Summary

        List the authenticated user's email addresses

        Request

        GET:/user/emails

        Secure

  • userListHooks: ((query?, params?) => Promise<HttpResponse<Hook[], any>>)
      • (query?, params?): Promise<HttpResponse<Hook[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Hook[], any>>

        Tags

        user

        Name

        UserListHooks

        Summary

        List the authenticated user's webhooks

        Request

        GET:/user/hooks

        Secure

  • userListTeams: ((query?, params?) => Promise<HttpResponse<Team[], any>>)
      • (query?, params?): Promise<HttpResponse<Team[], any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Team[], any>>

        Tags

        user

        Name

        UserListTeams

        Summary

        List all the teams a user belongs to

        Request

        GET:/user/teams

        Secure

  • userUpdateAvatar: ((body, params?) => Promise<HttpResponse<any, any>>)
  • userUpdateOAuth2Application: ((id, body, params?) => Promise<HttpResponse<OAuth2Application, any>>)
  • userVerifyGpgKey: ((params?) => Promise<HttpResponse<GPGKey, any>>)
users: {
    orgGetUserPermissions: ((username, org, params?) => Promise<HttpResponse<OrganizationPermissions, any>>);
    orgListUserOrgs: ((username, query?, params?) => Promise<HttpResponse<Organization[], any>>);
    userCheckFollowing: ((username, target, params?) => Promise<HttpResponse<any, any>>);
    userCreateToken: ((username, body, params?) => Promise<HttpResponse<AccessToken, any>>);
    userDeleteAccessToken: ((username, token, params?) => Promise<HttpResponse<any, any>>);
    userGet: ((username, params?) => Promise<HttpResponse<User, any>>);
    userGetHeatmapData: ((username, params?) => Promise<HttpResponse<UserHeatmapData, any>>);
    userGetTokens: ((username, query?, params?) => Promise<HttpResponse<AccessToken[], any>>);
    userListActivityFeeds: ((username, query?, params?) => Promise<HttpResponse<Activity[], any>>);
    userListFollowers: ((username, query?, params?) => Promise<HttpResponse<User[], any>>);
    userListFollowing: ((username, query?, params?) => Promise<HttpResponse<User[], any>>);
    userListGpgKeys: ((username, query?, params?) => Promise<HttpResponse<GPGKey[], any>>);
    userListKeys: ((username, query?, params?) => Promise<HttpResponse<PublicKey[], any>>);
    userListRepos: ((username, query?, params?) => Promise<HttpResponse<Repository[], any>>);
    userListStarred: ((username, query?, params?) => Promise<HttpResponse<Repository[], any>>);
    userListSubscriptions: ((username, query?, params?) => Promise<HttpResponse<Repository[], any>>);
    userSearch: ((query?, params?) => Promise<HttpResponse<{
        data?: User[];
        ok?: boolean;
    }, any>>);
} = ...

Type declaration

  • orgGetUserPermissions: ((username, org, params?) => Promise<HttpResponse<OrganizationPermissions, any>>)
  • orgListUserOrgs: ((username, query?, params?) => Promise<HttpResponse<Organization[], any>>)
      • (username, query?, params?): Promise<HttpResponse<Organization[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Organization[], any>>

        Tags

        organization

        Name

        OrgListUserOrgs

        Summary

        List a user's organizations

        Request

        GET:/users/{username}/orgs

        Secure

  • userCheckFollowing: ((username, target, params?) => Promise<HttpResponse<any, any>>)
      • (username, target, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserCheckFollowing

        Summary

        Check if one user is following another user

        Request

        GET:/users/{username}/following/{target}

        Secure

  • userCreateToken: ((username, body, params?) => Promise<HttpResponse<AccessToken, any>>)
  • userDeleteAccessToken: ((username, token, params?) => Promise<HttpResponse<any, any>>)
      • (username, token, params?): Promise<HttpResponse<any, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<any, any>>

        Tags

        user

        Name

        UserDeleteAccessToken

        Summary

        delete an access token

        Request

        DELETE:/users/{username}/tokens/{token}

        Secure

  • userGet: ((username, params?) => Promise<HttpResponse<User, any>>)
      • (username, params?): Promise<HttpResponse<User, any>>
      • No description

        Parameters

        Returns Promise<HttpResponse<User, any>>

        Tags

        user

        Name

        UserGet

        Summary

        Get a user

        Request

        GET:/users/{username}

        Secure

  • userGetHeatmapData: ((username, params?) => Promise<HttpResponse<UserHeatmapData, any>>)
  • userGetTokens: ((username, query?, params?) => Promise<HttpResponse<AccessToken[], any>>)
      • (username, query?, params?): Promise<HttpResponse<AccessToken[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<AccessToken[], any>>

        Tags

        user

        Name

        UserGetTokens

        Summary

        List the authenticated user's access tokens

        Request

        GET:/users/{username}/tokens

        Secure

  • userListActivityFeeds: ((username, query?, params?) => Promise<HttpResponse<Activity[], any>>)
      • (username, query?, params?): Promise<HttpResponse<Activity[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              date?: string;
              limit?: number;
              only-performed-by?: boolean;
              page?: number;
          }
          • Optional date?: string

            the date of the activities to be found

            Format

            date

          • Optional limit?: number

            page size of results

          • Optional only-performed-by?: boolean

            if true, only show actions performed by the requested user

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Activity[], any>>

        Tags

        user

        Name

        UserListActivityFeeds

        Summary

        List a user's activity feeds

        Request

        GET:/users/{username}/activities/feeds

        Secure

  • userListFollowers: ((username, query?, params?) => Promise<HttpResponse<User[], any>>)
      • (username, query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        user

        Name

        UserListFollowers

        Summary

        List the given user's followers

        Request

        GET:/users/{username}/followers

        Secure

  • userListFollowing: ((username, query?, params?) => Promise<HttpResponse<User[], any>>)
      • (username, query?, params?): Promise<HttpResponse<User[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<User[], any>>

        Tags

        user

        Name

        UserListFollowing

        Summary

        List the users that the given user is following

        Request

        GET:/users/{username}/following

        Secure

  • userListGpgKeys: ((username, query?, params?) => Promise<HttpResponse<GPGKey[], any>>)
      • (username, query?, params?): Promise<HttpResponse<GPGKey[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<GPGKey[], any>>

        Tags

        user

        Name

        UserListGpgKeys

        Summary

        List the given user's GPG keys

        Request

        GET:/users/{username}/gpg_keys

        Secure

  • userListKeys: ((username, query?, params?) => Promise<HttpResponse<PublicKey[], any>>)
      • (username, query?, params?): Promise<HttpResponse<PublicKey[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              fingerprint?: string;
              limit?: number;
              page?: number;
          }
          • Optional fingerprint?: string

            fingerprint of the key

          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<PublicKey[], any>>

        Tags

        user

        Name

        UserListKeys

        Summary

        List the given user's public keys

        Request

        GET:/users/{username}/keys

        Secure

  • userListRepos: ((username, query?, params?) => Promise<HttpResponse<Repository[], any>>)
      • (username, query?, params?): Promise<HttpResponse<Repository[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Repository[], any>>

        Tags

        user

        Name

        UserListRepos

        Summary

        List the repos owned by the given user

        Request

        GET:/users/{username}/repos

        Secure

  • userListStarred: ((username, query?, params?) => Promise<HttpResponse<Repository[], any>>)
      • (username, query?, params?): Promise<HttpResponse<Repository[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Repository[], any>>

        Tags

        user

        Name

        UserListStarred

        Summary

        The repos that the given user has starred

        Request

        GET:/users/{username}/starred

        Secure

  • userListSubscriptions: ((username, query?, params?) => Promise<HttpResponse<Repository[], any>>)
      • (username, query?, params?): Promise<HttpResponse<Repository[], any>>
      • No description

        Parameters

        • username: string
        • Optional query: {
              limit?: number;
              page?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

        • params: RequestParams = {}

        Returns Promise<HttpResponse<Repository[], any>>

        Tags

        user

        Name

        UserListSubscriptions

        Summary

        List the repositories watched by a user

        Request

        GET:/users/{username}/subscriptions

        Secure

  • userSearch: ((query?, params?) => Promise<HttpResponse<{
        data?: User[];
        ok?: boolean;
    }, any>>)
      • (query?, params?): Promise<HttpResponse<{
            data?: User[];
            ok?: boolean;
        }, any>>
      • No description

        Parameters

        • Optional query: {
              limit?: number;
              page?: number;
              q?: string;
              uid?: number;
          }
          • Optional limit?: number

            page size of results

          • Optional page?: number

            page number of results to return (1-based)

          • Optional q?: string

            keyword

          • Optional uid?: number

            ID of the user to search for

            Format

            int64

        • params: RequestParams = {}

        Returns Promise<HttpResponse<{
            data?: User[];
            ok?: boolean;
        }, any>>

        Tags

        user

        Name

        UserSearch

        Summary

        Search for users

        Request

        GET:/users/search

        Secure

version: {
    getVersion: ((params?) => Promise<HttpResponse<ServerVersion, any>>);
} = ...

Type declaration

Methods

  • Parameters

    • cancelToken: CancelToken

    Returns void

  • Parameters

    • cancelToken: CancelToken

    Returns undefined | AbortSignal

  • Parameters

    • key: string
    • value: any

    Returns string

  • Parameters

    • data: null | SecurityDataType

    Returns void

Generated using TypeDoc