Package: gitwithtea-py
Gigitwithtea Python API (1.19.3+0-26-g8579e135b)Requirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/gitwithtea-py/gitwithtea_py/.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/gitwithtea-py/gitwithtea_py/.git)Then import the package:importgitwithtea_pyGetting StartedPlease follow theinstallation procedureand then run the following:importgitwithtea_pyfromgitwithtea_py.restimportApiExceptionclient=gitwithtea_py.ApiClient()client.configuration.host=f"https://codberg.org/api/v1"client.configuration.api_key["access_token"]="your access token here"api_instance=gitwithtea_py.IssueApi(client)owner='owner_example'# str | owner of the reporepo='repo_example'# str | name of the repoindex=789# int | index of the issuebody=gitwithtea_py.IssueLabelsOption()# IssueLabelsOption |  (optional)try:# Add a label to an issueapi_response=api_instance.issue_add_label(owner,repo,index,body=body)pprint(api_response)exceptApiExceptionase:print("Exception when calling IssueApi->issue_add_label:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttp://localhost/api/v1ClassMethodHTTP requestDescriptionActivitypubApiactivitypub_personGET/activitypub/user-id/{user-id}Returns the Person actor for a userActivitypubApiactivitypub_person_inboxPOST/activitypub/user-id/{user-id}/inboxSend to the inboxAdminApiadmin_adopt_repositoryPOST/admin/unadopted/{owner}/{repo}Adopt unadopted files as a repositoryAdminApiadmin_create_hookPOST/admin/hooksCreate a hookAdminApiadmin_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_cron_listGET/admin/cronList cron tasksAdminApiadmin_cron_runPOST/admin/cron/{task}Run cron taskAdminApiadmin_delete_hookDELETE/admin/hooks/{id}Delete a hookAdminApiadmin_delete_unadopted_repositoryDELETE/admin/unadopted/{owner}/{repo}Delete unadopted filesAdminApiadmin_delete_userDELETE/admin/users/{username}Delete a userAdminApiadmin_delete_user_public_keyDELETE/admin/users/{username}/keys/{id}Delete a user's public keyAdminApiadmin_edit_hookPATCH/admin/hooks/{id}Update a hookAdminApiadmin_edit_userPATCH/admin/users/{username}Edit an existing userAdminApiadmin_get_all_orgsGET/admin/orgsList all organizationsAdminApiadmin_get_all_usersGET/admin/usersList all usersAdminApiadmin_get_hookGET/admin/hooks/{id}Get a hookAdminApiadmin_list_hooksGET/admin/hooksList system's webhooksAdminApiadmin_unadopted_listGET/admin/unadoptedList unadopted repositoriesIssueApiissue_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_issue_attachmentPOST/repos/{owner}/{repo}/issues/{index}/assetsCreate an issue attachmentIssueApiissue_create_issue_comment_attachmentPOST/repos/{owner}/{repo}/issues/comments/{id}/assetsCreate a comment attachmentIssueApiissue_create_labelPOST/repos/{owner}/{repo}/labelsCreate a labelIssueApiissue_create_milestonePOST/repos/{owner}/{repo}/milestonesCreate a milestoneIssueApiissue_deleteDELETE/repos/{owner}/{repo}/issues/{index}Delete an issueIssueApiissue_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_attachmentDELETE/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Delete an issue attachmentIssueApiissue_delete_issue_comment_attachmentDELETE/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Delete a comment attachmentIssueApiissue_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_attachmentPATCH/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Edit an issue attachmentIssueApiissue_edit_issue_comment_attachmentPATCH/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Edit a comment attachmentIssueApiissue_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_comments_and_timelineGET/repos/{owner}/{repo}/issues/{index}/timelineList all comments and events on an issueIssueApiissue_get_issueGET/repos/{owner}/{repo}/issues/{index}Get an issueIssueApiissue_get_issue_attachmentGET/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}Get an issue attachmentIssueApiissue_get_issue_comment_attachmentGET/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}Get a comment attachmentIssueApiissue_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_issue_attachmentsGET/repos/{owner}/{repo}/issues/{index}/assetsList issue's attachmentsIssueApiissue_list_issue_comment_attachmentsGET/repos/{owner}/{repo}/issues/comments/{id}/assetsList comment's attachmentsIssueApiissue_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_node_infoGET/nodeinfoReturns the nodeinfo of the Gigitwithtea applicationMiscellaneousApiget_signing_keyGET/signing-key.gpgGet default signing-key.gpgMiscellaneousApiget_versionGET/versionReturns the version of the Gigitwithtea 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_gitwithteam_memberPUT/gitwithteams/{id}/members/{username}Add a gitwithteam memberOrganizationApiorg_add_gitwithteam_repositoryPUT/gitwithteams/{id}/repos/{org}/{repo}Add a repository to a gitwithteamOrganizationApiorg_conceal_memberDELETE/orgs/{org}/public_members/{username}Conceal a user's membershipOrganizationApiorg_createPOST/orgsCreate an organizationOrganizationApiorg_create_hookPOST/orgs/{org}/hooksCreate a hookOrganizationApiorg_create_labelPOST/orgs/{org}/labelsCreate a label for an organizationOrganizationApiorg_create_gitwithteamPOST/orgs/{org}/gitwithteamsCreate a gitwithteamOrganizationApiorg_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_gitwithteamDELETE/gitwithteams/{id}Delete a gitwithteamOrganizationApiorg_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_gitwithteamPATCH/gitwithteams/{id}Edit a gitwithteamOrganizationApiorg_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_gitwithteamGET/gitwithteams/{id}Get a gitwithteamOrganizationApiorg_get_user_permissionsGET/users/{username}/orgs/{org}/permissionsGet user permissions in organizationOrganizationApiorg_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_gitwithteam_memberGET/gitwithteams/{id}/members/{username}List a particular member of gitwithteamOrganizationApiorg_list_gitwithteam_membersGET/gitwithteams/{id}/membersList a gitwithteam's membersOrganizationApiorg_list_gitwithteam_repoGET/gitwithteams/{id}/repos/{org}/{repo}List a particular repo of gitwithteamOrganizationApiorg_list_gitwithteam_reposGET/gitwithteams/{id}/reposList a gitwithteam's reposOrganizationApiorg_list_gitwithteamsGET/orgs/{org}/gitwithteamsList an organization's gitwithteamsOrganizationApiorg_list_user_orgsGET/users/{username}/orgsList a user's organizationsOrganizationApiorg_publicize_memberPUT/orgs/{org}/public_members/{username}Publicize a user's membershipOrganizationApiorg_remove_gitwithteam_memberDELETE/gitwithteams/{id}/members/{username}Remove a gitwithteam memberOrganizationApiorg_remove_gitwithteam_repositoryDELETE/gitwithteams/{id}/repos/{org}/{repo}Remove a repository from a gitwithteamOrganizationApigitwithteam_searchGET/orgs/{org}/gitwithteams/searchSearch for gitwithteams within an organizationPackageApidelete_packageDELETE/packages/{owner}/{type}/{name}/{version}Delete a packagePackageApiget_packageGET/packages/{owner}/{type}/{name}/{version}Gets a packagePackageApilist_package_filesGET/packages/{owner}/{type}/{name}/{version}/filesGets all files of a packagePackageApilist_packagesGET/packages/{owner}Gets all packages of an ownerRepositoryApiaccept_repo_transferPOST/repos/{owner}/{repo}/transfer/acceptAccept a repo transferRepositoryApicreate_current_user_repoPOST/user/reposCreate a repositoryRepositoryApicreate_forkPOST/repos/{owner}/{repo}/forksFork a repositoryRepositoryApigenerate_repoPOST/repos/{template_owner}/{template_repo}/generateCreate a repository using a templateRepositoryApiget_annotated_tagGET/repos/{owner}/{repo}/git/tags/{sha}Gets the tag object of an annotated tag (not lightweight tags)RepositoryApiget_blobGET/repos/{owner}/{repo}/git/blobs/{sha}Gets the blob of a repository.RepositoryApiget_treeGET/repos/{owner}/{repo}/git/trees/{sha}Gets the tree of a repository.RepositoryApilist_forksGET/repos/{owner}/{repo}/forksList a repository's forksRepositoryApireject_repo_transferPOST/repos/{owner}/{repo}/transfer/rejectReject a repo transferRepositoryApirepo_add_collaboratorPUT/repos/{owner}/{repo}/collaborators/{collaborator}Add a collaborator to a repositoryRepositoryApirepo_add_push_mirrorPOST/repos/{owner}/{repo}/push_mirrorsadd a push mirror to the repositoryRepositoryApirepo_add_gitwithteamPUT/repos/{owner}/{repo}/gitwithteams/{gitwithteam}Add a gitwithteam to a repositoryRepositoryApirepo_add_topicPUT/repos/{owner}/{repo}/topics/{topic}Add a topic to a repositoryRepositoryApirepo_apply_diff_patchPOST/repos/{owner}/{repo}/diffpatchApply diff patch to repositoryRepositoryApirepo_cancel_scheduled_auto_mergeDELETE/repos/{owner}/{repo}/pulls/{index}/mergeCancel the scheduled auto merge for the given pull requestRepositoryApirepo_check_collaboratorGET/repos/{owner}/{repo}/collaborators/{collaborator}Check if a user is a collaborator of a repositoryRepositoryApirepo_check_gitwithteamGET/repos/{owner}/{repo}/gitwithteams/{gitwithteam}Check if a gitwithteam is assigned to a repositoryRepositoryApirepo_create_branchPOST/repos/{owner}/{repo}/branchesCreate a branchRepositoryApirepo_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_pull_review_requestsPOST/repos/{owner}/{repo}/pulls/{index}/requested_reviewerscreate review requests for a 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_create_tagPOST/repos/{owner}/{repo}/tagsCreate a new git tag in a repositoryRepositoryApirepo_create_wiki_pagePOST/repos/{owner}/{repo}/wiki/newCreate a wiki pageRepositoryApirepo_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_pull_review_requestsDELETE/repos/{owner}/{repo}/pulls/{index}/requested_reviewerscancel review requests for a pull requestRepositoryApirepo_delete_push_mirrorDELETE/repos/{owner}/{repo}/push_mirrors/{name}deletes a push mirror from a repository by remoteNameRepositoryApirepo_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_release_by_tagDELETE/repos/{owner}/{repo}/releases/tags/{tag}Delete a release by tag nameRepositoryApirepo_delete_tagDELETE/repos/{owner}/{repo}/tags/{tag}Delete a repository's tag by nameRepositoryApirepo_delete_gitwithteamDELETE/repos/{owner}/{repo}/gitwithteams/{gitwithteam}Delete a gitwithteam from a repositoryRepositoryApirepo_delete_topicDELETE/repos/{owner}/{repo}/topics/{topic}Delete a topic from a repositoryRepositoryApirepo_delete_wiki_pageDELETE/repos/{owner}/{repo}/wiki/page/{pageName}Delete a wiki pageRepositoryApirepo_dismiss_pull_reviewPOST/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissalsDismiss a review for a pull requestRepositoryApirepo_download_commit_diff_or_patchGET/repos/{owner}/{repo}/git/commits/{sha}.{diffType}Get a commit's diff or patchRepositoryApirepo_download_pull_diff_or_patchGET/repos/{owner}/{repo}/pulls/{index}.{diffType}Get a pull request diff or patchRepositoryApirepo_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_edit_wiki_pagePATCH/repos/{owner}/{repo}/wiki/page/{pageName}Edit a wiki pageRepositoryApirepo_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_assigneesGET/repos/{owner}/{repo}/assigneesReturn all users that have write access and can be assigned to issuesRepositoryApirepo_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}/statusGet 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_issue_templatesGET/repos/{owner}/{repo}/issue_templatesGet available issue templates for a repositoryRepositoryApirepo_get_keyGET/repos/{owner}/{repo}/keys/{id}Get a repository's key by idRepositoryApirepo_get_languagesGET/repos/{owner}/{repo}/languagesGet languages and number of bytes of code writtenRepositoryApirepo_get_latest_releaseGET/repos/{owner}/{repo}/releases/latestGets the most recent non-prerelease, non-draft release of a repository, sorted by created_atRepositoryApirepo_get_noteGET/repos/{owner}/{repo}/git/notes/{sha}Get a note corresponding to a single commit from a repositoryRepositoryApirepo_get_pull_requestGET/repos/{owner}/{repo}/pulls/{index}Get a pull requestRepositoryApirepo_get_pull_request_commitsGET/repos/{owner}/{repo}/pulls/{index}/commitsGet commits for a pull requestRepositoryApirepo_get_pull_request_filesGET/repos/{owner}/{repo}/pulls/{index}/filesGet changed files for 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_push_mirror_by_remote_nameGET/repos/{owner}/{repo}/push_mirrors/{name}Get push mirror of the repository by remoteNameRepositoryApirepo_get_raw_fileGET/repos/{owner}/{repo}/raw/{filepath}Get a file from a repositoryRepositoryApirepo_get_raw_file_or_lfsGET/repos/{owner}/{repo}/media/{filepath}Get a file or it's LFS object 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_release_by_tagGET/repos/{owner}/{repo}/releases/tags/{tag}Get a release by tag nameRepositoryApirepo_get_repo_permissionsGET/repos/{owner}/{repo}/collaborators/{collaborator}/permissionGet repository permissions for a userRepositoryApirepo_get_reviewersGET/repos/{owner}/{repo}/reviewersReturn all users that can be requested to review in this repoRepositoryApirepo_get_single_commitGET/repos/{owner}/{repo}/git/commits/{sha}Get a single commit from a repositoryRepositoryApirepo_get_tagGET/repos/{owner}/{repo}/tags/{tag}Get the tag of a repository by tag nameRepositoryApirepo_get_wiki_pageGET/repos/{owner}/{repo}/wiki/page/{pageName}Get a wiki pageRepositoryApirepo_get_wiki_page_revisionsGET/repos/{owner}/{repo}/wiki/revisions/{pageName}Get revisions of a wiki pageRepositoryApirepo_get_wiki_pagesGET/repos/{owner}/{repo}/wiki/pagesGet all wiki pagesRepositoryApirepo_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_push_mirrorsGET/repos/{owner}/{repo}/push_mirrorsGet all push mirrors of the repositoryRepositoryApirepo_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_statuses_by_refGET/repos/{owner}/{repo}/commits/{ref}/statusesGet a commit's statuses, by branch/tag/commit referenceRepositoryApirepo_list_subscribersGET/repos/{owner}/{repo}/subscribersList a repo's watchersRepositoryApirepo_list_tagsGET/repos/{owner}/{repo}/tagsList a repository's tagsRepositoryApirepo_list_gitwithteamsGET/repos/{owner}/{repo}/gitwithteamsList a repository's gitwithteamsRepositoryApirepo_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_push_mirror_syncPOST/repos/{owner}/{repo}/push_mirrors-syncSync all push mirrored repositoryRepositoryApirepo_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_un_dismiss_pull_reviewPOST/repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissalsCancel to dismiss a review for a pull requestRepositoryApirepo_update_filePUT/repos/{owner}/{repo}/contents/{filepath}Update a file in a repositoryRepositoryApirepo_update_pull_requestPOST/repos/{owner}/{repo}/pulls/{index}/updateMerge PR's baseBranch into headBranchRepositoryApirepo_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 repoSettingsApiget_general_api_settingsGET/settings/apiGet instance's global settings for apiSettingsApiget_general_attachment_settingsGET/settings/attachmentGet instance's global settings for AttachmentSettingsApiget_general_repository_settingsGET/settings/repositoryGet instance's global settings for repositoriesSettingsApiget_general_ui_settingsGET/settings/uiGet instance's global settings for uiUserApicreate_current_user_repoPOST/user/reposCreate a repositoryUserApiget_user_settingsGET/user/settingsGet user settingsUserApiget_verification_tokenGET/user/gpg_key_tokenGet a Token to verifyUserApiupdate_user_settingsPATCH/user/settingsUpdate user settingsUserApiuser_add_emailPOST/user/emailsAdd email addressesUserApiuser_check_followingGET/users/{username}/following/{target}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 ownsUserApiuser_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_gitwithteamsGET/user/gitwithteamsList all the gitwithteams 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 secretUserApiuser_verify_gpg_keyPOST/user/gpg_key_verifyVerify a GPG keyDocumentation For ModelsAPIErrorAccessTokenActivityPubAddCollaboratorOptionAddTimeOptionAnnotatedTagAnnotatedTagObjectAttachmentBranchBranchProtectionChangedFileCombinedStatusCommentCommitCommitAffectedFilesCommitDateOptionsCommitMetaCommitStatsCommitStatusCommitStatusStateCommitUserContentsResponseCreateAccessTokenOptionCreateBranchProtectionOptionCreateBranchRepoOptionCreateEmailOptionCreateFileOptionsCreateForkOptionCreateGPGKeyOptionCreateHookOptionCreateHookOptionConfigCreateIssueCommentOptionCreateIssueOptionCreateKeyOptionCreateLabelOptionCreateMilestoneOptionCreateOAuth2ApplicationOptionsCreateOrgOptionCreatePullRequestOptionCreatePullReviewCommentCreatePullReviewOptionsCreatePushMirrorOptionCreateReleaseOptionCreateRepoOptionCreateStatusOptionCreateTagOptionCreateTeamOptionCreateUserOptionCreateWikiPageOptionsCronDeleteEmailOptionDeleteFileOptionsDeployKeyDismissPullReviewOptionsEditAttachmentOptionsEditBranchProtectionOptionEditDeadlineOptionEditGitHookOptionEditHookOptionEditIssueCommentOptionEditIssueOptionEditLabelOptionEditMilestoneOptionEditOrgOptionEditPullRequestOptionEditReactionOptionEditReleaseOptionEditRepoOptionEditTeamOptionEditUserOptionEmailExternalTrackerExternalWikiFileCommitResponseFileDeleteResponseFileLinksResponseFileResponseGPGKeyGPGKeyEmailGeneralAPISettingsGeneralAttachmentSettingsGeneralRepoSettingsGeneralUISettingsGenerateRepoOptionGitBlobResponseGitEntryGitHookGitObjectGitTreeResponseHookIdentityInlineResponse200InlineResponse2001InternalTrackerIssueIssueDeadlineIssueFormFieldIssueFormFieldTypeIssueLabelsOptionIssueTemplateIssueTemplateLabelsLabelMarkdownOptionMergePullRequestOptionMigrateRepoOptionsMilestoneNodeInfoNodeInfoServicesNodeInfoSoftwareNodeInfoUsageNodeInfoUsageUsersNoteNotificationCountNotificationSubjectNotificationThreadNotifySubjectTypeOAuth2ApplicationOrganizationOrganizationPermissionsPRBranchInfoPackagePackageFilePayloadCommitPayloadCommitVerificationPayloadUserPermissionPublicKeyPullRequestPullRequestMetaPullReviewPullReviewCommentPullReviewRequestOptionsPushMirrorReactionReferenceReleaseRepoCollaboratorPermissionRepoCommitRepoTopicOptionsRepoTransferRepositoryRepositoryMetaReviewStateTypeSearchResultsServerVersionStateTypeStopWatchSubmitPullReviewOptionsTagTeamTimeStampTimelineCommentTopicNameTopicResponseTrackedTimeTransferRepoOptionUpdateFileOptionsUserUserHeatmapDataUserSettingsUserSettingsOptionsWatchInfoWikiCommitWikiCommitListWikiPageWikiPageMetaDataDocumentation 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 stringTOTPHeaderType: API keyAPI key parameter name: X-FORGEJO-OTPLocation: HTTP headerTokenType: API keyAPI key parameter name: tokenLocation: URL query string