Package: giteapython
giteapythonThis documentation describes the Gitea API.This Python package is automatically generated by theSwagger Codegenproject:Package version: 1.12.2Build date: 2020-11-29T19:04:53.644ZBuild package: io.swagger.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installpipinstallgit+https://git.cynarski.pl/python/giteapython.git(you may need to runpipwith root permission:sudo pip install git+https://git.cynarski.pl/python/giteapython.git)Then import the package:importgiteapythonSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importgiteapythonGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportgiteapythonfromgiteapython.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: AccessTokenconfiguration=giteapython.Configuration()configuration.api_key['access_token']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['access_token'] = 'Bearer'# Configure API key authorization: AuthorizationHeaderTokenconfiguration=giteapython.Configuration()configuration.api_key['Authorization']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['Authorization'] = 'Bearer'# Configure HTTP basic authorization: BasicAuthconfiguration=giteapython.Configuration()configuration.username='YOUR_USERNAME'configuration.password='YOUR_PASSWORD'# Configure API key authorization: SudoHeaderconfiguration=giteapython.Configuration()configuration.api_key['Sudo']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['Sudo'] = 'Bearer'# Configure API key authorization: SudoParamconfiguration=giteapython.Configuration()configuration.api_key['sudo']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['sudo'] = 'Bearer'# Configure API key authorization: Tokenconfiguration=giteapython.Configuration()configuration.api_key['token']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['token'] = 'Bearer'# create an instance of the API classapi_instance=giteapython.AdminApi(giteapython.ApiClient(configuration))username='username_example'# str | username of the user that will own the created organizationorganization=giteapython.CreateOrgOption()# CreateOrgOption |try:# Create an organizationapi_response=api_instance.admin_create_org(username,organization)pprint(api_response)exceptApiExceptionase:print("Exception when calling AdminApi->admin_create_org:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttp://localhost/api/v1ClassMethodHTTP requestDescriptionAdminApiadmin_create_orgPOST/admin/users/{username}/orgsCreate an organizationAdminApiadmin_create_public_keyPOST/admin/users/{username}/keysAdd a public key on behalf of a userAdminApiadmin_create_repoPOST/admin/users/{username}/reposCreate a repository on behalf of a userAdminApiadmin_create_userPOST/admin/usersCreate a userAdminApiadmin_delete_userDELETE/admin/users/{username}Delete a userAdminApiadmin_delete_user_public_keyDELETE/admin/users/{username}/keys/{id}Delete a user's public keyAdminApiadmin_edit_userPATCH/admin/users/{username}Edit an existing userAdminApiadmin_get_all_orgsGET/admin/orgsList all organizationsAdminApiadmin_get_all_usersGET/admin/usersList all usersIssueApiissue_add_labelPOST/repos/{owner}/{repo}/issues/{index}/labelsAdd a label to an issueIssueApiissue_add_subscriptionPUT/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}Subscribe user to issueIssueApiissue_add_timePOST/repos/{owner}/{repo}/issues/{index}/timesAdd tracked time to a issueIssueApiissue_check_subscriptionGET/repos/{owner}/{repo}/issues/{index}/subscriptions/checkCheck if user is subscribed to an issueIssueApiissue_clear_labelsDELETE/repos/{owner}/{repo}/issues/{index}/labelsRemove all labels from an issueIssueApiissue_create_commentPOST/repos/{owner}/{repo}/issues/{index}/commentsAdd a comment to an issueIssueApiissue_create_issuePOST/repos/{owner}/{repo}/issuesCreate an issue. If using deadline only the date will be taken into account, and time of day ignored.IssueApiissue_create_labelPOST/repos/{owner}/{repo}/labelsCreate a labelIssueApiissue_create_milestonePOST/repos/{owner}/{repo}/milestonesCreate a milestoneIssueApiissue_delete_commentDELETE/repos/{owner}/{repo}/issues/comments/{id}Delete a commentIssueApiissue_delete_comment_deprecatedDELETE/repos/{owner}/{repo}/issues/{index}/comments/{id}Delete a commentIssueApiissue_delete_comment_reactionDELETE/repos/{owner}/{repo}/issues/comments/{id}/reactionsRemove a reaction from a comment of an issueIssueApiissue_delete_issue_reactionDELETE/repos/{owner}/{repo}/issues/{index}/reactionsRemove a reaction from an issueIssueApiissue_delete_labelDELETE/repos/{owner}/{repo}/labels/{id}Delete a labelIssueApiissue_delete_milestoneDELETE/repos/{owner}/{repo}/milestones/{id}Delete a milestoneIssueApiissue_delete_stop_watchDELETE/repos/{owner}/{repo}/issues/{index}/stopwatch/deleteDelete an issue's existing stopwatch.IssueApiissue_delete_subscriptionDELETE/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}Unsubscribe user from issueIssueApiissue_delete_timeDELETE/repos/{owner}/{repo}/issues/{index}/times/{id}Delete specific tracked timeIssueApiissue_edit_commentPATCH/repos/{owner}/{repo}/issues/comments/{id}Edit a commentIssueApiissue_edit_comment_deprecatedPATCH/repos/{owner}/{repo}/issues/{index}/comments/{id}Edit a commentIssueApiissue_edit_issuePATCH/repos/{owner}/{repo}/issues/{index}Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.IssueApiissue_edit_issue_deadlinePOST/repos/{owner}/{repo}/issues/{index}/deadlineSet 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.IssueApiissue_edit_labelPATCH/repos/{owner}/{repo}/labels/{id}Update a labelIssueApiissue_edit_milestonePATCH/repos/{owner}/{repo}/milestones/{id}Update a milestoneIssueApiissue_get_commentGET/repos/{owner}/{repo}/issues/comments/{id}Get a commentIssueApiissue_get_comment_reactionsGET/repos/{owner}/{repo}/issues/comments/{id}/reactionsGet a list of reactions from a comment of an issueIssueApiissue_get_commentsGET/repos/{owner}/{repo}/issues/{index}/commentsList all comments on an issueIssueApiissue_get_issueGET/repos/{owner}/{repo}/issues/{index}Get an issueIssueApiissue_get_issue_reactionsGET/repos/{owner}/{repo}/issues/{index}/reactionsGet a list reactions of an issueIssueApiissue_get_labelGET/repos/{owner}/{repo}/labels/{id}Get a single labelIssueApiissue_get_labelsGET/repos/{owner}/{repo}/issues/{index}/labelsGet an issue's labelsIssueApiissue_get_milestoneGET/repos/{owner}/{repo}/milestones/{id}Get a milestoneIssueApiissue_get_milestones_listGET/repos/{owner}/{repo}/milestonesGet all of a repository's opened milestonesIssueApiissue_get_repo_commentsGET/repos/{owner}/{repo}/issues/commentsList all comments in a repositoryIssueApiissue_list_issuesGET/repos/{owner}/{repo}/issuesList a repository's issuesIssueApiissue_list_labelsGET/repos/{owner}/{repo}/labelsGet all of a repository's labelsIssueApiissue_post_comment_reactionPOST/repos/{owner}/{repo}/issues/comments/{id}/reactionsAdd a reaction to a comment of an issueIssueApiissue_post_issue_reactionPOST/repos/{owner}/{repo}/issues/{index}/reactionsAdd a reaction to an issueIssueApiissue_remove_labelDELETE/repos/{owner}/{repo}/issues/{index}/labels/{id}Remove a label from an issueIssueApiissue_replace_labelsPUT/repos/{owner}/{repo}/issues/{index}/labelsReplace an issue's labelsIssueApiissue_reset_timeDELETE/repos/{owner}/{repo}/issues/{index}/timesReset a tracked time of an issueIssueApiissue_search_issuesGET/repos/issues/searchSearch for issues across the repositories that the user has access toIssueApiissue_start_stop_watchPOST/repos/{owner}/{repo}/issues/{index}/stopwatch/startStart stopwatch on an issue.IssueApiissue_stop_stop_watchPOST/repos/{owner}/{repo}/issues/{index}/stopwatch/stopStop an issue's existing stopwatch.IssueApiissue_subscriptionsGET/repos/{owner}/{repo}/issues/{index}/subscriptionsGet users who subscribed on an issue.IssueApiissue_tracked_timesGET/repos/{owner}/{repo}/issues/{index}/timesList an issue's tracked timesMiscellaneousApiget_signing_keyGET/signing-key.gpgGet default signing-key.gpgMiscellaneousApiget_versionGET/versionReturns the version of the Gitea applicationMiscellaneousApirender_markdownPOST/markdownRender a markdown document as HTMLMiscellaneousApirender_markdown_rawPOST/markdown/rawRender raw markdown as HTMLNotificationApinotify_get_listGET/notificationsList users's notification threadsNotificationApinotify_get_repo_listGET/repos/{owner}/{repo}/notificationsList users's notification threads on a specific repoNotificationApinotify_get_threadGET/notifications/threads/{id}Get notification thread by IDNotificationApinotify_new_availableGET/notifications/newCheck if unread notifications existNotificationApinotify_read_listPUT/notificationsMark notification threads as read, pinned or unreadNotificationApinotify_read_repo_listPUT/repos/{owner}/{repo}/notificationsMark notification threads as read, pinned or unread on a specific repoNotificationApinotify_read_threadPATCH/notifications/threads/{id}Mark notification thread as read by IDOrganizationApicreate_org_repoPOST/orgs/{org}/reposCreate a repository in an organizationOrganizationApicreate_org_repo_deprecatedPOST/org/{org}/reposCreate a repository in an organizationOrganizationApiorg_add_team_memberPUT/teams/{id}/members/{username}Add a team memberOrganizationApiorg_add_team_repositoryPUT/teams/{id}/repos/{org}/{repo}Add a repository to a teamOrganizationApiorg_conceal_memberDELETE/orgs/{org}/public_members/{username}Conceal a user's membershipOrganizationApiorg_createPOST/orgsCreate an organizationOrganizationApiorg_create_hookPOST/orgs/{org}/hooks/Create a hookOrganizationApiorg_create_labelPOST/orgs/{org}/labelsCreate a label for an organizationOrganizationApiorg_create_teamPOST/orgs/{org}/teamsCreate a teamOrganizationApiorg_deleteDELETE/orgs/{org}Delete an organizationOrganizationApiorg_delete_hookDELETE/orgs/{org}/hooks/{id}Delete a hookOrganizationApiorg_delete_labelDELETE/orgs/{org}/labels/{id}Delete a labelOrganizationApiorg_delete_memberDELETE/orgs/{org}/members/{username}Remove a member from an organizationOrganizationApiorg_delete_teamDELETE/teams/{id}Delete a teamOrganizationApiorg_editPATCH/orgs/{org}Edit an organizationOrganizationApiorg_edit_hookPATCH/orgs/{org}/hooks/{id}Update a hookOrganizationApiorg_edit_labelPATCH/orgs/{org}/labels/{id}Update a labelOrganizationApiorg_edit_teamPATCH/teams/{id}Edit a teamOrganizationApiorg_getGET/orgs/{org}Get an organizationOrganizationApiorg_get_allGET/orgsGet list of organizationsOrganizationApiorg_get_hookGET/orgs/{org}/hooks/{id}Get a hookOrganizationApiorg_get_labelGET/orgs/{org}/labels/{id}Get a single labelOrganizationApiorg_get_teamGET/teams/{id}Get a teamOrganizationApiorg_is_memberGET/orgs/{org}/members/{username}Check if a user is a member of an organizationOrganizationApiorg_is_public_memberGET/orgs/{org}/public_members/{username}Check if a user is a public member of an organizationOrganizationApiorg_list_current_user_orgsGET/user/orgsList the current user's organizationsOrganizationApiorg_list_hooksGET/orgs/{org}/hooksList an organization's webhooksOrganizationApiorg_list_labelsGET/orgs/{org}/labelsList an organization's labelsOrganizationApiorg_list_membersGET/orgs/{org}/membersList an organization's membersOrganizationApiorg_list_public_membersGET/orgs/{org}/public_membersList an organization's public membersOrganizationApiorg_list_reposGET/orgs/{org}/reposList an organization's reposOrganizationApiorg_list_team_memberGET/teams/{id}/members/{username}List a particular member of teamOrganizationApiorg_list_team_membersGET/teams/{id}/membersList a team's membersOrganizationApiorg_list_team_reposGET/teams/{id}/reposList a team's reposOrganizationApiorg_list_teamsGET/orgs/{org}/teamsList an organization's teamsOrganizationApiorg_list_user_orgsGET/users/{username}/orgsList a user's organizationsOrganizationApiorg_publicize_memberPUT/orgs/{org}/public_members/{username}Publicize a user's membershipOrganizationApiorg_remove_team_memberDELETE/teams/{id}/members/{username}Remove a team memberOrganizationApiorg_remove_team_repositoryDELETE/teams/{id}/repos/{org}/{repo}Remove a repository from a teamOrganizationApiteam_searchGET/orgs/{org}/teams/searchSearch for teams within an organizationRepositoryApicreate_current_user_repoPOST/user/reposCreate a repositoryRepositoryApicreate_forkPOST/repos/{owner}/{repo}/forksFork a repositoryRepositoryApiget_blobGET/repos/{owner}/{repo}/git/blobs/{sha}Gets the blob of a repository.RepositoryApiget_tagGET/repos/{owner}/{repo}/git/tags/{sha}Gets the tag object of an annotated tag (not lightweight tags)RepositoryApiget_treeGET/repos/{owner}/{repo}/git/trees/{sha}Gets the tree of a repository.RepositoryApilist_forksGET/repos/{owner}/{repo}/forksList a repository's forksRepositoryApirepo_add_collaboratorPUT/repos/{owner}/{repo}/collaborators/{collaborator}Add a collaborator to a repositoryRepositoryApirepo_add_topcPUT/repos/{owner}/{repo}/topics/{topic}Add a topic to a repositoryRepositoryApirepo_check_collaboratorGET/repos/{owner}/{repo}/collaborators/{collaborator}Check if a user is a collaborator of a repositoryRepositoryApirepo_create_branch_protectionPOST/repos/{owner}/{repo}/branch_protectionsCreate a branch protections for a repositoryRepositoryApirepo_create_filePOST/repos/{owner}/{repo}/contents/{filepath}Create a file in a repositoryRepositoryApirepo_create_hookPOST/repos/{owner}/{repo}/hooksCreate a hookRepositoryApirepo_create_keyPOST/repos/{owner}/{repo}/keysAdd a key to a repositoryRepositoryApirepo_create_pull_requestPOST/repos/{owner}/{repo}/pullsCreate a pull requestRepositoryApirepo_create_pull_reviewPOST/repos/{owner}/{repo}/pulls/{index}/reviewsCreate a review to an pull requestRepositoryApirepo_create_releasePOST/repos/{owner}/{repo}/releasesCreate a releaseRepositoryApirepo_create_release_attachmentPOST/repos/{owner}/{repo}/releases/{id}/assetsCreate a release attachmentRepositoryApirepo_create_statusPOST/repos/{owner}/{repo}/statuses/{sha}Create a commit statusRepositoryApirepo_deleteDELETE/repos/{owner}/{repo}Delete a repositoryRepositoryApirepo_delete_branchDELETE/repos/{owner}/{repo}/branches/{branch}Delete a specific branch from a repositoryRepositoryApirepo_delete_branch_protectionDELETE/repos/{owner}/{repo}/branch_protections/{name}Delete a specific branch protection for the repositoryRepositoryApirepo_delete_collaboratorDELETE/repos/{owner}/{repo}/collaborators/{collaborator}Delete a collaborator from a repositoryRepositoryApirepo_delete_fileDELETE/repos/{owner}/{repo}/contents/{filepath}Delete a file in a repositoryRepositoryApirepo_delete_git_hookDELETE/repos/{owner}/{repo}/hooks/git/{id}Delete a Git hook in a repositoryRepositoryApirepo_delete_hookDELETE/repos/{owner}/{repo}/hooks/{id}Delete a hook in a repositoryRepositoryApirepo_delete_keyDELETE/repos/{owner}/{repo}/keys/{id}Delete a key from a repositoryRepositoryApirepo_delete_pull_reviewDELETE/repos/{owner}/{repo}/pulls/{index}/reviews/{id}Delete a specific review from a pull requestRepositoryApirepo_delete_releaseDELETE/repos/{owner}/{repo}/releases/{id}Delete a releaseRepositoryApirepo_delete_release_attachmentDELETE/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}Delete a release attachmentRepositoryApirepo_delete_topicDELETE/repos/{owner}/{repo}/topics/{topic}Delete a topic from a repositoryRepositoryApirepo_editPATCH/repos/{owner}/{repo}Edit a repository's properties. Only fields that are set will be changed.RepositoryApirepo_edit_branch_protectionPATCH/repos/{owner}/{repo}/branch_protections/{name}Edit a branch protections for a repository. Only fields that are set will be changedRepositoryApirepo_edit_git_hookPATCH/repos/{owner}/{repo}/hooks/git/{id}Edit a Git hook in a repositoryRepositoryApirepo_edit_hookPATCH/repos/{owner}/{repo}/hooks/{id}Edit a hook in a repositoryRepositoryApirepo_edit_pull_requestPATCH/repos/{owner}/{repo}/pulls/{index}Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.RepositoryApirepo_edit_releasePATCH/repos/{owner}/{repo}/releases/{id}Update a releaseRepositoryApirepo_edit_release_attachmentPATCH/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}Edit a release attachmentRepositoryApirepo_getGET/repos/{owner}/{repo}Get a repositoryRepositoryApirepo_get_all_commitsGET/repos/{owner}/{repo}/commitsGet a list of all commits from a repositoryRepositoryApirepo_get_archiveGET/repos/{owner}/{repo}/archive/{archive}Get an archive of a repositoryRepositoryApirepo_get_branchGET/repos/{owner}/{repo}/branches/{branch}Retrieve a specific branch from a repository, including its effective branch protectionRepositoryApirepo_get_branch_protectionGET/repos/{owner}/{repo}/branch_protections/{name}Get a specific branch protection for the repositoryRepositoryApirepo_get_by_idGET/repositories/{id}Get a repository by idRepositoryApirepo_get_combined_status_by_refGET/repos/{owner}/{repo}/commits/{ref}/statusesGet a commit's combined status, by branch/tag/commit referenceRepositoryApirepo_get_contentsGET/repos/{owner}/{repo}/contents/{filepath}Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dirRepositoryApirepo_get_contents_listGET/repos/{owner}/{repo}/contentsGets the metadata of all the entries of the root dirRepositoryApirepo_get_editor_configGET/repos/{owner}/{repo}/editorconfig/{filepath}Get the EditorConfig definitions of a file in a repositoryRepositoryApirepo_get_git_hookGET/repos/{owner}/{repo}/hooks/git/{id}Get a Git hookRepositoryApirepo_get_hookGET/repos/{owner}/{repo}/hooks/{id}Get a hookRepositoryApirepo_get_keyGET/repos/{owner}/{repo}/keys/{id}Get a repository's key by idRepositoryApirepo_get_pull_requestGET/repos/{owner}/{repo}/pulls/{index}Get a pull requestRepositoryApirepo_get_pull_reviewGET/repos/{owner}/{repo}/pulls/{index}/reviews/{id}Get a specific review for a pull requestRepositoryApirepo_get_pull_review_commentsGET/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/commentsGet a specific review for a pull requestRepositoryApirepo_get_raw_fileGET/repos/{owner}/{repo}/raw/{filepath}Get a file from a repositoryRepositoryApirepo_get_releaseGET/repos/{owner}/{repo}/releases/{id}Get a releaseRepositoryApirepo_get_release_attachmentGET/repos/{owner}/{repo}/releases/{id}/assets/{attachment_id}Get a release attachmentRepositoryApirepo_get_single_commitGET/repos/{owner}/{repo}/git/commits/{sha}Get a single commit from a repositoryRepositoryApirepo_list_all_git_refsGET/repos/{owner}/{repo}/git/refsGet specified ref or filtered repository's refsRepositoryApirepo_list_branch_protectionGET/repos/{owner}/{repo}/branch_protectionsList branch protections for a repositoryRepositoryApirepo_list_branchesGET/repos/{owner}/{repo}/branchesList a repository's branchesRepositoryApirepo_list_collaboratorsGET/repos/{owner}/{repo}/collaboratorsList a repository's collaboratorsRepositoryApirepo_list_git_hooksGET/repos/{owner}/{repo}/hooks/gitList the Git hooks in a repositoryRepositoryApirepo_list_git_refsGET/repos/{owner}/{repo}/git/refs/{ref}Get specified ref or filtered repository's refsRepositoryApirepo_list_hooksGET/repos/{owner}/{repo}/hooksList the hooks in a repositoryRepositoryApirepo_list_keysGET/repos/{owner}/{repo}/keysList a repository's keysRepositoryApirepo_list_pull_requestsGET/repos/{owner}/{repo}/pullsList a repo's pull requestsRepositoryApirepo_list_pull_reviewsGET/repos/{owner}/{repo}/pulls/{index}/reviewsList all reviews for a pull requestRepositoryApirepo_list_release_attachmentsGET/repos/{owner}/{repo}/releases/{id}/assetsList release's attachmentsRepositoryApirepo_list_releasesGET/repos/{owner}/{repo}/releasesList a repo's releasesRepositoryApirepo_list_stargazersGET/repos/{owner}/{repo}/stargazersList a repo's stargazersRepositoryApirepo_list_statusesGET/repos/{owner}/{repo}/statuses/{sha}Get a commit's statusesRepositoryApirepo_list_subscribersGET/repos/{owner}/{repo}/subscribersList a repo's watchersRepositoryApirepo_list_tagsGET/repos/{owner}/{repo}/tagsList a repository's tagsRepositoryApirepo_list_topicsGET/repos/{owner}/{repo}/topicsGet list of topics that a repository hasRepositoryApirepo_merge_pull_requestPOST/repos/{owner}/{repo}/pulls/{index}/mergeMerge a pull requestRepositoryApirepo_migratePOST/repos/migrateMigrate a remote git repositoryRepositoryApirepo_mirror_syncPOST/repos/{owner}/{repo}/mirror-syncSync a mirrored repositoryRepositoryApirepo_pull_request_is_mergedGET/repos/{owner}/{repo}/pulls/{index}/mergeCheck if a pull request has been mergedRepositoryApirepo_searchGET/repos/searchSearch for repositoriesRepositoryApirepo_signing_keyGET/repos/{owner}/{repo}/signing-key.gpgGet signing-key.gpg for given repositoryRepositoryApirepo_submit_pull_reviewPOST/repos/{owner}/{repo}/pulls/{index}/reviews/{id}Submit a pending review to an pull requestRepositoryApirepo_test_hookPOST/repos/{owner}/{repo}/hooks/{id}/testsTest a push webhookRepositoryApirepo_tracked_timesGET/repos/{owner}/{repo}/timesList a repo's tracked timesRepositoryApirepo_transferPOST/repos/{owner}/{repo}/transferTransfer a repo ownershipRepositoryApirepo_update_filePUT/repos/{owner}/{repo}/contents/{filepath}Update a file in a repositoryRepositoryApirepo_update_topicsPUT/repos/{owner}/{repo}/topicsReplace list of topics for a repositoryRepositoryApitopic_searchGET/topics/searchsearch topics via keywordRepositoryApiuser_current_check_subscriptionGET/repos/{owner}/{repo}/subscriptionCheck if the current user is watching a repoRepositoryApiuser_current_delete_subscriptionDELETE/repos/{owner}/{repo}/subscriptionUnwatch a repoRepositoryApiuser_current_put_subscriptionPUT/repos/{owner}/{repo}/subscriptionWatch a repoRepositoryApiuser_tracked_timesGET/repos/{owner}/{repo}/times/{user}List a user's tracked times in a repoUserApicreate_current_user_repoPOST/user/reposCreate a repositoryUserApiuser_add_emailPOST/user/emailsAdd email addressesUserApiuser_check_followingGET/users/{follower}/following/{followee}Check if one user is following another userUserApiuser_create_o_auth2_applicationPOST/user/applications/oauth2creates a new OAuth2 applicationUserApiuser_create_tokenPOST/users/{username}/tokensCreate an access tokenUserApiuser_current_check_followingGET/user/following/{username}Check whether a user is followed by the authenticated userUserApiuser_current_check_starringGET/user/starred/{owner}/{repo}Whether the authenticated is starring the repoUserApiuser_current_delete_followDELETE/user/following/{username}Unfollow a userUserApiuser_current_delete_gpg_keyDELETE/user/gpg_keys/{id}Remove a GPG keyUserApiuser_current_delete_keyDELETE/user/keys/{id}Delete a public keyUserApiuser_current_delete_starDELETE/user/starred/{owner}/{repo}Unstar the given repoUserApiuser_current_get_gpg_keyGET/user/gpg_keys/{id}Get a GPG keyUserApiuser_current_get_keyGET/user/keys/{id}Get a public keyUserApiuser_current_list_followersGET/user/followersList the authenticated user's followersUserApiuser_current_list_followingGET/user/followingList the users that the authenticated user is followingUserApiuser_current_list_gpg_keysGET/user/gpg_keysList the authenticated user's GPG keysUserApiuser_current_list_keysGET/user/keysList the authenticated user's public keysUserApiuser_current_list_reposGET/user/reposList the repos that the authenticated user owns or has access toUserApiuser_current_list_starredGET/user/starredThe repos that the authenticated user has starredUserApiuser_current_list_subscriptionsGET/user/subscriptionsList repositories watched by the authenticated userUserApiuser_current_post_gpg_keyPOST/user/gpg_keysCreate a GPG keyUserApiuser_current_post_keyPOST/user/keysCreate a public keyUserApiuser_current_put_followPUT/user/following/{username}Follow a userUserApiuser_current_put_starPUT/user/starred/{owner}/{repo}Star the given repoUserApiuser_current_tracked_timesGET/user/timesList the current user's tracked timesUserApiuser_delete_access_tokenDELETE/users/{username}/tokens/{token}delete an access tokenUserApiuser_delete_emailDELETE/user/emailsDelete email addressesUserApiuser_delete_o_auth2_applicationDELETE/user/applications/oauth2/{id}delete an OAuth2 ApplicationUserApiuser_getGET/users/{username}Get a userUserApiuser_get_currentGET/userGet the authenticated userUserApiuser_get_heatmap_dataGET/users/{username}/heatmapGet a user's heatmapUserApiuser_get_o_auth2_applicationGET/user/applications/oauth2/{id}get an OAuth2 ApplicationUserApiuser_get_oauth2_applicationGET/user/applications/oauth2List the authenticated user's oauth2 applicationsUserApiuser_get_stop_watchesGET/user/stopwatchesGet list of all existing stopwatchesUserApiuser_get_tokensGET/users/{username}/tokensList the authenticated user's access tokensUserApiuser_list_emailsGET/user/emailsList the authenticated user's email addressesUserApiuser_list_followersGET/users/{username}/followersList the given user's followersUserApiuser_list_followingGET/users/{username}/followingList the users that the given user is followingUserApiuser_list_gpg_keysGET/users/{username}/gpg_keysList the given user's GPG keysUserApiuser_list_keysGET/users/{username}/keysList the given user's public keysUserApiuser_list_reposGET/users/{username}/reposList the repos owned by the given userUserApiuser_list_starredGET/users/{username}/starredThe repos that the given user has starredUserApiuser_list_subscriptionsGET/users/{username}/subscriptionsList the repositories watched by a userUserApiuser_list_teamsGET/user/teamsList all the teams a user belongs toUserApiuser_searchGET/users/searchSearch for usersUserApiuser_update_o_auth2_applicationPATCH/user/applications/oauth2/{id}update an OAuth2 Application, this includes regenerating the client secretDocumentation For ModelsAPIErrorAccessTokenAddCollaboratorOptionAddTimeOptionAnnotatedTagAnnotatedTagObjectAttachmentBranchBranchProtectionCommentCommitCommitDateOptionsCommitMetaCommitUserContentsResponseCreateBranchProtectionOptionCreateEmailOptionCreateFileOptionsCreateForkOptionCreateGPGKeyOptionCreateHookOptionCreateHookOptionConfigCreateIssueCommentOptionCreateIssueOptionCreateKeyOptionCreateLabelOptionCreateMilestoneOptionCreateOAuth2ApplicationOptionsCreateOrgOptionCreatePullRequestOptionCreatePullReviewCommentCreatePullReviewOptionsCreateReleaseOptionCreateRepoOptionCreateStatusOptionCreateTeamOptionCreateUserOptionDeleteEmailOptionDeleteFileOptionsDeployKeyEditAttachmentOptionsEditBranchProtectionOptionEditDeadlineOptionEditGitHookOptionEditHookOptionEditIssueCommentOptionEditIssueOptionEditLabelOptionEditMilestoneOptionEditOrgOptionEditPullRequestOptionEditReactionOptionEditReleaseOptionEditRepoOptionEditTeamOptionEditUserOptionEmailExternalTrackerExternalWikiFileCommitResponseFileDeleteResponseFileLinksResponseFileResponseGPGKeyGPGKeyEmailGitBlobResponseGitEntryGitHookGitObjectGitTreeResponseHookIdentityInlineResponse200InlineResponse2001InternalTrackerIssueIssueDeadlineIssueLabelsOptionLabelMarkdownOptionMergePullRequestOptionMigrateRepoFormMilestoneNotificationCountNotificationSubjectNotificationThreadOAuth2ApplicationOrganizationPRBranchInfoPayloadCommitPayloadCommitVerificationPayloadUserPermissionPublicKeyPullRequestPullRequestMetaPullReviewPullReviewCommentReactionReferenceReleaseRepoCommitRepoTopicOptionsRepositoryRepositoryMetaReviewStateTypeSearchResultsServerVersionStateTypeStatusStatusStateStopWatchSubmitPullReviewOptionsTagTeamTimeStampTopicNameTopicResponseTrackedTimeTransferRepoOptionUpdateFileOptionsUserUserHeatmapDataWatchInfoDocumentation For AuthorizationAccessTokenType: API keyAPI key parameter name: access_tokenLocation: URL query stringAuthorizationHeaderTokenType: API keyAPI key parameter name: AuthorizationLocation: HTTP headerBasicAuthType: HTTP basic authenticationSudoHeaderType: API keyAPI key parameter name: SudoLocation: HTTP headerSudoParamType: API keyAPI key parameter name: sudoLocation: URL query stringTokenType: API keyAPI key parameter name: tokenLocation: URL query stringAuthor