Package: py-gitea-opensuse-org
py-gitea-opensuse-orgThis documentation describes the Gitea API.This Python package is automatically generated by theOpenAPI Generatorproject:API version: 1.21.4Package version: 1.21.4Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python 3.7+Installation & Usagepip installIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/dcermak/py-gitea-opensuse-org.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/dcermak/py-gitea-opensuse-org.git)Then import the package:importpy_gitea_opensuse_orgSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importpy_gitea_opensuse_orgTestsExecutepytestto run the tests.Getting StartedPlease follow theinstallation procedureand then run the following:importpy_gitea_opensuse_orgfrompy_gitea_opensuse_org.restimportApiExceptionfrompprintimportpprint# Defining the host is optional and defaults to /api/v1# See configuration.py for a list of all supported configuration parameters.configuration=py_gitea_opensuse_org.Configuration(host="/api/v1")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: TOTPHeaderconfiguration.api_key['TOTPHeader']=os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['TOTPHeader'] = 'Bearer'# Configure API key authorization: AuthorizationHeaderTokenconfiguration.api_key['AuthorizationHeaderToken']=os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['AuthorizationHeaderToken'] = 'Bearer'# Configure API key authorization: SudoHeaderconfiguration.api_key['SudoHeader']=os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['SudoHeader'] = 'Bearer'# Configure HTTP basic authorization: BasicAuthconfiguration=py_gitea_opensuse_org.Configuration(username=os.environ["USERNAME"],password=os.environ["PASSWORD"])# Configure API key authorization: AccessTokenconfiguration.api_key['AccessToken']=os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['AccessToken'] = 'Bearer'# Configure API key authorization: SudoParamconfiguration.api_key['SudoParam']=os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['SudoParam'] = 'Bearer'# Configure API key authorization: Tokenconfiguration.api_key['Token']=os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['Token'] = 'Bearer'# Enter a context with an instance of the API clientasyncwithpy_gitea_opensuse_org.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=py_gitea_opensuse_org.ActivitypubApi(api_client)user_id=56# int | user ID of the usertry:# Returns the Person actor for a userapi_response=awaitapi_instance.activitypub_person(user_id)print("The response of ActivitypubApi->activitypub_person:\n")pprint(api_response)exceptApiExceptionase:print("Exception when calling ActivitypubApi->activitypub_person:%s\n"%e)Documentation for API EndpointsAll URIs are relative to/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_emailsGET/admin/emailsList all emailsAdminApiadmin_get_all_orgsGET/admin/orgsList all organizationsAdminApiadmin_get_hookGET/admin/hooks/{id}Get a hookAdminApiadmin_list_hooksGET/admin/hooksList system's webhooksAdminApiadmin_rename_userPOST/admin/users/{username}/renameRename a userAdminApiadmin_search_emailsGET/admin/emails/searchSearch all emailsAdminApiadmin_search_usersGET/admin/usersSearch users according filter conditionsAdminApiadmin_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_blockingPOST/repos/{owner}/{repo}/issues/{index}/blocksBlock the issue given in the body by the issue in pathIssueApiissue_create_issue_comment_attachmentPOST/repos/{owner}/{repo}/issues/comments/{id}/assetsCreate a comment attachmentIssueApiissue_create_issue_dependenciesPOST/repos/{owner}/{repo}/issues/{index}/dependenciesMake the issue in the url depend on the issue in the form.IssueApiissue_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_blocksGET/repos/{owner}/{repo}/issues/{index}/blocksList issues that are blocked by this issueIssueApiissue_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_issue_dependenciesGET/repos/{owner}/{repo}/issues/{index}/dependenciesList an issue's dependencies, i.e all issues that block this issue.IssueApiissue_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_issue_blockingDELETE/repos/{owner}/{repo}/issues/{index}/blocksUnblock the issue given in the body by the issue in pathIssueApiissue_remove_issue_dependenciesDELETE/repos/{owner}/{repo}/issues/{index}/dependenciesRemove an issue dependencyIssueApiissue_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 timesIssueApimove_issue_pinPATCH/repos/{owner}/{repo}/issues/{index}/pin/{position}Moves the Pin to the given PositionIssueApipin_issuePOST/repos/{owner}/{repo}/issues/{index}/pinPin an IssueIssueApiunpin_issueDELETE/repos/{owner}/{repo}/issues/{index}/pinUnpin an IssueMiscellaneousApiget_gitignore_template_infoGET/gitignore/templates/{name}Returns information about a gitignore templateMiscellaneousApiget_label_template_infoGET/label/templates/{name}Returns all labels in a templateMiscellaneousApiget_license_template_infoGET/licenses/{name}Returns information about a license templateMiscellaneousApiget_node_infoGET/nodeinfoReturns the nodeinfo of the Gitea applicationMiscellaneousApiget_signing_keyGET/signing-key.gpgGet default signing-key.gpgMiscellaneousApiget_versionGET/versionReturns the version of the Gitea applicationMiscellaneousApilist_gitignores_templatesGET/gitignore/templatesReturns a list of all gitignore templatesMiscellaneousApilist_label_templatesGET/label/templatesReturns a list of all label templatesMiscellaneousApilist_license_templatesGET/licensesReturns a list of all license templatesMiscellaneousApirender_markdownPOST/markdownRender a markdown document as HTMLMiscellaneousApirender_markdown_rawPOST/markdown/rawRender raw markdown as HTMLMiscellaneousApirender_markupPOST/markupRender a markup document 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 organizationOrganizationApidelete_org_secretDELETE/orgs/{org}/actions/secrets/{secretname}Delete a secret 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}/hooksCreate 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_avatarDELETE/orgs/{org}/avatarDelete AvatarOrganizationApiorg_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_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_actions_secretsGET/orgs/{org}/actions/secretsList an organization's actions secretsOrganizationApiorg_list_activity_feedsGET/orgs/{org}/activities/feedsList an organization's activity feedsOrganizationApiorg_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_activity_feedsGET/teams/{id}/activities/feedsList a team's activity feedsOrganizationApiorg_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_repoGET/teams/{id}/repos/{org}/{repo}List a particular repo of teamOrganizationApiorg_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 teamOrganizationApiorg_update_avatarPOST/orgs/{org}/avatarUpdate AvatarOrganizationApiteam_searchGET/orgs/{org}/teams/searchSearch for teams within an organizationOrganizationApiupdate_org_secretPUT/orgs/{org}/actions/secrets/{secretname}Create or Update a secret value in 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 repositoryRepositoryApidelete_repo_secretDELETE/repos/{owner}/{repo}/actions/secrets/{secretname}Delete a secret in 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_teamPUT/repos/{owner}/{repo}/teams/{team}Add a team 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_change_filesPOST/repos/{owner}/{repo}/contentsModify multiple files in a repositoryRepositoryApirepo_check_collaboratorGET/repos/{owner}/{repo}/collaborators/{collaborator}Check if a user is a collaborator of a repositoryRepositoryApirepo_check_teamGET/repos/{owner}/{repo}/teams/{team}Check if a team 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_avatarDELETE/repos/{owner}/{repo}/avatarDelete avatarRepositoryApirepo_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_teamDELETE/repos/{owner}/{repo}/teams/{team}Delete a team 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_configGET/repos/{owner}/{repo}/issue_configReturns the issue config for a repoRepositoryApirepo_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_activity_feedsGET/repos/{owner}/{repo}/activities/feedsList a repository's activity feedsRepositoryApirepo_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_pinned_issuesGET/repos/{owner}/{repo}/issues/pinnedList a repo's pinned issuesRepositoryApirepo_list_pinned_pull_requestsGET/repos/{owner}/{repo}/pulls/pinnedList a repo's pinned pull requestsRepositoryApirepo_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_teamsGET/repos/{owner}/{repo}/teamsList a repository's teamsRepositoryApirepo_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_new_pin_allowedGET/repos/{owner}/{repo}/new_pin_allowedReturns if new Issue Pins are allowedRepositoryApirepo_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_avatarPOST/repos/{owner}/{repo}/avatarUpdate avatarRepositoryApirepo_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 repositoryRepositoryApirepo_validate_issue_configGET/repos/{owner}/{repo}/issue_config/validateReturns the validation information for a issue configRepositoryApitopic_searchGET/topics/searchsearch topics via keywordRepositoryApiupdate_repo_secretPUT/repos/{owner}/{repo}/actions/secrets/{secretname}Create or Update a secret value in a repositoryRepositoryApiuser_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 repositoryUserApidelete_user_secretDELETE/user/actions/secrets/{secretname}Delete a secret in a user scopeUserApiget_user_settingsGET/user/settingsGet user settingsUserApiget_verification_tokenGET/user/gpg_key_tokenGet a Token to verifyUserApiupdate_user_secretPUT/user/actions/secrets/{secretname}Create or Update a secret value in a user scopeUserApiupdate_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_hookPOST/user/hooksCreate a hookUserApiuser_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_avatarDELETE/user/avatarDelete AvatarUserApiuser_delete_emailDELETE/user/emailsDelete email addressesUserApiuser_delete_hookDELETE/user/hooks/{id}Delete a hookUserApiuser_delete_o_auth2_applicationDELETE/user/applications/oauth2/{id}delete an OAuth2 ApplicationUserApiuser_edit_hookPATCH/user/hooks/{id}Update a hookUserApiuser_getGET/users/{username}Get a userUserApiuser_get_currentGET/userGet the authenticated userUserApiuser_get_heatmap_dataGET/users/{username}/heatmapGet a user's heatmapUserApiuser_get_hookGET/user/hooks/{id}Get a hookUserApiuser_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_activity_feedsGET/users/{username}/activities/feedsList a user's activity feedsUserApiuser_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_hooksGET/user/hooksList the authenticated user's webhooksUserApiuser_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_avatarPOST/user/avatarUpdate AvatarUserApiuser_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 ModelsAPIErrorAccessTokenActivityActivityPubAddCollaboratorOptionAddTimeOptionAnnotatedTagAnnotatedTagObjectAttachmentBranchBranchProtectionChangeFileOperationChangeFilesOptionsChangedFileCombinedStatusCommentCommitCommitAffectedFilesCommitDateOptionsCommitMetaCommitStatsCommitStatusCommitUserContentsResponseCreateAccessTokenOptionCreateBranchProtectionOptionCreateBranchRepoOptionCreateEmailOptionCreateFileOptionsCreateForkOptionCreateGPGKeyOptionCreateHookOptionCreateIssueCommentOptionCreateIssueOptionCreateKeyOptionCreateLabelOptionCreateMilestoneOptionCreateOAuth2ApplicationOptionsCreateOrUpdateSecretOptionCreateOrgOptionCreatePullRequestOptionCreatePullReviewCommentCreatePullReviewOptionsCreatePushMirrorOptionCreateReleaseOptionCreateRepoOptionCreateStatusOptionCreateTagOptionCreateTeamOptionCreateUserOptionCreateWikiPageOptionsCronDeleteEmailOptionDeleteFileOptionsDeployKeyDismissPullReviewOptionsEditAttachmentOptionsEditBranchProtectionOptionEditDeadlineOptionEditGitHookOptionEditHookOptionEditIssueCommentOptionEditIssueOptionEditLabelOptionEditMilestoneOptionEditOrgOptionEditPullRequestOptionEditReactionOptionEditReleaseOptionEditRepoOptionEditTeamOptionEditUserOptionEmailExternalTrackerExternalWikiFileCommitResponseFileDeleteResponseFileLinksResponseFileResponseFilesResponseGPGKeyGPGKeyEmailGeneralAPISettingsGeneralAttachmentSettingsGeneralRepoSettingsGeneralUISettingsGenerateRepoOptionGitBlobResponseGitEntryGitHookGitObjectGitTreeResponseGitignoreTemplateInfoHookIdentityInternalTrackerIssueIssueConfigIssueConfigContactLinkIssueConfigValidationIssueDeadlineIssueFormFieldIssueLabelsOptionIssueMetaIssueTemplateLabelLabelTemplateLicenseTemplateInfoLicensesTemplateListEntryMarkdownOptionMarkupOptionMergePullRequestOptionMigrateRepoOptionsMilestoneNewIssuePinsAllowedNodeInfoNodeInfoServicesNodeInfoSoftwareNodeInfoUsageNodeInfoUsageUsersNoteNotificationCountNotificationSubjectNotificationThreadOAuth2ApplicationOrganizationOrganizationPermissionsPRBranchInfoPackagePackageFilePayloadCommitPayloadCommitVerificationPayloadUserPermissionPublicKeyPullRequestPullRequestMetaPullReviewPullReviewCommentPullReviewRequestOptionsPushMirrorReactionReferenceReleaseRenameUserOptionRepoCollaboratorPermissionRepoCommitRepoTopicOptionsRepoTransferRepositoryRepositoryMetaSearchResultsSecretServerVersionStopWatchSubmitPullReviewOptionsTagTeamTeamSearch200ResponseTimelineCommentTopicNameTopicResponseTrackedTimeTransferRepoOptionUpdateFileOptionsUpdateRepoAvatarOptionUpdateUserAvatarOptionUserUserHeatmapDataUserSearch200ResponseUserSettingsUserSettingsOptionsWatchInfoWikiCommitWikiCommitListWikiPageWikiPageMetaDataDocumentation For AuthorizationAuthentication schemes defined for the API:AccessTokenType: 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-GITEA-OTPLocation: HTTP headerTokenType: API keyAPI key parameter name: tokenLocation: URL query stringAuthor