diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 63619a0..3be09ee 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,6 +1,5 @@ .gitignore .npmignore -.openapi-generator-ignore README.md api.ts base.ts diff --git a/README.md b/README.md index 1fc4d9d..f274cad 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## @clientapi/forgejo@1.0.0 +## @clientapi/forgejo@1.0.1 This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments: @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co _published:_ ``` -npm install @clientapi/forgejo@1.0.0 --save +npm install @clientapi/forgejo@1.0.1 --save ``` _unPublished (not recommended):_ diff --git a/docs/.openapi-generator-ignore b/docs/.openapi-generator-ignore new file mode 100644 index 0000000..7484ee5 --- /dev/null +++ b/docs/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/docs/.openapi-generator/FILES b/docs/.openapi-generator/FILES new file mode 100644 index 0000000..4076815 --- /dev/null +++ b/docs/.openapi-generator/FILES @@ -0,0 +1,186 @@ +.openapi-generator-ignore +README.md +client/ActivitypubApi.md +client/AdminApi.md +client/IssueApi.md +client/MiscellaneousApi.md +client/NotificationApi.md +client/OrganizationApi.md +client/PackageApi.md +client/RepositoryApi.md +client/SettingsApi.md +client/UserApi.md +models/APIError.md +models/AccessToken.md +models/Activity.md +models/ActivityPub.md +models/AddCollaboratorOption.md +models/AddTimeOption.md +models/AnnotatedTag.md +models/AnnotatedTagObject.md +models/Attachment.md +models/BlockedUser.md +models/Branch.md +models/BranchProtection.md +models/ChangeFileOperation.md +models/ChangeFilesOptions.md +models/ChangedFile.md +models/CombinedStatus.md +models/Comment.md +models/Commit.md +models/CommitAffectedFiles.md +models/CommitDateOptions.md +models/CommitMeta.md +models/CommitStats.md +models/CommitStatus.md +models/CommitUser.md +models/ContentsResponse.md +models/CreateAccessTokenOption.md +models/CreateBranchProtectionOption.md +models/CreateBranchRepoOption.md +models/CreateEmailOption.md +models/CreateFileOptions.md +models/CreateForkOption.md +models/CreateGPGKeyOption.md +models/CreateHookOption.md +models/CreateIssueCommentOption.md +models/CreateIssueOption.md +models/CreateKeyOption.md +models/CreateLabelOption.md +models/CreateMilestoneOption.md +models/CreateOAuth2ApplicationOptions.md +models/CreateOrgOption.md +models/CreatePullRequestOption.md +models/CreatePullReviewComment.md +models/CreatePullReviewOptions.md +models/CreatePushMirrorOption.md +models/CreateReleaseOption.md +models/CreateRepoOption.md +models/CreateStatusOption.md +models/CreateTagOption.md +models/CreateTeamOption.md +models/CreateUserOption.md +models/CreateWikiPageOptions.md +models/Cron.md +models/DeleteEmailOption.md +models/DeleteFileOptions.md +models/DeployKey.md +models/DismissPullReviewOptions.md +models/EditAttachmentOptions.md +models/EditBranchProtectionOption.md +models/EditDeadlineOption.md +models/EditGitHookOption.md +models/EditHookOption.md +models/EditIssueCommentOption.md +models/EditIssueOption.md +models/EditLabelOption.md +models/EditMilestoneOption.md +models/EditOrgOption.md +models/EditPullRequestOption.md +models/EditReactionOption.md +models/EditReleaseOption.md +models/EditRepoOption.md +models/EditTeamOption.md +models/EditUserOption.md +models/Email.md +models/ExternalTracker.md +models/ExternalWiki.md +models/FileCommitResponse.md +models/FileDeleteResponse.md +models/FileLinksResponse.md +models/FileResponse.md +models/FilesResponse.md +models/GPGKey.md +models/GPGKeyEmail.md +models/GeneralAPISettings.md +models/GeneralAttachmentSettings.md +models/GeneralRepoSettings.md +models/GeneralUISettings.md +models/GenerateRepoOption.md +models/GitBlobResponse.md +models/GitEntry.md +models/GitHook.md +models/GitObject.md +models/GitTreeResponse.md +models/GitignoreTemplateInfo.md +models/Hook.md +models/Identity.md +models/InternalTracker.md +models/Issue.md +models/IssueConfig.md +models/IssueConfigContactLink.md +models/IssueConfigValidation.md +models/IssueDeadline.md +models/IssueFormField.md +models/IssueLabelsOption.md +models/IssueMeta.md +models/IssueTemplate.md +models/Label.md +models/LabelTemplate.md +models/LicenseTemplateInfo.md +models/LicensesTemplateListEntry.md +models/MarkdownOption.md +models/MarkupOption.md +models/MergePullRequestOption.md +models/MigrateRepoOptions.md +models/Milestone.md +models/NewIssuePinsAllowed.md +models/NodeInfo.md +models/NodeInfoServices.md +models/NodeInfoSoftware.md +models/NodeInfoUsage.md +models/NodeInfoUsageUsers.md +models/Note.md +models/NotificationCount.md +models/NotificationSubject.md +models/NotificationThread.md +models/OAuth2Application.md +models/Organization.md +models/OrganizationPermissions.md +models/PRBranchInfo.md +models/Package.md +models/PackageFile.md +models/PayloadCommit.md +models/PayloadCommitVerification.md +models/PayloadUser.md +models/Permission.md +models/PublicKey.md +models/PullRequest.md +models/PullRequestMeta.md +models/PullReview.md +models/PullReviewComment.md +models/PullReviewRequestOptions.md +models/PushMirror.md +models/Reaction.md +models/Reference.md +models/Release.md +models/RenameUserOption.md +models/RepoCollaboratorPermission.md +models/RepoCommit.md +models/RepoTopicOptions.md +models/RepoTransfer.md +models/Repository.md +models/RepositoryMeta.md +models/SearchResults.md +models/ServerVersion.md +models/StopWatch.md +models/SubmitPullReviewOptions.md +models/Tag.md +models/Team.md +models/TimelineComment.md +models/TopicName.md +models/TopicResponse.md +models/TrackedTime.md +models/TransferRepoOption.md +models/UpdateFileOptions.md +models/User.md +models/UserHeatmapData.md +models/UserSettings.md +models/UserSettingsOptions.md +models/WatchInfo.md +models/WikiCommit.md +models/WikiCommitList.md +models/WikiPage.md +models/WikiPageMetaData.md +models/teamSearch_200_response.md +models/userSearch_200_response.md diff --git a/docs/.openapi-generator/VERSION b/docs/.openapi-generator/VERSION new file mode 100644 index 0000000..73a86b1 --- /dev/null +++ b/docs/.openapi-generator/VERSION @@ -0,0 +1 @@ +7.0.1 \ No newline at end of file diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..60fae21 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,606 @@ +# Documentation for Forgejo API. + + +## Documentation for API Endpoints + +All URIs are relative to */api/v1* + +| Class | Method | HTTP request | Description | +|------------ | ------------- | ------------- | -------------| +| *ActivitypubApi* | [**activitypubPerson**](Apis/ActivitypubApi.md#activitypubperson) | **GET** /activitypub/user-id/{user-id} | Returns the Person actor for a user | +*ActivitypubApi* | [**activitypubPersonInbox**](Apis/ActivitypubApi.md#activitypubpersoninbox) | **POST** /activitypub/user-id/{user-id}/inbox | Send to the inbox | +| *AdminApi* | [**adminAdoptRepository**](Apis/AdminApi.md#adminadoptrepository) | **POST** /admin/unadopted/{owner}/{repo} | Adopt unadopted files as a repository | +*AdminApi* | [**adminCreateHook**](Apis/AdminApi.md#admincreatehook) | **POST** /admin/hooks | Create a hook | +*AdminApi* | [**adminCreateOrg**](Apis/AdminApi.md#admincreateorg) | **POST** /admin/users/{username}/orgs | Create an organization | +*AdminApi* | [**adminCreatePublicKey**](Apis/AdminApi.md#admincreatepublickey) | **POST** /admin/users/{username}/keys | Add a public key on behalf of a user | +*AdminApi* | [**adminCreateRepo**](Apis/AdminApi.md#admincreaterepo) | **POST** /admin/users/{username}/repos | Create a repository on behalf of a user | +*AdminApi* | [**adminCreateUser**](Apis/AdminApi.md#admincreateuser) | **POST** /admin/users | Create a user | +*AdminApi* | [**adminCronList**](Apis/AdminApi.md#admincronlist) | **GET** /admin/cron | List cron tasks | +*AdminApi* | [**adminCronRun**](Apis/AdminApi.md#admincronrun) | **POST** /admin/cron/{task} | Run cron task | +*AdminApi* | [**adminDeleteHook**](Apis/AdminApi.md#admindeletehook) | **DELETE** /admin/hooks/{id} | Delete a hook | +*AdminApi* | [**adminDeleteUnadoptedRepository**](Apis/AdminApi.md#admindeleteunadoptedrepository) | **DELETE** /admin/unadopted/{owner}/{repo} | Delete unadopted files | +*AdminApi* | [**adminDeleteUser**](Apis/AdminApi.md#admindeleteuser) | **DELETE** /admin/users/{username} | Delete a user | +*AdminApi* | [**adminDeleteUserPublicKey**](Apis/AdminApi.md#admindeleteuserpublickey) | **DELETE** /admin/users/{username}/keys/{id} | Delete a user's public key | +*AdminApi* | [**adminEditHook**](Apis/AdminApi.md#adminedithook) | **PATCH** /admin/hooks/{id} | Update a hook | +*AdminApi* | [**adminEditUser**](Apis/AdminApi.md#adminedituser) | **PATCH** /admin/users/{username} | Edit an existing user | +*AdminApi* | [**adminGetAllEmails**](Apis/AdminApi.md#admingetallemails) | **GET** /admin/emails | List all emails | +*AdminApi* | [**adminGetAllOrgs**](Apis/AdminApi.md#admingetallorgs) | **GET** /admin/orgs | List all organizations | +*AdminApi* | [**adminGetHook**](Apis/AdminApi.md#admingethook) | **GET** /admin/hooks/{id} | Get a hook | +*AdminApi* | [**adminListHooks**](Apis/AdminApi.md#adminlisthooks) | **GET** /admin/hooks | List system's webhooks | +*AdminApi* | [**adminRenameUser**](Apis/AdminApi.md#adminrenameuser) | **POST** /admin/users/{username}/rename | Rename a user | +*AdminApi* | [**adminSearchEmails**](Apis/AdminApi.md#adminsearchemails) | **GET** /admin/emails/search | Search all emails | +*AdminApi* | [**adminSearchUsers**](Apis/AdminApi.md#adminsearchusers) | **GET** /admin/users | Search users according filter conditions | +*AdminApi* | [**adminUnadoptedList**](Apis/AdminApi.md#adminunadoptedlist) | **GET** /admin/unadopted | List unadopted repositories | +| *IssueApi* | [**issueAddLabel**](Apis/IssueApi.md#issueaddlabel) | **POST** /repos/{owner}/{repo}/issues/{index}/labels | Add a label to an issue | +*IssueApi* | [**issueAddSubscription**](Apis/IssueApi.md#issueaddsubscription) | **PUT** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Subscribe user to issue | +*IssueApi* | [**issueAddTime**](Apis/IssueApi.md#issueaddtime) | **POST** /repos/{owner}/{repo}/issues/{index}/times | Add tracked time to a issue | +*IssueApi* | [**issueCheckSubscription**](Apis/IssueApi.md#issuechecksubscription) | **GET** /repos/{owner}/{repo}/issues/{index}/subscriptions/check | Check if user is subscribed to an issue | +*IssueApi* | [**issueClearLabels**](Apis/IssueApi.md#issueclearlabels) | **DELETE** /repos/{owner}/{repo}/issues/{index}/labels | Remove all labels from an issue | +*IssueApi* | [**issueCreateComment**](Apis/IssueApi.md#issuecreatecomment) | **POST** /repos/{owner}/{repo}/issues/{index}/comments | Add a comment to an issue | +*IssueApi* | [**issueCreateIssue**](Apis/IssueApi.md#issuecreateissue) | **POST** /repos/{owner}/{repo}/issues | Create an issue. If using deadline only the date will be taken into account, and time of day ignored. | +*IssueApi* | [**issueCreateIssueAttachment**](Apis/IssueApi.md#issuecreateissueattachment) | **POST** /repos/{owner}/{repo}/issues/{index}/assets | Create an issue attachment | +*IssueApi* | [**issueCreateIssueBlocking**](Apis/IssueApi.md#issuecreateissueblocking) | **POST** /repos/{owner}/{repo}/issues/{index}/blocks | Block the issue given in the body by the issue in path | +*IssueApi* | [**issueCreateIssueCommentAttachment**](Apis/IssueApi.md#issuecreateissuecommentattachment) | **POST** /repos/{owner}/{repo}/issues/comments/{id}/assets | Create a comment attachment | +*IssueApi* | [**issueCreateIssueDependencies**](Apis/IssueApi.md#issuecreateissuedependencies) | **POST** /repos/{owner}/{repo}/issues/{index}/dependencies | Make the issue in the url depend on the issue in the form. | +*IssueApi* | [**issueCreateLabel**](Apis/IssueApi.md#issuecreatelabel) | **POST** /repos/{owner}/{repo}/labels | Create a label | +*IssueApi* | [**issueCreateMilestone**](Apis/IssueApi.md#issuecreatemilestone) | **POST** /repos/{owner}/{repo}/milestones | Create a milestone | +*IssueApi* | [**issueDelete**](Apis/IssueApi.md#issuedelete) | **DELETE** /repos/{owner}/{repo}/issues/{index} | Delete an issue | +*IssueApi* | [**issueDeleteComment**](Apis/IssueApi.md#issuedeletecomment) | **DELETE** /repos/{owner}/{repo}/issues/comments/{id} | Delete a comment | +*IssueApi* | [**issueDeleteCommentDeprecated**](Apis/IssueApi.md#issuedeletecommentdeprecated) | **DELETE** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Delete a comment | +*IssueApi* | [**issueDeleteCommentReaction**](Apis/IssueApi.md#issuedeletecommentreaction) | **DELETE** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Remove a reaction from a comment of an issue | +*IssueApi* | [**issueDeleteIssueAttachment**](Apis/IssueApi.md#issuedeleteissueattachment) | **DELETE** /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Delete an issue attachment | +*IssueApi* | [**issueDeleteIssueCommentAttachment**](Apis/IssueApi.md#issuedeleteissuecommentattachment) | **DELETE** /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Delete a comment attachment | +*IssueApi* | [**issueDeleteIssueReaction**](Apis/IssueApi.md#issuedeleteissuereaction) | **DELETE** /repos/{owner}/{repo}/issues/{index}/reactions | Remove a reaction from an issue | +*IssueApi* | [**issueDeleteLabel**](Apis/IssueApi.md#issuedeletelabel) | **DELETE** /repos/{owner}/{repo}/labels/{id} | Delete a label | +*IssueApi* | [**issueDeleteMilestone**](Apis/IssueApi.md#issuedeletemilestone) | **DELETE** /repos/{owner}/{repo}/milestones/{id} | Delete a milestone | +*IssueApi* | [**issueDeleteStopWatch**](Apis/IssueApi.md#issuedeletestopwatch) | **DELETE** /repos/{owner}/{repo}/issues/{index}/stopwatch/delete | Delete an issue's existing stopwatch. | +*IssueApi* | [**issueDeleteSubscription**](Apis/IssueApi.md#issuedeletesubscription) | **DELETE** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Unsubscribe user from issue | +*IssueApi* | [**issueDeleteTime**](Apis/IssueApi.md#issuedeletetime) | **DELETE** /repos/{owner}/{repo}/issues/{index}/times/{id} | Delete specific tracked time | +*IssueApi* | [**issueEditComment**](Apis/IssueApi.md#issueeditcomment) | **PATCH** /repos/{owner}/{repo}/issues/comments/{id} | Edit a comment | +*IssueApi* | [**issueEditCommentDeprecated**](Apis/IssueApi.md#issueeditcommentdeprecated) | **PATCH** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Edit a comment | +*IssueApi* | [**issueEditIssue**](Apis/IssueApi.md#issueeditissue) | **PATCH** /repos/{owner}/{repo}/issues/{index} | Edit an issue. If using deadline only the date will be taken into account, and time of day ignored. | +*IssueApi* | [**issueEditIssueAttachment**](Apis/IssueApi.md#issueeditissueattachment) | **PATCH** /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Edit an issue attachment | +*IssueApi* | [**issueEditIssueCommentAttachment**](Apis/IssueApi.md#issueeditissuecommentattachment) | **PATCH** /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Edit a comment attachment | +*IssueApi* | [**issueEditIssueDeadline**](Apis/IssueApi.md#issueeditissuedeadline) | **POST** /repos/{owner}/{repo}/issues/{index}/deadline | Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored. | +*IssueApi* | [**issueEditLabel**](Apis/IssueApi.md#issueeditlabel) | **PATCH** /repos/{owner}/{repo}/labels/{id} | Update a label | +*IssueApi* | [**issueEditMilestone**](Apis/IssueApi.md#issueeditmilestone) | **PATCH** /repos/{owner}/{repo}/milestones/{id} | Update a milestone | +*IssueApi* | [**issueGetComment**](Apis/IssueApi.md#issuegetcomment) | **GET** /repos/{owner}/{repo}/issues/comments/{id} | Get a comment | +*IssueApi* | [**issueGetCommentReactions**](Apis/IssueApi.md#issuegetcommentreactions) | **GET** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Get a list of reactions from a comment of an issue | +*IssueApi* | [**issueGetComments**](Apis/IssueApi.md#issuegetcomments) | **GET** /repos/{owner}/{repo}/issues/{index}/comments | List all comments on an issue | +*IssueApi* | [**issueGetCommentsAndTimeline**](Apis/IssueApi.md#issuegetcommentsandtimeline) | **GET** /repos/{owner}/{repo}/issues/{index}/timeline | List all comments and events on an issue | +*IssueApi* | [**issueGetIssue**](Apis/IssueApi.md#issuegetissue) | **GET** /repos/{owner}/{repo}/issues/{index} | Get an issue | +*IssueApi* | [**issueGetIssueAttachment**](Apis/IssueApi.md#issuegetissueattachment) | **GET** /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Get an issue attachment | +*IssueApi* | [**issueGetIssueCommentAttachment**](Apis/IssueApi.md#issuegetissuecommentattachment) | **GET** /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Get a comment attachment | +*IssueApi* | [**issueGetIssueReactions**](Apis/IssueApi.md#issuegetissuereactions) | **GET** /repos/{owner}/{repo}/issues/{index}/reactions | Get a list reactions of an issue | +*IssueApi* | [**issueGetLabel**](Apis/IssueApi.md#issuegetlabel) | **GET** /repos/{owner}/{repo}/labels/{id} | Get a single label | +*IssueApi* | [**issueGetLabels**](Apis/IssueApi.md#issuegetlabels) | **GET** /repos/{owner}/{repo}/issues/{index}/labels | Get an issue's labels | +*IssueApi* | [**issueGetMilestone**](Apis/IssueApi.md#issuegetmilestone) | **GET** /repos/{owner}/{repo}/milestones/{id} | Get a milestone | +*IssueApi* | [**issueGetMilestonesList**](Apis/IssueApi.md#issuegetmilestoneslist) | **GET** /repos/{owner}/{repo}/milestones | Get all of a repository's opened milestones | +*IssueApi* | [**issueGetRepoComments**](Apis/IssueApi.md#issuegetrepocomments) | **GET** /repos/{owner}/{repo}/issues/comments | List all comments in a repository | +*IssueApi* | [**issueListBlocks**](Apis/IssueApi.md#issuelistblocks) | **GET** /repos/{owner}/{repo}/issues/{index}/blocks | List issues that are blocked by this issue | +*IssueApi* | [**issueListIssueAttachments**](Apis/IssueApi.md#issuelistissueattachments) | **GET** /repos/{owner}/{repo}/issues/{index}/assets | List issue's attachments | +*IssueApi* | [**issueListIssueCommentAttachments**](Apis/IssueApi.md#issuelistissuecommentattachments) | **GET** /repos/{owner}/{repo}/issues/comments/{id}/assets | List comment's attachments | +*IssueApi* | [**issueListIssueDependencies**](Apis/IssueApi.md#issuelistissuedependencies) | **GET** /repos/{owner}/{repo}/issues/{index}/dependencies | List an issue's dependencies, i.e all issues that block this issue. | +*IssueApi* | [**issueListIssues**](Apis/IssueApi.md#issuelistissues) | **GET** /repos/{owner}/{repo}/issues | List a repository's issues | +*IssueApi* | [**issueListLabels**](Apis/IssueApi.md#issuelistlabels) | **GET** /repos/{owner}/{repo}/labels | Get all of a repository's labels | +*IssueApi* | [**issuePostCommentReaction**](Apis/IssueApi.md#issuepostcommentreaction) | **POST** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Add a reaction to a comment of an issue | +*IssueApi* | [**issuePostIssueReaction**](Apis/IssueApi.md#issuepostissuereaction) | **POST** /repos/{owner}/{repo}/issues/{index}/reactions | Add a reaction to an issue | +*IssueApi* | [**issueRemoveIssueBlocking**](Apis/IssueApi.md#issueremoveissueblocking) | **DELETE** /repos/{owner}/{repo}/issues/{index}/blocks | Unblock the issue given in the body by the issue in path | +*IssueApi* | [**issueRemoveIssueDependencies**](Apis/IssueApi.md#issueremoveissuedependencies) | **DELETE** /repos/{owner}/{repo}/issues/{index}/dependencies | Remove an issue dependency | +*IssueApi* | [**issueRemoveLabel**](Apis/IssueApi.md#issueremovelabel) | **DELETE** /repos/{owner}/{repo}/issues/{index}/labels/{id} | Remove a label from an issue | +*IssueApi* | [**issueReplaceLabels**](Apis/IssueApi.md#issuereplacelabels) | **PUT** /repos/{owner}/{repo}/issues/{index}/labels | Replace an issue's labels | +*IssueApi* | [**issueResetTime**](Apis/IssueApi.md#issueresettime) | **DELETE** /repos/{owner}/{repo}/issues/{index}/times | Reset a tracked time of an issue | +*IssueApi* | [**issueSearchIssues**](Apis/IssueApi.md#issuesearchissues) | **GET** /repos/issues/search | Search for issues across the repositories that the user has access to | +*IssueApi* | [**issueStartStopWatch**](Apis/IssueApi.md#issuestartstopwatch) | **POST** /repos/{owner}/{repo}/issues/{index}/stopwatch/start | Start stopwatch on an issue. | +*IssueApi* | [**issueStopStopWatch**](Apis/IssueApi.md#issuestopstopwatch) | **POST** /repos/{owner}/{repo}/issues/{index}/stopwatch/stop | Stop an issue's existing stopwatch. | +*IssueApi* | [**issueSubscriptions**](Apis/IssueApi.md#issuesubscriptions) | **GET** /repos/{owner}/{repo}/issues/{index}/subscriptions | Get users who subscribed on an issue. | +*IssueApi* | [**issueTrackedTimes**](Apis/IssueApi.md#issuetrackedtimes) | **GET** /repos/{owner}/{repo}/issues/{index}/times | List an issue's tracked times | +*IssueApi* | [**moveIssuePin**](Apis/IssueApi.md#moveissuepin) | **PATCH** /repos/{owner}/{repo}/issues/{index}/pin/{position} | Moves the Pin to the given Position | +*IssueApi* | [**pinIssue**](Apis/IssueApi.md#pinissue) | **POST** /repos/{owner}/{repo}/issues/{index}/pin | Pin an Issue | +*IssueApi* | [**unpinIssue**](Apis/IssueApi.md#unpinissue) | **DELETE** /repos/{owner}/{repo}/issues/{index}/pin | Unpin an Issue | +| *MiscellaneousApi* | [**getGitignoreTemplateInfo**](Apis/MiscellaneousApi.md#getgitignoretemplateinfo) | **GET** /gitignore/templates/{name} | Returns information about a gitignore template | +*MiscellaneousApi* | [**getLabelTemplateInfo**](Apis/MiscellaneousApi.md#getlabeltemplateinfo) | **GET** /label/templates/{name} | Returns all labels in a template | +*MiscellaneousApi* | [**getLicenseTemplateInfo**](Apis/MiscellaneousApi.md#getlicensetemplateinfo) | **GET** /licenses/{name} | Returns information about a license template | +*MiscellaneousApi* | [**getNodeInfo**](Apis/MiscellaneousApi.md#getnodeinfo) | **GET** /nodeinfo | Returns the nodeinfo of the Gitea application | +*MiscellaneousApi* | [**getSigningKey**](Apis/MiscellaneousApi.md#getsigningkey) | **GET** /signing-key.gpg | Get default signing-key.gpg | +*MiscellaneousApi* | [**getVersion**](Apis/MiscellaneousApi.md#getversion) | **GET** /version | Returns the version of the Gitea application | +*MiscellaneousApi* | [**listGitignoresTemplates**](Apis/MiscellaneousApi.md#listgitignorestemplates) | **GET** /gitignore/templates | Returns a list of all gitignore templates | +*MiscellaneousApi* | [**listLabelTemplates**](Apis/MiscellaneousApi.md#listlabeltemplates) | **GET** /label/templates | Returns a list of all label templates | +*MiscellaneousApi* | [**listLicenseTemplates**](Apis/MiscellaneousApi.md#listlicensetemplates) | **GET** /licenses | Returns a list of all license templates | +*MiscellaneousApi* | [**renderMarkdown**](Apis/MiscellaneousApi.md#rendermarkdown) | **POST** /markdown | Render a markdown document as HTML | +*MiscellaneousApi* | [**renderMarkdownRaw**](Apis/MiscellaneousApi.md#rendermarkdownraw) | **POST** /markdown/raw | Render raw markdown as HTML | +*MiscellaneousApi* | [**renderMarkup**](Apis/MiscellaneousApi.md#rendermarkup) | **POST** /markup | Render a markup document as HTML | +| *NotificationApi* | [**notifyGetList**](Apis/NotificationApi.md#notifygetlist) | **GET** /notifications | List users's notification threads | +*NotificationApi* | [**notifyGetRepoList**](Apis/NotificationApi.md#notifygetrepolist) | **GET** /repos/{owner}/{repo}/notifications | List users's notification threads on a specific repo | +*NotificationApi* | [**notifyGetThread**](Apis/NotificationApi.md#notifygetthread) | **GET** /notifications/threads/{id} | Get notification thread by ID | +*NotificationApi* | [**notifyNewAvailable**](Apis/NotificationApi.md#notifynewavailable) | **GET** /notifications/new | Check if unread notifications exist | +*NotificationApi* | [**notifyReadList**](Apis/NotificationApi.md#notifyreadlist) | **PUT** /notifications | Mark notification threads as read, pinned or unread | +*NotificationApi* | [**notifyReadRepoList**](Apis/NotificationApi.md#notifyreadrepolist) | **PUT** /repos/{owner}/{repo}/notifications | Mark notification threads as read, pinned or unread on a specific repo | +*NotificationApi* | [**notifyReadThread**](Apis/NotificationApi.md#notifyreadthread) | **PATCH** /notifications/threads/{id} | Mark notification thread as read by ID | +| *OrganizationApi* | [**createOrgRepo**](Apis/OrganizationApi.md#createorgrepo) | **POST** /orgs/{org}/repos | Create a repository in an organization | +*OrganizationApi* | [**createOrgRepoDeprecated**](Apis/OrganizationApi.md#createorgrepodeprecated) | **POST** /org/{org}/repos | Create a repository in an organization | +*OrganizationApi* | [**orgAddTeamMember**](Apis/OrganizationApi.md#orgaddteammember) | **PUT** /teams/{id}/members/{username} | Add a team member | +*OrganizationApi* | [**orgAddTeamRepository**](Apis/OrganizationApi.md#orgaddteamrepository) | **PUT** /teams/{id}/repos/{org}/{repo} | Add a repository to a team | +*OrganizationApi* | [**orgBlockUser**](Apis/OrganizationApi.md#orgblockuser) | **PUT** /orgs/{org}/block/{username} | Blocks a user from the organization | +*OrganizationApi* | [**orgConcealMember**](Apis/OrganizationApi.md#orgconcealmember) | **DELETE** /orgs/{org}/public_members/{username} | Conceal a user's membership | +*OrganizationApi* | [**orgCreate**](Apis/OrganizationApi.md#orgcreate) | **POST** /orgs | Create an organization | +*OrganizationApi* | [**orgCreateHook**](Apis/OrganizationApi.md#orgcreatehook) | **POST** /orgs/{org}/hooks | Create a hook | +*OrganizationApi* | [**orgCreateLabel**](Apis/OrganizationApi.md#orgcreatelabel) | **POST** /orgs/{org}/labels | Create a label for an organization | +*OrganizationApi* | [**orgCreateTeam**](Apis/OrganizationApi.md#orgcreateteam) | **POST** /orgs/{org}/teams | Create a team | +*OrganizationApi* | [**orgDelete**](Apis/OrganizationApi.md#orgdelete) | **DELETE** /orgs/{org} | Delete an organization | +*OrganizationApi* | [**orgDeleteHook**](Apis/OrganizationApi.md#orgdeletehook) | **DELETE** /orgs/{org}/hooks/{id} | Delete a hook | +*OrganizationApi* | [**orgDeleteLabel**](Apis/OrganizationApi.md#orgdeletelabel) | **DELETE** /orgs/{org}/labels/{id} | Delete a label | +*OrganizationApi* | [**orgDeleteMember**](Apis/OrganizationApi.md#orgdeletemember) | **DELETE** /orgs/{org}/members/{username} | Remove a member from an organization | +*OrganizationApi* | [**orgDeleteTeam**](Apis/OrganizationApi.md#orgdeleteteam) | **DELETE** /teams/{id} | Delete a team | +*OrganizationApi* | [**orgEdit**](Apis/OrganizationApi.md#orgedit) | **PATCH** /orgs/{org} | Edit an organization | +*OrganizationApi* | [**orgEditHook**](Apis/OrganizationApi.md#orgedithook) | **PATCH** /orgs/{org}/hooks/{id} | Update a hook | +*OrganizationApi* | [**orgEditLabel**](Apis/OrganizationApi.md#orgeditlabel) | **PATCH** /orgs/{org}/labels/{id} | Update a label | +*OrganizationApi* | [**orgEditTeam**](Apis/OrganizationApi.md#orgeditteam) | **PATCH** /teams/{id} | Edit a team | +*OrganizationApi* | [**orgGet**](Apis/OrganizationApi.md#orgget) | **GET** /orgs/{org} | Get an organization | +*OrganizationApi* | [**orgGetAll**](Apis/OrganizationApi.md#orggetall) | **GET** /orgs | Get list of organizations | +*OrganizationApi* | [**orgGetHook**](Apis/OrganizationApi.md#orggethook) | **GET** /orgs/{org}/hooks/{id} | Get a hook | +*OrganizationApi* | [**orgGetLabel**](Apis/OrganizationApi.md#orggetlabel) | **GET** /orgs/{org}/labels/{id} | Get a single label | +*OrganizationApi* | [**orgGetTeam**](Apis/OrganizationApi.md#orggetteam) | **GET** /teams/{id} | Get a team | +*OrganizationApi* | [**orgGetUserPermissions**](Apis/OrganizationApi.md#orggetuserpermissions) | **GET** /users/{username}/orgs/{org}/permissions | Get user permissions in organization | +*OrganizationApi* | [**orgIsMember**](Apis/OrganizationApi.md#orgismember) | **GET** /orgs/{org}/members/{username} | Check if a user is a member of an organization | +*OrganizationApi* | [**orgIsPublicMember**](Apis/OrganizationApi.md#orgispublicmember) | **GET** /orgs/{org}/public_members/{username} | Check if a user is a public member of an organization | +*OrganizationApi* | [**orgListActivityFeeds**](Apis/OrganizationApi.md#orglistactivityfeeds) | **GET** /orgs/{org}/activities/feeds | List an organization's activity feeds | +*OrganizationApi* | [**orgListBlockedUsers**](Apis/OrganizationApi.md#orglistblockedusers) | **GET** /orgs/{org}/list_blocked | List the organization's blocked users | +*OrganizationApi* | [**orgListCurrentUserOrgs**](Apis/OrganizationApi.md#orglistcurrentuserorgs) | **GET** /user/orgs | List the current user's organizations | +*OrganizationApi* | [**orgListHooks**](Apis/OrganizationApi.md#orglisthooks) | **GET** /orgs/{org}/hooks | List an organization's webhooks | +*OrganizationApi* | [**orgListLabels**](Apis/OrganizationApi.md#orglistlabels) | **GET** /orgs/{org}/labels | List an organization's labels | +*OrganizationApi* | [**orgListMembers**](Apis/OrganizationApi.md#orglistmembers) | **GET** /orgs/{org}/members | List an organization's members | +*OrganizationApi* | [**orgListPublicMembers**](Apis/OrganizationApi.md#orglistpublicmembers) | **GET** /orgs/{org}/public_members | List an organization's public members | +*OrganizationApi* | [**orgListRepos**](Apis/OrganizationApi.md#orglistrepos) | **GET** /orgs/{org}/repos | List an organization's repos | +*OrganizationApi* | [**orgListTeamActivityFeeds**](Apis/OrganizationApi.md#orglistteamactivityfeeds) | **GET** /teams/{id}/activities/feeds | List a team's activity feeds | +*OrganizationApi* | [**orgListTeamMember**](Apis/OrganizationApi.md#orglistteammember) | **GET** /teams/{id}/members/{username} | List a particular member of team | +*OrganizationApi* | [**orgListTeamMembers**](Apis/OrganizationApi.md#orglistteammembers) | **GET** /teams/{id}/members | List a team's members | +*OrganizationApi* | [**orgListTeamRepo**](Apis/OrganizationApi.md#orglistteamrepo) | **GET** /teams/{id}/repos/{org}/{repo} | List a particular repo of team | +*OrganizationApi* | [**orgListTeamRepos**](Apis/OrganizationApi.md#orglistteamrepos) | **GET** /teams/{id}/repos | List a team's repos | +*OrganizationApi* | [**orgListTeams**](Apis/OrganizationApi.md#orglistteams) | **GET** /orgs/{org}/teams | List an organization's teams | +*OrganizationApi* | [**orgListUserOrgs**](Apis/OrganizationApi.md#orglistuserorgs) | **GET** /users/{username}/orgs | List a user's organizations | +*OrganizationApi* | [**orgPublicizeMember**](Apis/OrganizationApi.md#orgpublicizemember) | **PUT** /orgs/{org}/public_members/{username} | Publicize a user's membership | +*OrganizationApi* | [**orgRemoveTeamMember**](Apis/OrganizationApi.md#orgremoveteammember) | **DELETE** /teams/{id}/members/{username} | Remove a team member | +*OrganizationApi* | [**orgRemoveTeamRepository**](Apis/OrganizationApi.md#orgremoveteamrepository) | **DELETE** /teams/{id}/repos/{org}/{repo} | Remove a repository from a team | +*OrganizationApi* | [**orgUnblockUser**](Apis/OrganizationApi.md#orgunblockuser) | **PUT** /orgs/{org}/unblock/{username} | Unblock a user from the organization | +*OrganizationApi* | [**teamSearch**](Apis/OrganizationApi.md#teamsearch) | **GET** /orgs/{org}/teams/search | Search for teams within an organization | +| *PackageApi* | [**deletePackage**](Apis/PackageApi.md#deletepackage) | **DELETE** /packages/{owner}/{type}/{name}/{version} | Delete a package | +*PackageApi* | [**getPackage**](Apis/PackageApi.md#getpackage) | **GET** /packages/{owner}/{type}/{name}/{version} | Gets a package | +*PackageApi* | [**listPackageFiles**](Apis/PackageApi.md#listpackagefiles) | **GET** /packages/{owner}/{type}/{name}/{version}/files | Gets all files of a package | +*PackageApi* | [**listPackages**](Apis/PackageApi.md#listpackages) | **GET** /packages/{owner} | Gets all packages of an owner | +| *RepositoryApi* | [**acceptRepoTransfer**](Apis/RepositoryApi.md#acceptrepotransfer) | **POST** /repos/{owner}/{repo}/transfer/accept | Accept a repo transfer | +*RepositoryApi* | [**createCurrentUserRepo**](Apis/RepositoryApi.md#createcurrentuserrepo) | **POST** /user/repos | Create a repository | +*RepositoryApi* | [**createFork**](Apis/RepositoryApi.md#createfork) | **POST** /repos/{owner}/{repo}/forks | Fork a repository | +*RepositoryApi* | [**generateRepo**](Apis/RepositoryApi.md#generaterepo) | **POST** /repos/{template_owner}/{template_repo}/generate | Create a repository using a template | +*RepositoryApi* | [**getAnnotatedTag**](Apis/RepositoryApi.md#getannotatedtag) | **GET** /repos/{owner}/{repo}/git/tags/{sha} | Gets the tag object of an annotated tag (not lightweight tags) | +*RepositoryApi* | [**getBlob**](Apis/RepositoryApi.md#getblob) | **GET** /repos/{owner}/{repo}/git/blobs/{sha} | Gets the blob of a repository. | +*RepositoryApi* | [**getTree**](Apis/RepositoryApi.md#gettree) | **GET** /repos/{owner}/{repo}/git/trees/{sha} | Gets the tree of a repository. | +*RepositoryApi* | [**listForks**](Apis/RepositoryApi.md#listforks) | **GET** /repos/{owner}/{repo}/forks | List a repository's forks | +*RepositoryApi* | [**rejectRepoTransfer**](Apis/RepositoryApi.md#rejectrepotransfer) | **POST** /repos/{owner}/{repo}/transfer/reject | Reject a repo transfer | +*RepositoryApi* | [**repoAddCollaborator**](Apis/RepositoryApi.md#repoaddcollaborator) | **PUT** /repos/{owner}/{repo}/collaborators/{collaborator} | Add a collaborator to a repository | +*RepositoryApi* | [**repoAddPushMirror**](Apis/RepositoryApi.md#repoaddpushmirror) | **POST** /repos/{owner}/{repo}/push_mirrors | add a push mirror to the repository | +*RepositoryApi* | [**repoAddTeam**](Apis/RepositoryApi.md#repoaddteam) | **PUT** /repos/{owner}/{repo}/teams/{team} | Add a team to a repository | +*RepositoryApi* | [**repoAddTopic**](Apis/RepositoryApi.md#repoaddtopic) | **PUT** /repos/{owner}/{repo}/topics/{topic} | Add a topic to a repository | +*RepositoryApi* | [**repoApplyDiffPatch**](Apis/RepositoryApi.md#repoapplydiffpatch) | **POST** /repos/{owner}/{repo}/diffpatch | Apply diff patch to repository | +*RepositoryApi* | [**repoCancelScheduledAutoMerge**](Apis/RepositoryApi.md#repocancelscheduledautomerge) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/merge | Cancel the scheduled auto merge for the given pull request | +*RepositoryApi* | [**repoChangeFiles**](Apis/RepositoryApi.md#repochangefiles) | **POST** /repos/{owner}/{repo}/contents | Modify multiple files in a repository | +*RepositoryApi* | [**repoCheckCollaborator**](Apis/RepositoryApi.md#repocheckcollaborator) | **GET** /repos/{owner}/{repo}/collaborators/{collaborator} | Check if a user is a collaborator of a repository | +*RepositoryApi* | [**repoCheckTeam**](Apis/RepositoryApi.md#repocheckteam) | **GET** /repos/{owner}/{repo}/teams/{team} | Check if a team is assigned to a repository | +*RepositoryApi* | [**repoCreateBranch**](Apis/RepositoryApi.md#repocreatebranch) | **POST** /repos/{owner}/{repo}/branches | Create a branch | +*RepositoryApi* | [**repoCreateBranchProtection**](Apis/RepositoryApi.md#repocreatebranchprotection) | **POST** /repos/{owner}/{repo}/branch_protections | Create a branch protections for a repository | +*RepositoryApi* | [**repoCreateFile**](Apis/RepositoryApi.md#repocreatefile) | **POST** /repos/{owner}/{repo}/contents/{filepath} | Create a file in a repository | +*RepositoryApi* | [**repoCreateHook**](Apis/RepositoryApi.md#repocreatehook) | **POST** /repos/{owner}/{repo}/hooks | Create a hook | +*RepositoryApi* | [**repoCreateKey**](Apis/RepositoryApi.md#repocreatekey) | **POST** /repos/{owner}/{repo}/keys | Add a key to a repository | +*RepositoryApi* | [**repoCreatePullRequest**](Apis/RepositoryApi.md#repocreatepullrequest) | **POST** /repos/{owner}/{repo}/pulls | Create a pull request | +*RepositoryApi* | [**repoCreatePullReview**](Apis/RepositoryApi.md#repocreatepullreview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews | Create a review to an pull request | +*RepositoryApi* | [**repoCreatePullReviewRequests**](Apis/RepositoryApi.md#repocreatepullreviewrequests) | **POST** /repos/{owner}/{repo}/pulls/{index}/requested_reviewers | create review requests for a pull request | +*RepositoryApi* | [**repoCreateRelease**](Apis/RepositoryApi.md#repocreaterelease) | **POST** /repos/{owner}/{repo}/releases | Create a release | +*RepositoryApi* | [**repoCreateReleaseAttachment**](Apis/RepositoryApi.md#repocreatereleaseattachment) | **POST** /repos/{owner}/{repo}/releases/{id}/assets | Create a release attachment | +*RepositoryApi* | [**repoCreateStatus**](Apis/RepositoryApi.md#repocreatestatus) | **POST** /repos/{owner}/{repo}/statuses/{sha} | Create a commit status | +*RepositoryApi* | [**repoCreateTag**](Apis/RepositoryApi.md#repocreatetag) | **POST** /repos/{owner}/{repo}/tags | Create a new git tag in a repository | +*RepositoryApi* | [**repoCreateWikiPage**](Apis/RepositoryApi.md#repocreatewikipage) | **POST** /repos/{owner}/{repo}/wiki/new | Create a wiki page | +*RepositoryApi* | [**repoDelete**](Apis/RepositoryApi.md#repodelete) | **DELETE** /repos/{owner}/{repo} | Delete a repository | +*RepositoryApi* | [**repoDeleteBranch**](Apis/RepositoryApi.md#repodeletebranch) | **DELETE** /repos/{owner}/{repo}/branches/{branch} | Delete a specific branch from a repository | +*RepositoryApi* | [**repoDeleteBranchProtection**](Apis/RepositoryApi.md#repodeletebranchprotection) | **DELETE** /repos/{owner}/{repo}/branch_protections/{name} | Delete a specific branch protection for the repository | +*RepositoryApi* | [**repoDeleteCollaborator**](Apis/RepositoryApi.md#repodeletecollaborator) | **DELETE** /repos/{owner}/{repo}/collaborators/{collaborator} | Delete a collaborator from a repository | +*RepositoryApi* | [**repoDeleteFile**](Apis/RepositoryApi.md#repodeletefile) | **DELETE** /repos/{owner}/{repo}/contents/{filepath} | Delete a file in a repository | +*RepositoryApi* | [**repoDeleteGitHook**](Apis/RepositoryApi.md#repodeletegithook) | **DELETE** /repos/{owner}/{repo}/hooks/git/{id} | Delete a Git hook in a repository | +*RepositoryApi* | [**repoDeleteHook**](Apis/RepositoryApi.md#repodeletehook) | **DELETE** /repos/{owner}/{repo}/hooks/{id} | Delete a hook in a repository | +*RepositoryApi* | [**repoDeleteKey**](Apis/RepositoryApi.md#repodeletekey) | **DELETE** /repos/{owner}/{repo}/keys/{id} | Delete a key from a repository | +*RepositoryApi* | [**repoDeletePullReview**](Apis/RepositoryApi.md#repodeletepullreview) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Delete a specific review from a pull request | +*RepositoryApi* | [**repoDeletePullReviewRequests**](Apis/RepositoryApi.md#repodeletepullreviewrequests) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/requested_reviewers | cancel review requests for a pull request | +*RepositoryApi* | [**repoDeletePushMirror**](Apis/RepositoryApi.md#repodeletepushmirror) | **DELETE** /repos/{owner}/{repo}/push_mirrors/{name} | deletes a push mirror from a repository by remoteName | +*RepositoryApi* | [**repoDeleteRelease**](Apis/RepositoryApi.md#repodeleterelease) | **DELETE** /repos/{owner}/{repo}/releases/{id} | Delete a release | +*RepositoryApi* | [**repoDeleteReleaseAttachment**](Apis/RepositoryApi.md#repodeletereleaseattachment) | **DELETE** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Delete a release attachment | +*RepositoryApi* | [**repoDeleteReleaseByTag**](Apis/RepositoryApi.md#repodeletereleasebytag) | **DELETE** /repos/{owner}/{repo}/releases/tags/{tag} | Delete a release by tag name | +*RepositoryApi* | [**repoDeleteTag**](Apis/RepositoryApi.md#repodeletetag) | **DELETE** /repos/{owner}/{repo}/tags/{tag} | Delete a repository's tag by name | +*RepositoryApi* | [**repoDeleteTeam**](Apis/RepositoryApi.md#repodeleteteam) | **DELETE** /repos/{owner}/{repo}/teams/{team} | Delete a team from a repository | +*RepositoryApi* | [**repoDeleteTopic**](Apis/RepositoryApi.md#repodeletetopic) | **DELETE** /repos/{owner}/{repo}/topics/{topic} | Delete a topic from a repository | +*RepositoryApi* | [**repoDeleteWikiPage**](Apis/RepositoryApi.md#repodeletewikipage) | **DELETE** /repos/{owner}/{repo}/wiki/page/{pageName} | Delete a wiki page | +*RepositoryApi* | [**repoDismissPullReview**](Apis/RepositoryApi.md#repodismisspullreview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals | Dismiss a review for a pull request | +*RepositoryApi* | [**repoDownloadCommitDiffOrPatch**](Apis/RepositoryApi.md#repodownloadcommitdifforpatch) | **GET** /repos/{owner}/{repo}/git/commits/{sha}.{diffType} | Get a commit's diff or patch | +*RepositoryApi* | [**repoDownloadPullDiffOrPatch**](Apis/RepositoryApi.md#repodownloadpulldifforpatch) | **GET** /repos/{owner}/{repo}/pulls/{index}.{diffType} | Get a pull request diff or patch | +*RepositoryApi* | [**repoEdit**](Apis/RepositoryApi.md#repoedit) | **PATCH** /repos/{owner}/{repo} | Edit a repository's properties. Only fields that are set will be changed. | +*RepositoryApi* | [**repoEditBranchProtection**](Apis/RepositoryApi.md#repoeditbranchprotection) | **PATCH** /repos/{owner}/{repo}/branch_protections/{name} | Edit a branch protections for a repository. Only fields that are set will be changed | +*RepositoryApi* | [**repoEditGitHook**](Apis/RepositoryApi.md#repoeditgithook) | **PATCH** /repos/{owner}/{repo}/hooks/git/{id} | Edit a Git hook in a repository | +*RepositoryApi* | [**repoEditHook**](Apis/RepositoryApi.md#repoedithook) | **PATCH** /repos/{owner}/{repo}/hooks/{id} | Edit a hook in a repository | +*RepositoryApi* | [**repoEditPullRequest**](Apis/RepositoryApi.md#repoeditpullrequest) | **PATCH** /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. | +*RepositoryApi* | [**repoEditRelease**](Apis/RepositoryApi.md#repoeditrelease) | **PATCH** /repos/{owner}/{repo}/releases/{id} | Update a release | +*RepositoryApi* | [**repoEditReleaseAttachment**](Apis/RepositoryApi.md#repoeditreleaseattachment) | **PATCH** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Edit a release attachment | +*RepositoryApi* | [**repoEditWikiPage**](Apis/RepositoryApi.md#repoeditwikipage) | **PATCH** /repos/{owner}/{repo}/wiki/page/{pageName} | Edit a wiki page | +*RepositoryApi* | [**repoGet**](Apis/RepositoryApi.md#repoget) | **GET** /repos/{owner}/{repo} | Get a repository | +*RepositoryApi* | [**repoGetAllCommits**](Apis/RepositoryApi.md#repogetallcommits) | **GET** /repos/{owner}/{repo}/commits | Get a list of all commits from a repository | +*RepositoryApi* | [**repoGetArchive**](Apis/RepositoryApi.md#repogetarchive) | **GET** /repos/{owner}/{repo}/archive/{archive} | Get an archive of a repository | +*RepositoryApi* | [**repoGetAssignees**](Apis/RepositoryApi.md#repogetassignees) | **GET** /repos/{owner}/{repo}/assignees | Return all users that have write access and can be assigned to issues | +*RepositoryApi* | [**repoGetBranch**](Apis/RepositoryApi.md#repogetbranch) | **GET** /repos/{owner}/{repo}/branches/{branch} | Retrieve a specific branch from a repository, including its effective branch protection | +*RepositoryApi* | [**repoGetBranchProtection**](Apis/RepositoryApi.md#repogetbranchprotection) | **GET** /repos/{owner}/{repo}/branch_protections/{name} | Get a specific branch protection for the repository | +*RepositoryApi* | [**repoGetByID**](Apis/RepositoryApi.md#repogetbyid) | **GET** /repositories/{id} | Get a repository by id | +*RepositoryApi* | [**repoGetCombinedStatusByRef**](Apis/RepositoryApi.md#repogetcombinedstatusbyref) | **GET** /repos/{owner}/{repo}/commits/{ref}/status | Get a commit's combined status, by branch/tag/commit reference | +*RepositoryApi* | [**repoGetContents**](Apis/RepositoryApi.md#repogetcontents) | **GET** /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 dir | +*RepositoryApi* | [**repoGetContentsList**](Apis/RepositoryApi.md#repogetcontentslist) | **GET** /repos/{owner}/{repo}/contents | Gets the metadata of all the entries of the root dir | +*RepositoryApi* | [**repoGetEditorConfig**](Apis/RepositoryApi.md#repogeteditorconfig) | **GET** /repos/{owner}/{repo}/editorconfig/{filepath} | Get the EditorConfig definitions of a file in a repository | +*RepositoryApi* | [**repoGetGitHook**](Apis/RepositoryApi.md#repogetgithook) | **GET** /repos/{owner}/{repo}/hooks/git/{id} | Get a Git hook | +*RepositoryApi* | [**repoGetHook**](Apis/RepositoryApi.md#repogethook) | **GET** /repos/{owner}/{repo}/hooks/{id} | Get a hook | +*RepositoryApi* | [**repoGetIssueConfig**](Apis/RepositoryApi.md#repogetissueconfig) | **GET** /repos/{owner}/{repo}/issue_config | Returns the issue config for a repo | +*RepositoryApi* | [**repoGetIssueTemplates**](Apis/RepositoryApi.md#repogetissuetemplates) | **GET** /repos/{owner}/{repo}/issue_templates | Get available issue templates for a repository | +*RepositoryApi* | [**repoGetKey**](Apis/RepositoryApi.md#repogetkey) | **GET** /repos/{owner}/{repo}/keys/{id} | Get a repository's key by id | +*RepositoryApi* | [**repoGetLanguages**](Apis/RepositoryApi.md#repogetlanguages) | **GET** /repos/{owner}/{repo}/languages | Get languages and number of bytes of code written | +*RepositoryApi* | [**repoGetLatestRelease**](Apis/RepositoryApi.md#repogetlatestrelease) | **GET** /repos/{owner}/{repo}/releases/latest | Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at | +*RepositoryApi* | [**repoGetNote**](Apis/RepositoryApi.md#repogetnote) | **GET** /repos/{owner}/{repo}/git/notes/{sha} | Get a note corresponding to a single commit from a repository | +*RepositoryApi* | [**repoGetPullRequest**](Apis/RepositoryApi.md#repogetpullrequest) | **GET** /repos/{owner}/{repo}/pulls/{index} | Get a pull request | +*RepositoryApi* | [**repoGetPullRequestCommits**](Apis/RepositoryApi.md#repogetpullrequestcommits) | **GET** /repos/{owner}/{repo}/pulls/{index}/commits | Get commits for a pull request | +*RepositoryApi* | [**repoGetPullRequestFiles**](Apis/RepositoryApi.md#repogetpullrequestfiles) | **GET** /repos/{owner}/{repo}/pulls/{index}/files | Get changed files for a pull request | +*RepositoryApi* | [**repoGetPullReview**](Apis/RepositoryApi.md#repogetpullreview) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Get a specific review for a pull request | +*RepositoryApi* | [**repoGetPullReviewComments**](Apis/RepositoryApi.md#repogetpullreviewcomments) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments | Get a specific review for a pull request | +*RepositoryApi* | [**repoGetPushMirrorByRemoteName**](Apis/RepositoryApi.md#repogetpushmirrorbyremotename) | **GET** /repos/{owner}/{repo}/push_mirrors/{name} | Get push mirror of the repository by remoteName | +*RepositoryApi* | [**repoGetRawFile**](Apis/RepositoryApi.md#repogetrawfile) | **GET** /repos/{owner}/{repo}/raw/{filepath} | Get a file from a repository | +*RepositoryApi* | [**repoGetRawFileOrLFS**](Apis/RepositoryApi.md#repogetrawfileorlfs) | **GET** /repos/{owner}/{repo}/media/{filepath} | Get a file or it's LFS object from a repository | +*RepositoryApi* | [**repoGetRelease**](Apis/RepositoryApi.md#repogetrelease) | **GET** /repos/{owner}/{repo}/releases/{id} | Get a release | +*RepositoryApi* | [**repoGetReleaseAttachment**](Apis/RepositoryApi.md#repogetreleaseattachment) | **GET** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Get a release attachment | +*RepositoryApi* | [**repoGetReleaseByTag**](Apis/RepositoryApi.md#repogetreleasebytag) | **GET** /repos/{owner}/{repo}/releases/tags/{tag} | Get a release by tag name | +*RepositoryApi* | [**repoGetRepoPermissions**](Apis/RepositoryApi.md#repogetrepopermissions) | **GET** /repos/{owner}/{repo}/collaborators/{collaborator}/permission | Get repository permissions for a user | +*RepositoryApi* | [**repoGetReviewers**](Apis/RepositoryApi.md#repogetreviewers) | **GET** /repos/{owner}/{repo}/reviewers | Return all users that can be requested to review in this repo | +*RepositoryApi* | [**repoGetSingleCommit**](Apis/RepositoryApi.md#repogetsinglecommit) | **GET** /repos/{owner}/{repo}/git/commits/{sha} | Get a single commit from a repository | +*RepositoryApi* | [**repoGetTag**](Apis/RepositoryApi.md#repogettag) | **GET** /repos/{owner}/{repo}/tags/{tag} | Get the tag of a repository by tag name | +*RepositoryApi* | [**repoGetWikiPage**](Apis/RepositoryApi.md#repogetwikipage) | **GET** /repos/{owner}/{repo}/wiki/page/{pageName} | Get a wiki page | +*RepositoryApi* | [**repoGetWikiPageRevisions**](Apis/RepositoryApi.md#repogetwikipagerevisions) | **GET** /repos/{owner}/{repo}/wiki/revisions/{pageName} | Get revisions of a wiki page | +*RepositoryApi* | [**repoGetWikiPages**](Apis/RepositoryApi.md#repogetwikipages) | **GET** /repos/{owner}/{repo}/wiki/pages | Get all wiki pages | +*RepositoryApi* | [**repoListActivityFeeds**](Apis/RepositoryApi.md#repolistactivityfeeds) | **GET** /repos/{owner}/{repo}/activities/feeds | List a repository's activity feeds | +*RepositoryApi* | [**repoListAllGitRefs**](Apis/RepositoryApi.md#repolistallgitrefs) | **GET** /repos/{owner}/{repo}/git/refs | Get specified ref or filtered repository's refs | +*RepositoryApi* | [**repoListBranchProtection**](Apis/RepositoryApi.md#repolistbranchprotection) | **GET** /repos/{owner}/{repo}/branch_protections | List branch protections for a repository | +*RepositoryApi* | [**repoListBranches**](Apis/RepositoryApi.md#repolistbranches) | **GET** /repos/{owner}/{repo}/branches | List a repository's branches | +*RepositoryApi* | [**repoListCollaborators**](Apis/RepositoryApi.md#repolistcollaborators) | **GET** /repos/{owner}/{repo}/collaborators | List a repository's collaborators | +*RepositoryApi* | [**repoListGitHooks**](Apis/RepositoryApi.md#repolistgithooks) | **GET** /repos/{owner}/{repo}/hooks/git | List the Git hooks in a repository | +*RepositoryApi* | [**repoListGitRefs**](Apis/RepositoryApi.md#repolistgitrefs) | **GET** /repos/{owner}/{repo}/git/refs/{ref} | Get specified ref or filtered repository's refs | +*RepositoryApi* | [**repoListHooks**](Apis/RepositoryApi.md#repolisthooks) | **GET** /repos/{owner}/{repo}/hooks | List the hooks in a repository | +*RepositoryApi* | [**repoListKeys**](Apis/RepositoryApi.md#repolistkeys) | **GET** /repos/{owner}/{repo}/keys | List a repository's keys | +*RepositoryApi* | [**repoListPinnedIssues**](Apis/RepositoryApi.md#repolistpinnedissues) | **GET** /repos/{owner}/{repo}/issues/pinned | List a repo's pinned issues | +*RepositoryApi* | [**repoListPinnedPullRequests**](Apis/RepositoryApi.md#repolistpinnedpullrequests) | **GET** /repos/{owner}/{repo}/pulls/pinned | List a repo's pinned pull requests | +*RepositoryApi* | [**repoListPullRequests**](Apis/RepositoryApi.md#repolistpullrequests) | **GET** /repos/{owner}/{repo}/pulls | List a repo's pull requests | +*RepositoryApi* | [**repoListPullReviews**](Apis/RepositoryApi.md#repolistpullreviews) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews | List all reviews for a pull request | +*RepositoryApi* | [**repoListPushMirrors**](Apis/RepositoryApi.md#repolistpushmirrors) | **GET** /repos/{owner}/{repo}/push_mirrors | Get all push mirrors of the repository | +*RepositoryApi* | [**repoListReleaseAttachments**](Apis/RepositoryApi.md#repolistreleaseattachments) | **GET** /repos/{owner}/{repo}/releases/{id}/assets | List release's attachments | +*RepositoryApi* | [**repoListReleases**](Apis/RepositoryApi.md#repolistreleases) | **GET** /repos/{owner}/{repo}/releases | List a repo's releases | +*RepositoryApi* | [**repoListStargazers**](Apis/RepositoryApi.md#repoliststargazers) | **GET** /repos/{owner}/{repo}/stargazers | List a repo's stargazers | +*RepositoryApi* | [**repoListStatuses**](Apis/RepositoryApi.md#repoliststatuses) | **GET** /repos/{owner}/{repo}/statuses/{sha} | Get a commit's statuses | +*RepositoryApi* | [**repoListStatusesByRef**](Apis/RepositoryApi.md#repoliststatusesbyref) | **GET** /repos/{owner}/{repo}/commits/{ref}/statuses | Get a commit's statuses, by branch/tag/commit reference | +*RepositoryApi* | [**repoListSubscribers**](Apis/RepositoryApi.md#repolistsubscribers) | **GET** /repos/{owner}/{repo}/subscribers | List a repo's watchers | +*RepositoryApi* | [**repoListTags**](Apis/RepositoryApi.md#repolisttags) | **GET** /repos/{owner}/{repo}/tags | List a repository's tags | +*RepositoryApi* | [**repoListTeams**](Apis/RepositoryApi.md#repolistteams) | **GET** /repos/{owner}/{repo}/teams | List a repository's teams | +*RepositoryApi* | [**repoListTopics**](Apis/RepositoryApi.md#repolisttopics) | **GET** /repos/{owner}/{repo}/topics | Get list of topics that a repository has | +*RepositoryApi* | [**repoMergePullRequest**](Apis/RepositoryApi.md#repomergepullrequest) | **POST** /repos/{owner}/{repo}/pulls/{index}/merge | Merge a pull request | +*RepositoryApi* | [**repoMigrate**](Apis/RepositoryApi.md#repomigrate) | **POST** /repos/migrate | Migrate a remote git repository | +*RepositoryApi* | [**repoMirrorSync**](Apis/RepositoryApi.md#repomirrorsync) | **POST** /repos/{owner}/{repo}/mirror-sync | Sync a mirrored repository | +*RepositoryApi* | [**repoNewPinAllowed**](Apis/RepositoryApi.md#reponewpinallowed) | **GET** /repos/{owner}/{repo}/new_pin_allowed | Returns if new Issue Pins are allowed | +*RepositoryApi* | [**repoPullRequestIsMerged**](Apis/RepositoryApi.md#repopullrequestismerged) | **GET** /repos/{owner}/{repo}/pulls/{index}/merge | Check if a pull request has been merged | +*RepositoryApi* | [**repoPushMirrorSync**](Apis/RepositoryApi.md#repopushmirrorsync) | **POST** /repos/{owner}/{repo}/push_mirrors-sync | Sync all push mirrored repository | +*RepositoryApi* | [**repoSearch**](Apis/RepositoryApi.md#reposearch) | **GET** /repos/search | Search for repositories | +*RepositoryApi* | [**repoSigningKey**](Apis/RepositoryApi.md#reposigningkey) | **GET** /repos/{owner}/{repo}/signing-key.gpg | Get signing-key.gpg for given repository | +*RepositoryApi* | [**repoSubmitPullReview**](Apis/RepositoryApi.md#reposubmitpullreview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Submit a pending review to an pull request | +*RepositoryApi* | [**repoTestHook**](Apis/RepositoryApi.md#repotesthook) | **POST** /repos/{owner}/{repo}/hooks/{id}/tests | Test a push webhook | +*RepositoryApi* | [**repoTrackedTimes**](Apis/RepositoryApi.md#repotrackedtimes) | **GET** /repos/{owner}/{repo}/times | List a repo's tracked times | +*RepositoryApi* | [**repoTransfer**](Apis/RepositoryApi.md#repotransfer) | **POST** /repos/{owner}/{repo}/transfer | Transfer a repo ownership | +*RepositoryApi* | [**repoUnDismissPullReview**](Apis/RepositoryApi.md#repoundismisspullreview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals | Cancel to dismiss a review for a pull request | +*RepositoryApi* | [**repoUpdateFile**](Apis/RepositoryApi.md#repoupdatefile) | **PUT** /repos/{owner}/{repo}/contents/{filepath} | Update a file in a repository | +*RepositoryApi* | [**repoUpdatePullRequest**](Apis/RepositoryApi.md#repoupdatepullrequest) | **POST** /repos/{owner}/{repo}/pulls/{index}/update | Merge PR's baseBranch into headBranch | +*RepositoryApi* | [**repoUpdateTopics**](Apis/RepositoryApi.md#repoupdatetopics) | **PUT** /repos/{owner}/{repo}/topics | Replace list of topics for a repository | +*RepositoryApi* | [**repoValidateIssueConfig**](Apis/RepositoryApi.md#repovalidateissueconfig) | **GET** /repos/{owner}/{repo}/issue_config/validate | Returns the validation information for a issue config | +*RepositoryApi* | [**topicSearch**](Apis/RepositoryApi.md#topicsearch) | **GET** /topics/search | search topics via keyword | +*RepositoryApi* | [**userCurrentCheckSubscription**](Apis/RepositoryApi.md#usercurrentchecksubscription) | **GET** /repos/{owner}/{repo}/subscription | Check if the current user is watching a repo | +*RepositoryApi* | [**userCurrentDeleteSubscription**](Apis/RepositoryApi.md#usercurrentdeletesubscription) | **DELETE** /repos/{owner}/{repo}/subscription | Unwatch a repo | +*RepositoryApi* | [**userCurrentPutSubscription**](Apis/RepositoryApi.md#usercurrentputsubscription) | **PUT** /repos/{owner}/{repo}/subscription | Watch a repo | +*RepositoryApi* | [**userTrackedTimes**](Apis/RepositoryApi.md#usertrackedtimes) | **GET** /repos/{owner}/{repo}/times/{user} | List a user's tracked times in a repo | +| *SettingsApi* | [**getGeneralAPISettings**](Apis/SettingsApi.md#getgeneralapisettings) | **GET** /settings/api | Get instance's global settings for api | +*SettingsApi* | [**getGeneralAttachmentSettings**](Apis/SettingsApi.md#getgeneralattachmentsettings) | **GET** /settings/attachment | Get instance's global settings for Attachment | +*SettingsApi* | [**getGeneralRepositorySettings**](Apis/SettingsApi.md#getgeneralrepositorysettings) | **GET** /settings/repository | Get instance's global settings for repositories | +*SettingsApi* | [**getGeneralUISettings**](Apis/SettingsApi.md#getgeneraluisettings) | **GET** /settings/ui | Get instance's global settings for ui | +| *UserApi* | [**createCurrentUserRepo**](Apis/UserApi.md#createcurrentuserrepo) | **POST** /user/repos | Create a repository | +*UserApi* | [**getUserSettings**](Apis/UserApi.md#getusersettings) | **GET** /user/settings | Get user settings | +*UserApi* | [**getVerificationToken**](Apis/UserApi.md#getverificationtoken) | **GET** /user/gpg_key_token | Get a Token to verify | +*UserApi* | [**updateUserSettings**](Apis/UserApi.md#updateusersettings) | **PATCH** /user/settings | Update user settings | +*UserApi* | [**userAddEmail**](Apis/UserApi.md#useraddemail) | **POST** /user/emails | Add email addresses | +*UserApi* | [**userBlockUser**](Apis/UserApi.md#userblockuser) | **PUT** /user/block/{username} | Blocks a user from the doer. | +*UserApi* | [**userCheckFollowing**](Apis/UserApi.md#usercheckfollowing) | **GET** /users/{username}/following/{target} | Check if one user is following another user | +*UserApi* | [**userCreateHook**](Apis/UserApi.md#usercreatehook) | **POST** /user/hooks | Create a hook | +*UserApi* | [**userCreateOAuth2Application**](Apis/UserApi.md#usercreateoauth2application) | **POST** /user/applications/oauth2 | creates a new OAuth2 application | +*UserApi* | [**userCreateToken**](Apis/UserApi.md#usercreatetoken) | **POST** /users/{username}/tokens | Create an access token | +*UserApi* | [**userCurrentCheckFollowing**](Apis/UserApi.md#usercurrentcheckfollowing) | **GET** /user/following/{username} | Check whether a user is followed by the authenticated user | +*UserApi* | [**userCurrentCheckStarring**](Apis/UserApi.md#usercurrentcheckstarring) | **GET** /user/starred/{owner}/{repo} | Whether the authenticated is starring the repo | +*UserApi* | [**userCurrentDeleteFollow**](Apis/UserApi.md#usercurrentdeletefollow) | **DELETE** /user/following/{username} | Unfollow a user | +*UserApi* | [**userCurrentDeleteGPGKey**](Apis/UserApi.md#usercurrentdeletegpgkey) | **DELETE** /user/gpg_keys/{id} | Remove a GPG key | +*UserApi* | [**userCurrentDeleteKey**](Apis/UserApi.md#usercurrentdeletekey) | **DELETE** /user/keys/{id} | Delete a public key | +*UserApi* | [**userCurrentDeleteStar**](Apis/UserApi.md#usercurrentdeletestar) | **DELETE** /user/starred/{owner}/{repo} | Unstar the given repo | +*UserApi* | [**userCurrentGetGPGKey**](Apis/UserApi.md#usercurrentgetgpgkey) | **GET** /user/gpg_keys/{id} | Get a GPG key | +*UserApi* | [**userCurrentGetKey**](Apis/UserApi.md#usercurrentgetkey) | **GET** /user/keys/{id} | Get a public key | +*UserApi* | [**userCurrentListFollowers**](Apis/UserApi.md#usercurrentlistfollowers) | **GET** /user/followers | List the authenticated user's followers | +*UserApi* | [**userCurrentListFollowing**](Apis/UserApi.md#usercurrentlistfollowing) | **GET** /user/following | List the users that the authenticated user is following | +*UserApi* | [**userCurrentListGPGKeys**](Apis/UserApi.md#usercurrentlistgpgkeys) | **GET** /user/gpg_keys | List the authenticated user's GPG keys | +*UserApi* | [**userCurrentListKeys**](Apis/UserApi.md#usercurrentlistkeys) | **GET** /user/keys | List the authenticated user's public keys | +*UserApi* | [**userCurrentListRepos**](Apis/UserApi.md#usercurrentlistrepos) | **GET** /user/repos | List the repos that the authenticated user owns | +*UserApi* | [**userCurrentListStarred**](Apis/UserApi.md#usercurrentliststarred) | **GET** /user/starred | The repos that the authenticated user has starred | +*UserApi* | [**userCurrentListSubscriptions**](Apis/UserApi.md#usercurrentlistsubscriptions) | **GET** /user/subscriptions | List repositories watched by the authenticated user | +*UserApi* | [**userCurrentPostGPGKey**](Apis/UserApi.md#usercurrentpostgpgkey) | **POST** /user/gpg_keys | Create a GPG key | +*UserApi* | [**userCurrentPostKey**](Apis/UserApi.md#usercurrentpostkey) | **POST** /user/keys | Create a public key | +*UserApi* | [**userCurrentPutFollow**](Apis/UserApi.md#usercurrentputfollow) | **PUT** /user/following/{username} | Follow a user | +*UserApi* | [**userCurrentPutStar**](Apis/UserApi.md#usercurrentputstar) | **PUT** /user/starred/{owner}/{repo} | Star the given repo | +*UserApi* | [**userCurrentTrackedTimes**](Apis/UserApi.md#usercurrenttrackedtimes) | **GET** /user/times | List the current user's tracked times | +*UserApi* | [**userDeleteAccessToken**](Apis/UserApi.md#userdeleteaccesstoken) | **DELETE** /users/{username}/tokens/{token} | delete an access token | +*UserApi* | [**userDeleteEmail**](Apis/UserApi.md#userdeleteemail) | **DELETE** /user/emails | Delete email addresses | +*UserApi* | [**userDeleteHook**](Apis/UserApi.md#userdeletehook) | **DELETE** /user/hooks/{id} | Delete a hook | +*UserApi* | [**userDeleteOAuth2Application**](Apis/UserApi.md#userdeleteoauth2application) | **DELETE** /user/applications/oauth2/{id} | delete an OAuth2 Application | +*UserApi* | [**userEditHook**](Apis/UserApi.md#useredithook) | **PATCH** /user/hooks/{id} | Update a hook | +*UserApi* | [**userGet**](Apis/UserApi.md#userget) | **GET** /users/{username} | Get a user | +*UserApi* | [**userGetCurrent**](Apis/UserApi.md#usergetcurrent) | **GET** /user | Get the authenticated user | +*UserApi* | [**userGetHeatmapData**](Apis/UserApi.md#usergetheatmapdata) | **GET** /users/{username}/heatmap | Get a user's heatmap | +*UserApi* | [**userGetHook**](Apis/UserApi.md#usergethook) | **GET** /user/hooks/{id} | Get a hook | +*UserApi* | [**userGetOAuth2Application**](Apis/UserApi.md#usergetoauth2application) | **GET** /user/applications/oauth2/{id} | get an OAuth2 Application | +*UserApi* | [**userGetOauth2Application**](Apis/UserApi.md#usergetoauth2application) | **GET** /user/applications/oauth2 | List the authenticated user's oauth2 applications | +*UserApi* | [**userGetStopWatches**](Apis/UserApi.md#usergetstopwatches) | **GET** /user/stopwatches | Get list of all existing stopwatches | +*UserApi* | [**userGetTokens**](Apis/UserApi.md#usergettokens) | **GET** /users/{username}/tokens | List the authenticated user's access tokens | +*UserApi* | [**userListActivityFeeds**](Apis/UserApi.md#userlistactivityfeeds) | **GET** /users/{username}/activities/feeds | List a user's activity feeds | +*UserApi* | [**userListBlockedUsers**](Apis/UserApi.md#userlistblockedusers) | **GET** /user/list_blocked | List the authenticated user's blocked users | +*UserApi* | [**userListEmails**](Apis/UserApi.md#userlistemails) | **GET** /user/emails | List the authenticated user's email addresses | +*UserApi* | [**userListFollowers**](Apis/UserApi.md#userlistfollowers) | **GET** /users/{username}/followers | List the given user's followers | +*UserApi* | [**userListFollowing**](Apis/UserApi.md#userlistfollowing) | **GET** /users/{username}/following | List the users that the given user is following | +*UserApi* | [**userListGPGKeys**](Apis/UserApi.md#userlistgpgkeys) | **GET** /users/{username}/gpg_keys | List the given user's GPG keys | +*UserApi* | [**userListHooks**](Apis/UserApi.md#userlisthooks) | **GET** /user/hooks | List the authenticated user's webhooks | +*UserApi* | [**userListKeys**](Apis/UserApi.md#userlistkeys) | **GET** /users/{username}/keys | List the given user's public keys | +*UserApi* | [**userListRepos**](Apis/UserApi.md#userlistrepos) | **GET** /users/{username}/repos | List the repos owned by the given user | +*UserApi* | [**userListStarred**](Apis/UserApi.md#userliststarred) | **GET** /users/{username}/starred | The repos that the given user has starred | +*UserApi* | [**userListSubscriptions**](Apis/UserApi.md#userlistsubscriptions) | **GET** /users/{username}/subscriptions | List the repositories watched by a user | +*UserApi* | [**userListTeams**](Apis/UserApi.md#userlistteams) | **GET** /user/teams | List all the teams a user belongs to | +*UserApi* | [**userSearch**](Apis/UserApi.md#usersearch) | **GET** /users/search | Search for users | +*UserApi* | [**userUnblockUser**](Apis/UserApi.md#userunblockuser) | **PUT** /user/unblock/{username} | Unblocks a user from the doer. | +*UserApi* | [**userUpdateOAuth2Application**](Apis/UserApi.md#userupdateoauth2application) | **PATCH** /user/applications/oauth2/{id} | update an OAuth2 Application, this includes regenerating the client secret | +*UserApi* | [**userVerifyGPGKey**](Apis/UserApi.md#userverifygpgkey) | **POST** /user/gpg_key_verify | Verify a GPG key | + + + +## Documentation for Models + + - [APIError](./models/APIError.md) + - [AccessToken](./models/AccessToken.md) + - [Activity](./models/Activity.md) + - [ActivityPub](./models/ActivityPub.md) + - [AddCollaboratorOption](./models/AddCollaboratorOption.md) + - [AddTimeOption](./models/AddTimeOption.md) + - [AnnotatedTag](./models/AnnotatedTag.md) + - [AnnotatedTagObject](./models/AnnotatedTagObject.md) + - [Attachment](./models/Attachment.md) + - [BlockedUser](./models/BlockedUser.md) + - [Branch](./models/Branch.md) + - [BranchProtection](./models/BranchProtection.md) + - [ChangeFileOperation](./models/ChangeFileOperation.md) + - [ChangeFilesOptions](./models/ChangeFilesOptions.md) + - [ChangedFile](./models/ChangedFile.md) + - [CombinedStatus](./models/CombinedStatus.md) + - [Comment](./models/Comment.md) + - [Commit](./models/Commit.md) + - [CommitAffectedFiles](./models/CommitAffectedFiles.md) + - [CommitDateOptions](./models/CommitDateOptions.md) + - [CommitMeta](./models/CommitMeta.md) + - [CommitStats](./models/CommitStats.md) + - [CommitStatus](./models/CommitStatus.md) + - [CommitUser](./models/CommitUser.md) + - [ContentsResponse](./models/ContentsResponse.md) + - [CreateAccessTokenOption](./models/CreateAccessTokenOption.md) + - [CreateBranchProtectionOption](./models/CreateBranchProtectionOption.md) + - [CreateBranchRepoOption](./models/CreateBranchRepoOption.md) + - [CreateEmailOption](./models/CreateEmailOption.md) + - [CreateFileOptions](./models/CreateFileOptions.md) + - [CreateForkOption](./models/CreateForkOption.md) + - [CreateGPGKeyOption](./models/CreateGPGKeyOption.md) + - [CreateHookOption](./models/CreateHookOption.md) + - [CreateIssueCommentOption](./models/CreateIssueCommentOption.md) + - [CreateIssueOption](./models/CreateIssueOption.md) + - [CreateKeyOption](./models/CreateKeyOption.md) + - [CreateLabelOption](./models/CreateLabelOption.md) + - [CreateMilestoneOption](./models/CreateMilestoneOption.md) + - [CreateOAuth2ApplicationOptions](./models/CreateOAuth2ApplicationOptions.md) + - [CreateOrgOption](./models/CreateOrgOption.md) + - [CreatePullRequestOption](./models/CreatePullRequestOption.md) + - [CreatePullReviewComment](./models/CreatePullReviewComment.md) + - [CreatePullReviewOptions](./models/CreatePullReviewOptions.md) + - [CreatePushMirrorOption](./models/CreatePushMirrorOption.md) + - [CreateReleaseOption](./models/CreateReleaseOption.md) + - [CreateRepoOption](./models/CreateRepoOption.md) + - [CreateStatusOption](./models/CreateStatusOption.md) + - [CreateTagOption](./models/CreateTagOption.md) + - [CreateTeamOption](./models/CreateTeamOption.md) + - [CreateUserOption](./models/CreateUserOption.md) + - [CreateWikiPageOptions](./models/CreateWikiPageOptions.md) + - [Cron](./models/Cron.md) + - [DeleteEmailOption](./models/DeleteEmailOption.md) + - [DeleteFileOptions](./models/DeleteFileOptions.md) + - [DeployKey](./models/DeployKey.md) + - [DismissPullReviewOptions](./models/DismissPullReviewOptions.md) + - [EditAttachmentOptions](./models/EditAttachmentOptions.md) + - [EditBranchProtectionOption](./models/EditBranchProtectionOption.md) + - [EditDeadlineOption](./models/EditDeadlineOption.md) + - [EditGitHookOption](./models/EditGitHookOption.md) + - [EditHookOption](./models/EditHookOption.md) + - [EditIssueCommentOption](./models/EditIssueCommentOption.md) + - [EditIssueOption](./models/EditIssueOption.md) + - [EditLabelOption](./models/EditLabelOption.md) + - [EditMilestoneOption](./models/EditMilestoneOption.md) + - [EditOrgOption](./models/EditOrgOption.md) + - [EditPullRequestOption](./models/EditPullRequestOption.md) + - [EditReactionOption](./models/EditReactionOption.md) + - [EditReleaseOption](./models/EditReleaseOption.md) + - [EditRepoOption](./models/EditRepoOption.md) + - [EditTeamOption](./models/EditTeamOption.md) + - [EditUserOption](./models/EditUserOption.md) + - [Email](./models/Email.md) + - [ExternalTracker](./models/ExternalTracker.md) + - [ExternalWiki](./models/ExternalWiki.md) + - [FileCommitResponse](./models/FileCommitResponse.md) + - [FileDeleteResponse](./models/FileDeleteResponse.md) + - [FileLinksResponse](./models/FileLinksResponse.md) + - [FileResponse](./models/FileResponse.md) + - [FilesResponse](./models/FilesResponse.md) + - [GPGKey](./models/GPGKey.md) + - [GPGKeyEmail](./models/GPGKeyEmail.md) + - [GeneralAPISettings](./models/GeneralAPISettings.md) + - [GeneralAttachmentSettings](./models/GeneralAttachmentSettings.md) + - [GeneralRepoSettings](./models/GeneralRepoSettings.md) + - [GeneralUISettings](./models/GeneralUISettings.md) + - [GenerateRepoOption](./models/GenerateRepoOption.md) + - [GitBlobResponse](./models/GitBlobResponse.md) + - [GitEntry](./models/GitEntry.md) + - [GitHook](./models/GitHook.md) + - [GitObject](./models/GitObject.md) + - [GitTreeResponse](./models/GitTreeResponse.md) + - [GitignoreTemplateInfo](./models/GitignoreTemplateInfo.md) + - [Hook](./models/Hook.md) + - [Identity](./models/Identity.md) + - [InternalTracker](./models/InternalTracker.md) + - [Issue](./models/Issue.md) + - [IssueConfig](./models/IssueConfig.md) + - [IssueConfigContactLink](./models/IssueConfigContactLink.md) + - [IssueConfigValidation](./models/IssueConfigValidation.md) + - [IssueDeadline](./models/IssueDeadline.md) + - [IssueFormField](./models/IssueFormField.md) + - [IssueLabelsOption](./models/IssueLabelsOption.md) + - [IssueMeta](./models/IssueMeta.md) + - [IssueTemplate](./models/IssueTemplate.md) + - [Label](./models/Label.md) + - [LabelTemplate](./models/LabelTemplate.md) + - [LicenseTemplateInfo](./models/LicenseTemplateInfo.md) + - [LicensesTemplateListEntry](./models/LicensesTemplateListEntry.md) + - [MarkdownOption](./models/MarkdownOption.md) + - [MarkupOption](./models/MarkupOption.md) + - [MergePullRequestOption](./models/MergePullRequestOption.md) + - [MigrateRepoOptions](./models/MigrateRepoOptions.md) + - [Milestone](./models/Milestone.md) + - [NewIssuePinsAllowed](./models/NewIssuePinsAllowed.md) + - [NodeInfo](./models/NodeInfo.md) + - [NodeInfoServices](./models/NodeInfoServices.md) + - [NodeInfoSoftware](./models/NodeInfoSoftware.md) + - [NodeInfoUsage](./models/NodeInfoUsage.md) + - [NodeInfoUsageUsers](./models/NodeInfoUsageUsers.md) + - [Note](./models/Note.md) + - [NotificationCount](./models/NotificationCount.md) + - [NotificationSubject](./models/NotificationSubject.md) + - [NotificationThread](./models/NotificationThread.md) + - [OAuth2Application](./models/OAuth2Application.md) + - [Organization](./models/Organization.md) + - [OrganizationPermissions](./models/OrganizationPermissions.md) + - [PRBranchInfo](./models/PRBranchInfo.md) + - [Package](./models/Package.md) + - [PackageFile](./models/PackageFile.md) + - [PayloadCommit](./models/PayloadCommit.md) + - [PayloadCommitVerification](./models/PayloadCommitVerification.md) + - [PayloadUser](./models/PayloadUser.md) + - [Permission](./models/Permission.md) + - [PublicKey](./models/PublicKey.md) + - [PullRequest](./models/PullRequest.md) + - [PullRequestMeta](./models/PullRequestMeta.md) + - [PullReview](./models/PullReview.md) + - [PullReviewComment](./models/PullReviewComment.md) + - [PullReviewRequestOptions](./models/PullReviewRequestOptions.md) + - [PushMirror](./models/PushMirror.md) + - [Reaction](./models/Reaction.md) + - [Reference](./models/Reference.md) + - [Release](./models/Release.md) + - [RenameUserOption](./models/RenameUserOption.md) + - [RepoCollaboratorPermission](./models/RepoCollaboratorPermission.md) + - [RepoCommit](./models/RepoCommit.md) + - [RepoTopicOptions](./models/RepoTopicOptions.md) + - [RepoTransfer](./models/RepoTransfer.md) + - [Repository](./models/Repository.md) + - [RepositoryMeta](./models/RepositoryMeta.md) + - [SearchResults](./models/SearchResults.md) + - [ServerVersion](./models/ServerVersion.md) + - [StopWatch](./models/StopWatch.md) + - [SubmitPullReviewOptions](./models/SubmitPullReviewOptions.md) + - [Tag](./models/Tag.md) + - [Team](./models/Team.md) + - [TimelineComment](./models/TimelineComment.md) + - [TopicName](./models/TopicName.md) + - [TopicResponse](./models/TopicResponse.md) + - [TrackedTime](./models/TrackedTime.md) + - [TransferRepoOption](./models/TransferRepoOption.md) + - [UpdateFileOptions](./models/UpdateFileOptions.md) + - [User](./models/User.md) + - [UserHeatmapData](./models/UserHeatmapData.md) + - [UserSettings](./models/UserSettings.md) + - [UserSettingsOptions](./models/UserSettingsOptions.md) + - [WatchInfo](./models/WatchInfo.md) + - [WikiCommit](./models/WikiCommit.md) + - [WikiCommitList](./models/WikiCommitList.md) + - [WikiPage](./models/WikiPage.md) + - [WikiPageMetaData](./models/WikiPageMetaData.md) + - [teamSearch_200_response](./models/teamSearch_200_response.md) + - [userSearch_200_response](./models/userSearch_200_response.md) + + + +## Documentation for Authorization + + +### AccessToken + +- **Type**: API key +- **API key parameter name**: access_token +- **Location**: URL query string + + +### AuthorizationHeaderToken + +- **Type**: API key +- **API key parameter name**: Authorization +- **Location**: HTTP header + + +### BasicAuth + +- **Type**: HTTP basic authentication + + +### SudoHeader + +- **Type**: API key +- **API key parameter name**: Sudo +- **Location**: HTTP header + + +### SudoParam + +- **Type**: API key +- **API key parameter name**: sudo +- **Location**: URL query string + + +### TOTPHeader + +- **Type**: API key +- **API key parameter name**: X-FORGEJO-OTP +- **Location**: HTTP header + + +### Token + +- **Type**: API key +- **API key parameter name**: token +- **Location**: URL query string + diff --git a/docs/client/ActivitypubApi.md b/docs/client/ActivitypubApi.md new file mode 100644 index 0000000..880cc2e --- /dev/null +++ b/docs/client/ActivitypubApi.md @@ -0,0 +1,60 @@ +# ActivitypubApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**activitypubPerson**](ActivitypubApi.md#activitypubPerson) | **GET** /activitypub/user-id/{user-id} | Returns the Person actor for a user | +| [**activitypubPersonInbox**](ActivitypubApi.md#activitypubPersonInbox) | **POST** /activitypub/user-id/{user-id}/inbox | Send to the inbox | + + + +# **activitypubPerson** +> ActivityPub activitypubPerson(user-id) + +Returns the Person actor for a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **user-id** | **Integer**| user ID of the user | [default to null] | + +### Return type + +[**ActivityPub**](../models/ActivityPub.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **activitypubPersonInbox** +> activitypubPersonInbox(user-id) + +Send to the inbox + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **user-id** | **Integer**| user ID of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + diff --git a/docs/client/AdminApi.md b/docs/client/AdminApi.md new file mode 100644 index 0000000..3be2803 --- /dev/null +++ b/docs/client/AdminApi.md @@ -0,0 +1,601 @@ +# AdminApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**adminAdoptRepository**](AdminApi.md#adminAdoptRepository) | **POST** /admin/unadopted/{owner}/{repo} | Adopt unadopted files as a repository | +| [**adminCreateHook**](AdminApi.md#adminCreateHook) | **POST** /admin/hooks | Create a hook | +| [**adminCreateOrg**](AdminApi.md#adminCreateOrg) | **POST** /admin/users/{username}/orgs | Create an organization | +| [**adminCreatePublicKey**](AdminApi.md#adminCreatePublicKey) | **POST** /admin/users/{username}/keys | Add a public key on behalf of a user | +| [**adminCreateRepo**](AdminApi.md#adminCreateRepo) | **POST** /admin/users/{username}/repos | Create a repository on behalf of a user | +| [**adminCreateUser**](AdminApi.md#adminCreateUser) | **POST** /admin/users | Create a user | +| [**adminCronList**](AdminApi.md#adminCronList) | **GET** /admin/cron | List cron tasks | +| [**adminCronRun**](AdminApi.md#adminCronRun) | **POST** /admin/cron/{task} | Run cron task | +| [**adminDeleteHook**](AdminApi.md#adminDeleteHook) | **DELETE** /admin/hooks/{id} | Delete a hook | +| [**adminDeleteUnadoptedRepository**](AdminApi.md#adminDeleteUnadoptedRepository) | **DELETE** /admin/unadopted/{owner}/{repo} | Delete unadopted files | +| [**adminDeleteUser**](AdminApi.md#adminDeleteUser) | **DELETE** /admin/users/{username} | Delete a user | +| [**adminDeleteUserPublicKey**](AdminApi.md#adminDeleteUserPublicKey) | **DELETE** /admin/users/{username}/keys/{id} | Delete a user's public key | +| [**adminEditHook**](AdminApi.md#adminEditHook) | **PATCH** /admin/hooks/{id} | Update a hook | +| [**adminEditUser**](AdminApi.md#adminEditUser) | **PATCH** /admin/users/{username} | Edit an existing user | +| [**adminGetAllEmails**](AdminApi.md#adminGetAllEmails) | **GET** /admin/emails | List all emails | +| [**adminGetAllOrgs**](AdminApi.md#adminGetAllOrgs) | **GET** /admin/orgs | List all organizations | +| [**adminGetHook**](AdminApi.md#adminGetHook) | **GET** /admin/hooks/{id} | Get a hook | +| [**adminListHooks**](AdminApi.md#adminListHooks) | **GET** /admin/hooks | List system's webhooks | +| [**adminRenameUser**](AdminApi.md#adminRenameUser) | **POST** /admin/users/{username}/rename | Rename a user | +| [**adminSearchEmails**](AdminApi.md#adminSearchEmails) | **GET** /admin/emails/search | Search all emails | +| [**adminSearchUsers**](AdminApi.md#adminSearchUsers) | **GET** /admin/users | Search users according filter conditions | +| [**adminUnadoptedList**](AdminApi.md#adminUnadoptedList) | **GET** /admin/unadopted | List unadopted repositories | + + + +# **adminAdoptRepository** +> adminAdoptRepository(owner, repo) + +Adopt unadopted files as a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **adminCreateHook** +> Hook adminCreateHook(body) + +Create a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**CreateHookOption**](../models/CreateHookOption.md)| | | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **adminCreateOrg** +> Organization adminCreateOrg(username, organization) + +Create an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of the user that will own the created organization | [default to null] | +| **organization** | [**CreateOrgOption**](../models/CreateOrgOption.md)| | | + +### Return type + +[**Organization**](../models/Organization.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **adminCreatePublicKey** +> PublicKey adminCreatePublicKey(username, key) + +Add a public key on behalf of a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of the user | [default to null] | +| **key** | [**CreateKeyOption**](../models/CreateKeyOption.md)| | [optional] | + +### Return type + +[**PublicKey**](../models/PublicKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **adminCreateRepo** +> Repository adminCreateRepo(username, repository) + +Create a repository on behalf of a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of the user. This user will own the created repository | [default to null] | +| **repository** | [**CreateRepoOption**](../models/CreateRepoOption.md)| | | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **adminCreateUser** +> User adminCreateUser(body) + +Create a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**CreateUserOption**](../models/CreateUserOption.md)| | [optional] | + +### Return type + +[**User**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **adminCronList** +> List adminCronList(page, limit) + +List cron tasks + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Cron.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **adminCronRun** +> adminCronRun(task) + +Run cron task + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **task** | **String**| task to run | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **adminDeleteHook** +> adminDeleteHook(id) + +Delete a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the hook to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **adminDeleteUnadoptedRepository** +> adminDeleteUnadoptedRepository(owner, repo) + +Delete unadopted files + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **adminDeleteUser** +> adminDeleteUser(username, purge) + +Delete a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user to delete | [default to null] | +| **purge** | **Boolean**| purge the user from the system completely | [optional] [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **adminDeleteUserPublicKey** +> adminDeleteUserPublicKey(username, id) + +Delete a user's public key + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **id** | **Long**| id of the key to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **adminEditHook** +> Hook adminEditHook(id, body) + +Update a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the hook to update | [default to null] | +| **body** | [**EditHookOption**](../models/EditHookOption.md)| | [optional] | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **adminEditUser** +> User adminEditUser(username, body) + +Edit an existing user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user to edit | [default to null] | +| **body** | [**EditUserOption**](../models/EditUserOption.md)| | [optional] | + +### Return type + +[**User**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **adminGetAllEmails** +> List adminGetAllEmails(page, limit) + +List all emails + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Email.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **adminGetAllOrgs** +> List adminGetAllOrgs(page, limit) + +List all organizations + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Organization.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **adminGetHook** +> Hook adminGetHook(id) + +Get a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the hook to get | [default to null] | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **adminListHooks** +> List adminListHooks(page, limit) + +List system's webhooks + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **adminRenameUser** +> adminRenameUser(username, body) + +Rename a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| existing username of user | [default to null] | +| **body** | [**RenameUserOption**](../models/RenameUserOption.md)| | | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: Not defined + + +# **adminSearchEmails** +> List adminSearchEmails(q, page, limit) + +Search all emails + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **q** | **String**| keyword | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Email.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **adminSearchUsers** +> List adminSearchUsers(source\_id, login\_name, page, limit) + +Search users according filter conditions + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **source\_id** | **Long**| ID of the user's login source to search for | [optional] [default to null] | +| **login\_name** | **String**| user's login name to search for | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **adminUnadoptedList** +> List adminUnadoptedList(page, limit, pattern) + +List unadopted repositories + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | +| **pattern** | **String**| pattern of repositories to search for | [optional] [default to null] | + +### Return type + +**List** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + diff --git a/docs/client/IssueApi.md b/docs/client/IssueApi.md new file mode 100644 index 0000000..9cd8c96 --- /dev/null +++ b/docs/client/IssueApi.md @@ -0,0 +1,1972 @@ +# IssueApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**issueAddLabel**](IssueApi.md#issueAddLabel) | **POST** /repos/{owner}/{repo}/issues/{index}/labels | Add a label to an issue | +| [**issueAddSubscription**](IssueApi.md#issueAddSubscription) | **PUT** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Subscribe user to issue | +| [**issueAddTime**](IssueApi.md#issueAddTime) | **POST** /repos/{owner}/{repo}/issues/{index}/times | Add tracked time to a issue | +| [**issueCheckSubscription**](IssueApi.md#issueCheckSubscription) | **GET** /repos/{owner}/{repo}/issues/{index}/subscriptions/check | Check if user is subscribed to an issue | +| [**issueClearLabels**](IssueApi.md#issueClearLabels) | **DELETE** /repos/{owner}/{repo}/issues/{index}/labels | Remove all labels from an issue | +| [**issueCreateComment**](IssueApi.md#issueCreateComment) | **POST** /repos/{owner}/{repo}/issues/{index}/comments | Add a comment to an issue | +| [**issueCreateIssue**](IssueApi.md#issueCreateIssue) | **POST** /repos/{owner}/{repo}/issues | Create an issue. If using deadline only the date will be taken into account, and time of day ignored. | +| [**issueCreateIssueAttachment**](IssueApi.md#issueCreateIssueAttachment) | **POST** /repos/{owner}/{repo}/issues/{index}/assets | Create an issue attachment | +| [**issueCreateIssueBlocking**](IssueApi.md#issueCreateIssueBlocking) | **POST** /repos/{owner}/{repo}/issues/{index}/blocks | Block the issue given in the body by the issue in path | +| [**issueCreateIssueCommentAttachment**](IssueApi.md#issueCreateIssueCommentAttachment) | **POST** /repos/{owner}/{repo}/issues/comments/{id}/assets | Create a comment attachment | +| [**issueCreateIssueDependencies**](IssueApi.md#issueCreateIssueDependencies) | **POST** /repos/{owner}/{repo}/issues/{index}/dependencies | Make the issue in the url depend on the issue in the form. | +| [**issueCreateLabel**](IssueApi.md#issueCreateLabel) | **POST** /repos/{owner}/{repo}/labels | Create a label | +| [**issueCreateMilestone**](IssueApi.md#issueCreateMilestone) | **POST** /repos/{owner}/{repo}/milestones | Create a milestone | +| [**issueDelete**](IssueApi.md#issueDelete) | **DELETE** /repos/{owner}/{repo}/issues/{index} | Delete an issue | +| [**issueDeleteComment**](IssueApi.md#issueDeleteComment) | **DELETE** /repos/{owner}/{repo}/issues/comments/{id} | Delete a comment | +| [**issueDeleteCommentDeprecated**](IssueApi.md#issueDeleteCommentDeprecated) | **DELETE** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Delete a comment | +| [**issueDeleteCommentReaction**](IssueApi.md#issueDeleteCommentReaction) | **DELETE** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Remove a reaction from a comment of an issue | +| [**issueDeleteIssueAttachment**](IssueApi.md#issueDeleteIssueAttachment) | **DELETE** /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Delete an issue attachment | +| [**issueDeleteIssueCommentAttachment**](IssueApi.md#issueDeleteIssueCommentAttachment) | **DELETE** /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Delete a comment attachment | +| [**issueDeleteIssueReaction**](IssueApi.md#issueDeleteIssueReaction) | **DELETE** /repos/{owner}/{repo}/issues/{index}/reactions | Remove a reaction from an issue | +| [**issueDeleteLabel**](IssueApi.md#issueDeleteLabel) | **DELETE** /repos/{owner}/{repo}/labels/{id} | Delete a label | +| [**issueDeleteMilestone**](IssueApi.md#issueDeleteMilestone) | **DELETE** /repos/{owner}/{repo}/milestones/{id} | Delete a milestone | +| [**issueDeleteStopWatch**](IssueApi.md#issueDeleteStopWatch) | **DELETE** /repos/{owner}/{repo}/issues/{index}/stopwatch/delete | Delete an issue's existing stopwatch. | +| [**issueDeleteSubscription**](IssueApi.md#issueDeleteSubscription) | **DELETE** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Unsubscribe user from issue | +| [**issueDeleteTime**](IssueApi.md#issueDeleteTime) | **DELETE** /repos/{owner}/{repo}/issues/{index}/times/{id} | Delete specific tracked time | +| [**issueEditComment**](IssueApi.md#issueEditComment) | **PATCH** /repos/{owner}/{repo}/issues/comments/{id} | Edit a comment | +| [**issueEditCommentDeprecated**](IssueApi.md#issueEditCommentDeprecated) | **PATCH** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Edit a comment | +| [**issueEditIssue**](IssueApi.md#issueEditIssue) | **PATCH** /repos/{owner}/{repo}/issues/{index} | Edit an issue. If using deadline only the date will be taken into account, and time of day ignored. | +| [**issueEditIssueAttachment**](IssueApi.md#issueEditIssueAttachment) | **PATCH** /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Edit an issue attachment | +| [**issueEditIssueCommentAttachment**](IssueApi.md#issueEditIssueCommentAttachment) | **PATCH** /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Edit a comment attachment | +| [**issueEditIssueDeadline**](IssueApi.md#issueEditIssueDeadline) | **POST** /repos/{owner}/{repo}/issues/{index}/deadline | Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored. | +| [**issueEditLabel**](IssueApi.md#issueEditLabel) | **PATCH** /repos/{owner}/{repo}/labels/{id} | Update a label | +| [**issueEditMilestone**](IssueApi.md#issueEditMilestone) | **PATCH** /repos/{owner}/{repo}/milestones/{id} | Update a milestone | +| [**issueGetComment**](IssueApi.md#issueGetComment) | **GET** /repos/{owner}/{repo}/issues/comments/{id} | Get a comment | +| [**issueGetCommentReactions**](IssueApi.md#issueGetCommentReactions) | **GET** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Get a list of reactions from a comment of an issue | +| [**issueGetComments**](IssueApi.md#issueGetComments) | **GET** /repos/{owner}/{repo}/issues/{index}/comments | List all comments on an issue | +| [**issueGetCommentsAndTimeline**](IssueApi.md#issueGetCommentsAndTimeline) | **GET** /repos/{owner}/{repo}/issues/{index}/timeline | List all comments and events on an issue | +| [**issueGetIssue**](IssueApi.md#issueGetIssue) | **GET** /repos/{owner}/{repo}/issues/{index} | Get an issue | +| [**issueGetIssueAttachment**](IssueApi.md#issueGetIssueAttachment) | **GET** /repos/{owner}/{repo}/issues/{index}/assets/{attachment_id} | Get an issue attachment | +| [**issueGetIssueCommentAttachment**](IssueApi.md#issueGetIssueCommentAttachment) | **GET** /repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id} | Get a comment attachment | +| [**issueGetIssueReactions**](IssueApi.md#issueGetIssueReactions) | **GET** /repos/{owner}/{repo}/issues/{index}/reactions | Get a list reactions of an issue | +| [**issueGetLabel**](IssueApi.md#issueGetLabel) | **GET** /repos/{owner}/{repo}/labels/{id} | Get a single label | +| [**issueGetLabels**](IssueApi.md#issueGetLabels) | **GET** /repos/{owner}/{repo}/issues/{index}/labels | Get an issue's labels | +| [**issueGetMilestone**](IssueApi.md#issueGetMilestone) | **GET** /repos/{owner}/{repo}/milestones/{id} | Get a milestone | +| [**issueGetMilestonesList**](IssueApi.md#issueGetMilestonesList) | **GET** /repos/{owner}/{repo}/milestones | Get all of a repository's opened milestones | +| [**issueGetRepoComments**](IssueApi.md#issueGetRepoComments) | **GET** /repos/{owner}/{repo}/issues/comments | List all comments in a repository | +| [**issueListBlocks**](IssueApi.md#issueListBlocks) | **GET** /repos/{owner}/{repo}/issues/{index}/blocks | List issues that are blocked by this issue | +| [**issueListIssueAttachments**](IssueApi.md#issueListIssueAttachments) | **GET** /repos/{owner}/{repo}/issues/{index}/assets | List issue's attachments | +| [**issueListIssueCommentAttachments**](IssueApi.md#issueListIssueCommentAttachments) | **GET** /repos/{owner}/{repo}/issues/comments/{id}/assets | List comment's attachments | +| [**issueListIssueDependencies**](IssueApi.md#issueListIssueDependencies) | **GET** /repos/{owner}/{repo}/issues/{index}/dependencies | List an issue's dependencies, i.e all issues that block this issue. | +| [**issueListIssues**](IssueApi.md#issueListIssues) | **GET** /repos/{owner}/{repo}/issues | List a repository's issues | +| [**issueListLabels**](IssueApi.md#issueListLabels) | **GET** /repos/{owner}/{repo}/labels | Get all of a repository's labels | +| [**issuePostCommentReaction**](IssueApi.md#issuePostCommentReaction) | **POST** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Add a reaction to a comment of an issue | +| [**issuePostIssueReaction**](IssueApi.md#issuePostIssueReaction) | **POST** /repos/{owner}/{repo}/issues/{index}/reactions | Add a reaction to an issue | +| [**issueRemoveIssueBlocking**](IssueApi.md#issueRemoveIssueBlocking) | **DELETE** /repos/{owner}/{repo}/issues/{index}/blocks | Unblock the issue given in the body by the issue in path | +| [**issueRemoveIssueDependencies**](IssueApi.md#issueRemoveIssueDependencies) | **DELETE** /repos/{owner}/{repo}/issues/{index}/dependencies | Remove an issue dependency | +| [**issueRemoveLabel**](IssueApi.md#issueRemoveLabel) | **DELETE** /repos/{owner}/{repo}/issues/{index}/labels/{id} | Remove a label from an issue | +| [**issueReplaceLabels**](IssueApi.md#issueReplaceLabels) | **PUT** /repos/{owner}/{repo}/issues/{index}/labels | Replace an issue's labels | +| [**issueResetTime**](IssueApi.md#issueResetTime) | **DELETE** /repos/{owner}/{repo}/issues/{index}/times | Reset a tracked time of an issue | +| [**issueSearchIssues**](IssueApi.md#issueSearchIssues) | **GET** /repos/issues/search | Search for issues across the repositories that the user has access to | +| [**issueStartStopWatch**](IssueApi.md#issueStartStopWatch) | **POST** /repos/{owner}/{repo}/issues/{index}/stopwatch/start | Start stopwatch on an issue. | +| [**issueStopStopWatch**](IssueApi.md#issueStopStopWatch) | **POST** /repos/{owner}/{repo}/issues/{index}/stopwatch/stop | Stop an issue's existing stopwatch. | +| [**issueSubscriptions**](IssueApi.md#issueSubscriptions) | **GET** /repos/{owner}/{repo}/issues/{index}/subscriptions | Get users who subscribed on an issue. | +| [**issueTrackedTimes**](IssueApi.md#issueTrackedTimes) | **GET** /repos/{owner}/{repo}/issues/{index}/times | List an issue's tracked times | +| [**moveIssuePin**](IssueApi.md#moveIssuePin) | **PATCH** /repos/{owner}/{repo}/issues/{index}/pin/{position} | Moves the Pin to the given Position | +| [**pinIssue**](IssueApi.md#pinIssue) | **POST** /repos/{owner}/{repo}/issues/{index}/pin | Pin an Issue | +| [**unpinIssue**](IssueApi.md#unpinIssue) | **DELETE** /repos/{owner}/{repo}/issues/{index}/pin | Unpin an Issue | + + + +# **issueAddLabel** +> List issueAddLabel(owner, repo, index, body) + +Add a label to an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **body** | [**IssueLabelsOption**](../models/IssueLabelsOption.md)| | [optional] | + +### Return type + +[**List**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueAddSubscription** +> issueAddSubscription(owner, repo, index, user) + +Subscribe user to issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **user** | **String**| user to subscribe | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueAddTime** +> TrackedTime issueAddTime(owner, repo, index, body) + +Add tracked time to a issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **body** | [**AddTimeOption**](../models/AddTimeOption.md)| | [optional] | + +### Return type + +[**TrackedTime**](../models/TrackedTime.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueCheckSubscription** +> WatchInfo issueCheckSubscription(owner, repo, index) + +Check if user is subscribed to an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | + +### Return type + +[**WatchInfo**](../models/WatchInfo.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueClearLabels** +> issueClearLabels(owner, repo, index) + +Remove all labels from an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueCreateComment** +> Comment issueCreateComment(owner, repo, index, body) + +Add a comment to an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **body** | [**CreateIssueCommentOption**](../models/CreateIssueCommentOption.md)| | [optional] | + +### Return type + +[**Comment**](../models/Comment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueCreateIssue** +> Issue issueCreateIssue(owner, repo, body) + +Create an issue. If using deadline only the date will be taken into account, and time of day ignored. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateIssueOption**](../models/CreateIssueOption.md)| | [optional] | + +### Return type + +[**Issue**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueCreateIssueAttachment** +> Attachment issueCreateIssueAttachment(owner, repo, index, attachment, name) + +Create an issue attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **attachment** | **File**| attachment to upload | [default to null] | +| **name** | **String**| name of the attachment | [optional] [default to null] | + +### Return type + +[**Attachment**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: multipart/form-data +- **Accept**: application/json + + +# **issueCreateIssueBlocking** +> Issue issueCreateIssueBlocking(owner, repo, index, body) + +Block the issue given in the body by the issue in path + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **String**| index of the issue | [default to null] | +| **body** | [**IssueMeta**](../models/IssueMeta.md)| | [optional] | + +### Return type + +[**Issue**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **issueCreateIssueCommentAttachment** +> Attachment issueCreateIssueCommentAttachment(owner, repo, id, attachment, name) + +Create a comment attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment | [default to null] | +| **attachment** | **File**| attachment to upload | [default to null] | +| **name** | **String**| name of the attachment | [optional] [default to null] | + +### Return type + +[**Attachment**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: multipart/form-data +- **Accept**: application/json + + +# **issueCreateIssueDependencies** +> Issue issueCreateIssueDependencies(owner, repo, index, body) + +Make the issue in the url depend on the issue in the form. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **String**| index of the issue | [default to null] | +| **body** | [**IssueMeta**](../models/IssueMeta.md)| | [optional] | + +### Return type + +[**Issue**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **issueCreateLabel** +> Label issueCreateLabel(owner, repo, body) + +Create a label + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateLabelOption**](../models/CreateLabelOption.md)| | [optional] | + +### Return type + +[**Label**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueCreateMilestone** +> Milestone issueCreateMilestone(owner, repo, body) + +Create a milestone + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateMilestoneOption**](../models/CreateMilestoneOption.md)| | [optional] | + +### Return type + +[**Milestone**](../models/Milestone.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueDelete** +> issueDelete(owner, repo, index) + +Delete an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of issue to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueDeleteComment** +> issueDeleteComment(owner, repo, id) + +Delete a comment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of comment to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueDeleteCommentDeprecated** +> issueDeleteCommentDeprecated(owner, repo, index, id) + +Delete a comment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Integer**| this parameter is ignored | [default to null] | +| **id** | **Long**| id of comment to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueDeleteCommentReaction** +> issueDeleteCommentReaction(owner, repo, id, content) + +Remove a reaction from a comment of an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment to edit | [default to null] | +| **content** | [**EditReactionOption**](../models/EditReactionOption.md)| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + + +# **issueDeleteIssueAttachment** +> issueDeleteIssueAttachment(owner, repo, index, attachment\_id) + +Delete an issue attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **attachment\_id** | **Long**| id of the attachment to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueDeleteIssueCommentAttachment** +> issueDeleteIssueCommentAttachment(owner, repo, id, attachment\_id) + +Delete a comment attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment | [default to null] | +| **attachment\_id** | **Long**| id of the attachment to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueDeleteIssueReaction** +> issueDeleteIssueReaction(owner, repo, index, content) + +Remove a reaction from an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **content** | [**EditReactionOption**](../models/EditReactionOption.md)| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + + +# **issueDeleteLabel** +> issueDeleteLabel(owner, repo, id) + +Delete a label + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the label to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueDeleteMilestone** +> issueDeleteMilestone(owner, repo, id) + +Delete a milestone + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **String**| the milestone to delete, identified by ID and if not available by name | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueDeleteStopWatch** +> issueDeleteStopWatch(owner, repo, index) + +Delete an issue's existing stopwatch. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue to stop the stopwatch on | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueDeleteSubscription** +> issueDeleteSubscription(owner, repo, index, user) + +Unsubscribe user from issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **user** | **String**| user witch unsubscribe | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueDeleteTime** +> issueDeleteTime(owner, repo, index, id) + +Delete specific tracked time + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **id** | **Long**| id of time to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueEditComment** +> Comment issueEditComment(owner, repo, id, body) + +Edit a comment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment to edit | [default to null] | +| **body** | [**EditIssueCommentOption**](../models/EditIssueCommentOption.md)| | [optional] | + +### Return type + +[**Comment**](../models/Comment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueEditCommentDeprecated** +> Comment issueEditCommentDeprecated(owner, repo, index, id, body) + +Edit a comment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Integer**| this parameter is ignored | [default to null] | +| **id** | **Long**| id of the comment to edit | [default to null] | +| **body** | [**EditIssueCommentOption**](../models/EditIssueCommentOption.md)| | [optional] | + +### Return type + +[**Comment**](../models/Comment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueEditIssue** +> Issue issueEditIssue(owner, repo, index, body) + +Edit an issue. If using deadline only the date will be taken into account, and time of day ignored. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue to edit | [default to null] | +| **body** | [**EditIssueOption**](../models/EditIssueOption.md)| | [optional] | + +### Return type + +[**Issue**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueEditIssueAttachment** +> Attachment issueEditIssueAttachment(owner, repo, index, attachment\_id, body) + +Edit an issue attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **attachment\_id** | **Long**| id of the attachment to edit | [default to null] | +| **body** | [**EditAttachmentOptions**](../models/EditAttachmentOptions.md)| | [optional] | + +### Return type + +[**Attachment**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueEditIssueCommentAttachment** +> Attachment issueEditIssueCommentAttachment(owner, repo, id, attachment\_id, body) + +Edit a comment attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment | [default to null] | +| **attachment\_id** | **Long**| id of the attachment to edit | [default to null] | +| **body** | [**EditAttachmentOptions**](../models/EditAttachmentOptions.md)| | [optional] | + +### Return type + +[**Attachment**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueEditIssueDeadline** +> IssueDeadline issueEditIssueDeadline(owner, repo, index, body) + +Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue to create or update a deadline on | [default to null] | +| **body** | [**EditDeadlineOption**](../models/EditDeadlineOption.md)| | [optional] | + +### Return type + +[**IssueDeadline**](../models/IssueDeadline.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueEditLabel** +> Label issueEditLabel(owner, repo, id, body) + +Update a label + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the label to edit | [default to null] | +| **body** | [**EditLabelOption**](../models/EditLabelOption.md)| | [optional] | + +### Return type + +[**Label**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueEditMilestone** +> Milestone issueEditMilestone(owner, repo, id, body) + +Update a milestone + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **String**| the milestone to edit, identified by ID and if not available by name | [default to null] | +| **body** | [**EditMilestoneOption**](../models/EditMilestoneOption.md)| | [optional] | + +### Return type + +[**Milestone**](../models/Milestone.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueGetComment** +> Comment issueGetComment(owner, repo, id) + +Get a comment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment | [default to null] | + +### Return type + +[**Comment**](../models/Comment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetCommentReactions** +> List issueGetCommentReactions(owner, repo, id) + +Get a list of reactions from a comment of an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment to edit | [default to null] | + +### Return type + +[**List**](../models/Reaction.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetComments** +> List issueGetComments(owner, repo, index, since, before) + +List all comments on an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **since** | **Date**| if provided, only comments updated since the specified time are returned. | [optional] [default to null] | +| **before** | **Date**| if provided, only comments updated before the provided time are returned. | [optional] [default to null] | + +### Return type + +[**List**](../models/Comment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetCommentsAndTimeline** +> List issueGetCommentsAndTimeline(owner, repo, index, since, page, limit, before) + +List all comments and events on an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **since** | **Date**| if provided, only comments updated since the specified time are returned. | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | +| **before** | **Date**| if provided, only comments updated before the provided time are returned. | [optional] [default to null] | + +### Return type + +[**List**](../models/TimelineComment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetIssue** +> Issue issueGetIssue(owner, repo, index) + +Get an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue to get | [default to null] | + +### Return type + +[**Issue**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetIssueAttachment** +> Attachment issueGetIssueAttachment(owner, repo, index, attachment\_id) + +Get an issue attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **attachment\_id** | **Long**| id of the attachment to get | [default to null] | + +### Return type + +[**Attachment**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetIssueCommentAttachment** +> Attachment issueGetIssueCommentAttachment(owner, repo, id, attachment\_id) + +Get a comment attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment | [default to null] | +| **attachment\_id** | **Long**| id of the attachment to get | [default to null] | + +### Return type + +[**Attachment**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetIssueReactions** +> List issueGetIssueReactions(owner, repo, index, page, limit) + +Get a list reactions of an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Reaction.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetLabel** +> Label issueGetLabel(owner, repo, id) + +Get a single label + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the label to get | [default to null] | + +### Return type + +[**Label**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetLabels** +> List issueGetLabels(owner, repo, index) + +Get an issue's labels + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | + +### Return type + +[**List**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetMilestone** +> Milestone issueGetMilestone(owner, repo, id) + +Get a milestone + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **String**| the milestone to get, identified by ID and if not available by name | [default to null] | + +### Return type + +[**Milestone**](../models/Milestone.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetMilestonesList** +> List issueGetMilestonesList(owner, repo, state, name, page, limit) + +Get all of a repository's opened milestones + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **state** | **String**| Milestone state, Recognized values are open, closed and all. Defaults to \"open\" | [optional] [default to null] | +| **name** | **String**| filter by milestone name | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Milestone.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueGetRepoComments** +> List issueGetRepoComments(owner, repo, since, before, page, limit) + +List all comments in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **since** | **Date**| if provided, only comments updated since the provided time are returned. | [optional] [default to null] | +| **before** | **Date**| if provided, only comments updated before the provided time are returned. | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Comment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueListBlocks** +> List issueListBlocks(owner, repo, index, page, limit) + +List issues that are blocked by this issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **String**| index of the issue | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueListIssueAttachments** +> List issueListIssueAttachments(owner, repo, index) + +List issue's attachments + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | + +### Return type + +[**List**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueListIssueCommentAttachments** +> List issueListIssueCommentAttachments(owner, repo, id) + +List comment's attachments + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment | [default to null] | + +### Return type + +[**List**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueListIssueDependencies** +> List issueListIssueDependencies(owner, repo, index, page, limit) + +List an issue's dependencies, i.e all issues that block this issue. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **String**| index of the issue | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueListIssues** +> List issueListIssues(owner, repo, state, labels, q, type, milestones, since, before, created\_by, assigned\_by, mentioned\_by, page, limit) + +List a repository's issues + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **state** | **String**| whether issue is open or closed | [optional] [default to null] [enum: closed, open, all] | +| **labels** | **String**| comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded | [optional] [default to null] | +| **q** | **String**| search string | [optional] [default to null] | +| **type** | **String**| filter by type (issues / pulls) if set | [optional] [default to null] [enum: issues, pulls] | +| **milestones** | **String**| comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded | [optional] [default to null] | +| **since** | **Date**| Only show items updated after the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **before** | **Date**| Only show items updated before the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **created\_by** | **String**| Only show items which were created by the the given user | [optional] [default to null] | +| **assigned\_by** | **String**| Only show items for which the given user is assigned | [optional] [default to null] | +| **mentioned\_by** | **String**| Only show items in which the given user was mentioned | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueListLabels** +> List issueListLabels(owner, repo, page, limit) + +Get all of a repository's labels + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issuePostCommentReaction** +> Reaction issuePostCommentReaction(owner, repo, id, content) + +Add a reaction to a comment of an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the comment to edit | [default to null] | +| **content** | [**EditReactionOption**](../models/EditReactionOption.md)| | [optional] | + +### Return type + +[**Reaction**](../models/Reaction.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issuePostIssueReaction** +> Reaction issuePostIssueReaction(owner, repo, index, content) + +Add a reaction to an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **content** | [**EditReactionOption**](../models/EditReactionOption.md)| | [optional] | + +### Return type + +[**Reaction**](../models/Reaction.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueRemoveIssueBlocking** +> Issue issueRemoveIssueBlocking(owner, repo, index, body) + +Unblock the issue given in the body by the issue in path + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **String**| index of the issue | [default to null] | +| **body** | [**IssueMeta**](../models/IssueMeta.md)| | [optional] | + +### Return type + +[**Issue**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **issueRemoveIssueDependencies** +> Issue issueRemoveIssueDependencies(owner, repo, index, body) + +Remove an issue dependency + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **String**| index of the issue | [default to null] | +| **body** | [**IssueMeta**](../models/IssueMeta.md)| | [optional] | + +### Return type + +[**Issue**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **issueRemoveLabel** +> issueRemoveLabel(owner, repo, index, id) + +Remove a label from an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **id** | **Long**| id of the label to remove | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueReplaceLabels** +> List issueReplaceLabels(owner, repo, index, body) + +Replace an issue's labels + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **body** | [**IssueLabelsOption**](../models/IssueLabelsOption.md)| | [optional] | + +### Return type + +[**List**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **issueResetTime** +> issueResetTime(owner, repo, index) + +Reset a tracked time of an issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue to add tracked time to | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueSearchIssues** +> List issueSearchIssues(state, labels, milestones, q, priority\_repo\_id, type, since, before, assigned, created, mentioned, review\_requested, reviewed, owner, team, page, limit) + +Search for issues across the repositories that the user has access to + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **state** | **String**| whether issue is open or closed | [optional] [default to null] | +| **labels** | **String**| comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded | [optional] [default to null] | +| **milestones** | **String**| comma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded | [optional] [default to null] | +| **q** | **String**| search string | [optional] [default to null] | +| **priority\_repo\_id** | **Long**| repository to prioritize in the results | [optional] [default to null] | +| **type** | **String**| filter by type (issues / pulls) if set | [optional] [default to null] | +| **since** | **Date**| Only show notifications updated after the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **before** | **Date**| Only show notifications updated before the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **assigned** | **Boolean**| filter (issues / pulls) assigned to you, default is false | [optional] [default to null] | +| **created** | **Boolean**| filter (issues / pulls) created by you, default is false | [optional] [default to null] | +| **mentioned** | **Boolean**| filter (issues / pulls) mentioning you, default is false | [optional] [default to null] | +| **review\_requested** | **Boolean**| filter pulls requesting your review, default is false | [optional] [default to null] | +| **reviewed** | **Boolean**| filter pulls reviewed by you, default is false | [optional] [default to null] | +| **owner** | **String**| filter by owner | [optional] [default to null] | +| **team** | **String**| filter by team (requires organization owner parameter to be provided) | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueStartStopWatch** +> issueStartStopWatch(owner, repo, index) + +Start stopwatch on an issue. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue to create the stopwatch on | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueStopStopWatch** +> issueStopStopWatch(owner, repo, index) + +Stop an issue's existing stopwatch. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue to stop the stopwatch on | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **issueSubscriptions** +> List issueSubscriptions(owner, repo, index, page, limit) + +Get users who subscribed on an issue. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **issueTrackedTimes** +> List issueTrackedTimes(owner, repo, index, user, since, before, page, limit) + +List an issue's tracked times + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the issue | [default to null] | +| **user** | **String**| optional filter by user (available for issue managers) | [optional] [default to null] | +| **since** | **Date**| Only show times updated after the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **before** | **Date**| Only show times updated before the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/TrackedTime.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **moveIssuePin** +> moveIssuePin(owner, repo, index, position) + +Moves the Pin to the given Position + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of issue | [default to null] | +| **position** | **Long**| the new position | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **pinIssue** +> pinIssue(owner, repo, index) + +Pin an Issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of issue to pin | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **unpinIssue** +> unpinIssue(owner, repo, index) + +Unpin an Issue + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of issue to unpin | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + diff --git a/docs/client/MiscellaneousApi.md b/docs/client/MiscellaneousApi.md new file mode 100644 index 0000000..b937252 --- /dev/null +++ b/docs/client/MiscellaneousApi.md @@ -0,0 +1,302 @@ +# MiscellaneousApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getGitignoreTemplateInfo**](MiscellaneousApi.md#getGitignoreTemplateInfo) | **GET** /gitignore/templates/{name} | Returns information about a gitignore template | +| [**getLabelTemplateInfo**](MiscellaneousApi.md#getLabelTemplateInfo) | **GET** /label/templates/{name} | Returns all labels in a template | +| [**getLicenseTemplateInfo**](MiscellaneousApi.md#getLicenseTemplateInfo) | **GET** /licenses/{name} | Returns information about a license template | +| [**getNodeInfo**](MiscellaneousApi.md#getNodeInfo) | **GET** /nodeinfo | Returns the nodeinfo of the Gitea application | +| [**getSigningKey**](MiscellaneousApi.md#getSigningKey) | **GET** /signing-key.gpg | Get default signing-key.gpg | +| [**getVersion**](MiscellaneousApi.md#getVersion) | **GET** /version | Returns the version of the Gitea application | +| [**listGitignoresTemplates**](MiscellaneousApi.md#listGitignoresTemplates) | **GET** /gitignore/templates | Returns a list of all gitignore templates | +| [**listLabelTemplates**](MiscellaneousApi.md#listLabelTemplates) | **GET** /label/templates | Returns a list of all label templates | +| [**listLicenseTemplates**](MiscellaneousApi.md#listLicenseTemplates) | **GET** /licenses | Returns a list of all license templates | +| [**renderMarkdown**](MiscellaneousApi.md#renderMarkdown) | **POST** /markdown | Render a markdown document as HTML | +| [**renderMarkdownRaw**](MiscellaneousApi.md#renderMarkdownRaw) | **POST** /markdown/raw | Render raw markdown as HTML | +| [**renderMarkup**](MiscellaneousApi.md#renderMarkup) | **POST** /markup | Render a markup document as HTML | + + + +# **getGitignoreTemplateInfo** +> GitignoreTemplateInfo getGitignoreTemplateInfo(name) + +Returns information about a gitignore template + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the template | [default to null] | + +### Return type + +[**GitignoreTemplateInfo**](../models/GitignoreTemplateInfo.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getLabelTemplateInfo** +> List getLabelTemplateInfo(name) + +Returns all labels in a template + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the template | [default to null] | + +### Return type + +[**List**](../models/LabelTemplate.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getLicenseTemplateInfo** +> LicenseTemplateInfo getLicenseTemplateInfo(name) + +Returns information about a license template + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **name** | **String**| name of the license | [default to null] | + +### Return type + +[**LicenseTemplateInfo**](../models/LicenseTemplateInfo.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getNodeInfo** +> NodeInfo getNodeInfo() + +Returns the nodeinfo of the Gitea application + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**NodeInfo**](../models/NodeInfo.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getSigningKey** +> String getSigningKey() + +Get default signing-key.gpg + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**String** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain + + +# **getVersion** +> ServerVersion getVersion() + +Returns the version of the Gitea application + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ServerVersion**](../models/ServerVersion.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **listGitignoresTemplates** +> List listGitignoresTemplates() + +Returns a list of all gitignore templates + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**List** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **listLabelTemplates** +> List listLabelTemplates() + +Returns a list of all label templates + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**List** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **listLicenseTemplates** +> List listLicenseTemplates() + +Returns a list of all license templates + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**List**](../models/LicensesTemplateListEntry.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **renderMarkdown** +> String renderMarkdown(body) + +Render a markdown document as HTML + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**MarkdownOption**](../models/MarkdownOption.md)| | [optional] | + +### Return type + +**String** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: text/html + + +# **renderMarkdownRaw** +> String renderMarkdownRaw(body) + +Render raw markdown as HTML + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | **String**| Request body to render | | + +### Return type + +**String** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: text/plain +- **Accept**: text/html + + +# **renderMarkup** +> String renderMarkup(body) + +Render a markup document as HTML + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**MarkupOption**](../models/MarkupOption.md)| | [optional] | + +### Return type + +**String** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: text/html + diff --git a/docs/client/NotificationApi.md b/docs/client/NotificationApi.md new file mode 100644 index 0000000..4a0c69c --- /dev/null +++ b/docs/client/NotificationApi.md @@ -0,0 +1,210 @@ +# NotificationApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**notifyGetList**](NotificationApi.md#notifyGetList) | **GET** /notifications | List users's notification threads | +| [**notifyGetRepoList**](NotificationApi.md#notifyGetRepoList) | **GET** /repos/{owner}/{repo}/notifications | List users's notification threads on a specific repo | +| [**notifyGetThread**](NotificationApi.md#notifyGetThread) | **GET** /notifications/threads/{id} | Get notification thread by ID | +| [**notifyNewAvailable**](NotificationApi.md#notifyNewAvailable) | **GET** /notifications/new | Check if unread notifications exist | +| [**notifyReadList**](NotificationApi.md#notifyReadList) | **PUT** /notifications | Mark notification threads as read, pinned or unread | +| [**notifyReadRepoList**](NotificationApi.md#notifyReadRepoList) | **PUT** /repos/{owner}/{repo}/notifications | Mark notification threads as read, pinned or unread on a specific repo | +| [**notifyReadThread**](NotificationApi.md#notifyReadThread) | **PATCH** /notifications/threads/{id} | Mark notification thread as read by ID | + + + +# **notifyGetList** +> List notifyGetList(all, status-types, subject-type, since, before, page, limit) + +List users's notification threads + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **all** | **Boolean**| If true, show notifications marked as read. Default value is false | [optional] [default to null] | +| **status-types** | [**List**](../models/String.md)| Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned. | [optional] [default to null] | +| **subject-type** | [**List**](../models/String.md)| filter notifications by subject type | [optional] [default to null] [enum: issue, pull, commit, repository] | +| **since** | **Date**| Only show notifications updated after the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **before** | **Date**| Only show notifications updated before the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/NotificationThread.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **notifyGetRepoList** +> List notifyGetRepoList(owner, repo, all, status-types, subject-type, since, before, page, limit) + +List users's notification threads on a specific repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **all** | **Boolean**| If true, show notifications marked as read. Default value is false | [optional] [default to null] | +| **status-types** | [**List**](../models/String.md)| Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned | [optional] [default to null] | +| **subject-type** | [**List**](../models/String.md)| filter notifications by subject type | [optional] [default to null] [enum: issue, pull, commit, repository] | +| **since** | **Date**| Only show notifications updated after the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **before** | **Date**| Only show notifications updated before the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/NotificationThread.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **notifyGetThread** +> NotificationThread notifyGetThread(id) + +Get notification thread by ID + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **String**| id of notification thread | [default to null] | + +### Return type + +[**NotificationThread**](../models/NotificationThread.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **notifyNewAvailable** +> NotificationCount notifyNewAvailable() + +Check if unread notifications exist + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**NotificationCount**](../models/NotificationCount.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, text/html + + +# **notifyReadList** +> List notifyReadList(last\_read\_at, all, status-types, to-status) + +Mark notification threads as read, pinned or unread + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **last\_read\_at** | **Date**| Describes the last point that notifications were checked. Anything updated since this time will not be updated. | [optional] [default to null] | +| **all** | **String**| If true, mark all notifications on this repo. Default value is false | [optional] [default to null] | +| **status-types** | [**List**](../models/String.md)| Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread. | [optional] [default to null] | +| **to-status** | **String**| Status to mark notifications as, Defaults to read. | [optional] [default to null] | + +### Return type + +[**List**](../models/NotificationThread.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **notifyReadRepoList** +> List notifyReadRepoList(owner, repo, all, status-types, to-status, last\_read\_at) + +Mark notification threads as read, pinned or unread on a specific repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **all** | **String**| If true, mark all notifications on this repo. Default value is false | [optional] [default to null] | +| **status-types** | [**List**](../models/String.md)| Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread. | [optional] [default to null] | +| **to-status** | **String**| Status to mark notifications as. Defaults to read. | [optional] [default to null] | +| **last\_read\_at** | **Date**| Describes the last point that notifications were checked. Anything updated since this time will not be updated. | [optional] [default to null] | + +### Return type + +[**List**](../models/NotificationThread.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **notifyReadThread** +> NotificationThread notifyReadThread(id, to-status) + +Mark notification thread as read by ID + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **String**| id of notification thread | [default to null] | +| **to-status** | **String**| Status to mark notifications as | [optional] [default to read] | + +### Return type + +[**NotificationThread**](../models/NotificationThread.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + diff --git a/docs/client/OrganizationApi.md b/docs/client/OrganizationApi.md new file mode 100644 index 0000000..48b8dd9 --- /dev/null +++ b/docs/client/OrganizationApi.md @@ -0,0 +1,1296 @@ +# OrganizationApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createOrgRepo**](OrganizationApi.md#createOrgRepo) | **POST** /orgs/{org}/repos | Create a repository in an organization | +| [**createOrgRepoDeprecated**](OrganizationApi.md#createOrgRepoDeprecated) | **POST** /org/{org}/repos | Create a repository in an organization | +| [**orgAddTeamMember**](OrganizationApi.md#orgAddTeamMember) | **PUT** /teams/{id}/members/{username} | Add a team member | +| [**orgAddTeamRepository**](OrganizationApi.md#orgAddTeamRepository) | **PUT** /teams/{id}/repos/{org}/{repo} | Add a repository to a team | +| [**orgBlockUser**](OrganizationApi.md#orgBlockUser) | **PUT** /orgs/{org}/block/{username} | Blocks a user from the organization | +| [**orgConcealMember**](OrganizationApi.md#orgConcealMember) | **DELETE** /orgs/{org}/public_members/{username} | Conceal a user's membership | +| [**orgCreate**](OrganizationApi.md#orgCreate) | **POST** /orgs | Create an organization | +| [**orgCreateHook**](OrganizationApi.md#orgCreateHook) | **POST** /orgs/{org}/hooks | Create a hook | +| [**orgCreateLabel**](OrganizationApi.md#orgCreateLabel) | **POST** /orgs/{org}/labels | Create a label for an organization | +| [**orgCreateTeam**](OrganizationApi.md#orgCreateTeam) | **POST** /orgs/{org}/teams | Create a team | +| [**orgDelete**](OrganizationApi.md#orgDelete) | **DELETE** /orgs/{org} | Delete an organization | +| [**orgDeleteHook**](OrganizationApi.md#orgDeleteHook) | **DELETE** /orgs/{org}/hooks/{id} | Delete a hook | +| [**orgDeleteLabel**](OrganizationApi.md#orgDeleteLabel) | **DELETE** /orgs/{org}/labels/{id} | Delete a label | +| [**orgDeleteMember**](OrganizationApi.md#orgDeleteMember) | **DELETE** /orgs/{org}/members/{username} | Remove a member from an organization | +| [**orgDeleteTeam**](OrganizationApi.md#orgDeleteTeam) | **DELETE** /teams/{id} | Delete a team | +| [**orgEdit**](OrganizationApi.md#orgEdit) | **PATCH** /orgs/{org} | Edit an organization | +| [**orgEditHook**](OrganizationApi.md#orgEditHook) | **PATCH** /orgs/{org}/hooks/{id} | Update a hook | +| [**orgEditLabel**](OrganizationApi.md#orgEditLabel) | **PATCH** /orgs/{org}/labels/{id} | Update a label | +| [**orgEditTeam**](OrganizationApi.md#orgEditTeam) | **PATCH** /teams/{id} | Edit a team | +| [**orgGet**](OrganizationApi.md#orgGet) | **GET** /orgs/{org} | Get an organization | +| [**orgGetAll**](OrganizationApi.md#orgGetAll) | **GET** /orgs | Get list of organizations | +| [**orgGetHook**](OrganizationApi.md#orgGetHook) | **GET** /orgs/{org}/hooks/{id} | Get a hook | +| [**orgGetLabel**](OrganizationApi.md#orgGetLabel) | **GET** /orgs/{org}/labels/{id} | Get a single label | +| [**orgGetTeam**](OrganizationApi.md#orgGetTeam) | **GET** /teams/{id} | Get a team | +| [**orgGetUserPermissions**](OrganizationApi.md#orgGetUserPermissions) | **GET** /users/{username}/orgs/{org}/permissions | Get user permissions in organization | +| [**orgIsMember**](OrganizationApi.md#orgIsMember) | **GET** /orgs/{org}/members/{username} | Check if a user is a member of an organization | +| [**orgIsPublicMember**](OrganizationApi.md#orgIsPublicMember) | **GET** /orgs/{org}/public_members/{username} | Check if a user is a public member of an organization | +| [**orgListActivityFeeds**](OrganizationApi.md#orgListActivityFeeds) | **GET** /orgs/{org}/activities/feeds | List an organization's activity feeds | +| [**orgListBlockedUsers**](OrganizationApi.md#orgListBlockedUsers) | **GET** /orgs/{org}/list_blocked | List the organization's blocked users | +| [**orgListCurrentUserOrgs**](OrganizationApi.md#orgListCurrentUserOrgs) | **GET** /user/orgs | List the current user's organizations | +| [**orgListHooks**](OrganizationApi.md#orgListHooks) | **GET** /orgs/{org}/hooks | List an organization's webhooks | +| [**orgListLabels**](OrganizationApi.md#orgListLabels) | **GET** /orgs/{org}/labels | List an organization's labels | +| [**orgListMembers**](OrganizationApi.md#orgListMembers) | **GET** /orgs/{org}/members | List an organization's members | +| [**orgListPublicMembers**](OrganizationApi.md#orgListPublicMembers) | **GET** /orgs/{org}/public_members | List an organization's public members | +| [**orgListRepos**](OrganizationApi.md#orgListRepos) | **GET** /orgs/{org}/repos | List an organization's repos | +| [**orgListTeamActivityFeeds**](OrganizationApi.md#orgListTeamActivityFeeds) | **GET** /teams/{id}/activities/feeds | List a team's activity feeds | +| [**orgListTeamMember**](OrganizationApi.md#orgListTeamMember) | **GET** /teams/{id}/members/{username} | List a particular member of team | +| [**orgListTeamMembers**](OrganizationApi.md#orgListTeamMembers) | **GET** /teams/{id}/members | List a team's members | +| [**orgListTeamRepo**](OrganizationApi.md#orgListTeamRepo) | **GET** /teams/{id}/repos/{org}/{repo} | List a particular repo of team | +| [**orgListTeamRepos**](OrganizationApi.md#orgListTeamRepos) | **GET** /teams/{id}/repos | List a team's repos | +| [**orgListTeams**](OrganizationApi.md#orgListTeams) | **GET** /orgs/{org}/teams | List an organization's teams | +| [**orgListUserOrgs**](OrganizationApi.md#orgListUserOrgs) | **GET** /users/{username}/orgs | List a user's organizations | +| [**orgPublicizeMember**](OrganizationApi.md#orgPublicizeMember) | **PUT** /orgs/{org}/public_members/{username} | Publicize a user's membership | +| [**orgRemoveTeamMember**](OrganizationApi.md#orgRemoveTeamMember) | **DELETE** /teams/{id}/members/{username} | Remove a team member | +| [**orgRemoveTeamRepository**](OrganizationApi.md#orgRemoveTeamRepository) | **DELETE** /teams/{id}/repos/{org}/{repo} | Remove a repository from a team | +| [**orgUnblockUser**](OrganizationApi.md#orgUnblockUser) | **PUT** /orgs/{org}/unblock/{username} | Unblock a user from the organization | +| [**teamSearch**](OrganizationApi.md#teamSearch) | **GET** /orgs/{org}/teams/search | Search for teams within an organization | + + + +# **createOrgRepo** +> Repository createOrgRepo(org, body) + +Create a repository in an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of organization | [default to null] | +| **body** | [**CreateRepoOption**](../models/CreateRepoOption.md)| | [optional] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **createOrgRepoDeprecated** +> Repository createOrgRepoDeprecated(org, body) + +Create a repository in an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of organization | [default to null] | +| **body** | [**CreateRepoOption**](../models/CreateRepoOption.md)| | [optional] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **orgAddTeamMember** +> orgAddTeamMember(id, username) + +Add a team member + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team | [default to null] | +| **username** | **String**| username of the user to add | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgAddTeamRepository** +> orgAddTeamRepository(id, org, repo) + +Add a repository to a team + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team | [default to null] | +| **org** | **String**| organization that owns the repo to add | [default to null] | +| **repo** | **String**| name of the repo to add | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgBlockUser** +> orgBlockUser(org, username) + +Blocks a user from the organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the org | [default to null] | +| **username** | **String**| username of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgConcealMember** +> orgConcealMember(org, username) + +Conceal a user's membership + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **username** | **String**| username of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgCreate** +> Organization orgCreate(organization) + +Create an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **organization** | [**CreateOrgOption**](../models/CreateOrgOption.md)| | | + +### Return type + +[**Organization**](../models/Organization.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **orgCreateHook** +> Hook orgCreateHook(org, body) + +Create a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **body** | [**CreateHookOption**](../models/CreateHookOption.md)| | | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **orgCreateLabel** +> Label orgCreateLabel(org, body) + +Create a label for an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **body** | [**CreateLabelOption**](../models/CreateLabelOption.md)| | [optional] | + +### Return type + +[**Label**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **orgCreateTeam** +> Team orgCreateTeam(org, body) + +Create a team + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **body** | [**CreateTeamOption**](../models/CreateTeamOption.md)| | [optional] | + +### Return type + +[**Team**](../models/Team.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **orgDelete** +> orgDelete(org) + +Delete an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| organization that is to be deleted | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgDeleteHook** +> orgDeleteHook(org, id) + +Delete a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **id** | **Long**| id of the hook to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgDeleteLabel** +> orgDeleteLabel(org, id) + +Delete a label + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **id** | **Long**| id of the label to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgDeleteMember** +> orgDeleteMember(org, username) + +Remove a member from an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **username** | **String**| username of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgDeleteTeam** +> orgDeleteTeam(id) + +Delete a team + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgEdit** +> Organization orgEdit(org, body) + +Edit an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization to edit | [default to null] | +| **body** | [**EditOrgOption**](../models/EditOrgOption.md)| | | + +### Return type + +[**Organization**](../models/Organization.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **orgEditHook** +> Hook orgEditHook(org, id, body) + +Update a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **id** | **Long**| id of the hook to update | [default to null] | +| **body** | [**EditHookOption**](../models/EditHookOption.md)| | [optional] | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **orgEditLabel** +> Label orgEditLabel(org, id, body) + +Update a label + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **id** | **Long**| id of the label to edit | [default to null] | +| **body** | [**EditLabelOption**](../models/EditLabelOption.md)| | [optional] | + +### Return type + +[**Label**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **orgEditTeam** +> Team orgEditTeam(id, body) + +Edit a team + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Integer**| id of the team to edit | [default to null] | +| **body** | [**EditTeamOption**](../models/EditTeamOption.md)| | [optional] | + +### Return type + +[**Team**](../models/Team.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **orgGet** +> Organization orgGet(org) + +Get an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization to get | [default to null] | + +### Return type + +[**Organization**](../models/Organization.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgGetAll** +> List orgGetAll(page, limit) + +Get list of organizations + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Organization.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgGetHook** +> Hook orgGetHook(org, id) + +Get a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **id** | **Long**| id of the hook to get | [default to null] | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgGetLabel** +> Label orgGetLabel(org, id) + +Get a single label + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **id** | **Long**| id of the label to get | [default to null] | + +### Return type + +[**Label**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgGetTeam** +> Team orgGetTeam(id) + +Get a team + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team to get | [default to null] | + +### Return type + +[**Team**](../models/Team.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgGetUserPermissions** +> OrganizationPermissions orgGetUserPermissions(username, org) + +Get user permissions in organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **org** | **String**| name of the organization | [default to null] | + +### Return type + +[**OrganizationPermissions**](../models/OrganizationPermissions.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgIsMember** +> orgIsMember(org, username) + +Check if a user is a member of an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **username** | **String**| username of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgIsPublicMember** +> orgIsPublicMember(org, username) + +Check if a user is a public member of an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **username** | **String**| username of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgListActivityFeeds** +> List orgListActivityFeeds(org, date, page, limit) + +List an organization's activity feeds + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the org | [default to null] | +| **date** | **date**| the date of the activities to be found | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Activity.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListBlockedUsers** +> List orgListBlockedUsers(org, page, limit) + +List the organization's blocked users + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the org | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/BlockedUser.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListCurrentUserOrgs** +> List orgListCurrentUserOrgs(page, limit) + +List the current user's organizations + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Organization.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListHooks** +> List orgListHooks(org, page, limit) + +List an organization's webhooks + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListLabels** +> List orgListLabels(org, page, limit) + +List an organization's labels + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Label.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListMembers** +> List orgListMembers(org, page, limit) + +List an organization's members + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListPublicMembers** +> List orgListPublicMembers(org, page, limit) + +List an organization's public members + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListRepos** +> List orgListRepos(org, page, limit) + +List an organization's repos + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListTeamActivityFeeds** +> List orgListTeamActivityFeeds(id, date, page, limit) + +List a team's activity feeds + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team | [default to null] | +| **date** | **date**| the date of the activities to be found | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Activity.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListTeamMember** +> User orgListTeamMember(id, username) + +List a particular member of team + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team | [default to null] | +| **username** | **String**| username of the member to list | [default to null] | + +### Return type + +[**User**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListTeamMembers** +> List orgListTeamMembers(id, page, limit) + +List a team's members + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListTeamRepo** +> Repository orgListTeamRepo(id, org, repo) + +List a particular repo of team + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team | [default to null] | +| **org** | **String**| organization that owns the repo to list | [default to null] | +| **repo** | **String**| name of the repo to list | [default to null] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListTeamRepos** +> List orgListTeamRepos(id, page, limit) + +List a team's repos + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListTeams** +> List orgListTeams(org, page, limit) + +List an organization's teams + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Team.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgListUserOrgs** +> List orgListUserOrgs(username, page, limit) + +List a user's organizations + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Organization.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **orgPublicizeMember** +> orgPublicizeMember(org, username) + +Publicize a user's membership + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **username** | **String**| username of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgRemoveTeamMember** +> orgRemoveTeamMember(id, username) + +Remove a team member + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team | [default to null] | +| **username** | **String**| username of the user to remove | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgRemoveTeamRepository** +> orgRemoveTeamRepository(id, org, repo) + +Remove a repository from a team + + This does not delete the repository, it only removes the repository from the team. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the team | [default to null] | +| **org** | **String**| organization that owns the repo to remove | [default to null] | +| **repo** | **String**| name of the repo to remove | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **orgUnblockUser** +> orgUnblockUser(org, username) + +Unblock a user from the organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the org | [default to null] | +| **username** | **String**| username of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **teamSearch** +> teamSearch_200_response teamSearch(org, q, include\_desc, page, limit) + +Search for teams within an organization + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **org** | **String**| name of the organization | [default to null] | +| **q** | **String**| keywords to search | [optional] [default to null] | +| **include\_desc** | **Boolean**| include search within team description (defaults to true) | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**teamSearch_200_response**](../models/teamSearch_200_response.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + diff --git a/docs/client/PackageApi.md b/docs/client/PackageApi.md new file mode 100644 index 0000000..f5c995c --- /dev/null +++ b/docs/client/PackageApi.md @@ -0,0 +1,125 @@ +# PackageApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**deletePackage**](PackageApi.md#deletePackage) | **DELETE** /packages/{owner}/{type}/{name}/{version} | Delete a package | +| [**getPackage**](PackageApi.md#getPackage) | **GET** /packages/{owner}/{type}/{name}/{version} | Gets a package | +| [**listPackageFiles**](PackageApi.md#listPackageFiles) | **GET** /packages/{owner}/{type}/{name}/{version}/files | Gets all files of a package | +| [**listPackages**](PackageApi.md#listPackages) | **GET** /packages/{owner} | Gets all packages of an owner | + + + +# **deletePackage** +> deletePackage(owner, type, name, version) + +Delete a package + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the package | [default to null] | +| **type** | **String**| type of the package | [default to null] | +| **name** | **String**| name of the package | [default to null] | +| **version** | **String**| version of the package | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **getPackage** +> Package getPackage(owner, type, name, version) + +Gets a package + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the package | [default to null] | +| **type** | **String**| type of the package | [default to null] | +| **name** | **String**| name of the package | [default to null] | +| **version** | **String**| version of the package | [default to null] | + +### Return type + +[**Package**](../models/Package.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **listPackageFiles** +> List listPackageFiles(owner, type, name, version) + +Gets all files of a package + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the package | [default to null] | +| **type** | **String**| type of the package | [default to null] | +| **name** | **String**| name of the package | [default to null] | +| **version** | **String**| version of the package | [default to null] | + +### Return type + +[**List**](../models/PackageFile.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **listPackages** +> List listPackages(owner, page, limit, type, q) + +Gets all packages of an owner + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the packages | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | +| **type** | **String**| package type filter | [optional] [default to null] [enum: alpine, cargo, chef, composer, conan, conda, container, cran, debian, generic, go, helm, maven, npm, nuget, pub, pypi, rpm, rubygems, swift, vagrant] | +| **q** | **String**| name filter | [optional] [default to null] | + +### Return type + +[**List**](../models/Package.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + diff --git a/docs/client/RepositoryApi.md b/docs/client/RepositoryApi.md new file mode 100644 index 0000000..3bb510c --- /dev/null +++ b/docs/client/RepositoryApi.md @@ -0,0 +1,4066 @@ +# RepositoryApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**acceptRepoTransfer**](RepositoryApi.md#acceptRepoTransfer) | **POST** /repos/{owner}/{repo}/transfer/accept | Accept a repo transfer | +| [**createCurrentUserRepo**](RepositoryApi.md#createCurrentUserRepo) | **POST** /user/repos | Create a repository | +| [**createFork**](RepositoryApi.md#createFork) | **POST** /repos/{owner}/{repo}/forks | Fork a repository | +| [**generateRepo**](RepositoryApi.md#generateRepo) | **POST** /repos/{template_owner}/{template_repo}/generate | Create a repository using a template | +| [**getAnnotatedTag**](RepositoryApi.md#getAnnotatedTag) | **GET** /repos/{owner}/{repo}/git/tags/{sha} | Gets the tag object of an annotated tag (not lightweight tags) | +| [**getBlob**](RepositoryApi.md#getBlob) | **GET** /repos/{owner}/{repo}/git/blobs/{sha} | Gets the blob of a repository. | +| [**getTree**](RepositoryApi.md#getTree) | **GET** /repos/{owner}/{repo}/git/trees/{sha} | Gets the tree of a repository. | +| [**listForks**](RepositoryApi.md#listForks) | **GET** /repos/{owner}/{repo}/forks | List a repository's forks | +| [**rejectRepoTransfer**](RepositoryApi.md#rejectRepoTransfer) | **POST** /repos/{owner}/{repo}/transfer/reject | Reject a repo transfer | +| [**repoAddCollaborator**](RepositoryApi.md#repoAddCollaborator) | **PUT** /repos/{owner}/{repo}/collaborators/{collaborator} | Add a collaborator to a repository | +| [**repoAddPushMirror**](RepositoryApi.md#repoAddPushMirror) | **POST** /repos/{owner}/{repo}/push_mirrors | add a push mirror to the repository | +| [**repoAddTeam**](RepositoryApi.md#repoAddTeam) | **PUT** /repos/{owner}/{repo}/teams/{team} | Add a team to a repository | +| [**repoAddTopic**](RepositoryApi.md#repoAddTopic) | **PUT** /repos/{owner}/{repo}/topics/{topic} | Add a topic to a repository | +| [**repoApplyDiffPatch**](RepositoryApi.md#repoApplyDiffPatch) | **POST** /repos/{owner}/{repo}/diffpatch | Apply diff patch to repository | +| [**repoCancelScheduledAutoMerge**](RepositoryApi.md#repoCancelScheduledAutoMerge) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/merge | Cancel the scheduled auto merge for the given pull request | +| [**repoChangeFiles**](RepositoryApi.md#repoChangeFiles) | **POST** /repos/{owner}/{repo}/contents | Modify multiple files in a repository | +| [**repoCheckCollaborator**](RepositoryApi.md#repoCheckCollaborator) | **GET** /repos/{owner}/{repo}/collaborators/{collaborator} | Check if a user is a collaborator of a repository | +| [**repoCheckTeam**](RepositoryApi.md#repoCheckTeam) | **GET** /repos/{owner}/{repo}/teams/{team} | Check if a team is assigned to a repository | +| [**repoCreateBranch**](RepositoryApi.md#repoCreateBranch) | **POST** /repos/{owner}/{repo}/branches | Create a branch | +| [**repoCreateBranchProtection**](RepositoryApi.md#repoCreateBranchProtection) | **POST** /repos/{owner}/{repo}/branch_protections | Create a branch protections for a repository | +| [**repoCreateFile**](RepositoryApi.md#repoCreateFile) | **POST** /repos/{owner}/{repo}/contents/{filepath} | Create a file in a repository | +| [**repoCreateHook**](RepositoryApi.md#repoCreateHook) | **POST** /repos/{owner}/{repo}/hooks | Create a hook | +| [**repoCreateKey**](RepositoryApi.md#repoCreateKey) | **POST** /repos/{owner}/{repo}/keys | Add a key to a repository | +| [**repoCreatePullRequest**](RepositoryApi.md#repoCreatePullRequest) | **POST** /repos/{owner}/{repo}/pulls | Create a pull request | +| [**repoCreatePullReview**](RepositoryApi.md#repoCreatePullReview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews | Create a review to an pull request | +| [**repoCreatePullReviewRequests**](RepositoryApi.md#repoCreatePullReviewRequests) | **POST** /repos/{owner}/{repo}/pulls/{index}/requested_reviewers | create review requests for a pull request | +| [**repoCreateRelease**](RepositoryApi.md#repoCreateRelease) | **POST** /repos/{owner}/{repo}/releases | Create a release | +| [**repoCreateReleaseAttachment**](RepositoryApi.md#repoCreateReleaseAttachment) | **POST** /repos/{owner}/{repo}/releases/{id}/assets | Create a release attachment | +| [**repoCreateStatus**](RepositoryApi.md#repoCreateStatus) | **POST** /repos/{owner}/{repo}/statuses/{sha} | Create a commit status | +| [**repoCreateTag**](RepositoryApi.md#repoCreateTag) | **POST** /repos/{owner}/{repo}/tags | Create a new git tag in a repository | +| [**repoCreateWikiPage**](RepositoryApi.md#repoCreateWikiPage) | **POST** /repos/{owner}/{repo}/wiki/new | Create a wiki page | +| [**repoDelete**](RepositoryApi.md#repoDelete) | **DELETE** /repos/{owner}/{repo} | Delete a repository | +| [**repoDeleteBranch**](RepositoryApi.md#repoDeleteBranch) | **DELETE** /repos/{owner}/{repo}/branches/{branch} | Delete a specific branch from a repository | +| [**repoDeleteBranchProtection**](RepositoryApi.md#repoDeleteBranchProtection) | **DELETE** /repos/{owner}/{repo}/branch_protections/{name} | Delete a specific branch protection for the repository | +| [**repoDeleteCollaborator**](RepositoryApi.md#repoDeleteCollaborator) | **DELETE** /repos/{owner}/{repo}/collaborators/{collaborator} | Delete a collaborator from a repository | +| [**repoDeleteFile**](RepositoryApi.md#repoDeleteFile) | **DELETE** /repos/{owner}/{repo}/contents/{filepath} | Delete a file in a repository | +| [**repoDeleteGitHook**](RepositoryApi.md#repoDeleteGitHook) | **DELETE** /repos/{owner}/{repo}/hooks/git/{id} | Delete a Git hook in a repository | +| [**repoDeleteHook**](RepositoryApi.md#repoDeleteHook) | **DELETE** /repos/{owner}/{repo}/hooks/{id} | Delete a hook in a repository | +| [**repoDeleteKey**](RepositoryApi.md#repoDeleteKey) | **DELETE** /repos/{owner}/{repo}/keys/{id} | Delete a key from a repository | +| [**repoDeletePullReview**](RepositoryApi.md#repoDeletePullReview) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Delete a specific review from a pull request | +| [**repoDeletePullReviewRequests**](RepositoryApi.md#repoDeletePullReviewRequests) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/requested_reviewers | cancel review requests for a pull request | +| [**repoDeletePushMirror**](RepositoryApi.md#repoDeletePushMirror) | **DELETE** /repos/{owner}/{repo}/push_mirrors/{name} | deletes a push mirror from a repository by remoteName | +| [**repoDeleteRelease**](RepositoryApi.md#repoDeleteRelease) | **DELETE** /repos/{owner}/{repo}/releases/{id} | Delete a release | +| [**repoDeleteReleaseAttachment**](RepositoryApi.md#repoDeleteReleaseAttachment) | **DELETE** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Delete a release attachment | +| [**repoDeleteReleaseByTag**](RepositoryApi.md#repoDeleteReleaseByTag) | **DELETE** /repos/{owner}/{repo}/releases/tags/{tag} | Delete a release by tag name | +| [**repoDeleteTag**](RepositoryApi.md#repoDeleteTag) | **DELETE** /repos/{owner}/{repo}/tags/{tag} | Delete a repository's tag by name | +| [**repoDeleteTeam**](RepositoryApi.md#repoDeleteTeam) | **DELETE** /repos/{owner}/{repo}/teams/{team} | Delete a team from a repository | +| [**repoDeleteTopic**](RepositoryApi.md#repoDeleteTopic) | **DELETE** /repos/{owner}/{repo}/topics/{topic} | Delete a topic from a repository | +| [**repoDeleteWikiPage**](RepositoryApi.md#repoDeleteWikiPage) | **DELETE** /repos/{owner}/{repo}/wiki/page/{pageName} | Delete a wiki page | +| [**repoDismissPullReview**](RepositoryApi.md#repoDismissPullReview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/dismissals | Dismiss a review for a pull request | +| [**repoDownloadCommitDiffOrPatch**](RepositoryApi.md#repoDownloadCommitDiffOrPatch) | **GET** /repos/{owner}/{repo}/git/commits/{sha}.{diffType} | Get a commit's diff or patch | +| [**repoDownloadPullDiffOrPatch**](RepositoryApi.md#repoDownloadPullDiffOrPatch) | **GET** /repos/{owner}/{repo}/pulls/{index}.{diffType} | Get a pull request diff or patch | +| [**repoEdit**](RepositoryApi.md#repoEdit) | **PATCH** /repos/{owner}/{repo} | Edit a repository's properties. Only fields that are set will be changed. | +| [**repoEditBranchProtection**](RepositoryApi.md#repoEditBranchProtection) | **PATCH** /repos/{owner}/{repo}/branch_protections/{name} | Edit a branch protections for a repository. Only fields that are set will be changed | +| [**repoEditGitHook**](RepositoryApi.md#repoEditGitHook) | **PATCH** /repos/{owner}/{repo}/hooks/git/{id} | Edit a Git hook in a repository | +| [**repoEditHook**](RepositoryApi.md#repoEditHook) | **PATCH** /repos/{owner}/{repo}/hooks/{id} | Edit a hook in a repository | +| [**repoEditPullRequest**](RepositoryApi.md#repoEditPullRequest) | **PATCH** /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. | +| [**repoEditRelease**](RepositoryApi.md#repoEditRelease) | **PATCH** /repos/{owner}/{repo}/releases/{id} | Update a release | +| [**repoEditReleaseAttachment**](RepositoryApi.md#repoEditReleaseAttachment) | **PATCH** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Edit a release attachment | +| [**repoEditWikiPage**](RepositoryApi.md#repoEditWikiPage) | **PATCH** /repos/{owner}/{repo}/wiki/page/{pageName} | Edit a wiki page | +| [**repoGet**](RepositoryApi.md#repoGet) | **GET** /repos/{owner}/{repo} | Get a repository | +| [**repoGetAllCommits**](RepositoryApi.md#repoGetAllCommits) | **GET** /repos/{owner}/{repo}/commits | Get a list of all commits from a repository | +| [**repoGetArchive**](RepositoryApi.md#repoGetArchive) | **GET** /repos/{owner}/{repo}/archive/{archive} | Get an archive of a repository | +| [**repoGetAssignees**](RepositoryApi.md#repoGetAssignees) | **GET** /repos/{owner}/{repo}/assignees | Return all users that have write access and can be assigned to issues | +| [**repoGetBranch**](RepositoryApi.md#repoGetBranch) | **GET** /repos/{owner}/{repo}/branches/{branch} | Retrieve a specific branch from a repository, including its effective branch protection | +| [**repoGetBranchProtection**](RepositoryApi.md#repoGetBranchProtection) | **GET** /repos/{owner}/{repo}/branch_protections/{name} | Get a specific branch protection for the repository | +| [**repoGetByID**](RepositoryApi.md#repoGetByID) | **GET** /repositories/{id} | Get a repository by id | +| [**repoGetCombinedStatusByRef**](RepositoryApi.md#repoGetCombinedStatusByRef) | **GET** /repos/{owner}/{repo}/commits/{ref}/status | Get a commit's combined status, by branch/tag/commit reference | +| [**repoGetContents**](RepositoryApi.md#repoGetContents) | **GET** /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 dir | +| [**repoGetContentsList**](RepositoryApi.md#repoGetContentsList) | **GET** /repos/{owner}/{repo}/contents | Gets the metadata of all the entries of the root dir | +| [**repoGetEditorConfig**](RepositoryApi.md#repoGetEditorConfig) | **GET** /repos/{owner}/{repo}/editorconfig/{filepath} | Get the EditorConfig definitions of a file in a repository | +| [**repoGetGitHook**](RepositoryApi.md#repoGetGitHook) | **GET** /repos/{owner}/{repo}/hooks/git/{id} | Get a Git hook | +| [**repoGetHook**](RepositoryApi.md#repoGetHook) | **GET** /repos/{owner}/{repo}/hooks/{id} | Get a hook | +| [**repoGetIssueConfig**](RepositoryApi.md#repoGetIssueConfig) | **GET** /repos/{owner}/{repo}/issue_config | Returns the issue config for a repo | +| [**repoGetIssueTemplates**](RepositoryApi.md#repoGetIssueTemplates) | **GET** /repos/{owner}/{repo}/issue_templates | Get available issue templates for a repository | +| [**repoGetKey**](RepositoryApi.md#repoGetKey) | **GET** /repos/{owner}/{repo}/keys/{id} | Get a repository's key by id | +| [**repoGetLanguages**](RepositoryApi.md#repoGetLanguages) | **GET** /repos/{owner}/{repo}/languages | Get languages and number of bytes of code written | +| [**repoGetLatestRelease**](RepositoryApi.md#repoGetLatestRelease) | **GET** /repos/{owner}/{repo}/releases/latest | Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at | +| [**repoGetNote**](RepositoryApi.md#repoGetNote) | **GET** /repos/{owner}/{repo}/git/notes/{sha} | Get a note corresponding to a single commit from a repository | +| [**repoGetPullRequest**](RepositoryApi.md#repoGetPullRequest) | **GET** /repos/{owner}/{repo}/pulls/{index} | Get a pull request | +| [**repoGetPullRequestCommits**](RepositoryApi.md#repoGetPullRequestCommits) | **GET** /repos/{owner}/{repo}/pulls/{index}/commits | Get commits for a pull request | +| [**repoGetPullRequestFiles**](RepositoryApi.md#repoGetPullRequestFiles) | **GET** /repos/{owner}/{repo}/pulls/{index}/files | Get changed files for a pull request | +| [**repoGetPullReview**](RepositoryApi.md#repoGetPullReview) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Get a specific review for a pull request | +| [**repoGetPullReviewComments**](RepositoryApi.md#repoGetPullReviewComments) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments | Get a specific review for a pull request | +| [**repoGetPushMirrorByRemoteName**](RepositoryApi.md#repoGetPushMirrorByRemoteName) | **GET** /repos/{owner}/{repo}/push_mirrors/{name} | Get push mirror of the repository by remoteName | +| [**repoGetRawFile**](RepositoryApi.md#repoGetRawFile) | **GET** /repos/{owner}/{repo}/raw/{filepath} | Get a file from a repository | +| [**repoGetRawFileOrLFS**](RepositoryApi.md#repoGetRawFileOrLFS) | **GET** /repos/{owner}/{repo}/media/{filepath} | Get a file or it's LFS object from a repository | +| [**repoGetRelease**](RepositoryApi.md#repoGetRelease) | **GET** /repos/{owner}/{repo}/releases/{id} | Get a release | +| [**repoGetReleaseAttachment**](RepositoryApi.md#repoGetReleaseAttachment) | **GET** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Get a release attachment | +| [**repoGetReleaseByTag**](RepositoryApi.md#repoGetReleaseByTag) | **GET** /repos/{owner}/{repo}/releases/tags/{tag} | Get a release by tag name | +| [**repoGetRepoPermissions**](RepositoryApi.md#repoGetRepoPermissions) | **GET** /repos/{owner}/{repo}/collaborators/{collaborator}/permission | Get repository permissions for a user | +| [**repoGetReviewers**](RepositoryApi.md#repoGetReviewers) | **GET** /repos/{owner}/{repo}/reviewers | Return all users that can be requested to review in this repo | +| [**repoGetSingleCommit**](RepositoryApi.md#repoGetSingleCommit) | **GET** /repos/{owner}/{repo}/git/commits/{sha} | Get a single commit from a repository | +| [**repoGetTag**](RepositoryApi.md#repoGetTag) | **GET** /repos/{owner}/{repo}/tags/{tag} | Get the tag of a repository by tag name | +| [**repoGetWikiPage**](RepositoryApi.md#repoGetWikiPage) | **GET** /repos/{owner}/{repo}/wiki/page/{pageName} | Get a wiki page | +| [**repoGetWikiPageRevisions**](RepositoryApi.md#repoGetWikiPageRevisions) | **GET** /repos/{owner}/{repo}/wiki/revisions/{pageName} | Get revisions of a wiki page | +| [**repoGetWikiPages**](RepositoryApi.md#repoGetWikiPages) | **GET** /repos/{owner}/{repo}/wiki/pages | Get all wiki pages | +| [**repoListActivityFeeds**](RepositoryApi.md#repoListActivityFeeds) | **GET** /repos/{owner}/{repo}/activities/feeds | List a repository's activity feeds | +| [**repoListAllGitRefs**](RepositoryApi.md#repoListAllGitRefs) | **GET** /repos/{owner}/{repo}/git/refs | Get specified ref or filtered repository's refs | +| [**repoListBranchProtection**](RepositoryApi.md#repoListBranchProtection) | **GET** /repos/{owner}/{repo}/branch_protections | List branch protections for a repository | +| [**repoListBranches**](RepositoryApi.md#repoListBranches) | **GET** /repos/{owner}/{repo}/branches | List a repository's branches | +| [**repoListCollaborators**](RepositoryApi.md#repoListCollaborators) | **GET** /repos/{owner}/{repo}/collaborators | List a repository's collaborators | +| [**repoListGitHooks**](RepositoryApi.md#repoListGitHooks) | **GET** /repos/{owner}/{repo}/hooks/git | List the Git hooks in a repository | +| [**repoListGitRefs**](RepositoryApi.md#repoListGitRefs) | **GET** /repos/{owner}/{repo}/git/refs/{ref} | Get specified ref or filtered repository's refs | +| [**repoListHooks**](RepositoryApi.md#repoListHooks) | **GET** /repos/{owner}/{repo}/hooks | List the hooks in a repository | +| [**repoListKeys**](RepositoryApi.md#repoListKeys) | **GET** /repos/{owner}/{repo}/keys | List a repository's keys | +| [**repoListPinnedIssues**](RepositoryApi.md#repoListPinnedIssues) | **GET** /repos/{owner}/{repo}/issues/pinned | List a repo's pinned issues | +| [**repoListPinnedPullRequests**](RepositoryApi.md#repoListPinnedPullRequests) | **GET** /repos/{owner}/{repo}/pulls/pinned | List a repo's pinned pull requests | +| [**repoListPullRequests**](RepositoryApi.md#repoListPullRequests) | **GET** /repos/{owner}/{repo}/pulls | List a repo's pull requests | +| [**repoListPullReviews**](RepositoryApi.md#repoListPullReviews) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews | List all reviews for a pull request | +| [**repoListPushMirrors**](RepositoryApi.md#repoListPushMirrors) | **GET** /repos/{owner}/{repo}/push_mirrors | Get all push mirrors of the repository | +| [**repoListReleaseAttachments**](RepositoryApi.md#repoListReleaseAttachments) | **GET** /repos/{owner}/{repo}/releases/{id}/assets | List release's attachments | +| [**repoListReleases**](RepositoryApi.md#repoListReleases) | **GET** /repos/{owner}/{repo}/releases | List a repo's releases | +| [**repoListStargazers**](RepositoryApi.md#repoListStargazers) | **GET** /repos/{owner}/{repo}/stargazers | List a repo's stargazers | +| [**repoListStatuses**](RepositoryApi.md#repoListStatuses) | **GET** /repos/{owner}/{repo}/statuses/{sha} | Get a commit's statuses | +| [**repoListStatusesByRef**](RepositoryApi.md#repoListStatusesByRef) | **GET** /repos/{owner}/{repo}/commits/{ref}/statuses | Get a commit's statuses, by branch/tag/commit reference | +| [**repoListSubscribers**](RepositoryApi.md#repoListSubscribers) | **GET** /repos/{owner}/{repo}/subscribers | List a repo's watchers | +| [**repoListTags**](RepositoryApi.md#repoListTags) | **GET** /repos/{owner}/{repo}/tags | List a repository's tags | +| [**repoListTeams**](RepositoryApi.md#repoListTeams) | **GET** /repos/{owner}/{repo}/teams | List a repository's teams | +| [**repoListTopics**](RepositoryApi.md#repoListTopics) | **GET** /repos/{owner}/{repo}/topics | Get list of topics that a repository has | +| [**repoMergePullRequest**](RepositoryApi.md#repoMergePullRequest) | **POST** /repos/{owner}/{repo}/pulls/{index}/merge | Merge a pull request | +| [**repoMigrate**](RepositoryApi.md#repoMigrate) | **POST** /repos/migrate | Migrate a remote git repository | +| [**repoMirrorSync**](RepositoryApi.md#repoMirrorSync) | **POST** /repos/{owner}/{repo}/mirror-sync | Sync a mirrored repository | +| [**repoNewPinAllowed**](RepositoryApi.md#repoNewPinAllowed) | **GET** /repos/{owner}/{repo}/new_pin_allowed | Returns if new Issue Pins are allowed | +| [**repoPullRequestIsMerged**](RepositoryApi.md#repoPullRequestIsMerged) | **GET** /repos/{owner}/{repo}/pulls/{index}/merge | Check if a pull request has been merged | +| [**repoPushMirrorSync**](RepositoryApi.md#repoPushMirrorSync) | **POST** /repos/{owner}/{repo}/push_mirrors-sync | Sync all push mirrored repository | +| [**repoSearch**](RepositoryApi.md#repoSearch) | **GET** /repos/search | Search for repositories | +| [**repoSigningKey**](RepositoryApi.md#repoSigningKey) | **GET** /repos/{owner}/{repo}/signing-key.gpg | Get signing-key.gpg for given repository | +| [**repoSubmitPullReview**](RepositoryApi.md#repoSubmitPullReview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Submit a pending review to an pull request | +| [**repoTestHook**](RepositoryApi.md#repoTestHook) | **POST** /repos/{owner}/{repo}/hooks/{id}/tests | Test a push webhook | +| [**repoTrackedTimes**](RepositoryApi.md#repoTrackedTimes) | **GET** /repos/{owner}/{repo}/times | List a repo's tracked times | +| [**repoTransfer**](RepositoryApi.md#repoTransfer) | **POST** /repos/{owner}/{repo}/transfer | Transfer a repo ownership | +| [**repoUnDismissPullReview**](RepositoryApi.md#repoUnDismissPullReview) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/undismissals | Cancel to dismiss a review for a pull request | +| [**repoUpdateFile**](RepositoryApi.md#repoUpdateFile) | **PUT** /repos/{owner}/{repo}/contents/{filepath} | Update a file in a repository | +| [**repoUpdatePullRequest**](RepositoryApi.md#repoUpdatePullRequest) | **POST** /repos/{owner}/{repo}/pulls/{index}/update | Merge PR's baseBranch into headBranch | +| [**repoUpdateTopics**](RepositoryApi.md#repoUpdateTopics) | **PUT** /repos/{owner}/{repo}/topics | Replace list of topics for a repository | +| [**repoValidateIssueConfig**](RepositoryApi.md#repoValidateIssueConfig) | **GET** /repos/{owner}/{repo}/issue_config/validate | Returns the validation information for a issue config | +| [**topicSearch**](RepositoryApi.md#topicSearch) | **GET** /topics/search | search topics via keyword | +| [**userCurrentCheckSubscription**](RepositoryApi.md#userCurrentCheckSubscription) | **GET** /repos/{owner}/{repo}/subscription | Check if the current user is watching a repo | +| [**userCurrentDeleteSubscription**](RepositoryApi.md#userCurrentDeleteSubscription) | **DELETE** /repos/{owner}/{repo}/subscription | Unwatch a repo | +| [**userCurrentPutSubscription**](RepositoryApi.md#userCurrentPutSubscription) | **PUT** /repos/{owner}/{repo}/subscription | Watch a repo | +| [**userTrackedTimes**](RepositoryApi.md#userTrackedTimes) | **GET** /repos/{owner}/{repo}/times/{user} | List a user's tracked times in a repo | + + + +# **acceptRepoTransfer** +> Repository acceptRepoTransfer(owner, repo) + +Accept a repo transfer + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to transfer | [default to null] | +| **repo** | **String**| name of the repo to transfer | [default to null] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **createCurrentUserRepo** +> Repository createCurrentUserRepo(body) + +Create a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**CreateRepoOption**](../models/CreateRepoOption.md)| | [optional] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **createFork** +> Repository createFork(owner, repo, body) + +Fork a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to fork | [default to null] | +| **repo** | **String**| name of the repo to fork | [default to null] | +| **body** | [**CreateForkOption**](../models/CreateForkOption.md)| | [optional] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **generateRepo** +> Repository generateRepo(template\_owner, template\_repo, body) + +Create a repository using a template + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **template\_owner** | **String**| name of the template repository owner | [default to null] | +| **template\_repo** | **String**| name of the template repository | [default to null] | +| **body** | [**GenerateRepoOption**](../models/GenerateRepoOption.md)| | [optional] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **getAnnotatedTag** +> AnnotatedTag getAnnotatedTag(owner, repo, sha) + +Gets the tag object of an annotated tag (not lightweight tags) + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **sha** | **String**| sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. | [default to null] | + +### Return type + +[**AnnotatedTag**](../models/AnnotatedTag.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getBlob** +> GitBlobResponse getBlob(owner, repo, sha) + +Gets the blob of a repository. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **sha** | **String**| sha of the commit | [default to null] | + +### Return type + +[**GitBlobResponse**](../models/GitBlobResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getTree** +> GitTreeResponse getTree(owner, repo, sha, recursive, page, per\_page) + +Gets the tree of a repository. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **sha** | **String**| sha of the commit | [default to null] | +| **recursive** | **Boolean**| show all directories and files | [optional] [default to null] | +| **page** | **Integer**| page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page | [optional] [default to null] | +| **per\_page** | **Integer**| number of items per page | [optional] [default to null] | + +### Return type + +[**GitTreeResponse**](../models/GitTreeResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **listForks** +> List listForks(owner, repo, page, limit) + +List a repository's forks + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **rejectRepoTransfer** +> Repository rejectRepoTransfer(owner, repo) + +Reject a repo transfer + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to transfer | [default to null] | +| **repo** | **String**| name of the repo to transfer | [default to null] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoAddCollaborator** +> repoAddCollaborator(owner, repo, collaborator, body) + +Add a collaborator to a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **collaborator** | **String**| username of the collaborator to add | [default to null] | +| **body** | [**AddCollaboratorOption**](../models/AddCollaboratorOption.md)| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: Not defined + + +# **repoAddPushMirror** +> PushMirror repoAddPushMirror(owner, repo, body) + +add a push mirror to the repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreatePushMirrorOption**](../models/CreatePushMirrorOption.md)| | [optional] | + +### Return type + +[**PushMirror**](../models/PushMirror.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoAddTeam** +> repoAddTeam(owner, repo, team) + +Add a team to a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **team** | **String**| team name | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoAddTopic** +> repoAddTopic(owner, repo, topic) + +Add a topic to a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **topic** | **String**| name of the topic to add | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoApplyDiffPatch** +> FileResponse repoApplyDiffPatch(owner, repo, body) + +Apply diff patch to repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**UpdateFileOptions**](../models/UpdateFileOptions.md)| | | + +### Return type + +[**FileResponse**](../models/FileResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoCancelScheduledAutoMerge** +> repoCancelScheduledAutoMerge(owner, repo, index) + +Cancel the scheduled auto merge for the given pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request to merge | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoChangeFiles** +> FilesResponse repoChangeFiles(owner, repo, body) + +Modify multiple files in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**ChangeFilesOptions**](../models/ChangeFilesOptions.md)| | | + +### Return type + +[**FilesResponse**](../models/FilesResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoCheckCollaborator** +> repoCheckCollaborator(owner, repo, collaborator) + +Check if a user is a collaborator of a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **collaborator** | **String**| username of the collaborator | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoCheckTeam** +> Team repoCheckTeam(owner, repo, team) + +Check if a team is assigned to a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **team** | **String**| team name | [default to null] | + +### Return type + +[**Team**](../models/Team.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoCreateBranch** +> Branch repoCreateBranch(owner, repo, body) + +Create a branch + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateBranchRepoOption**](../models/CreateBranchRepoOption.md)| | [optional] | + +### Return type + +[**Branch**](../models/Branch.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoCreateBranchProtection** +> BranchProtection repoCreateBranchProtection(owner, repo, body) + +Create a branch protections for a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateBranchProtectionOption**](../models/CreateBranchProtectionOption.md)| | [optional] | + +### Return type + +[**BranchProtection**](../models/BranchProtection.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoCreateFile** +> FileResponse repoCreateFile(owner, repo, filepath, body) + +Create a file in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **filepath** | **String**| path of the file to create | [default to null] | +| **body** | [**CreateFileOptions**](../models/CreateFileOptions.md)| | | + +### Return type + +[**FileResponse**](../models/FileResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoCreateHook** +> Hook repoCreateHook(owner, repo, body) + +Create a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateHookOption**](../models/CreateHookOption.md)| | [optional] | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoCreateKey** +> DeployKey repoCreateKey(owner, repo, body) + +Add a key to a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateKeyOption**](../models/CreateKeyOption.md)| | [optional] | + +### Return type + +[**DeployKey**](../models/DeployKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoCreatePullRequest** +> PullRequest repoCreatePullRequest(owner, repo, body) + +Create a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreatePullRequestOption**](../models/CreatePullRequestOption.md)| | [optional] | + +### Return type + +[**PullRequest**](../models/PullRequest.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoCreatePullReview** +> PullReview repoCreatePullReview(owner, repo, index, body) + +Create a review to an pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **body** | [**CreatePullReviewOptions**](../models/CreatePullReviewOptions.md)| | | + +### Return type + +[**PullReview**](../models/PullReview.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoCreatePullReviewRequests** +> List repoCreatePullReviewRequests(owner, repo, index, body) + +create review requests for a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **body** | [**PullReviewRequestOptions**](../models/PullReviewRequestOptions.md)| | | + +### Return type + +[**List**](../models/PullReview.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoCreateRelease** +> Release repoCreateRelease(owner, repo, body) + +Create a release + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateReleaseOption**](../models/CreateReleaseOption.md)| | [optional] | + +### Return type + +[**Release**](../models/Release.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoCreateReleaseAttachment** +> Attachment repoCreateReleaseAttachment(owner, repo, id, attachment, name) + +Create a release attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the release | [default to null] | +| **attachment** | **File**| attachment to upload | [default to null] | +| **name** | **String**| name of the attachment | [optional] [default to null] | + +### Return type + +[**Attachment**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: multipart/form-data +- **Accept**: application/json + + +# **repoCreateStatus** +> CommitStatus repoCreateStatus(owner, repo, sha, body) + +Create a commit status + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **sha** | **String**| sha of the commit | [default to null] | +| **body** | [**CreateStatusOption**](../models/CreateStatusOption.md)| | [optional] | + +### Return type + +[**CommitStatus**](../models/CommitStatus.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoCreateTag** +> Tag repoCreateTag(owner, repo, body) + +Create a new git tag in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateTagOption**](../models/CreateTagOption.md)| | [optional] | + +### Return type + +[**Tag**](../models/Tag.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoCreateWikiPage** +> WikiPage repoCreateWikiPage(owner, repo, body) + +Create a wiki page + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**CreateWikiPageOptions**](../models/CreateWikiPageOptions.md)| | [optional] | + +### Return type + +[**WikiPage**](../models/WikiPage.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json, text/html + + +# **repoDelete** +> repoDelete(owner, repo) + +Delete a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to delete | [default to null] | +| **repo** | **String**| name of the repo to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteBranch** +> repoDeleteBranch(owner, repo, branch) + +Delete a specific branch from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **branch** | **String**| branch to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteBranchProtection** +> repoDeleteBranchProtection(owner, repo, name) + +Delete a specific branch protection for the repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **name** | **String**| name of protected branch | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteCollaborator** +> repoDeleteCollaborator(owner, repo, collaborator) + +Delete a collaborator from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **collaborator** | **String**| username of the collaborator to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteFile** +> FileDeleteResponse repoDeleteFile(owner, repo, filepath, body) + +Delete a file in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **filepath** | **String**| path of the file to delete | [default to null] | +| **body** | [**DeleteFileOptions**](../models/DeleteFileOptions.md)| | | + +### Return type + +[**FileDeleteResponse**](../models/FileDeleteResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoDeleteGitHook** +> repoDeleteGitHook(owner, repo, id) + +Delete a Git hook in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **String**| id of the hook to get | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteHook** +> repoDeleteHook(owner, repo, id) + +Delete a hook in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the hook to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteKey** +> repoDeleteKey(owner, repo, id) + +Delete a key from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the key to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeletePullReview** +> repoDeletePullReview(owner, repo, index, id) + +Delete a specific review from a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **id** | **Long**| id of the review | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeletePullReviewRequests** +> repoDeletePullReviewRequests(owner, repo, index, body) + +cancel review requests for a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **body** | [**PullReviewRequestOptions**](../models/PullReviewRequestOptions.md)| | | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: Not defined + + +# **repoDeletePushMirror** +> repoDeletePushMirror(owner, repo, name) + +deletes a push mirror from a repository by remoteName + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **name** | **String**| remote name of the pushMirror | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteRelease** +> repoDeleteRelease(owner, repo, id) + +Delete a release + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the release to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteReleaseAttachment** +> repoDeleteReleaseAttachment(owner, repo, id, attachment\_id) + +Delete a release attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the release | [default to null] | +| **attachment\_id** | **Long**| id of the attachment to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteReleaseByTag** +> repoDeleteReleaseByTag(owner, repo, tag) + +Delete a release by tag name + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **tag** | **String**| tag name of the release to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteTag** +> repoDeleteTag(owner, repo, tag) + +Delete a repository's tag by name + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **tag** | **String**| name of tag to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteTeam** +> repoDeleteTeam(owner, repo, team) + +Delete a team from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **team** | **String**| team name | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteTopic** +> repoDeleteTopic(owner, repo, topic) + +Delete a topic from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **topic** | **String**| name of the topic to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDeleteWikiPage** +> repoDeleteWikiPage(owner, repo, pageName) + +Delete a wiki page + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **pageName** | **String**| name of the page | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoDismissPullReview** +> PullReview repoDismissPullReview(owner, repo, index, id, body) + +Dismiss a review for a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **id** | **Long**| id of the review | [default to null] | +| **body** | [**DismissPullReviewOptions**](../models/DismissPullReviewOptions.md)| | | + +### Return type + +[**PullReview**](../models/PullReview.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoDownloadCommitDiffOrPatch** +> String repoDownloadCommitDiffOrPatch(owner, repo, sha, diffType) + +Get a commit's diff or patch + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **sha** | **String**| SHA of the commit to get | [default to null] | +| **diffType** | **String**| whether the output is diff or patch | [default to null] [enum: diff, patch] | + +### Return type + +**String** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain + + +# **repoDownloadPullDiffOrPatch** +> String repoDownloadPullDiffOrPatch(owner, repo, index, diffType, binary) + +Get a pull request diff or patch + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request to get | [default to null] | +| **diffType** | **String**| whether the output is diff or patch | [default to null] [enum: diff, patch] | +| **binary** | **Boolean**| whether to include binary file changes. if true, the diff is applicable with `git apply` | [optional] [default to null] | + +### Return type + +**String** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain + + +# **repoEdit** +> Repository repoEdit(owner, repo, body) + +Edit a repository's properties. Only fields that are set will be changed. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to edit | [default to null] | +| **repo** | **String**| name of the repo to edit | [default to null] | +| **body** | [**EditRepoOption**](../models/EditRepoOption.md)| Properties of a repo that you can edit | [optional] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoEditBranchProtection** +> BranchProtection repoEditBranchProtection(owner, repo, name, body) + +Edit a branch protections for a repository. Only fields that are set will be changed + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **name** | **String**| name of protected branch | [default to null] | +| **body** | [**EditBranchProtectionOption**](../models/EditBranchProtectionOption.md)| | [optional] | + +### Return type + +[**BranchProtection**](../models/BranchProtection.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoEditGitHook** +> GitHook repoEditGitHook(owner, repo, id, body) + +Edit a Git hook in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **String**| id of the hook to get | [default to null] | +| **body** | [**EditGitHookOption**](../models/EditGitHookOption.md)| | [optional] | + +### Return type + +[**GitHook**](../models/GitHook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoEditHook** +> Hook repoEditHook(owner, repo, id, body) + +Edit a hook in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| index of the hook | [default to null] | +| **body** | [**EditHookOption**](../models/EditHookOption.md)| | [optional] | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoEditPullRequest** +> PullRequest repoEditPullRequest(owner, repo, index, body) + +Update a pull request. If using deadline only the date will be taken into account, and time of day ignored. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request to edit | [default to null] | +| **body** | [**EditPullRequestOption**](../models/EditPullRequestOption.md)| | [optional] | + +### Return type + +[**PullRequest**](../models/PullRequest.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoEditRelease** +> Release repoEditRelease(owner, repo, id, body) + +Update a release + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the release to edit | [default to null] | +| **body** | [**EditReleaseOption**](../models/EditReleaseOption.md)| | [optional] | + +### Return type + +[**Release**](../models/Release.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoEditReleaseAttachment** +> Attachment repoEditReleaseAttachment(owner, repo, id, attachment\_id, body) + +Edit a release attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the release | [default to null] | +| **attachment\_id** | **Long**| id of the attachment to edit | [default to null] | +| **body** | [**EditAttachmentOptions**](../models/EditAttachmentOptions.md)| | [optional] | + +### Return type + +[**Attachment**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoEditWikiPage** +> WikiPage repoEditWikiPage(owner, repo, pageName, body) + +Edit a wiki page + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **pageName** | **String**| name of the page | [default to null] | +| **body** | [**CreateWikiPageOptions**](../models/CreateWikiPageOptions.md)| | [optional] | + +### Return type + +[**WikiPage**](../models/WikiPage.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json, text/html + + +# **repoGet** +> Repository repoGet(owner, repo) + +Get a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetAllCommits** +> List repoGetAllCommits(owner, repo, sha, path, stat, verification, files, page, limit, not) + +Get a list of all commits from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **sha** | **String**| SHA or branch to start listing commits from (usually 'master') | [optional] [default to null] | +| **path** | **String**| filepath of a file/dir | [optional] [default to null] | +| **stat** | **Boolean**| include diff stats for every commit (disable for speedup, default 'true') | [optional] [default to null] | +| **verification** | **Boolean**| include verification for every commit (disable for speedup, default 'true') | [optional] [default to null] | +| **files** | **Boolean**| include a list of affected files for every commit (disable for speedup, default 'true') | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results (ignored if used with 'path') | [optional] [default to null] | +| **not** | **String**| commits that match the given specifier will not be listed. | [optional] [default to null] | + +### Return type + +[**List**](../models/Commit.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetArchive** +> repoGetArchive(owner, repo, archive) + +Get an archive of a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **archive** | **String**| the git reference for download with attached archive format (e.g. master.zip) | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoGetAssignees** +> List repoGetAssignees(owner, repo) + +Return all users that have write access and can be assigned to issues + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetBranch** +> Branch repoGetBranch(owner, repo, branch) + +Retrieve a specific branch from a repository, including its effective branch protection + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **branch** | **String**| branch to get | [default to null] | + +### Return type + +[**Branch**](../models/Branch.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetBranchProtection** +> BranchProtection repoGetBranchProtection(owner, repo, name) + +Get a specific branch protection for the repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **name** | **String**| name of protected branch | [default to null] | + +### Return type + +[**BranchProtection**](../models/BranchProtection.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetByID** +> Repository repoGetByID(id) + +Get a repository by id + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the repo to get | [default to null] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetCombinedStatusByRef** +> CombinedStatus repoGetCombinedStatusByRef(owner, repo, ref, page, limit) + +Get a commit's combined status, by branch/tag/commit reference + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **ref** | **String**| name of branch/tag/commit | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**CombinedStatus**](../models/CombinedStatus.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetContents** +> ContentsResponse repoGetContents(owner, repo, filepath, ref) + +Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **filepath** | **String**| path of the dir, file, symlink or submodule in the repo | [default to null] | +| **ref** | **String**| The name of the commit/branch/tag. Default the repository’s default branch (usually master) | [optional] [default to null] | + +### Return type + +[**ContentsResponse**](../models/ContentsResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetContentsList** +> List repoGetContentsList(owner, repo, ref) + +Gets the metadata of all the entries of the root dir + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **ref** | **String**| The name of the commit/branch/tag. Default the repository’s default branch (usually master) | [optional] [default to null] | + +### Return type + +[**List**](../models/ContentsResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetEditorConfig** +> repoGetEditorConfig(owner, repo, filepath, ref) + +Get the EditorConfig definitions of a file in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **filepath** | **String**| filepath of file to get | [default to null] | +| **ref** | **String**| The name of the commit/branch/tag. Default the repository’s default branch (usually master) | [optional] [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoGetGitHook** +> GitHook repoGetGitHook(owner, repo, id) + +Get a Git hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **String**| id of the hook to get | [default to null] | + +### Return type + +[**GitHook**](../models/GitHook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetHook** +> Hook repoGetHook(owner, repo, id) + +Get a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the hook to get | [default to null] | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetIssueConfig** +> IssueConfig repoGetIssueConfig(owner, repo) + +Returns the issue config for a repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**IssueConfig**](../models/IssueConfig.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetIssueTemplates** +> List repoGetIssueTemplates(owner, repo) + +Get available issue templates for a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**List**](../models/IssueTemplate.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetKey** +> DeployKey repoGetKey(owner, repo, id) + +Get a repository's key by id + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the key to get | [default to null] | + +### Return type + +[**DeployKey**](../models/DeployKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetLanguages** +> Map repoGetLanguages(owner, repo) + +Get languages and number of bytes of code written + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +**Map** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetLatestRelease** +> Release repoGetLatestRelease(owner, repo) + +Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**Release**](../models/Release.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetNote** +> Note repoGetNote(owner, repo, sha) + +Get a note corresponding to a single commit from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **sha** | **String**| a git ref or commit sha | [default to null] | + +### Return type + +[**Note**](../models/Note.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetPullRequest** +> PullRequest repoGetPullRequest(owner, repo, index) + +Get a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request to get | [default to null] | + +### Return type + +[**PullRequest**](../models/PullRequest.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetPullRequestCommits** +> List repoGetPullRequestCommits(owner, repo, index, page, limit) + +Get commits for a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request to get | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Commit.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetPullRequestFiles** +> List repoGetPullRequestFiles(owner, repo, index, skip-to, whitespace, page, limit) + +Get changed files for a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request to get | [default to null] | +| **skip-to** | **String**| skip to given file | [optional] [default to null] | +| **whitespace** | **String**| whitespace behavior | [optional] [default to null] [enum: ignore-all, ignore-change, ignore-eol, show-all] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/ChangedFile.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetPullReview** +> PullReview repoGetPullReview(owner, repo, index, id) + +Get a specific review for a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **id** | **Long**| id of the review | [default to null] | + +### Return type + +[**PullReview**](../models/PullReview.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetPullReviewComments** +> List repoGetPullReviewComments(owner, repo, index, id) + +Get a specific review for a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **id** | **Long**| id of the review | [default to null] | + +### Return type + +[**List**](../models/PullReviewComment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetPushMirrorByRemoteName** +> PushMirror repoGetPushMirrorByRemoteName(owner, repo, name) + +Get push mirror of the repository by remoteName + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **name** | **String**| remote name of push mirror | [default to null] | + +### Return type + +[**PushMirror**](../models/PushMirror.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetRawFile** +> repoGetRawFile(owner, repo, filepath, ref) + +Get a file from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **filepath** | **String**| filepath of the file to get | [default to null] | +| **ref** | **String**| The name of the commit/branch/tag. Default the repository’s default branch (usually master) | [optional] [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoGetRawFileOrLFS** +> repoGetRawFileOrLFS(owner, repo, filepath, ref) + +Get a file or it's LFS object from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **filepath** | **String**| filepath of the file to get | [default to null] | +| **ref** | **String**| The name of the commit/branch/tag. Default the repository’s default branch (usually master) | [optional] [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoGetRelease** +> Release repoGetRelease(owner, repo, id) + +Get a release + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the release to get | [default to null] | + +### Return type + +[**Release**](../models/Release.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetReleaseAttachment** +> Attachment repoGetReleaseAttachment(owner, repo, id, attachment\_id) + +Get a release attachment + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the release | [default to null] | +| **attachment\_id** | **Long**| id of the attachment to get | [default to null] | + +### Return type + +[**Attachment**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetReleaseByTag** +> Release repoGetReleaseByTag(owner, repo, tag) + +Get a release by tag name + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **tag** | **String**| tag name of the release to get | [default to null] | + +### Return type + +[**Release**](../models/Release.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetRepoPermissions** +> RepoCollaboratorPermission repoGetRepoPermissions(owner, repo, collaborator) + +Get repository permissions for a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **collaborator** | **String**| username of the collaborator | [default to null] | + +### Return type + +[**RepoCollaboratorPermission**](../models/RepoCollaboratorPermission.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetReviewers** +> List repoGetReviewers(owner, repo) + +Return all users that can be requested to review in this repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetSingleCommit** +> Commit repoGetSingleCommit(owner, repo, sha, stat, verification, files) + +Get a single commit from a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **sha** | **String**| a git ref or commit sha | [default to null] | +| **stat** | **Boolean**| include diff stats for every commit (disable for speedup, default 'true') | [optional] [default to null] | +| **verification** | **Boolean**| include verification for every commit (disable for speedup, default 'true') | [optional] [default to null] | +| **files** | **Boolean**| include a list of affected files for every commit (disable for speedup, default 'true') | [optional] [default to null] | + +### Return type + +[**Commit**](../models/Commit.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetTag** +> Tag repoGetTag(owner, repo, tag) + +Get the tag of a repository by tag name + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **tag** | **String**| name of tag | [default to null] | + +### Return type + +[**Tag**](../models/Tag.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetWikiPage** +> WikiPage repoGetWikiPage(owner, repo, pageName) + +Get a wiki page + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **pageName** | **String**| name of the page | [default to null] | + +### Return type + +[**WikiPage**](../models/WikiPage.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetWikiPageRevisions** +> WikiCommitList repoGetWikiPageRevisions(owner, repo, pageName, page) + +Get revisions of a wiki page + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **pageName** | **String**| name of the page | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | + +### Return type + +[**WikiCommitList**](../models/WikiCommitList.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoGetWikiPages** +> List repoGetWikiPages(owner, repo, page, limit) + +Get all wiki pages + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/WikiPageMetaData.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListActivityFeeds** +> List repoListActivityFeeds(owner, repo, date, page, limit) + +List a repository's activity feeds + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **date** | **date**| the date of the activities to be found | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Activity.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListAllGitRefs** +> List repoListAllGitRefs(owner, repo) + +Get specified ref or filtered repository's refs + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**List**](../models/Reference.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListBranchProtection** +> List repoListBranchProtection(owner, repo) + +List branch protections for a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**List**](../models/BranchProtection.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListBranches** +> List repoListBranches(owner, repo, page, limit) + +List a repository's branches + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Branch.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListCollaborators** +> List repoListCollaborators(owner, repo, page, limit) + +List a repository's collaborators + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListGitHooks** +> List repoListGitHooks(owner, repo) + +List the Git hooks in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**List**](../models/GitHook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListGitRefs** +> List repoListGitRefs(owner, repo, ref) + +Get specified ref or filtered repository's refs + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **ref** | **String**| part or full name of the ref | [default to null] | + +### Return type + +[**List**](../models/Reference.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListHooks** +> List repoListHooks(owner, repo, page, limit) + +List the hooks in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListKeys** +> List repoListKeys(owner, repo, key\_id, fingerprint, page, limit) + +List a repository's keys + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **key\_id** | **Integer**| the key_id to search for | [optional] [default to null] | +| **fingerprint** | **String**| fingerprint of the key | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/DeployKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListPinnedIssues** +> List repoListPinnedIssues(owner, repo) + +List a repo's pinned issues + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**List**](../models/Issue.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListPinnedPullRequests** +> List repoListPinnedPullRequests(owner, repo) + +List a repo's pinned pull requests + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**List**](../models/PullRequest.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListPullRequests** +> List repoListPullRequests(owner, repo, state, sort, milestone, labels, page, limit) + +List a repo's pull requests + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **state** | **String**| State of pull request: open or closed (optional) | [optional] [default to null] [enum: closed, open, all] | +| **sort** | **String**| Type of sort | [optional] [default to null] [enum: oldest, recentupdate, leastupdate, mostcomment, leastcomment, priority] | +| **milestone** | **Long**| ID of the milestone | [optional] [default to null] | +| **labels** | [**List**](../models/Long.md)| Label IDs | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/PullRequest.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListPullReviews** +> List repoListPullReviews(owner, repo, index, page, limit) + +List all reviews for a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/PullReview.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListPushMirrors** +> List repoListPushMirrors(owner, repo, page, limit) + +Get all push mirrors of the repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/PushMirror.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListReleaseAttachments** +> List repoListReleaseAttachments(owner, repo, id) + +List release's attachments + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the release | [default to null] | + +### Return type + +[**List**](../models/Attachment.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListReleases** +> List repoListReleases(owner, repo, draft, pre-release, per\_page, page, limit) + +List a repo's releases + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **draft** | **Boolean**| filter (exclude / include) drafts, if you dont have repo write access none will show | [optional] [default to null] | +| **pre-release** | **Boolean**| filter (exclude / include) pre-releases | [optional] [default to null] | +| **per\_page** | **Integer**| page size of results, deprecated - use limit | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Release.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListStargazers** +> List repoListStargazers(owner, repo, page, limit) + +List a repo's stargazers + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListStatuses** +> List repoListStatuses(owner, repo, sha, sort, state, page, limit) + +Get a commit's statuses + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **sha** | **String**| sha of the commit | [default to null] | +| **sort** | **String**| type of sort | [optional] [default to null] [enum: oldest, recentupdate, leastupdate, leastindex, highestindex] | +| **state** | **String**| type of state | [optional] [default to null] [enum: pending, success, error, failure, warning] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/CommitStatus.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListStatusesByRef** +> List repoListStatusesByRef(owner, repo, ref, sort, state, page, limit) + +Get a commit's statuses, by branch/tag/commit reference + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **ref** | **String**| name of branch/tag/commit | [default to null] | +| **sort** | **String**| type of sort | [optional] [default to null] [enum: oldest, recentupdate, leastupdate, leastindex, highestindex] | +| **state** | **String**| type of state | [optional] [default to null] [enum: pending, success, error, failure, warning] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/CommitStatus.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListSubscribers** +> List repoListSubscribers(owner, repo, page, limit) + +List a repo's watchers + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListTags** +> List repoListTags(owner, repo, page, limit) + +List a repository's tags + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results, default maximum page size is 50 | [optional] [default to null] | + +### Return type + +[**List**](../models/Tag.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListTeams** +> List repoListTeams(owner, repo) + +List a repository's teams + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**List**](../models/Team.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoListTopics** +> TopicName repoListTopics(owner, repo, page, limit) + +Get list of topics that a repository has + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**TopicName**](../models/TopicName.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoMergePullRequest** +> repoMergePullRequest(owner, repo, index, body) + +Merge a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request to merge | [default to null] | +| **body** | [**MergePullRequestOption**](../models/MergePullRequestOption.md)| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: Not defined + + +# **repoMigrate** +> Repository repoMigrate(body) + +Migrate a remote git repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**MigrateRepoOptions**](../models/MigrateRepoOptions.md)| | [optional] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoMirrorSync** +> repoMirrorSync(owner, repo) + +Sync a mirrored repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to sync | [default to null] | +| **repo** | **String**| name of the repo to sync | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoNewPinAllowed** +> NewIssuePinsAllowed repoNewPinAllowed(owner, repo) + +Returns if new Issue Pins are allowed + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**NewIssuePinsAllowed**](../models/NewIssuePinsAllowed.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoPullRequestIsMerged** +> repoPullRequestIsMerged(owner, repo, index) + +Check if a pull request has been merged + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoPushMirrorSync** +> repoPushMirrorSync(owner, repo) + +Sync all push mirrored repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to sync | [default to null] | +| **repo** | **String**| name of the repo to sync | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoSearch** +> SearchResults repoSearch(q, topic, includeDesc, uid, priority\_owner\_id, team\_id, starredBy, private, is\_private, template, archived, mode, exclusive, sort, order, page, limit) + +Search for repositories + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **q** | **String**| keyword | [optional] [default to null] | +| **topic** | **Boolean**| Limit search to repositories with keyword as topic | [optional] [default to null] | +| **includeDesc** | **Boolean**| include search of keyword within repository description | [optional] [default to null] | +| **uid** | **Long**| search only for repos that the user with the given id owns or contributes to | [optional] [default to null] | +| **priority\_owner\_id** | **Long**| repo owner to prioritize in the results | [optional] [default to null] | +| **team\_id** | **Long**| search only for repos that belong to the given team id | [optional] [default to null] | +| **starredBy** | **Long**| search only for repos that the user with the given id has starred | [optional] [default to null] | +| **private** | **Boolean**| include private repositories this user has access to (defaults to true) | [optional] [default to null] | +| **is\_private** | **Boolean**| show only pubic, private or all repositories (defaults to all) | [optional] [default to null] | +| **template** | **Boolean**| include template repositories this user has access to (defaults to true) | [optional] [default to null] | +| **archived** | **Boolean**| show only archived, non-archived or all repositories (defaults to all) | [optional] [default to null] | +| **mode** | **String**| type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" | [optional] [default to null] | +| **exclusive** | **Boolean**| if `uid` is given, search only for repos that the user owns | [optional] [default to null] | +| **sort** | **String**| sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", and \"id\". Default is \"alpha\" | [optional] [default to null] | +| **order** | **String**| sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**SearchResults**](../models/SearchResults.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoSigningKey** +> String repoSigningKey(owner, repo) + +Get signing-key.gpg for given repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +**String** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain + + +# **repoSubmitPullReview** +> PullReview repoSubmitPullReview(owner, repo, index, id, body) + +Submit a pending review to an pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **id** | **Long**| id of the review | [default to null] | +| **body** | [**SubmitPullReviewOptions**](../models/SubmitPullReviewOptions.md)| | | + +### Return type + +[**PullReview**](../models/PullReview.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoTestHook** +> repoTestHook(owner, repo, id, ref) + +Test a push webhook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **id** | **Long**| id of the hook to test | [default to null] | +| **ref** | **String**| The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. | [optional] [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoTrackedTimes** +> List repoTrackedTimes(owner, repo, user, since, before, page, limit) + +List a repo's tracked times + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **user** | **String**| optional filter by user (available for issue managers) | [optional] [default to null] | +| **since** | **Date**| Only show times updated after the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **before** | **Date**| Only show times updated before the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/TrackedTime.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoTransfer** +> Repository repoTransfer(owner, repo, body) + +Transfer a repo ownership + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to transfer | [default to null] | +| **repo** | **String**| name of the repo to transfer | [default to null] | +| **body** | [**TransferRepoOption**](../models/TransferRepoOption.md)| Transfer Options | | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **repoUnDismissPullReview** +> PullReview repoUnDismissPullReview(owner, repo, index, id) + +Cancel to dismiss a review for a pull request + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request | [default to null] | +| **id** | **Long**| id of the review | [default to null] | + +### Return type + +[**PullReview**](../models/PullReview.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **repoUpdateFile** +> FileResponse repoUpdateFile(owner, repo, filepath, body) + +Update a file in a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **filepath** | **String**| path of the file to update | [default to null] | +| **body** | [**UpdateFileOptions**](../models/UpdateFileOptions.md)| | | + +### Return type + +[**FileResponse**](../models/FileResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **repoUpdatePullRequest** +> repoUpdatePullRequest(owner, repo, index, style) + +Merge PR's baseBranch into headBranch + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **index** | **Long**| index of the pull request to get | [default to null] | +| **style** | **String**| how to update pull request | [optional] [default to null] [enum: merge, rebase] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **repoUpdateTopics** +> repoUpdateTopics(owner, repo, body) + +Replace list of topics for a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **body** | [**RepoTopicOptions**](../models/RepoTopicOptions.md)| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: Not defined + + +# **repoValidateIssueConfig** +> IssueConfigValidation repoValidateIssueConfig(owner, repo) + +Returns the validation information for a issue config + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**IssueConfigValidation**](../models/IssueConfigValidation.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **topicSearch** +> List topicSearch(q, page, limit) + +search topics via keyword + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **q** | **String**| keywords to search | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/TopicResponse.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentCheckSubscription** +> WatchInfo userCurrentCheckSubscription(owner, repo) + +Check if the current user is watching a repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**WatchInfo**](../models/WatchInfo.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, text/html + + +# **userCurrentDeleteSubscription** +> userCurrentDeleteSubscription(owner, repo) + +Unwatch a repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCurrentPutSubscription** +> WatchInfo userCurrentPutSubscription(owner, repo) + +Watch a repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +[**WatchInfo**](../models/WatchInfo.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json, text/html + + +# **userTrackedTimes** +> List userTrackedTimes(owner, repo, user) + +List a user's tracked times in a repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | +| **user** | **String**| username of user | [default to null] | + +### Return type + +[**List**](../models/TrackedTime.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + diff --git a/docs/client/SettingsApi.md b/docs/client/SettingsApi.md new file mode 100644 index 0000000..46ef4ba --- /dev/null +++ b/docs/client/SettingsApi.md @@ -0,0 +1,100 @@ +# SettingsApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getGeneralAPISettings**](SettingsApi.md#getGeneralAPISettings) | **GET** /settings/api | Get instance's global settings for api | +| [**getGeneralAttachmentSettings**](SettingsApi.md#getGeneralAttachmentSettings) | **GET** /settings/attachment | Get instance's global settings for Attachment | +| [**getGeneralRepositorySettings**](SettingsApi.md#getGeneralRepositorySettings) | **GET** /settings/repository | Get instance's global settings for repositories | +| [**getGeneralUISettings**](SettingsApi.md#getGeneralUISettings) | **GET** /settings/ui | Get instance's global settings for ui | + + + +# **getGeneralAPISettings** +> GeneralAPISettings getGeneralAPISettings() + +Get instance's global settings for api + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GeneralAPISettings**](../models/GeneralAPISettings.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getGeneralAttachmentSettings** +> GeneralAttachmentSettings getGeneralAttachmentSettings() + +Get instance's global settings for Attachment + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GeneralAttachmentSettings**](../models/GeneralAttachmentSettings.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getGeneralRepositorySettings** +> GeneralRepoSettings getGeneralRepositorySettings() + +Get instance's global settings for repositories + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GeneralRepoSettings**](../models/GeneralRepoSettings.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getGeneralUISettings** +> GeneralUISettings getGeneralUISettings() + +Get instance's global settings for ui + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GeneralUISettings**](../models/GeneralUISettings.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + diff --git a/docs/client/UserApi.md b/docs/client/UserApi.md new file mode 100644 index 0000000..234c6ff --- /dev/null +++ b/docs/client/UserApi.md @@ -0,0 +1,1575 @@ +# UserApi + +All URIs are relative to */api/v1* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**createCurrentUserRepo**](UserApi.md#createCurrentUserRepo) | **POST** /user/repos | Create a repository | +| [**getUserSettings**](UserApi.md#getUserSettings) | **GET** /user/settings | Get user settings | +| [**getVerificationToken**](UserApi.md#getVerificationToken) | **GET** /user/gpg_key_token | Get a Token to verify | +| [**updateUserSettings**](UserApi.md#updateUserSettings) | **PATCH** /user/settings | Update user settings | +| [**userAddEmail**](UserApi.md#userAddEmail) | **POST** /user/emails | Add email addresses | +| [**userBlockUser**](UserApi.md#userBlockUser) | **PUT** /user/block/{username} | Blocks a user from the doer. | +| [**userCheckFollowing**](UserApi.md#userCheckFollowing) | **GET** /users/{username}/following/{target} | Check if one user is following another user | +| [**userCreateHook**](UserApi.md#userCreateHook) | **POST** /user/hooks | Create a hook | +| [**userCreateOAuth2Application**](UserApi.md#userCreateOAuth2Application) | **POST** /user/applications/oauth2 | creates a new OAuth2 application | +| [**userCreateToken**](UserApi.md#userCreateToken) | **POST** /users/{username}/tokens | Create an access token | +| [**userCurrentCheckFollowing**](UserApi.md#userCurrentCheckFollowing) | **GET** /user/following/{username} | Check whether a user is followed by the authenticated user | +| [**userCurrentCheckStarring**](UserApi.md#userCurrentCheckStarring) | **GET** /user/starred/{owner}/{repo} | Whether the authenticated is starring the repo | +| [**userCurrentDeleteFollow**](UserApi.md#userCurrentDeleteFollow) | **DELETE** /user/following/{username} | Unfollow a user | +| [**userCurrentDeleteGPGKey**](UserApi.md#userCurrentDeleteGPGKey) | **DELETE** /user/gpg_keys/{id} | Remove a GPG key | +| [**userCurrentDeleteKey**](UserApi.md#userCurrentDeleteKey) | **DELETE** /user/keys/{id} | Delete a public key | +| [**userCurrentDeleteStar**](UserApi.md#userCurrentDeleteStar) | **DELETE** /user/starred/{owner}/{repo} | Unstar the given repo | +| [**userCurrentGetGPGKey**](UserApi.md#userCurrentGetGPGKey) | **GET** /user/gpg_keys/{id} | Get a GPG key | +| [**userCurrentGetKey**](UserApi.md#userCurrentGetKey) | **GET** /user/keys/{id} | Get a public key | +| [**userCurrentListFollowers**](UserApi.md#userCurrentListFollowers) | **GET** /user/followers | List the authenticated user's followers | +| [**userCurrentListFollowing**](UserApi.md#userCurrentListFollowing) | **GET** /user/following | List the users that the authenticated user is following | +| [**userCurrentListGPGKeys**](UserApi.md#userCurrentListGPGKeys) | **GET** /user/gpg_keys | List the authenticated user's GPG keys | +| [**userCurrentListKeys**](UserApi.md#userCurrentListKeys) | **GET** /user/keys | List the authenticated user's public keys | +| [**userCurrentListRepos**](UserApi.md#userCurrentListRepos) | **GET** /user/repos | List the repos that the authenticated user owns | +| [**userCurrentListStarred**](UserApi.md#userCurrentListStarred) | **GET** /user/starred | The repos that the authenticated user has starred | +| [**userCurrentListSubscriptions**](UserApi.md#userCurrentListSubscriptions) | **GET** /user/subscriptions | List repositories watched by the authenticated user | +| [**userCurrentPostGPGKey**](UserApi.md#userCurrentPostGPGKey) | **POST** /user/gpg_keys | Create a GPG key | +| [**userCurrentPostKey**](UserApi.md#userCurrentPostKey) | **POST** /user/keys | Create a public key | +| [**userCurrentPutFollow**](UserApi.md#userCurrentPutFollow) | **PUT** /user/following/{username} | Follow a user | +| [**userCurrentPutStar**](UserApi.md#userCurrentPutStar) | **PUT** /user/starred/{owner}/{repo} | Star the given repo | +| [**userCurrentTrackedTimes**](UserApi.md#userCurrentTrackedTimes) | **GET** /user/times | List the current user's tracked times | +| [**userDeleteAccessToken**](UserApi.md#userDeleteAccessToken) | **DELETE** /users/{username}/tokens/{token} | delete an access token | +| [**userDeleteEmail**](UserApi.md#userDeleteEmail) | **DELETE** /user/emails | Delete email addresses | +| [**userDeleteHook**](UserApi.md#userDeleteHook) | **DELETE** /user/hooks/{id} | Delete a hook | +| [**userDeleteOAuth2Application**](UserApi.md#userDeleteOAuth2Application) | **DELETE** /user/applications/oauth2/{id} | delete an OAuth2 Application | +| [**userEditHook**](UserApi.md#userEditHook) | **PATCH** /user/hooks/{id} | Update a hook | +| [**userGet**](UserApi.md#userGet) | **GET** /users/{username} | Get a user | +| [**userGetCurrent**](UserApi.md#userGetCurrent) | **GET** /user | Get the authenticated user | +| [**userGetHeatmapData**](UserApi.md#userGetHeatmapData) | **GET** /users/{username}/heatmap | Get a user's heatmap | +| [**userGetHook**](UserApi.md#userGetHook) | **GET** /user/hooks/{id} | Get a hook | +| [**userGetOAuth2Application**](UserApi.md#userGetOAuth2Application) | **GET** /user/applications/oauth2/{id} | get an OAuth2 Application | +| [**userGetOauth2Application**](UserApi.md#userGetOauth2Application) | **GET** /user/applications/oauth2 | List the authenticated user's oauth2 applications | +| [**userGetStopWatches**](UserApi.md#userGetStopWatches) | **GET** /user/stopwatches | Get list of all existing stopwatches | +| [**userGetTokens**](UserApi.md#userGetTokens) | **GET** /users/{username}/tokens | List the authenticated user's access tokens | +| [**userListActivityFeeds**](UserApi.md#userListActivityFeeds) | **GET** /users/{username}/activities/feeds | List a user's activity feeds | +| [**userListBlockedUsers**](UserApi.md#userListBlockedUsers) | **GET** /user/list_blocked | List the authenticated user's blocked users | +| [**userListEmails**](UserApi.md#userListEmails) | **GET** /user/emails | List the authenticated user's email addresses | +| [**userListFollowers**](UserApi.md#userListFollowers) | **GET** /users/{username}/followers | List the given user's followers | +| [**userListFollowing**](UserApi.md#userListFollowing) | **GET** /users/{username}/following | List the users that the given user is following | +| [**userListGPGKeys**](UserApi.md#userListGPGKeys) | **GET** /users/{username}/gpg_keys | List the given user's GPG keys | +| [**userListHooks**](UserApi.md#userListHooks) | **GET** /user/hooks | List the authenticated user's webhooks | +| [**userListKeys**](UserApi.md#userListKeys) | **GET** /users/{username}/keys | List the given user's public keys | +| [**userListRepos**](UserApi.md#userListRepos) | **GET** /users/{username}/repos | List the repos owned by the given user | +| [**userListStarred**](UserApi.md#userListStarred) | **GET** /users/{username}/starred | The repos that the given user has starred | +| [**userListSubscriptions**](UserApi.md#userListSubscriptions) | **GET** /users/{username}/subscriptions | List the repositories watched by a user | +| [**userListTeams**](UserApi.md#userListTeams) | **GET** /user/teams | List all the teams a user belongs to | +| [**userSearch**](UserApi.md#userSearch) | **GET** /users/search | Search for users | +| [**userUnblockUser**](UserApi.md#userUnblockUser) | **PUT** /user/unblock/{username} | Unblocks a user from the doer. | +| [**userUpdateOAuth2Application**](UserApi.md#userUpdateOAuth2Application) | **PATCH** /user/applications/oauth2/{id} | update an OAuth2 Application, this includes regenerating the client secret | +| [**userVerifyGPGKey**](UserApi.md#userVerifyGPGKey) | **POST** /user/gpg_key_verify | Verify a GPG key | + + + +# **createCurrentUserRepo** +> Repository createCurrentUserRepo(body) + +Create a repository + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**CreateRepoOption**](../models/CreateRepoOption.md)| | [optional] | + +### Return type + +[**Repository**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **getUserSettings** +> List getUserSettings() + +Get user settings + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**List**](../models/UserSettings.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **getVerificationToken** +> String getVerificationToken() + +Get a Token to verify + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**String** + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain + + +# **updateUserSettings** +> List updateUserSettings(body) + +Update user settings + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**UserSettingsOptions**](../models/UserSettingsOptions.md)| | [optional] | + +### Return type + +[**List**](../models/UserSettings.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **userAddEmail** +> List userAddEmail(body) + +Add email addresses + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**CreateEmailOption**](../models/CreateEmailOption.md)| | [optional] | + +### Return type + +[**List**](../models/Email.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **userBlockUser** +> userBlockUser(username) + +Blocks a user from the doer. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCheckFollowing** +> userCheckFollowing(username, target) + +Check if one user is following another user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of following user | [default to null] | +| **target** | **String**| username of followed user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCreateHook** +> Hook userCreateHook(body) + +Create a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**CreateHookOption**](../models/CreateHookOption.md)| | | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **userCreateOAuth2Application** +> OAuth2Application userCreateOAuth2Application(body) + +creates a new OAuth2 application + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**CreateOAuth2ApplicationOptions**](../models/CreateOAuth2ApplicationOptions.md)| | | + +### Return type + +[**OAuth2Application**](../models/OAuth2Application.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **userCreateToken** +> AccessToken userCreateToken(username, body) + +Create an access token + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **body** | [**CreateAccessTokenOption**](../models/CreateAccessTokenOption.md)| | [optional] | + +### Return type + +[**AccessToken**](../models/AccessToken.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **userCurrentCheckFollowing** +> userCurrentCheckFollowing(username) + +Check whether a user is followed by the authenticated user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of followed user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCurrentCheckStarring** +> userCurrentCheckStarring(owner, repo) + +Whether the authenticated is starring the repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo | [default to null] | +| **repo** | **String**| name of the repo | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCurrentDeleteFollow** +> userCurrentDeleteFollow(username) + +Unfollow a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user to unfollow | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCurrentDeleteGPGKey** +> userCurrentDeleteGPGKey(id) + +Remove a GPG key + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of key to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCurrentDeleteKey** +> userCurrentDeleteKey(id) + +Delete a public key + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of key to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCurrentDeleteStar** +> userCurrentDeleteStar(owner, repo) + +Unstar the given repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to unstar | [default to null] | +| **repo** | **String**| name of the repo to unstar | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCurrentGetGPGKey** +> GPGKey userCurrentGetGPGKey(id) + +Get a GPG key + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of key to get | [default to null] | + +### Return type + +[**GPGKey**](../models/GPGKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentGetKey** +> PublicKey userCurrentGetKey(id) + +Get a public key + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of key to get | [default to null] | + +### Return type + +[**PublicKey**](../models/PublicKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentListFollowers** +> List userCurrentListFollowers(page, limit) + +List the authenticated user's followers + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentListFollowing** +> List userCurrentListFollowing(page, limit) + +List the users that the authenticated user is following + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentListGPGKeys** +> List userCurrentListGPGKeys(page, limit) + +List the authenticated user's GPG keys + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/GPGKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentListKeys** +> List userCurrentListKeys(fingerprint, page, limit) + +List the authenticated user's public keys + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **fingerprint** | **String**| fingerprint of the key | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/PublicKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentListRepos** +> List userCurrentListRepos(page, limit) + +List the repos that the authenticated user owns + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentListStarred** +> List userCurrentListStarred(page, limit) + +The repos that the authenticated user has starred + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentListSubscriptions** +> List userCurrentListSubscriptions(page, limit) + +List repositories watched by the authenticated user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userCurrentPostGPGKey** +> GPGKey userCurrentPostGPGKey(Form) + +Create a GPG key + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **Form** | [**CreateGPGKeyOption**](../models/CreateGPGKeyOption.md)| | [optional] | + +### Return type + +[**GPGKey**](../models/GPGKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **userCurrentPostKey** +> PublicKey userCurrentPostKey(body) + +Create a public key + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**CreateKeyOption**](../models/CreateKeyOption.md)| | [optional] | + +### Return type + +[**PublicKey**](../models/PublicKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **userCurrentPutFollow** +> userCurrentPutFollow(username) + +Follow a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user to follow | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCurrentPutStar** +> userCurrentPutStar(owner, repo) + +Star the given repo + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **owner** | **String**| owner of the repo to star | [default to null] | +| **repo** | **String**| name of the repo to star | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userCurrentTrackedTimes** +> List userCurrentTrackedTimes(page, limit, since, before) + +List the current user's tracked times + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | +| **since** | **Date**| Only show times updated after the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | +| **before** | **Date**| Only show times updated before the given time. This is a timestamp in RFC 3339 format | [optional] [default to null] | + +### Return type + +[**List**](../models/TrackedTime.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userDeleteAccessToken** +> userDeleteAccessToken(username, token) + +delete an access token + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **token** | **String**| token to be deleted, identified by ID and if not available by name | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userDeleteEmail** +> userDeleteEmail(body) + +Delete email addresses + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **body** | [**DeleteEmailOption**](../models/DeleteEmailOption.md)| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: Not defined + + +# **userDeleteHook** +> userDeleteHook(id) + +Delete a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the hook to delete | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userDeleteOAuth2Application** +> userDeleteOAuth2Application(id) + +delete an OAuth2 Application + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| token to be deleted | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userEditHook** +> Hook userEditHook(id, body) + +Update a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the hook to update | [default to null] | +| **body** | [**EditHookOption**](../models/EditHookOption.md)| | [optional] | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **userGet** +> User userGet(username) + +Get a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user to get | [default to null] | + +### Return type + +[**User**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userGetCurrent** +> User userGetCurrent() + +Get the authenticated user + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**User**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userGetHeatmapData** +> List userGetHeatmapData(username) + +Get a user's heatmap + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user to get | [default to null] | + +### Return type + +[**List**](../models/UserHeatmapData.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userGetHook** +> Hook userGetHook(id) + +Get a hook + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| id of the hook to get | [default to null] | + +### Return type + +[**Hook**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userGetOAuth2Application** +> OAuth2Application userGetOAuth2Application(id) + +get an OAuth2 Application + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| Application ID to be found | [default to null] | + +### Return type + +[**OAuth2Application**](../models/OAuth2Application.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userGetOauth2Application** +> List userGetOauth2Application(page, limit) + +List the authenticated user's oauth2 applications + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/OAuth2Application.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userGetStopWatches** +> List userGetStopWatches(page, limit) + +Get list of all existing stopwatches + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/StopWatch.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userGetTokens** +> List userGetTokens(username, page, limit) + +List the authenticated user's access tokens + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/AccessToken.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListActivityFeeds** +> List userListActivityFeeds(username, only-performed-by, date, page, limit) + +List a user's activity feeds + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **only-performed-by** | **Boolean**| if true, only show actions performed by the requested user | [optional] [default to null] | +| **date** | **date**| the date of the activities to be found | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Activity.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListBlockedUsers** +> List userListBlockedUsers(page, limit) + +List the authenticated user's blocked users + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/BlockedUser.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListEmails** +> List userListEmails() + +List the authenticated user's email addresses + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**List**](../models/Email.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListFollowers** +> List userListFollowers(username, page, limit) + +List the given user's followers + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListFollowing** +> List userListFollowing(username, page, limit) + +List the users that the given user is following + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/User.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListGPGKeys** +> List userListGPGKeys(username, page, limit) + +List the given user's GPG keys + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/GPGKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListHooks** +> List userListHooks(page, limit) + +List the authenticated user's webhooks + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Hook.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListKeys** +> List userListKeys(username, fingerprint, page, limit) + +List the given user's public keys + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **fingerprint** | **String**| fingerprint of the key | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/PublicKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListRepos** +> List userListRepos(username, page, limit) + +List the repos owned by the given user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListStarred** +> List userListStarred(username, page, limit) + +The repos that the given user has starred + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of user | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListSubscriptions** +> List userListSubscriptions(username, page, limit) + +List the repositories watched by a user + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of the user | [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Repository.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userListTeams** +> List userListTeams(page, limit) + +List all the teams a user belongs to + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**List**](../models/Team.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userSearch** +> userSearch_200_response userSearch(q, uid, page, limit) + +Search for users + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **q** | **String**| keyword | [optional] [default to null] | +| **uid** | **Long**| ID of the user to search for | [optional] [default to null] | +| **page** | **Integer**| page number of results to return (1-based) | [optional] [default to null] | +| **limit** | **Integer**| page size of results | [optional] [default to null] | + +### Return type + +[**userSearch_200_response**](../models/userSearch_200_response.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **userUnblockUser** +> userUnblockUser(username) + +Unblocks a user from the doer. + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **username** | **String**| username of the user | [default to null] | + +### Return type + +null (empty response body) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + + +# **userUpdateOAuth2Application** +> OAuth2Application userUpdateOAuth2Application(id, body) + +update an OAuth2 Application, this includes regenerating the client secret + +### Parameters + +|Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **id** | **Long**| application to be updated | [default to null] | +| **body** | [**CreateOAuth2ApplicationOptions**](../models/CreateOAuth2ApplicationOptions.md)| | | + +### Return type + +[**OAuth2Application**](../models/OAuth2Application.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: application/json, text/plain +- **Accept**: application/json + + +# **userVerifyGPGKey** +> GPGKey userVerifyGPGKey() + +Verify a GPG key + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GPGKey**](../models/GPGKey.md) + +### Authorization + +[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + diff --git a/docs/models/APIError.md b/docs/models/APIError.md new file mode 100644 index 0000000..49684d3 --- /dev/null +++ b/docs/models/APIError.md @@ -0,0 +1,10 @@ +# APIError +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **message** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/AccessToken.md b/docs/models/AccessToken.md new file mode 100644 index 0000000..eacfc27 --- /dev/null +++ b/docs/models/AccessToken.md @@ -0,0 +1,13 @@ +# AccessToken +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **id** | **Long** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **scopes** | **List** | | [optional] [default to null] | +| **sha1** | **String** | | [optional] [default to null] | +| **token\_last\_eight** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Activity.md b/docs/models/Activity.md new file mode 100644 index 0000000..5f64a92 --- /dev/null +++ b/docs/models/Activity.md @@ -0,0 +1,21 @@ +# Activity +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **act\_user** | [**User**](User.md) | | [optional] [default to null] | +| **act\_user\_id** | **Long** | | [optional] [default to null] | +| **comment** | [**Comment**](Comment.md) | | [optional] [default to null] | +| **comment\_id** | **Long** | | [optional] [default to null] | +| **content** | **String** | | [optional] [default to null] | +| **created** | **Date** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **is\_private** | **Boolean** | | [optional] [default to null] | +| **op\_type** | **String** | | [optional] [default to null] | +| **ref\_name** | **String** | | [optional] [default to null] | +| **repo** | [**Repository**](Repository.md) | | [optional] [default to null] | +| **repo\_id** | **Long** | | [optional] [default to null] | +| **user\_id** | **Long** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/ActivityPub.md b/docs/models/ActivityPub.md new file mode 100644 index 0000000..188897f --- /dev/null +++ b/docs/models/ActivityPub.md @@ -0,0 +1,9 @@ +# ActivityPub +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **@context** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/AddCollaboratorOption.md b/docs/models/AddCollaboratorOption.md new file mode 100644 index 0000000..8f4e821 --- /dev/null +++ b/docs/models/AddCollaboratorOption.md @@ -0,0 +1,9 @@ +# AddCollaboratorOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **permission** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/AddTimeOption.md b/docs/models/AddTimeOption.md new file mode 100644 index 0000000..3a59ce3 --- /dev/null +++ b/docs/models/AddTimeOption.md @@ -0,0 +1,11 @@ +# AddTimeOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **time** | **Long** | time in seconds | [default to null] | +| **created** | **Date** | | [optional] [default to null] | +| **user\_name** | **String** | User who spent the time (optional) | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/AnnotatedTag.md b/docs/models/AnnotatedTag.md new file mode 100644 index 0000000..6be0349 --- /dev/null +++ b/docs/models/AnnotatedTag.md @@ -0,0 +1,15 @@ +# AnnotatedTag +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **message** | **String** | | [optional] [default to null] | +| **object** | [**AnnotatedTagObject**](AnnotatedTagObject.md) | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | +| **tag** | **String** | | [optional] [default to null] | +| **tagger** | [**CommitUser**](CommitUser.md) | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | +| **verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/AnnotatedTagObject.md b/docs/models/AnnotatedTagObject.md new file mode 100644 index 0000000..abf5cd3 --- /dev/null +++ b/docs/models/AnnotatedTagObject.md @@ -0,0 +1,11 @@ +# AnnotatedTagObject +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **sha** | **String** | | [optional] [default to null] | +| **type** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Attachment.md b/docs/models/Attachment.md new file mode 100644 index 0000000..8662454 --- /dev/null +++ b/docs/models/Attachment.md @@ -0,0 +1,15 @@ +# Attachment +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **browser\_download\_url** | **String** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **download\_count** | **Long** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **size** | **Long** | | [optional] [default to null] | +| **uuid** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/BlockedUser.md b/docs/models/BlockedUser.md new file mode 100644 index 0000000..768efea --- /dev/null +++ b/docs/models/BlockedUser.md @@ -0,0 +1,10 @@ +# BlockedUser +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **block\_id** | **Long** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Branch.md b/docs/models/Branch.md new file mode 100644 index 0000000..3fc0657 --- /dev/null +++ b/docs/models/Branch.md @@ -0,0 +1,17 @@ +# Branch +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commit** | [**PayloadCommit**](PayloadCommit.md) | | [optional] [default to null] | +| **effective\_branch\_protection\_name** | **String** | | [optional] [default to null] | +| **enable\_status\_check** | **Boolean** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **protected** | **Boolean** | | [optional] [default to null] | +| **required\_approvals** | **Long** | | [optional] [default to null] | +| **status\_check\_contexts** | **List** | | [optional] [default to null] | +| **user\_can\_merge** | **Boolean** | | [optional] [default to null] | +| **user\_can\_push** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/BranchProtection.md b/docs/models/BranchProtection.md new file mode 100644 index 0000000..4dbc7a1 --- /dev/null +++ b/docs/models/BranchProtection.md @@ -0,0 +1,33 @@ +# BranchProtection +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **approvals\_whitelist\_teams** | **List** | | [optional] [default to null] | +| **approvals\_whitelist\_username** | **List** | | [optional] [default to null] | +| **block\_on\_official\_review\_requests** | **Boolean** | | [optional] [default to null] | +| **block\_on\_outdated\_branch** | **Boolean** | | [optional] [default to null] | +| **block\_on\_rejected\_reviews** | **Boolean** | | [optional] [default to null] | +| **branch\_name** | **String** | Deprecated: true | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **dismiss\_stale\_approvals** | **Boolean** | | [optional] [default to null] | +| **enable\_approvals\_whitelist** | **Boolean** | | [optional] [default to null] | +| **enable\_merge\_whitelist** | **Boolean** | | [optional] [default to null] | +| **enable\_push** | **Boolean** | | [optional] [default to null] | +| **enable\_push\_whitelist** | **Boolean** | | [optional] [default to null] | +| **enable\_status\_check** | **Boolean** | | [optional] [default to null] | +| **merge\_whitelist\_teams** | **List** | | [optional] [default to null] | +| **merge\_whitelist\_usernames** | **List** | | [optional] [default to null] | +| **protected\_file\_patterns** | **String** | | [optional] [default to null] | +| **push\_whitelist\_deploy\_keys** | **Boolean** | | [optional] [default to null] | +| **push\_whitelist\_teams** | **List** | | [optional] [default to null] | +| **push\_whitelist\_usernames** | **List** | | [optional] [default to null] | +| **require\_signed\_commits** | **Boolean** | | [optional] [default to null] | +| **required\_approvals** | **Long** | | [optional] [default to null] | +| **rule\_name** | **String** | | [optional] [default to null] | +| **status\_check\_contexts** | **List** | | [optional] [default to null] | +| **unprotected\_file\_patterns** | **String** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/ChangeFileOperation.md b/docs/models/ChangeFileOperation.md new file mode 100644 index 0000000..6a15b4b --- /dev/null +++ b/docs/models/ChangeFileOperation.md @@ -0,0 +1,13 @@ +# ChangeFileOperation +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **operation** | **String** | indicates what to do with the file | [default to null] | +| **path** | **String** | path to the existing or new file | [default to null] | +| **content** | **String** | new or updated file content, must be base64 encoded | [optional] [default to null] | +| **from\_path** | **String** | old path of the file to move | [optional] [default to null] | +| **sha** | **String** | sha is the SHA for the file that already exists, required for update or delete | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/ChangeFilesOptions.md b/docs/models/ChangeFilesOptions.md new file mode 100644 index 0000000..519c0c4 --- /dev/null +++ b/docs/models/ChangeFilesOptions.md @@ -0,0 +1,16 @@ +# ChangeFilesOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **files** | [**List**](ChangeFileOperation.md) | list of file operations | [default to null] | +| **author** | [**Identity**](Identity.md) | | [optional] [default to null] | +| **branch** | **String** | branch (optional) to base this file from. if not given, the default branch is used | [optional] [default to null] | +| **committer** | [**Identity**](Identity.md) | | [optional] [default to null] | +| **dates** | [**CommitDateOptions**](CommitDateOptions.md) | | [optional] [default to null] | +| **message** | **String** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional] [default to null] | +| **new\_branch** | **String** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional] [default to null] | +| **signoff** | **Boolean** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/ChangedFile.md b/docs/models/ChangedFile.md new file mode 100644 index 0000000..e161c1f --- /dev/null +++ b/docs/models/ChangedFile.md @@ -0,0 +1,17 @@ +# ChangedFile +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **additions** | **Long** | | [optional] [default to null] | +| **changes** | **Long** | | [optional] [default to null] | +| **contents\_url** | **String** | | [optional] [default to null] | +| **deletions** | **Long** | | [optional] [default to null] | +| **filename** | **String** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **previous\_filename** | **String** | | [optional] [default to null] | +| **raw\_url** | **String** | | [optional] [default to null] | +| **status** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CombinedStatus.md b/docs/models/CombinedStatus.md new file mode 100644 index 0000000..0d2905f --- /dev/null +++ b/docs/models/CombinedStatus.md @@ -0,0 +1,15 @@ +# CombinedStatus +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commit\_url** | **String** | | [optional] [default to null] | +| **repository** | [**Repository**](Repository.md) | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | +| **state** | **String** | CommitStatusState holds the state of a CommitStatus It can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\" | [optional] [default to null] | +| **statuses** | [**List**](CommitStatus.md) | | [optional] [default to null] | +| **total\_count** | **Long** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Comment.md b/docs/models/Comment.md new file mode 100644 index 0000000..5f47208 --- /dev/null +++ b/docs/models/Comment.md @@ -0,0 +1,19 @@ +# Comment +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **assets** | [**List**](Attachment.md) | | [optional] [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **issue\_url** | **String** | | [optional] [default to null] | +| **original\_author** | **String** | | [optional] [default to null] | +| **original\_author\_id** | **Long** | | [optional] [default to null] | +| **pull\_request\_url** | **String** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Commit.md b/docs/models/Commit.md new file mode 100644 index 0000000..39706a7 --- /dev/null +++ b/docs/models/Commit.md @@ -0,0 +1,18 @@ +# Commit +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **author** | [**User**](User.md) | | [optional] [default to null] | +| **commit** | [**RepoCommit**](RepoCommit.md) | | [optional] [default to null] | +| **committer** | [**User**](User.md) | | [optional] [default to null] | +| **created** | **Date** | | [optional] [default to null] | +| **files** | [**List**](CommitAffectedFiles.md) | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **parents** | [**List**](CommitMeta.md) | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | +| **stats** | [**CommitStats**](CommitStats.md) | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CommitAffectedFiles.md b/docs/models/CommitAffectedFiles.md new file mode 100644 index 0000000..580b507 --- /dev/null +++ b/docs/models/CommitAffectedFiles.md @@ -0,0 +1,9 @@ +# CommitAffectedFiles +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **filename** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CommitDateOptions.md b/docs/models/CommitDateOptions.md new file mode 100644 index 0000000..398ab64 --- /dev/null +++ b/docs/models/CommitDateOptions.md @@ -0,0 +1,10 @@ +# CommitDateOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **author** | **Date** | | [optional] [default to null] | +| **committer** | **Date** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CommitMeta.md b/docs/models/CommitMeta.md new file mode 100644 index 0000000..5f9936b --- /dev/null +++ b/docs/models/CommitMeta.md @@ -0,0 +1,11 @@ +# CommitMeta +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **created** | **Date** | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CommitStats.md b/docs/models/CommitStats.md new file mode 100644 index 0000000..0fa2af8 --- /dev/null +++ b/docs/models/CommitStats.md @@ -0,0 +1,11 @@ +# CommitStats +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **additions** | **Long** | | [optional] [default to null] | +| **deletions** | **Long** | | [optional] [default to null] | +| **total** | **Long** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CommitStatus.md b/docs/models/CommitStatus.md new file mode 100644 index 0000000..7f59421 --- /dev/null +++ b/docs/models/CommitStatus.md @@ -0,0 +1,17 @@ +# CommitStatus +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **context** | **String** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **creator** | [**User**](User.md) | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **status** | **String** | CommitStatusState holds the state of a CommitStatus It can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\" | [optional] [default to null] | +| **target\_url** | **String** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CommitUser.md b/docs/models/CommitUser.md new file mode 100644 index 0000000..78887e7 --- /dev/null +++ b/docs/models/CommitUser.md @@ -0,0 +1,11 @@ +# CommitUser +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **date** | **String** | | [optional] [default to null] | +| **email** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/ContentsResponse.md b/docs/models/ContentsResponse.md new file mode 100644 index 0000000..f2ae113 --- /dev/null +++ b/docs/models/ContentsResponse.md @@ -0,0 +1,23 @@ +# ContentsResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **\_links** | [**FileLinksResponse**](FileLinksResponse.md) | | [optional] [default to null] | +| **content** | **String** | `content` is populated when `type` is `file`, otherwise null | [optional] [default to null] | +| **download\_url** | **String** | | [optional] [default to null] | +| **encoding** | **String** | `encoding` is populated when `type` is `file`, otherwise null | [optional] [default to null] | +| **git\_url** | **String** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **last\_commit\_sha** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **path** | **String** | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | +| **size** | **Long** | | [optional] [default to null] | +| **submodule\_git\_url** | **String** | `submodule_git_url` is populated when `type` is `submodule`, otherwise null | [optional] [default to null] | +| **target** | **String** | `target` is populated when `type` is `symlink`, otherwise null | [optional] [default to null] | +| **type** | **String** | `type` will be `file`, `dir`, `symlink`, or `submodule` | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateAccessTokenOption.md b/docs/models/CreateAccessTokenOption.md new file mode 100644 index 0000000..51ade61 --- /dev/null +++ b/docs/models/CreateAccessTokenOption.md @@ -0,0 +1,10 @@ +# CreateAccessTokenOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **name** | **String** | | [default to null] | +| **scopes** | **List** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateBranchProtectionOption.md b/docs/models/CreateBranchProtectionOption.md new file mode 100644 index 0000000..492ed9b --- /dev/null +++ b/docs/models/CreateBranchProtectionOption.md @@ -0,0 +1,31 @@ +# CreateBranchProtectionOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **approvals\_whitelist\_teams** | **List** | | [optional] [default to null] | +| **approvals\_whitelist\_username** | **List** | | [optional] [default to null] | +| **block\_on\_official\_review\_requests** | **Boolean** | | [optional] [default to null] | +| **block\_on\_outdated\_branch** | **Boolean** | | [optional] [default to null] | +| **block\_on\_rejected\_reviews** | **Boolean** | | [optional] [default to null] | +| **branch\_name** | **String** | Deprecated: true | [optional] [default to null] | +| **dismiss\_stale\_approvals** | **Boolean** | | [optional] [default to null] | +| **enable\_approvals\_whitelist** | **Boolean** | | [optional] [default to null] | +| **enable\_merge\_whitelist** | **Boolean** | | [optional] [default to null] | +| **enable\_push** | **Boolean** | | [optional] [default to null] | +| **enable\_push\_whitelist** | **Boolean** | | [optional] [default to null] | +| **enable\_status\_check** | **Boolean** | | [optional] [default to null] | +| **merge\_whitelist\_teams** | **List** | | [optional] [default to null] | +| **merge\_whitelist\_usernames** | **List** | | [optional] [default to null] | +| **protected\_file\_patterns** | **String** | | [optional] [default to null] | +| **push\_whitelist\_deploy\_keys** | **Boolean** | | [optional] [default to null] | +| **push\_whitelist\_teams** | **List** | | [optional] [default to null] | +| **push\_whitelist\_usernames** | **List** | | [optional] [default to null] | +| **require\_signed\_commits** | **Boolean** | | [optional] [default to null] | +| **required\_approvals** | **Long** | | [optional] [default to null] | +| **rule\_name** | **String** | | [optional] [default to null] | +| **status\_check\_contexts** | **List** | | [optional] [default to null] | +| **unprotected\_file\_patterns** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateBranchRepoOption.md b/docs/models/CreateBranchRepoOption.md new file mode 100644 index 0000000..4d6c299 --- /dev/null +++ b/docs/models/CreateBranchRepoOption.md @@ -0,0 +1,11 @@ +# CreateBranchRepoOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **new\_branch\_name** | **String** | Name of the branch to create | [default to null] | +| **old\_branch\_name** | **String** | Deprecated: true Name of the old branch to create from | [optional] [default to null] | +| **old\_ref\_name** | **String** | Name of the old branch/tag/commit to create from | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateEmailOption.md b/docs/models/CreateEmailOption.md new file mode 100644 index 0000000..d84335a --- /dev/null +++ b/docs/models/CreateEmailOption.md @@ -0,0 +1,9 @@ +# CreateEmailOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **emails** | **List** | email addresses to add | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateFileOptions.md b/docs/models/CreateFileOptions.md new file mode 100644 index 0000000..b5bc5aa --- /dev/null +++ b/docs/models/CreateFileOptions.md @@ -0,0 +1,16 @@ +# CreateFileOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **content** | **String** | content must be base64 encoded | [default to null] | +| **author** | [**Identity**](Identity.md) | | [optional] [default to null] | +| **branch** | **String** | branch (optional) to base this file from. if not given, the default branch is used | [optional] [default to null] | +| **committer** | [**Identity**](Identity.md) | | [optional] [default to null] | +| **dates** | [**CommitDateOptions**](CommitDateOptions.md) | | [optional] [default to null] | +| **message** | **String** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional] [default to null] | +| **new\_branch** | **String** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional] [default to null] | +| **signoff** | **Boolean** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateForkOption.md b/docs/models/CreateForkOption.md new file mode 100644 index 0000000..ddc2466 --- /dev/null +++ b/docs/models/CreateForkOption.md @@ -0,0 +1,10 @@ +# CreateForkOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **name** | **String** | name of the forked repository | [optional] [default to null] | +| **organization** | **String** | organization name, if forking into an organization | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateGPGKeyOption.md b/docs/models/CreateGPGKeyOption.md new file mode 100644 index 0000000..359014c --- /dev/null +++ b/docs/models/CreateGPGKeyOption.md @@ -0,0 +1,10 @@ +# CreateGPGKeyOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **armored\_public\_key** | **String** | An armored GPG key to add | [default to null] | +| **armored\_signature** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateHookOption.md b/docs/models/CreateHookOption.md new file mode 100644 index 0000000..4d9ae98 --- /dev/null +++ b/docs/models/CreateHookOption.md @@ -0,0 +1,14 @@ +# CreateHookOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **config** | **Map** | CreateHookOptionConfig has all config options in it required are \"content_type\" and \"url\" Required | [default to null] | +| **type** | **String** | | [default to null] | +| **active** | **Boolean** | | [optional] [default to false] | +| **authorization\_header** | **String** | | [optional] [default to null] | +| **branch\_filter** | **String** | | [optional] [default to null] | +| **events** | **List** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateIssueCommentOption.md b/docs/models/CreateIssueCommentOption.md new file mode 100644 index 0000000..7349fba --- /dev/null +++ b/docs/models/CreateIssueCommentOption.md @@ -0,0 +1,9 @@ +# CreateIssueCommentOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **body** | **String** | | [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateIssueOption.md b/docs/models/CreateIssueOption.md new file mode 100644 index 0000000..74f1689 --- /dev/null +++ b/docs/models/CreateIssueOption.md @@ -0,0 +1,17 @@ +# CreateIssueOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **title** | **String** | | [default to null] | +| **assignee** | **String** | deprecated | [optional] [default to null] | +| **assignees** | **List** | | [optional] [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **closed** | **Boolean** | | [optional] [default to null] | +| **due\_date** | **Date** | | [optional] [default to null] | +| **labels** | **List** | list of label ids | [optional] [default to null] | +| **milestone** | **Long** | milestone id | [optional] [default to null] | +| **ref** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateKeyOption.md b/docs/models/CreateKeyOption.md new file mode 100644 index 0000000..f784168 --- /dev/null +++ b/docs/models/CreateKeyOption.md @@ -0,0 +1,11 @@ +# CreateKeyOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **key** | **String** | An armored SSH key to add | [default to null] | +| **title** | **String** | Title of the key to add | [default to null] | +| **read\_only** | **Boolean** | Describe if the key has only read access or read/write | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateLabelOption.md b/docs/models/CreateLabelOption.md new file mode 100644 index 0000000..fa3e8bb --- /dev/null +++ b/docs/models/CreateLabelOption.md @@ -0,0 +1,12 @@ +# CreateLabelOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **color** | **String** | | [default to null] | +| **name** | **String** | | [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **exclusive** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateMilestoneOption.md b/docs/models/CreateMilestoneOption.md new file mode 100644 index 0000000..a2b0a17 --- /dev/null +++ b/docs/models/CreateMilestoneOption.md @@ -0,0 +1,12 @@ +# CreateMilestoneOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **description** | **String** | | [optional] [default to null] | +| **due\_on** | **Date** | | [optional] [default to null] | +| **state** | **String** | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateOAuth2ApplicationOptions.md b/docs/models/CreateOAuth2ApplicationOptions.md new file mode 100644 index 0000000..3f64a6e --- /dev/null +++ b/docs/models/CreateOAuth2ApplicationOptions.md @@ -0,0 +1,11 @@ +# CreateOAuth2ApplicationOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **confidential\_client** | **Boolean** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **redirect\_uris** | **List** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateOrgOption.md b/docs/models/CreateOrgOption.md new file mode 100644 index 0000000..2f68618 --- /dev/null +++ b/docs/models/CreateOrgOption.md @@ -0,0 +1,15 @@ +# CreateOrgOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **username** | **String** | | [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **full\_name** | **String** | | [optional] [default to null] | +| **location** | **String** | | [optional] [default to null] | +| **repo\_admin\_change\_team\_access** | **Boolean** | | [optional] [default to null] | +| **visibility** | **String** | possible values are `public` (default), `limited` or `private` | [optional] [default to null] | +| **website** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreatePullRequestOption.md b/docs/models/CreatePullRequestOption.md new file mode 100644 index 0000000..386abfa --- /dev/null +++ b/docs/models/CreatePullRequestOption.md @@ -0,0 +1,17 @@ +# CreatePullRequestOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **assignee** | **String** | | [optional] [default to null] | +| **assignees** | **List** | | [optional] [default to null] | +| **base** | **String** | | [optional] [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **due\_date** | **Date** | | [optional] [default to null] | +| **head** | **String** | | [optional] [default to null] | +| **labels** | **List** | | [optional] [default to null] | +| **milestone** | **Long** | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreatePullReviewComment.md b/docs/models/CreatePullReviewComment.md new file mode 100644 index 0000000..561d7ad --- /dev/null +++ b/docs/models/CreatePullReviewComment.md @@ -0,0 +1,12 @@ +# CreatePullReviewComment +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **body** | **String** | | [optional] [default to null] | +| **new\_position** | **Long** | if comment to new file line or 0 | [optional] [default to null] | +| **old\_position** | **Long** | if comment to old file line or 0 | [optional] [default to null] | +| **path** | **String** | the tree path | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreatePullReviewOptions.md b/docs/models/CreatePullReviewOptions.md new file mode 100644 index 0000000..c35a001 --- /dev/null +++ b/docs/models/CreatePullReviewOptions.md @@ -0,0 +1,12 @@ +# CreatePullReviewOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **body** | **String** | | [optional] [default to null] | +| **comments** | [**List**](CreatePullReviewComment.md) | | [optional] [default to null] | +| **commit\_id** | **String** | | [optional] [default to null] | +| **event** | **String** | ReviewStateType review state type | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreatePushMirrorOption.md b/docs/models/CreatePushMirrorOption.md new file mode 100644 index 0000000..0f8111b --- /dev/null +++ b/docs/models/CreatePushMirrorOption.md @@ -0,0 +1,13 @@ +# CreatePushMirrorOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **interval** | **String** | | [optional] [default to null] | +| **remote\_address** | **String** | | [optional] [default to null] | +| **remote\_password** | **String** | | [optional] [default to null] | +| **remote\_username** | **String** | | [optional] [default to null] | +| **sync\_on\_commit** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateReleaseOption.md b/docs/models/CreateReleaseOption.md new file mode 100644 index 0000000..77592db --- /dev/null +++ b/docs/models/CreateReleaseOption.md @@ -0,0 +1,14 @@ +# CreateReleaseOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **tag\_name** | **String** | | [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **draft** | **Boolean** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **prerelease** | **Boolean** | | [optional] [default to null] | +| **target\_commitish** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateRepoOption.md b/docs/models/CreateRepoOption.md new file mode 100644 index 0000000..bffaec5 --- /dev/null +++ b/docs/models/CreateRepoOption.md @@ -0,0 +1,19 @@ +# CreateRepoOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **name** | **String** | Name of the repository to create | [default to null] | +| **auto\_init** | **Boolean** | Whether the repository should be auto-initialized? | [optional] [default to null] | +| **default\_branch** | **String** | DefaultBranch of the repository (used when initializes and in template) | [optional] [default to null] | +| **description** | **String** | Description of the repository to create | [optional] [default to null] | +| **gitignores** | **String** | Gitignores to use | [optional] [default to null] | +| **issue\_labels** | **String** | Label-Set to use | [optional] [default to null] | +| **license** | **String** | License to use | [optional] [default to null] | +| **private** | **Boolean** | Whether the repository is private | [optional] [default to null] | +| **readme** | **String** | Readme of the repository to create | [optional] [default to null] | +| **template** | **Boolean** | Whether the repository is template | [optional] [default to null] | +| **trust\_model** | **String** | TrustModel of the repository | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateStatusOption.md b/docs/models/CreateStatusOption.md new file mode 100644 index 0000000..327a671 --- /dev/null +++ b/docs/models/CreateStatusOption.md @@ -0,0 +1,12 @@ +# CreateStatusOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **context** | **String** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **state** | **String** | CommitStatusState holds the state of a CommitStatus It can be \"pending\", \"success\", \"error\", \"failure\", and \"warning\" | [optional] [default to null] | +| **target\_url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateTagOption.md b/docs/models/CreateTagOption.md new file mode 100644 index 0000000..8c084bd --- /dev/null +++ b/docs/models/CreateTagOption.md @@ -0,0 +1,11 @@ +# CreateTagOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **tag\_name** | **String** | | [default to null] | +| **message** | **String** | | [optional] [default to null] | +| **target** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateTeamOption.md b/docs/models/CreateTeamOption.md new file mode 100644 index 0000000..e3858cf --- /dev/null +++ b/docs/models/CreateTeamOption.md @@ -0,0 +1,15 @@ +# CreateTeamOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **name** | **String** | | [default to null] | +| **can\_create\_org\_repo** | **Boolean** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **includes\_all\_repositories** | **Boolean** | | [optional] [default to null] | +| **permission** | **String** | | [optional] [default to null] | +| **units** | **List** | | [optional] [default to null] | +| **units\_map** | **Map** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateUserOption.md b/docs/models/CreateUserOption.md new file mode 100644 index 0000000..85f7940 --- /dev/null +++ b/docs/models/CreateUserOption.md @@ -0,0 +1,19 @@ +# CreateUserOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **email** | **String** | | [default to null] | +| **password** | **String** | | [default to null] | +| **username** | **String** | | [default to null] | +| **created\_at** | **Date** | For explicitly setting the user creation timestamp. Useful when users are migrated from other systems. When omitted, the user's creation timestamp will be set to \"now\". | [optional] [default to null] | +| **full\_name** | **String** | | [optional] [default to null] | +| **login\_name** | **String** | | [optional] [default to null] | +| **must\_change\_password** | **Boolean** | | [optional] [default to null] | +| **restricted** | **Boolean** | | [optional] [default to null] | +| **send\_notify** | **Boolean** | | [optional] [default to null] | +| **source\_id** | **Long** | | [optional] [default to null] | +| **visibility** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/CreateWikiPageOptions.md b/docs/models/CreateWikiPageOptions.md new file mode 100644 index 0000000..5848b81 --- /dev/null +++ b/docs/models/CreateWikiPageOptions.md @@ -0,0 +1,11 @@ +# CreateWikiPageOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **content\_base64** | **String** | content must be base64 encoded | [optional] [default to null] | +| **message** | **String** | optional commit message summarizing the change | [optional] [default to null] | +| **title** | **String** | page title. leave empty to keep unchanged | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Cron.md b/docs/models/Cron.md new file mode 100644 index 0000000..c860da9 --- /dev/null +++ b/docs/models/Cron.md @@ -0,0 +1,13 @@ +# Cron +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **exec\_times** | **Long** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **next** | **Date** | | [optional] [default to null] | +| **prev** | **Date** | | [optional] [default to null] | +| **schedule** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/DeleteEmailOption.md b/docs/models/DeleteEmailOption.md new file mode 100644 index 0000000..86467ab --- /dev/null +++ b/docs/models/DeleteEmailOption.md @@ -0,0 +1,9 @@ +# DeleteEmailOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **emails** | **List** | email addresses to delete | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/DeleteFileOptions.md b/docs/models/DeleteFileOptions.md new file mode 100644 index 0000000..648e6b5 --- /dev/null +++ b/docs/models/DeleteFileOptions.md @@ -0,0 +1,16 @@ +# DeleteFileOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **sha** | **String** | sha is the SHA for the file that already exists | [default to null] | +| **author** | [**Identity**](Identity.md) | | [optional] [default to null] | +| **branch** | **String** | branch (optional) to base this file from. if not given, the default branch is used | [optional] [default to null] | +| **committer** | [**Identity**](Identity.md) | | [optional] [default to null] | +| **dates** | [**CommitDateOptions**](CommitDateOptions.md) | | [optional] [default to null] | +| **message** | **String** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional] [default to null] | +| **new\_branch** | **String** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional] [default to null] | +| **signoff** | **Boolean** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/DeployKey.md b/docs/models/DeployKey.md new file mode 100644 index 0000000..a419fe5 --- /dev/null +++ b/docs/models/DeployKey.md @@ -0,0 +1,17 @@ +# DeployKey +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **created\_at** | **Date** | | [optional] [default to null] | +| **fingerprint** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **key** | **String** | | [optional] [default to null] | +| **key\_id** | **Long** | | [optional] [default to null] | +| **read\_only** | **Boolean** | | [optional] [default to null] | +| **repository** | [**Repository**](Repository.md) | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/DismissPullReviewOptions.md b/docs/models/DismissPullReviewOptions.md new file mode 100644 index 0000000..f6f4693 --- /dev/null +++ b/docs/models/DismissPullReviewOptions.md @@ -0,0 +1,10 @@ +# DismissPullReviewOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **message** | **String** | | [optional] [default to null] | +| **priors** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditAttachmentOptions.md b/docs/models/EditAttachmentOptions.md new file mode 100644 index 0000000..f83282a --- /dev/null +++ b/docs/models/EditAttachmentOptions.md @@ -0,0 +1,9 @@ +# EditAttachmentOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **name** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditBranchProtectionOption.md b/docs/models/EditBranchProtectionOption.md new file mode 100644 index 0000000..3cf3266 --- /dev/null +++ b/docs/models/EditBranchProtectionOption.md @@ -0,0 +1,29 @@ +# EditBranchProtectionOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **approvals\_whitelist\_teams** | **List** | | [optional] [default to null] | +| **approvals\_whitelist\_username** | **List** | | [optional] [default to null] | +| **block\_on\_official\_review\_requests** | **Boolean** | | [optional] [default to null] | +| **block\_on\_outdated\_branch** | **Boolean** | | [optional] [default to null] | +| **block\_on\_rejected\_reviews** | **Boolean** | | [optional] [default to null] | +| **dismiss\_stale\_approvals** | **Boolean** | | [optional] [default to null] | +| **enable\_approvals\_whitelist** | **Boolean** | | [optional] [default to null] | +| **enable\_merge\_whitelist** | **Boolean** | | [optional] [default to null] | +| **enable\_push** | **Boolean** | | [optional] [default to null] | +| **enable\_push\_whitelist** | **Boolean** | | [optional] [default to null] | +| **enable\_status\_check** | **Boolean** | | [optional] [default to null] | +| **merge\_whitelist\_teams** | **List** | | [optional] [default to null] | +| **merge\_whitelist\_usernames** | **List** | | [optional] [default to null] | +| **protected\_file\_patterns** | **String** | | [optional] [default to null] | +| **push\_whitelist\_deploy\_keys** | **Boolean** | | [optional] [default to null] | +| **push\_whitelist\_teams** | **List** | | [optional] [default to null] | +| **push\_whitelist\_usernames** | **List** | | [optional] [default to null] | +| **require\_signed\_commits** | **Boolean** | | [optional] [default to null] | +| **required\_approvals** | **Long** | | [optional] [default to null] | +| **status\_check\_contexts** | **List** | | [optional] [default to null] | +| **unprotected\_file\_patterns** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditDeadlineOption.md b/docs/models/EditDeadlineOption.md new file mode 100644 index 0000000..bfc9fb9 --- /dev/null +++ b/docs/models/EditDeadlineOption.md @@ -0,0 +1,9 @@ +# EditDeadlineOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **due\_date** | **Date** | | [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditGitHookOption.md b/docs/models/EditGitHookOption.md new file mode 100644 index 0000000..4c2fcbe --- /dev/null +++ b/docs/models/EditGitHookOption.md @@ -0,0 +1,9 @@ +# EditGitHookOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **content** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditHookOption.md b/docs/models/EditHookOption.md new file mode 100644 index 0000000..f976549 --- /dev/null +++ b/docs/models/EditHookOption.md @@ -0,0 +1,13 @@ +# EditHookOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **active** | **Boolean** | | [optional] [default to null] | +| **authorization\_header** | **String** | | [optional] [default to null] | +| **branch\_filter** | **String** | | [optional] [default to null] | +| **config** | **Map** | | [optional] [default to null] | +| **events** | **List** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditIssueCommentOption.md b/docs/models/EditIssueCommentOption.md new file mode 100644 index 0000000..dec1fc4 --- /dev/null +++ b/docs/models/EditIssueCommentOption.md @@ -0,0 +1,9 @@ +# EditIssueCommentOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **body** | **String** | | [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditIssueOption.md b/docs/models/EditIssueOption.md new file mode 100644 index 0000000..da53eab --- /dev/null +++ b/docs/models/EditIssueOption.md @@ -0,0 +1,17 @@ +# EditIssueOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **assignee** | **String** | deprecated | [optional] [default to null] | +| **assignees** | **List** | | [optional] [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **due\_date** | **Date** | | [optional] [default to null] | +| **milestone** | **Long** | | [optional] [default to null] | +| **ref** | **String** | | [optional] [default to null] | +| **state** | **String** | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | +| **unset\_due\_date** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditLabelOption.md b/docs/models/EditLabelOption.md new file mode 100644 index 0000000..21d2d6b --- /dev/null +++ b/docs/models/EditLabelOption.md @@ -0,0 +1,12 @@ +# EditLabelOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **color** | **String** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **exclusive** | **Boolean** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditMilestoneOption.md b/docs/models/EditMilestoneOption.md new file mode 100644 index 0000000..814f10f --- /dev/null +++ b/docs/models/EditMilestoneOption.md @@ -0,0 +1,12 @@ +# EditMilestoneOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **description** | **String** | | [optional] [default to null] | +| **due\_on** | **Date** | | [optional] [default to null] | +| **state** | **String** | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditOrgOption.md b/docs/models/EditOrgOption.md new file mode 100644 index 0000000..1c29ba8 --- /dev/null +++ b/docs/models/EditOrgOption.md @@ -0,0 +1,14 @@ +# EditOrgOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **description** | **String** | | [optional] [default to null] | +| **full\_name** | **String** | | [optional] [default to null] | +| **location** | **String** | | [optional] [default to null] | +| **repo\_admin\_change\_team\_access** | **Boolean** | | [optional] [default to null] | +| **visibility** | **String** | possible values are `public`, `limited` or `private` | [optional] [default to null] | +| **website** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditPullRequestOption.md b/docs/models/EditPullRequestOption.md new file mode 100644 index 0000000..da7481d --- /dev/null +++ b/docs/models/EditPullRequestOption.md @@ -0,0 +1,19 @@ +# EditPullRequestOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **allow\_maintainer\_edit** | **Boolean** | | [optional] [default to null] | +| **assignee** | **String** | | [optional] [default to null] | +| **assignees** | **List** | | [optional] [default to null] | +| **base** | **String** | | [optional] [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **due\_date** | **Date** | | [optional] [default to null] | +| **labels** | **List** | | [optional] [default to null] | +| **milestone** | **Long** | | [optional] [default to null] | +| **state** | **String** | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | +| **unset\_due\_date** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditReactionOption.md b/docs/models/EditReactionOption.md new file mode 100644 index 0000000..81f9d29 --- /dev/null +++ b/docs/models/EditReactionOption.md @@ -0,0 +1,9 @@ +# EditReactionOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **content** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditReleaseOption.md b/docs/models/EditReleaseOption.md new file mode 100644 index 0000000..6439a81 --- /dev/null +++ b/docs/models/EditReleaseOption.md @@ -0,0 +1,14 @@ +# EditReleaseOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **body** | **String** | | [optional] [default to null] | +| **draft** | **Boolean** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **prerelease** | **Boolean** | | [optional] [default to null] | +| **tag\_name** | **String** | | [optional] [default to null] | +| **target\_commitish** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditRepoOption.md b/docs/models/EditRepoOption.md new file mode 100644 index 0000000..b95b60f --- /dev/null +++ b/docs/models/EditRepoOption.md @@ -0,0 +1,38 @@ +# EditRepoOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **allow\_manual\_merge** | **Boolean** | either `true` to allow mark pr as merged manually, or `false` to prevent it. | [optional] [default to null] | +| **allow\_merge\_commits** | **Boolean** | either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. | [optional] [default to null] | +| **allow\_rebase** | **Boolean** | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. | [optional] [default to null] | +| **allow\_rebase\_explicit** | **Boolean** | either `true` to allow rebase with explicit merge commits (--no-ff), or `false` to prevent rebase with explicit merge commits. | [optional] [default to null] | +| **allow\_rebase\_update** | **Boolean** | either `true` to allow updating pull request branch by rebase, or `false` to prevent it. | [optional] [default to null] | +| **allow\_squash\_merge** | **Boolean** | either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. | [optional] [default to null] | +| **archived** | **Boolean** | set to `true` to archive this repository. | [optional] [default to null] | +| **autodetect\_manual\_merge** | **Boolean** | either `true` to enable AutodetectManualMerge, or `false` to prevent it. Note: In some special cases, misjudgments can occur. | [optional] [default to null] | +| **default\_allow\_maintainer\_edit** | **Boolean** | set to `true` to allow edits from maintainers by default | [optional] [default to null] | +| **default\_branch** | **String** | sets the default branch for this repository. | [optional] [default to null] | +| **default\_delete\_branch\_after\_merge** | **Boolean** | set to `true` to delete pr branch after merge by default | [optional] [default to null] | +| **default\_merge\_style** | **String** | set to a merge style to be used by this repository: \"merge\", \"rebase\", \"rebase-merge\", or \"squash\". | [optional] [default to null] | +| **description** | **String** | a short description of the repository. | [optional] [default to null] | +| **enable\_prune** | **Boolean** | enable prune - remove obsolete remote-tracking references | [optional] [default to null] | +| **external\_tracker** | [**ExternalTracker**](ExternalTracker.md) | | [optional] [default to null] | +| **external\_wiki** | [**ExternalWiki**](ExternalWiki.md) | | [optional] [default to null] | +| **has\_actions** | **Boolean** | either `true` to enable actions unit, or `false` to disable them. | [optional] [default to null] | +| **has\_issues** | **Boolean** | either `true` to enable issues for this repository or `false` to disable them. | [optional] [default to null] | +| **has\_packages** | **Boolean** | either `true` to enable packages unit, or `false` to disable them. | [optional] [default to null] | +| **has\_projects** | **Boolean** | either `true` to enable project unit, or `false` to disable them. | [optional] [default to null] | +| **has\_pull\_requests** | **Boolean** | either `true` to allow pull requests, or `false` to prevent pull request. | [optional] [default to null] | +| **has\_releases** | **Boolean** | either `true` to enable releases unit, or `false` to disable them. | [optional] [default to null] | +| **has\_wiki** | **Boolean** | either `true` to enable the wiki for this repository or `false` to disable it. | [optional] [default to null] | +| **ignore\_whitespace\_conflicts** | **Boolean** | either `true` to ignore whitespace for conflicts, or `false` to not ignore whitespace. | [optional] [default to null] | +| **internal\_tracker** | [**InternalTracker**](InternalTracker.md) | | [optional] [default to null] | +| **mirror\_interval** | **String** | set to a string like `8h30m0s` to set the mirror interval time | [optional] [default to null] | +| **name** | **String** | name of the repository | [optional] [default to null] | +| **private** | **Boolean** | either `true` to make the repository private or `false` to make it public. Note: you will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private. | [optional] [default to null] | +| **template** | **Boolean** | either `true` to make this repository a template or `false` to make it a normal repository | [optional] [default to null] | +| **website** | **String** | a URL with more information about the repository. | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditTeamOption.md b/docs/models/EditTeamOption.md new file mode 100644 index 0000000..a169955 --- /dev/null +++ b/docs/models/EditTeamOption.md @@ -0,0 +1,15 @@ +# EditTeamOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **name** | **String** | | [default to null] | +| **can\_create\_org\_repo** | **Boolean** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **includes\_all\_repositories** | **Boolean** | | [optional] [default to null] | +| **permission** | **String** | | [optional] [default to null] | +| **units** | **List** | | [optional] [default to null] | +| **units\_map** | **Map** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/EditUserOption.md b/docs/models/EditUserOption.md new file mode 100644 index 0000000..c2671b2 --- /dev/null +++ b/docs/models/EditUserOption.md @@ -0,0 +1,26 @@ +# EditUserOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **login\_name** | **String** | | [default to null] | +| **source\_id** | **Long** | | [default to null] | +| **active** | **Boolean** | | [optional] [default to null] | +| **admin** | **Boolean** | | [optional] [default to null] | +| **allow\_create\_organization** | **Boolean** | | [optional] [default to null] | +| **allow\_git\_hook** | **Boolean** | | [optional] [default to null] | +| **allow\_import\_local** | **Boolean** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **email** | **String** | | [optional] [default to null] | +| **full\_name** | **String** | | [optional] [default to null] | +| **location** | **String** | | [optional] [default to null] | +| **max\_repo\_creation** | **Long** | | [optional] [default to null] | +| **must\_change\_password** | **Boolean** | | [optional] [default to null] | +| **password** | **String** | | [optional] [default to null] | +| **prohibit\_login** | **Boolean** | | [optional] [default to null] | +| **restricted** | **Boolean** | | [optional] [default to null] | +| **visibility** | **String** | | [optional] [default to null] | +| **website** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Email.md b/docs/models/Email.md new file mode 100644 index 0000000..1d7970d --- /dev/null +++ b/docs/models/Email.md @@ -0,0 +1,13 @@ +# Email +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **email** | **String** | | [optional] [default to null] | +| **primary** | **Boolean** | | [optional] [default to null] | +| **user\_id** | **Long** | | [optional] [default to null] | +| **username** | **String** | | [optional] [default to null] | +| **verified** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/ExternalTracker.md b/docs/models/ExternalTracker.md new file mode 100644 index 0000000..d0814ef --- /dev/null +++ b/docs/models/ExternalTracker.md @@ -0,0 +1,12 @@ +# ExternalTracker +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **external\_tracker\_format** | **String** | External Issue Tracker URL Format. Use the placeholders {user}, {repo} and {index} for the username, repository name and issue index. | [optional] [default to null] | +| **external\_tracker\_regexp\_pattern** | **String** | External Issue Tracker issue regular expression | [optional] [default to null] | +| **external\_tracker\_style** | **String** | External Issue Tracker Number Format, either `numeric`, `alphanumeric`, or `regexp` | [optional] [default to null] | +| **external\_tracker\_url** | **String** | URL of external issue tracker. | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/ExternalWiki.md b/docs/models/ExternalWiki.md new file mode 100644 index 0000000..7071760 --- /dev/null +++ b/docs/models/ExternalWiki.md @@ -0,0 +1,9 @@ +# ExternalWiki +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **external\_wiki\_url** | **String** | URL of external wiki. | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/FileCommitResponse.md b/docs/models/FileCommitResponse.md new file mode 100644 index 0000000..96c094c --- /dev/null +++ b/docs/models/FileCommitResponse.md @@ -0,0 +1,17 @@ +# FileCommitResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **author** | [**CommitUser**](CommitUser.md) | | [optional] [default to null] | +| **committer** | [**CommitUser**](CommitUser.md) | | [optional] [default to null] | +| **created** | **Date** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **message** | **String** | | [optional] [default to null] | +| **parents** | [**List**](CommitMeta.md) | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | +| **tree** | [**CommitMeta**](CommitMeta.md) | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/FileDeleteResponse.md b/docs/models/FileDeleteResponse.md new file mode 100644 index 0000000..529dcc9 --- /dev/null +++ b/docs/models/FileDeleteResponse.md @@ -0,0 +1,11 @@ +# FileDeleteResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional] [default to null] | +| **content** | [**Object**](.md) | | [optional] [default to null] | +| **verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/FileLinksResponse.md b/docs/models/FileLinksResponse.md new file mode 100644 index 0000000..304fdf5 --- /dev/null +++ b/docs/models/FileLinksResponse.md @@ -0,0 +1,11 @@ +# FileLinksResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **git** | **String** | | [optional] [default to null] | +| **html** | **String** | | [optional] [default to null] | +| **self** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/FileResponse.md b/docs/models/FileResponse.md new file mode 100644 index 0000000..fc37ee4 --- /dev/null +++ b/docs/models/FileResponse.md @@ -0,0 +1,11 @@ +# FileResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional] [default to null] | +| **content** | [**ContentsResponse**](ContentsResponse.md) | | [optional] [default to null] | +| **verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/FilesResponse.md b/docs/models/FilesResponse.md new file mode 100644 index 0000000..7a1f992 --- /dev/null +++ b/docs/models/FilesResponse.md @@ -0,0 +1,11 @@ +# FilesResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional] [default to null] | +| **files** | [**List**](ContentsResponse.md) | | [optional] [default to null] | +| **verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GPGKey.md b/docs/models/GPGKey.md new file mode 100644 index 0000000..31ee1bf --- /dev/null +++ b/docs/models/GPGKey.md @@ -0,0 +1,21 @@ +# GPGKey +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **can\_certify** | **Boolean** | | [optional] [default to null] | +| **can\_encrypt\_comms** | **Boolean** | | [optional] [default to null] | +| **can\_encrypt\_storage** | **Boolean** | | [optional] [default to null] | +| **can\_sign** | **Boolean** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **emails** | [**List**](GPGKeyEmail.md) | | [optional] [default to null] | +| **expires\_at** | **Date** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **key\_id** | **String** | | [optional] [default to null] | +| **primary\_key\_id** | **String** | | [optional] [default to null] | +| **public\_key** | **String** | | [optional] [default to null] | +| **subkeys** | [**List**](GPGKey.md) | | [optional] [default to null] | +| **verified** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GPGKeyEmail.md b/docs/models/GPGKeyEmail.md new file mode 100644 index 0000000..c565c7e --- /dev/null +++ b/docs/models/GPGKeyEmail.md @@ -0,0 +1,10 @@ +# GPGKeyEmail +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **email** | **String** | | [optional] [default to null] | +| **verified** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GeneralAPISettings.md b/docs/models/GeneralAPISettings.md new file mode 100644 index 0000000..ff46c83 --- /dev/null +++ b/docs/models/GeneralAPISettings.md @@ -0,0 +1,12 @@ +# GeneralAPISettings +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **default\_git\_trees\_per\_page** | **Long** | | [optional] [default to null] | +| **default\_max\_blob\_size** | **Long** | | [optional] [default to null] | +| **default\_paging\_num** | **Long** | | [optional] [default to null] | +| **max\_response\_items** | **Long** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GeneralAttachmentSettings.md b/docs/models/GeneralAttachmentSettings.md new file mode 100644 index 0000000..8e6324d --- /dev/null +++ b/docs/models/GeneralAttachmentSettings.md @@ -0,0 +1,12 @@ +# GeneralAttachmentSettings +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **allowed\_types** | **String** | | [optional] [default to null] | +| **enabled** | **Boolean** | | [optional] [default to null] | +| **max\_files** | **Long** | | [optional] [default to null] | +| **max\_size** | **Long** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GeneralRepoSettings.md b/docs/models/GeneralRepoSettings.md new file mode 100644 index 0000000..b5ce03f --- /dev/null +++ b/docs/models/GeneralRepoSettings.md @@ -0,0 +1,14 @@ +# GeneralRepoSettings +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **http\_git\_disabled** | **Boolean** | | [optional] [default to null] | +| **lfs\_disabled** | **Boolean** | | [optional] [default to null] | +| **migrations\_disabled** | **Boolean** | | [optional] [default to null] | +| **mirrors\_disabled** | **Boolean** | | [optional] [default to null] | +| **stars\_disabled** | **Boolean** | | [optional] [default to null] | +| **time\_tracking\_disabled** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GeneralUISettings.md b/docs/models/GeneralUISettings.md new file mode 100644 index 0000000..54cd0e8 --- /dev/null +++ b/docs/models/GeneralUISettings.md @@ -0,0 +1,11 @@ +# GeneralUISettings +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **allowed\_reactions** | **List** | | [optional] [default to null] | +| **custom\_emojis** | **List** | | [optional] [default to null] | +| **default\_theme** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GenerateRepoOption.md b/docs/models/GenerateRepoOption.md new file mode 100644 index 0000000..f7eb872 --- /dev/null +++ b/docs/models/GenerateRepoOption.md @@ -0,0 +1,19 @@ +# GenerateRepoOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **name** | **String** | Name of the repository to create | [default to null] | +| **owner** | **String** | The organization or person who will own the new repository | [default to null] | +| **avatar** | **Boolean** | include avatar of the template repo | [optional] [default to null] | +| **default\_branch** | **String** | Default branch of the new repository | [optional] [default to null] | +| **description** | **String** | Description of the repository to create | [optional] [default to null] | +| **git\_content** | **Boolean** | include git content of default branch in template repo | [optional] [default to null] | +| **git\_hooks** | **Boolean** | include git hooks in template repo | [optional] [default to null] | +| **labels** | **Boolean** | include labels in template repo | [optional] [default to null] | +| **private** | **Boolean** | Whether the repository is private | [optional] [default to null] | +| **topics** | **Boolean** | include topics in template repo | [optional] [default to null] | +| **webhooks** | **Boolean** | include webhooks in template repo | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GitBlobResponse.md b/docs/models/GitBlobResponse.md new file mode 100644 index 0000000..cbc4bb7 --- /dev/null +++ b/docs/models/GitBlobResponse.md @@ -0,0 +1,13 @@ +# GitBlobResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **content** | **String** | | [optional] [default to null] | +| **encoding** | **String** | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | +| **size** | **Long** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GitEntry.md b/docs/models/GitEntry.md new file mode 100644 index 0000000..453d80e --- /dev/null +++ b/docs/models/GitEntry.md @@ -0,0 +1,14 @@ +# GitEntry +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **mode** | **String** | | [optional] [default to null] | +| **path** | **String** | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | +| **size** | **Long** | | [optional] [default to null] | +| **type** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GitHook.md b/docs/models/GitHook.md new file mode 100644 index 0000000..f9e6684 --- /dev/null +++ b/docs/models/GitHook.md @@ -0,0 +1,11 @@ +# GitHook +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **content** | **String** | | [optional] [default to null] | +| **is\_active** | **Boolean** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GitObject.md b/docs/models/GitObject.md new file mode 100644 index 0000000..479e490 --- /dev/null +++ b/docs/models/GitObject.md @@ -0,0 +1,11 @@ +# GitObject +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **sha** | **String** | | [optional] [default to null] | +| **type** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GitTreeResponse.md b/docs/models/GitTreeResponse.md new file mode 100644 index 0000000..2345c6c --- /dev/null +++ b/docs/models/GitTreeResponse.md @@ -0,0 +1,14 @@ +# GitTreeResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **page** | **Long** | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | +| **total\_count** | **Long** | | [optional] [default to null] | +| **tree** | [**List**](GitEntry.md) | | [optional] [default to null] | +| **truncated** | **Boolean** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/GitignoreTemplateInfo.md b/docs/models/GitignoreTemplateInfo.md new file mode 100644 index 0000000..99e2e5d --- /dev/null +++ b/docs/models/GitignoreTemplateInfo.md @@ -0,0 +1,10 @@ +# GitignoreTemplateInfo +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **name** | **String** | | [optional] [default to null] | +| **source** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Hook.md b/docs/models/Hook.md new file mode 100644 index 0000000..c2b6077 --- /dev/null +++ b/docs/models/Hook.md @@ -0,0 +1,17 @@ +# Hook +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **active** | **Boolean** | | [optional] [default to null] | +| **authorization\_header** | **String** | | [optional] [default to null] | +| **branch\_filter** | **String** | | [optional] [default to null] | +| **config** | **Map** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **events** | **List** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **type** | **String** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Identity.md b/docs/models/Identity.md new file mode 100644 index 0000000..954c1d2 --- /dev/null +++ b/docs/models/Identity.md @@ -0,0 +1,10 @@ +# Identity +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **email** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/InternalTracker.md b/docs/models/InternalTracker.md new file mode 100644 index 0000000..06a5dde --- /dev/null +++ b/docs/models/InternalTracker.md @@ -0,0 +1,11 @@ +# InternalTracker +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **allow\_only\_contributors\_to\_track\_time** | **Boolean** | Let only contributors track time (Built-in issue tracker) | [optional] [default to null] | +| **enable\_issue\_dependencies** | **Boolean** | Enable dependencies for issues and pull requests (Built-in issue tracker) | [optional] [default to null] | +| **enable\_time\_tracker** | **Boolean** | Enable time tracking (Built-in issue tracker) | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Issue.md b/docs/models/Issue.md new file mode 100644 index 0000000..8c44ee8 --- /dev/null +++ b/docs/models/Issue.md @@ -0,0 +1,33 @@ +# Issue +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **assets** | [**List**](Attachment.md) | | [optional] [default to null] | +| **assignee** | [**User**](User.md) | | [optional] [default to null] | +| **assignees** | [**List**](User.md) | | [optional] [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **closed\_at** | **Date** | | [optional] [default to null] | +| **comments** | **Long** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **due\_date** | **Date** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **is\_locked** | **Boolean** | | [optional] [default to null] | +| **labels** | [**List**](Label.md) | | [optional] [default to null] | +| **milestone** | [**Milestone**](Milestone.md) | | [optional] [default to null] | +| **number** | **Long** | | [optional] [default to null] | +| **original\_author** | **String** | | [optional] [default to null] | +| **original\_author\_id** | **Long** | | [optional] [default to null] | +| **pin\_order** | **Long** | | [optional] [default to null] | +| **pull\_request** | [**PullRequestMeta**](PullRequestMeta.md) | | [optional] [default to null] | +| **ref** | **String** | | [optional] [default to null] | +| **repository** | [**RepositoryMeta**](RepositoryMeta.md) | | [optional] [default to null] | +| **state** | **String** | StateType issue state type | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/IssueConfig.md b/docs/models/IssueConfig.md new file mode 100644 index 0000000..9e6493b --- /dev/null +++ b/docs/models/IssueConfig.md @@ -0,0 +1,10 @@ +# IssueConfig +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **blank\_issues\_enabled** | **Boolean** | | [optional] [default to null] | +| **contact\_links** | [**List**](IssueConfigContactLink.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/IssueConfigContactLink.md b/docs/models/IssueConfigContactLink.md new file mode 100644 index 0000000..6fc83a4 --- /dev/null +++ b/docs/models/IssueConfigContactLink.md @@ -0,0 +1,11 @@ +# IssueConfigContactLink +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **about** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/IssueConfigValidation.md b/docs/models/IssueConfigValidation.md new file mode 100644 index 0000000..1bb937e --- /dev/null +++ b/docs/models/IssueConfigValidation.md @@ -0,0 +1,10 @@ +# IssueConfigValidation +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **message** | **String** | | [optional] [default to null] | +| **valid** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/IssueDeadline.md b/docs/models/IssueDeadline.md new file mode 100644 index 0000000..a611d43 --- /dev/null +++ b/docs/models/IssueDeadline.md @@ -0,0 +1,9 @@ +# IssueDeadline +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **due\_date** | **Date** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/IssueFormField.md b/docs/models/IssueFormField.md new file mode 100644 index 0000000..b8e8818 --- /dev/null +++ b/docs/models/IssueFormField.md @@ -0,0 +1,12 @@ +# IssueFormField +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **attributes** | **Map** | | [optional] [default to null] | +| **id** | **String** | | [optional] [default to null] | +| **type** | **String** | | [optional] [default to null] | +| **validations** | **Map** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/IssueLabelsOption.md b/docs/models/IssueLabelsOption.md new file mode 100644 index 0000000..383ced8 --- /dev/null +++ b/docs/models/IssueLabelsOption.md @@ -0,0 +1,9 @@ +# IssueLabelsOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **labels** | **List** | list of label IDs | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/IssueMeta.md b/docs/models/IssueMeta.md new file mode 100644 index 0000000..0939c4e --- /dev/null +++ b/docs/models/IssueMeta.md @@ -0,0 +1,11 @@ +# IssueMeta +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **index** | **Long** | | [optional] [default to null] | +| **owner** | **String** | | [optional] [default to null] | +| **repo** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/IssueTemplate.md b/docs/models/IssueTemplate.md new file mode 100644 index 0000000..52a741b --- /dev/null +++ b/docs/models/IssueTemplate.md @@ -0,0 +1,16 @@ +# IssueTemplate +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **about** | **String** | | [optional] [default to null] | +| **body** | [**List**](IssueFormField.md) | | [optional] [default to null] | +| **content** | **String** | | [optional] [default to null] | +| **file\_name** | **String** | | [optional] [default to null] | +| **labels** | **List** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **ref** | **String** | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Label.md b/docs/models/Label.md new file mode 100644 index 0000000..8ab3cd8 --- /dev/null +++ b/docs/models/Label.md @@ -0,0 +1,14 @@ +# Label +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **color** | **String** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **exclusive** | **Boolean** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/LabelTemplate.md b/docs/models/LabelTemplate.md new file mode 100644 index 0000000..d2abd9d --- /dev/null +++ b/docs/models/LabelTemplate.md @@ -0,0 +1,12 @@ +# LabelTemplate +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **color** | **String** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **exclusive** | **Boolean** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/LicenseTemplateInfo.md b/docs/models/LicenseTemplateInfo.md new file mode 100644 index 0000000..f0e061f --- /dev/null +++ b/docs/models/LicenseTemplateInfo.md @@ -0,0 +1,13 @@ +# LicenseTemplateInfo +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **body** | **String** | | [optional] [default to null] | +| **implementation** | **String** | | [optional] [default to null] | +| **key** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/LicensesTemplateListEntry.md b/docs/models/LicensesTemplateListEntry.md new file mode 100644 index 0000000..fbb9fe2 --- /dev/null +++ b/docs/models/LicensesTemplateListEntry.md @@ -0,0 +1,11 @@ +# LicensesTemplateListEntry +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **key** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/MarkdownOption.md b/docs/models/MarkdownOption.md new file mode 100644 index 0000000..95714ad --- /dev/null +++ b/docs/models/MarkdownOption.md @@ -0,0 +1,12 @@ +# MarkdownOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **Context** | **String** | Context to render in: body | [optional] [default to null] | +| **Mode** | **String** | Mode to render (comment, gfm, markdown) in: body | [optional] [default to null] | +| **Text** | **String** | Text markdown to render in: body | [optional] [default to null] | +| **Wiki** | **Boolean** | Is it a wiki page ? in: body | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/MarkupOption.md b/docs/models/MarkupOption.md new file mode 100644 index 0000000..6ab1423 --- /dev/null +++ b/docs/models/MarkupOption.md @@ -0,0 +1,13 @@ +# MarkupOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **Context** | **String** | Context to render in: body | [optional] [default to null] | +| **FilePath** | **String** | File path for detecting extension in file mode in: body | [optional] [default to null] | +| **Mode** | **String** | Mode to render (comment, gfm, markdown, file) in: body | [optional] [default to null] | +| **Text** | **String** | Text markup to render in: body | [optional] [default to null] | +| **Wiki** | **Boolean** | Is it a wiki page ? in: body | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/MergePullRequestOption.md b/docs/models/MergePullRequestOption.md new file mode 100644 index 0000000..c2d7a38 --- /dev/null +++ b/docs/models/MergePullRequestOption.md @@ -0,0 +1,16 @@ +# MergePullRequestOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **Do** | **String** | | [default to null] | +| **MergeCommitID** | **String** | | [optional] [default to null] | +| **MergeMessageField** | **String** | | [optional] [default to null] | +| **MergeTitleField** | **String** | | [optional] [default to null] | +| **delete\_branch\_after\_merge** | **Boolean** | | [optional] [default to null] | +| **force\_merge** | **Boolean** | | [optional] [default to null] | +| **head\_commit\_id** | **String** | | [optional] [default to null] | +| **merge\_when\_checks\_succeed** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/MigrateRepoOptions.md b/docs/models/MigrateRepoOptions.md new file mode 100644 index 0000000..9afcbae --- /dev/null +++ b/docs/models/MigrateRepoOptions.md @@ -0,0 +1,28 @@ +# MigrateRepoOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **clone\_addr** | **String** | | [default to null] | +| **repo\_name** | **String** | | [default to null] | +| **auth\_password** | **String** | | [optional] [default to null] | +| **auth\_token** | **String** | | [optional] [default to null] | +| **auth\_username** | **String** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **issues** | **Boolean** | | [optional] [default to null] | +| **labels** | **Boolean** | | [optional] [default to null] | +| **lfs** | **Boolean** | | [optional] [default to null] | +| **lfs\_endpoint** | **String** | | [optional] [default to null] | +| **milestones** | **Boolean** | | [optional] [default to null] | +| **mirror** | **Boolean** | | [optional] [default to null] | +| **mirror\_interval** | **String** | | [optional] [default to null] | +| **private** | **Boolean** | | [optional] [default to null] | +| **pull\_requests** | **Boolean** | | [optional] [default to null] | +| **releases** | **Boolean** | | [optional] [default to null] | +| **repo\_owner** | **String** | Name of User or Organisation who will own Repo after migration | [optional] [default to null] | +| **service** | **String** | | [optional] [default to null] | +| **uid** | **Long** | deprecated (only for backwards compatibility) | [optional] [default to null] | +| **wiki** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Milestone.md b/docs/models/Milestone.md new file mode 100644 index 0000000..ce1e478 --- /dev/null +++ b/docs/models/Milestone.md @@ -0,0 +1,18 @@ +# Milestone +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **closed\_at** | **Date** | | [optional] [default to null] | +| **closed\_issues** | **Long** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **due\_on** | **Date** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **open\_issues** | **Long** | | [optional] [default to null] | +| **state** | **String** | StateType issue state type | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/NewIssuePinsAllowed.md b/docs/models/NewIssuePinsAllowed.md new file mode 100644 index 0000000..130b579 --- /dev/null +++ b/docs/models/NewIssuePinsAllowed.md @@ -0,0 +1,10 @@ +# NewIssuePinsAllowed +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **issues** | **Boolean** | | [optional] [default to null] | +| **pull\_requests** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/NodeInfo.md b/docs/models/NodeInfo.md new file mode 100644 index 0000000..4b7b7d7 --- /dev/null +++ b/docs/models/NodeInfo.md @@ -0,0 +1,15 @@ +# NodeInfo +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **metadata** | [**Object**](.md) | | [optional] [default to null] | +| **openRegistrations** | **Boolean** | | [optional] [default to null] | +| **protocols** | **List** | | [optional] [default to null] | +| **services** | [**NodeInfoServices**](NodeInfoServices.md) | | [optional] [default to null] | +| **software** | [**NodeInfoSoftware**](NodeInfoSoftware.md) | | [optional] [default to null] | +| **usage** | [**NodeInfoUsage**](NodeInfoUsage.md) | | [optional] [default to null] | +| **version** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/NodeInfoServices.md b/docs/models/NodeInfoServices.md new file mode 100644 index 0000000..7522413 --- /dev/null +++ b/docs/models/NodeInfoServices.md @@ -0,0 +1,10 @@ +# NodeInfoServices +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **inbound** | **List** | | [optional] [default to null] | +| **outbound** | **List** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/NodeInfoSoftware.md b/docs/models/NodeInfoSoftware.md new file mode 100644 index 0000000..2fac8ab --- /dev/null +++ b/docs/models/NodeInfoSoftware.md @@ -0,0 +1,12 @@ +# NodeInfoSoftware +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **homepage** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **repository** | **String** | | [optional] [default to null] | +| **version** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/NodeInfoUsage.md b/docs/models/NodeInfoUsage.md new file mode 100644 index 0000000..0476117 --- /dev/null +++ b/docs/models/NodeInfoUsage.md @@ -0,0 +1,11 @@ +# NodeInfoUsage +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **localComments** | **Long** | | [optional] [default to null] | +| **localPosts** | **Long** | | [optional] [default to null] | +| **users** | [**NodeInfoUsageUsers**](NodeInfoUsageUsers.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/NodeInfoUsageUsers.md b/docs/models/NodeInfoUsageUsers.md new file mode 100644 index 0000000..89b3945 --- /dev/null +++ b/docs/models/NodeInfoUsageUsers.md @@ -0,0 +1,11 @@ +# NodeInfoUsageUsers +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **activeHalfyear** | **Long** | | [optional] [default to null] | +| **activeMonth** | **Long** | | [optional] [default to null] | +| **total** | **Long** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Note.md b/docs/models/Note.md new file mode 100644 index 0000000..7d47996 --- /dev/null +++ b/docs/models/Note.md @@ -0,0 +1,10 @@ +# Note +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commit** | [**Commit**](Commit.md) | | [optional] [default to null] | +| **message** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/NotificationCount.md b/docs/models/NotificationCount.md new file mode 100644 index 0000000..2ff399c --- /dev/null +++ b/docs/models/NotificationCount.md @@ -0,0 +1,9 @@ +# NotificationCount +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **new** | **Long** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/NotificationSubject.md b/docs/models/NotificationSubject.md new file mode 100644 index 0000000..c93b250 --- /dev/null +++ b/docs/models/NotificationSubject.md @@ -0,0 +1,15 @@ +# NotificationSubject +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **html\_url** | **String** | | [optional] [default to null] | +| **latest\_comment\_html\_url** | **String** | | [optional] [default to null] | +| **latest\_comment\_url** | **String** | | [optional] [default to null] | +| **state** | **String** | StateType issue state type | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | +| **type** | **String** | NotifySubjectType represent type of notification subject | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/NotificationThread.md b/docs/models/NotificationThread.md new file mode 100644 index 0000000..41976c2 --- /dev/null +++ b/docs/models/NotificationThread.md @@ -0,0 +1,15 @@ +# NotificationThread +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **id** | **Long** | | [optional] [default to null] | +| **pinned** | **Boolean** | | [optional] [default to null] | +| **repository** | [**Repository**](Repository.md) | | [optional] [default to null] | +| **subject** | [**NotificationSubject**](NotificationSubject.md) | | [optional] [default to null] | +| **unread** | **Boolean** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/OAuth2Application.md b/docs/models/OAuth2Application.md new file mode 100644 index 0000000..76f85ce --- /dev/null +++ b/docs/models/OAuth2Application.md @@ -0,0 +1,15 @@ +# OAuth2Application +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **client\_id** | **String** | | [optional] [default to null] | +| **client\_secret** | **String** | | [optional] [default to null] | +| **confidential\_client** | **Boolean** | | [optional] [default to null] | +| **created** | **Date** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **redirect\_uris** | **List** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Organization.md b/docs/models/Organization.md new file mode 100644 index 0000000..30109e5 --- /dev/null +++ b/docs/models/Organization.md @@ -0,0 +1,18 @@ +# Organization +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **avatar\_url** | **String** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **full\_name** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **location** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **repo\_admin\_change\_team\_access** | **Boolean** | | [optional] [default to null] | +| **username** | **String** | deprecated | [optional] [default to null] | +| **visibility** | **String** | | [optional] [default to null] | +| **website** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/OrganizationPermissions.md b/docs/models/OrganizationPermissions.md new file mode 100644 index 0000000..45c2e3a --- /dev/null +++ b/docs/models/OrganizationPermissions.md @@ -0,0 +1,13 @@ +# OrganizationPermissions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **can\_create\_repository** | **Boolean** | | [optional] [default to null] | +| **can\_read** | **Boolean** | | [optional] [default to null] | +| **can\_write** | **Boolean** | | [optional] [default to null] | +| **is\_admin** | **Boolean** | | [optional] [default to null] | +| **is\_owner** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PRBranchInfo.md b/docs/models/PRBranchInfo.md new file mode 100644 index 0000000..ed0f59f --- /dev/null +++ b/docs/models/PRBranchInfo.md @@ -0,0 +1,13 @@ +# PRBranchInfo +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **label** | **String** | | [optional] [default to null] | +| **ref** | **String** | | [optional] [default to null] | +| **repo** | [**Repository**](Repository.md) | | [optional] [default to null] | +| **repo\_id** | **Long** | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Package.md b/docs/models/Package.md new file mode 100644 index 0000000..a3d3bbf --- /dev/null +++ b/docs/models/Package.md @@ -0,0 +1,16 @@ +# Package +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **created\_at** | **Date** | | [optional] [default to null] | +| **creator** | [**User**](User.md) | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **owner** | [**User**](User.md) | | [optional] [default to null] | +| **repository** | [**Repository**](Repository.md) | | [optional] [default to null] | +| **type** | **String** | | [optional] [default to null] | +| **version** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PackageFile.md b/docs/models/PackageFile.md new file mode 100644 index 0000000..5a459e1 --- /dev/null +++ b/docs/models/PackageFile.md @@ -0,0 +1,15 @@ +# PackageFile +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **Size** | **Long** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **md5** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **sha1** | **String** | | [optional] [default to null] | +| **sha256** | **String** | | [optional] [default to null] | +| **sha512** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PayloadCommit.md b/docs/models/PayloadCommit.md new file mode 100644 index 0000000..fd12a75 --- /dev/null +++ b/docs/models/PayloadCommit.md @@ -0,0 +1,18 @@ +# PayloadCommit +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **added** | **List** | | [optional] [default to null] | +| **author** | [**PayloadUser**](PayloadUser.md) | | [optional] [default to null] | +| **committer** | [**PayloadUser**](PayloadUser.md) | | [optional] [default to null] | +| **id** | **String** | sha1 hash of the commit | [optional] [default to null] | +| **message** | **String** | | [optional] [default to null] | +| **modified** | **List** | | [optional] [default to null] | +| **removed** | **List** | | [optional] [default to null] | +| **timestamp** | **Date** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | +| **verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PayloadCommitVerification.md b/docs/models/PayloadCommitVerification.md new file mode 100644 index 0000000..7a59750 --- /dev/null +++ b/docs/models/PayloadCommitVerification.md @@ -0,0 +1,13 @@ +# PayloadCommitVerification +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **payload** | **String** | | [optional] [default to null] | +| **reason** | **String** | | [optional] [default to null] | +| **signature** | **String** | | [optional] [default to null] | +| **signer** | [**PayloadUser**](PayloadUser.md) | | [optional] [default to null] | +| **verified** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PayloadUser.md b/docs/models/PayloadUser.md new file mode 100644 index 0000000..36dab38 --- /dev/null +++ b/docs/models/PayloadUser.md @@ -0,0 +1,11 @@ +# PayloadUser +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **email** | **String** | | [optional] [default to null] | +| **name** | **String** | Full name of the commit author | [optional] [default to null] | +| **username** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Permission.md b/docs/models/Permission.md new file mode 100644 index 0000000..71709ff --- /dev/null +++ b/docs/models/Permission.md @@ -0,0 +1,11 @@ +# Permission +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **admin** | **Boolean** | | [optional] [default to null] | +| **pull** | **Boolean** | | [optional] [default to null] | +| **push** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PublicKey.md b/docs/models/PublicKey.md new file mode 100644 index 0000000..626550e --- /dev/null +++ b/docs/models/PublicKey.md @@ -0,0 +1,17 @@ +# PublicKey +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **created\_at** | **Date** | | [optional] [default to null] | +| **fingerprint** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **key** | **String** | | [optional] [default to null] | +| **key\_type** | **String** | | [optional] [default to null] | +| **read\_only** | **Boolean** | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PullRequest.md b/docs/models/PullRequest.md new file mode 100644 index 0000000..9189e9d --- /dev/null +++ b/docs/models/PullRequest.md @@ -0,0 +1,39 @@ +# PullRequest +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **allow\_maintainer\_edit** | **Boolean** | | [optional] [default to null] | +| **assignee** | [**User**](User.md) | | [optional] [default to null] | +| **assignees** | [**List**](User.md) | | [optional] [default to null] | +| **base** | [**PRBranchInfo**](PRBranchInfo.md) | | [optional] [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **closed\_at** | **Date** | | [optional] [default to null] | +| **comments** | **Long** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **diff\_url** | **String** | | [optional] [default to null] | +| **due\_date** | **Date** | | [optional] [default to null] | +| **head** | [**PRBranchInfo**](PRBranchInfo.md) | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **is\_locked** | **Boolean** | | [optional] [default to null] | +| **labels** | [**List**](Label.md) | | [optional] [default to null] | +| **merge\_base** | **String** | | [optional] [default to null] | +| **merge\_commit\_sha** | **String** | | [optional] [default to null] | +| **mergeable** | **Boolean** | | [optional] [default to null] | +| **merged** | **Boolean** | | [optional] [default to null] | +| **merged\_at** | **Date** | | [optional] [default to null] | +| **merged\_by** | [**User**](User.md) | | [optional] [default to null] | +| **milestone** | [**Milestone**](Milestone.md) | | [optional] [default to null] | +| **number** | **Long** | | [optional] [default to null] | +| **patch\_url** | **String** | | [optional] [default to null] | +| **pin\_order** | **Long** | | [optional] [default to null] | +| **requested\_reviewers** | [**List**](User.md) | | [optional] [default to null] | +| **state** | **String** | StateType issue state type | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PullRequestMeta.md b/docs/models/PullRequestMeta.md new file mode 100644 index 0000000..d53a806 --- /dev/null +++ b/docs/models/PullRequestMeta.md @@ -0,0 +1,10 @@ +# PullRequestMeta +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **merged** | **Boolean** | | [optional] [default to null] | +| **merged\_at** | **Date** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PullReview.md b/docs/models/PullReview.md new file mode 100644 index 0000000..876620a --- /dev/null +++ b/docs/models/PullReview.md @@ -0,0 +1,22 @@ +# PullReview +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **body** | **String** | | [optional] [default to null] | +| **comments\_count** | **Long** | | [optional] [default to null] | +| **commit\_id** | **String** | | [optional] [default to null] | +| **dismissed** | **Boolean** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **official** | **Boolean** | | [optional] [default to null] | +| **pull\_request\_url** | **String** | | [optional] [default to null] | +| **stale** | **Boolean** | | [optional] [default to null] | +| **state** | **String** | ReviewStateType review state type | [optional] [default to null] | +| **submitted\_at** | **Date** | | [optional] [default to null] | +| **team** | [**Team**](Team.md) | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PullReviewComment.md b/docs/models/PullReviewComment.md new file mode 100644 index 0000000..b80dc4e --- /dev/null +++ b/docs/models/PullReviewComment.md @@ -0,0 +1,23 @@ +# PullReviewComment +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **body** | **String** | | [optional] [default to null] | +| **commit\_id** | **String** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **diff\_hunk** | **String** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **original\_commit\_id** | **String** | | [optional] [default to null] | +| **original\_position** | **Integer** | | [optional] [default to null] | +| **path** | **String** | | [optional] [default to null] | +| **position** | **Integer** | | [optional] [default to null] | +| **pull\_request\_review\_id** | **Long** | | [optional] [default to null] | +| **pull\_request\_url** | **String** | | [optional] [default to null] | +| **resolver** | [**User**](User.md) | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PullReviewRequestOptions.md b/docs/models/PullReviewRequestOptions.md new file mode 100644 index 0000000..7c398a2 --- /dev/null +++ b/docs/models/PullReviewRequestOptions.md @@ -0,0 +1,10 @@ +# PullReviewRequestOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **reviewers** | **List** | | [optional] [default to null] | +| **team\_reviewers** | **List** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/PushMirror.md b/docs/models/PushMirror.md new file mode 100644 index 0000000..87154f3 --- /dev/null +++ b/docs/models/PushMirror.md @@ -0,0 +1,16 @@ +# PushMirror +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **created** | **String** | | [optional] [default to null] | +| **interval** | **String** | | [optional] [default to null] | +| **last\_error** | **String** | | [optional] [default to null] | +| **last\_update** | **String** | | [optional] [default to null] | +| **remote\_address** | **String** | | [optional] [default to null] | +| **remote\_name** | **String** | | [optional] [default to null] | +| **repo\_name** | **String** | | [optional] [default to null] | +| **sync\_on\_commit** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Reaction.md b/docs/models/Reaction.md new file mode 100644 index 0000000..332881d --- /dev/null +++ b/docs/models/Reaction.md @@ -0,0 +1,11 @@ +# Reaction +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **content** | **String** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Reference.md b/docs/models/Reference.md new file mode 100644 index 0000000..2eccb03 --- /dev/null +++ b/docs/models/Reference.md @@ -0,0 +1,11 @@ +# Reference +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **object** | [**GitObject**](GitObject.md) | | [optional] [default to null] | +| **ref** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Release.md b/docs/models/Release.md new file mode 100644 index 0000000..aa8ff2e --- /dev/null +++ b/docs/models/Release.md @@ -0,0 +1,23 @@ +# Release +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **assets** | [**List**](Attachment.md) | | [optional] [default to null] | +| **author** | [**User**](User.md) | | [optional] [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **draft** | **Boolean** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **prerelease** | **Boolean** | | [optional] [default to null] | +| **published\_at** | **Date** | | [optional] [default to null] | +| **tag\_name** | **String** | | [optional] [default to null] | +| **tarball\_url** | **String** | | [optional] [default to null] | +| **target\_commitish** | **String** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | +| **zipball\_url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/RenameUserOption.md b/docs/models/RenameUserOption.md new file mode 100644 index 0000000..1a39653 --- /dev/null +++ b/docs/models/RenameUserOption.md @@ -0,0 +1,9 @@ +# RenameUserOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **new\_username** | **String** | New username for this user. This name cannot be in use yet by any other user. | [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/RepoCollaboratorPermission.md b/docs/models/RepoCollaboratorPermission.md new file mode 100644 index 0000000..dd3a89e --- /dev/null +++ b/docs/models/RepoCollaboratorPermission.md @@ -0,0 +1,11 @@ +# RepoCollaboratorPermission +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **permission** | **String** | | [optional] [default to null] | +| **role\_name** | **String** | | [optional] [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/RepoCommit.md b/docs/models/RepoCommit.md new file mode 100644 index 0000000..6797e8a --- /dev/null +++ b/docs/models/RepoCommit.md @@ -0,0 +1,14 @@ +# RepoCommit +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **author** | [**CommitUser**](CommitUser.md) | | [optional] [default to null] | +| **committer** | [**CommitUser**](CommitUser.md) | | [optional] [default to null] | +| **message** | **String** | | [optional] [default to null] | +| **tree** | [**CommitMeta**](CommitMeta.md) | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | +| **verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/RepoTopicOptions.md b/docs/models/RepoTopicOptions.md new file mode 100644 index 0000000..1d17884 --- /dev/null +++ b/docs/models/RepoTopicOptions.md @@ -0,0 +1,9 @@ +# RepoTopicOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **topics** | **List** | list of topic names | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/RepoTransfer.md b/docs/models/RepoTransfer.md new file mode 100644 index 0000000..75b89a2 --- /dev/null +++ b/docs/models/RepoTransfer.md @@ -0,0 +1,11 @@ +# RepoTransfer +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **doer** | [**User**](User.md) | | [optional] [default to null] | +| **recipient** | [**User**](User.md) | | [optional] [default to null] | +| **teams** | [**List**](Team.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Repository.md b/docs/models/Repository.md new file mode 100644 index 0000000..13aadff --- /dev/null +++ b/docs/models/Repository.md @@ -0,0 +1,65 @@ +# Repository +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **allow\_merge\_commits** | **Boolean** | | [optional] [default to null] | +| **allow\_rebase** | **Boolean** | | [optional] [default to null] | +| **allow\_rebase\_explicit** | **Boolean** | | [optional] [default to null] | +| **allow\_rebase\_update** | **Boolean** | | [optional] [default to null] | +| **allow\_squash\_merge** | **Boolean** | | [optional] [default to null] | +| **archived** | **Boolean** | | [optional] [default to null] | +| **archived\_at** | **Date** | | [optional] [default to null] | +| **avatar\_url** | **String** | | [optional] [default to null] | +| **clone\_url** | **String** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **default\_allow\_maintainer\_edit** | **Boolean** | | [optional] [default to null] | +| **default\_branch** | **String** | | [optional] [default to null] | +| **default\_delete\_branch\_after\_merge** | **Boolean** | | [optional] [default to null] | +| **default\_merge\_style** | **String** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **empty** | **Boolean** | | [optional] [default to null] | +| **external\_tracker** | [**ExternalTracker**](ExternalTracker.md) | | [optional] [default to null] | +| **external\_wiki** | [**ExternalWiki**](ExternalWiki.md) | | [optional] [default to null] | +| **fork** | **Boolean** | | [optional] [default to null] | +| **forks\_count** | **Long** | | [optional] [default to null] | +| **full\_name** | **String** | | [optional] [default to null] | +| **has\_actions** | **Boolean** | | [optional] [default to null] | +| **has\_issues** | **Boolean** | | [optional] [default to null] | +| **has\_packages** | **Boolean** | | [optional] [default to null] | +| **has\_projects** | **Boolean** | | [optional] [default to null] | +| **has\_pull\_requests** | **Boolean** | | [optional] [default to null] | +| **has\_releases** | **Boolean** | | [optional] [default to null] | +| **has\_wiki** | **Boolean** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **ignore\_whitespace\_conflicts** | **Boolean** | | [optional] [default to null] | +| **internal** | **Boolean** | | [optional] [default to null] | +| **internal\_tracker** | [**InternalTracker**](InternalTracker.md) | | [optional] [default to null] | +| **language** | **String** | | [optional] [default to null] | +| **languages\_url** | **String** | | [optional] [default to null] | +| **link** | **String** | | [optional] [default to null] | +| **mirror** | **Boolean** | | [optional] [default to null] | +| **mirror\_interval** | **String** | | [optional] [default to null] | +| **mirror\_updated** | **Date** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **open\_issues\_count** | **Long** | | [optional] [default to null] | +| **open\_pr\_counter** | **Long** | | [optional] [default to null] | +| **original\_url** | **String** | | [optional] [default to null] | +| **owner** | [**User**](User.md) | | [optional] [default to null] | +| **parent** | [**Repository**](Repository.md) | | [optional] [default to null] | +| **permissions** | [**Permission**](Permission.md) | | [optional] [default to null] | +| **private** | **Boolean** | | [optional] [default to null] | +| **release\_counter** | **Long** | | [optional] [default to null] | +| **repo\_transfer** | [**RepoTransfer**](RepoTransfer.md) | | [optional] [default to null] | +| **size** | **Long** | | [optional] [default to null] | +| **ssh\_url** | **String** | | [optional] [default to null] | +| **stars\_count** | **Long** | | [optional] [default to null] | +| **template** | **Boolean** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | +| **watchers\_count** | **Long** | | [optional] [default to null] | +| **website** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/RepositoryMeta.md b/docs/models/RepositoryMeta.md new file mode 100644 index 0000000..1099143 --- /dev/null +++ b/docs/models/RepositoryMeta.md @@ -0,0 +1,12 @@ +# RepositoryMeta +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **full\_name** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **owner** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/SearchResults.md b/docs/models/SearchResults.md new file mode 100644 index 0000000..c9e299a --- /dev/null +++ b/docs/models/SearchResults.md @@ -0,0 +1,10 @@ +# SearchResults +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **data** | [**List**](Repository.md) | | [optional] [default to null] | +| **ok** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/ServerVersion.md b/docs/models/ServerVersion.md new file mode 100644 index 0000000..3db3f52 --- /dev/null +++ b/docs/models/ServerVersion.md @@ -0,0 +1,9 @@ +# ServerVersion +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **version** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/StopWatch.md b/docs/models/StopWatch.md new file mode 100644 index 0000000..b10a899 --- /dev/null +++ b/docs/models/StopWatch.md @@ -0,0 +1,15 @@ +# StopWatch +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **created** | **Date** | | [optional] [default to null] | +| **duration** | **String** | | [optional] [default to null] | +| **issue\_index** | **Long** | | [optional] [default to null] | +| **issue\_title** | **String** | | [optional] [default to null] | +| **repo\_name** | **String** | | [optional] [default to null] | +| **repo\_owner\_name** | **String** | | [optional] [default to null] | +| **seconds** | **Long** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/SubmitPullReviewOptions.md b/docs/models/SubmitPullReviewOptions.md new file mode 100644 index 0000000..2686359 --- /dev/null +++ b/docs/models/SubmitPullReviewOptions.md @@ -0,0 +1,10 @@ +# SubmitPullReviewOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **body** | **String** | | [optional] [default to null] | +| **event** | **String** | ReviewStateType review state type | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Tag.md b/docs/models/Tag.md new file mode 100644 index 0000000..19d550e --- /dev/null +++ b/docs/models/Tag.md @@ -0,0 +1,14 @@ +# Tag +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commit** | [**CommitMeta**](CommitMeta.md) | | [optional] [default to null] | +| **id** | **String** | | [optional] [default to null] | +| **message** | **String** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **tarball\_url** | **String** | | [optional] [default to null] | +| **zipball\_url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/Team.md b/docs/models/Team.md new file mode 100644 index 0000000..80f0d5a --- /dev/null +++ b/docs/models/Team.md @@ -0,0 +1,17 @@ +# Team +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **can\_create\_org\_repo** | **Boolean** | | [optional] [default to null] | +| **description** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **includes\_all\_repositories** | **Boolean** | | [optional] [default to null] | +| **name** | **String** | | [optional] [default to null] | +| **organization** | [**Organization**](Organization.md) | | [optional] [default to null] | +| **permission** | **String** | | [optional] [default to null] | +| **units** | **List** | | [optional] [default to null] | +| **units\_map** | **Map** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/TimelineComment.md b/docs/models/TimelineComment.md new file mode 100644 index 0000000..2a37423 --- /dev/null +++ b/docs/models/TimelineComment.md @@ -0,0 +1,37 @@ +# TimelineComment +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **assignee** | [**User**](User.md) | | [optional] [default to null] | +| **assignee\_team** | [**Team**](Team.md) | | [optional] [default to null] | +| **body** | **String** | | [optional] [default to null] | +| **created\_at** | **Date** | | [optional] [default to null] | +| **dependent\_issue** | [**Issue**](Issue.md) | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **issue\_url** | **String** | | [optional] [default to null] | +| **label** | [**Label**](Label.md) | | [optional] [default to null] | +| **milestone** | [**Milestone**](Milestone.md) | | [optional] [default to null] | +| **new\_ref** | **String** | | [optional] [default to null] | +| **new\_title** | **String** | | [optional] [default to null] | +| **old\_milestone** | [**Milestone**](Milestone.md) | | [optional] [default to null] | +| **old\_project\_id** | **Long** | | [optional] [default to null] | +| **old\_ref** | **String** | | [optional] [default to null] | +| **old\_title** | **String** | | [optional] [default to null] | +| **project\_id** | **Long** | | [optional] [default to null] | +| **pull\_request\_url** | **String** | | [optional] [default to null] | +| **ref\_action** | **String** | | [optional] [default to null] | +| **ref\_comment** | [**Comment**](Comment.md) | | [optional] [default to null] | +| **ref\_commit\_sha** | **String** | commit SHA where issue/PR was referenced | [optional] [default to null] | +| **ref\_issue** | [**Issue**](Issue.md) | | [optional] [default to null] | +| **removed\_assignee** | **Boolean** | whether the assignees were removed or added | [optional] [default to null] | +| **resolve\_doer** | [**User**](User.md) | | [optional] [default to null] | +| **review\_id** | **Long** | | [optional] [default to null] | +| **tracked\_time** | [**TrackedTime**](TrackedTime.md) | | [optional] [default to null] | +| **type** | **String** | | [optional] [default to null] | +| **updated\_at** | **Date** | | [optional] [default to null] | +| **user** | [**User**](User.md) | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/TopicName.md b/docs/models/TopicName.md new file mode 100644 index 0000000..ec4d21e --- /dev/null +++ b/docs/models/TopicName.md @@ -0,0 +1,9 @@ +# TopicName +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **topics** | **List** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/TopicResponse.md b/docs/models/TopicResponse.md new file mode 100644 index 0000000..a32e1ff --- /dev/null +++ b/docs/models/TopicResponse.md @@ -0,0 +1,13 @@ +# TopicResponse +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **created** | **Date** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **repo\_count** | **Long** | | [optional] [default to null] | +| **topic\_name** | **String** | | [optional] [default to null] | +| **updated** | **Date** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/TrackedTime.md b/docs/models/TrackedTime.md new file mode 100644 index 0000000..a5c5d2a --- /dev/null +++ b/docs/models/TrackedTime.md @@ -0,0 +1,15 @@ +# TrackedTime +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **created** | **Date** | | [optional] [default to null] | +| **id** | **Long** | | [optional] [default to null] | +| **issue** | [**Issue**](Issue.md) | | [optional] [default to null] | +| **issue\_id** | **Long** | deprecated (only for backwards compatibility) | [optional] [default to null] | +| **time** | **Long** | Time in seconds | [optional] [default to null] | +| **user\_id** | **Long** | deprecated (only for backwards compatibility) | [optional] [default to null] | +| **user\_name** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/TransferRepoOption.md b/docs/models/TransferRepoOption.md new file mode 100644 index 0000000..9495162 --- /dev/null +++ b/docs/models/TransferRepoOption.md @@ -0,0 +1,10 @@ +# TransferRepoOption +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **new\_owner** | **String** | | [default to null] | +| **team\_ids** | **List** | ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/UpdateFileOptions.md b/docs/models/UpdateFileOptions.md new file mode 100644 index 0000000..0b26786 --- /dev/null +++ b/docs/models/UpdateFileOptions.md @@ -0,0 +1,18 @@ +# UpdateFileOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **content** | **String** | content must be base64 encoded | [default to null] | +| **sha** | **String** | sha is the SHA for the file that already exists | [default to null] | +| **author** | [**Identity**](Identity.md) | | [optional] [default to null] | +| **branch** | **String** | branch (optional) to base this file from. if not given, the default branch is used | [optional] [default to null] | +| **committer** | [**Identity**](Identity.md) | | [optional] [default to null] | +| **dates** | [**CommitDateOptions**](CommitDateOptions.md) | | [optional] [default to null] | +| **from\_path** | **String** | from_path (optional) is the path of the original file which will be moved/renamed to the path in the URL | [optional] [default to null] | +| **message** | **String** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional] [default to null] | +| **new\_branch** | **String** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional] [default to null] | +| **signoff** | **Boolean** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/User.md b/docs/models/User.md new file mode 100644 index 0000000..510637f --- /dev/null +++ b/docs/models/User.md @@ -0,0 +1,28 @@ +# User +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **active** | **Boolean** | Is user active | [optional] [default to null] | +| **avatar\_url** | **String** | URL to the user's avatar | [optional] [default to null] | +| **created** | **Date** | | [optional] [default to null] | +| **description** | **String** | the user's description | [optional] [default to null] | +| **email** | **String** | | [optional] [default to null] | +| **followers\_count** | **Long** | user counts | [optional] [default to null] | +| **following\_count** | **Long** | | [optional] [default to null] | +| **full\_name** | **String** | the user's full name | [optional] [default to null] | +| **id** | **Long** | the user's id | [optional] [default to null] | +| **is\_admin** | **Boolean** | Is the user an administrator | [optional] [default to null] | +| **language** | **String** | User locale | [optional] [default to null] | +| **last\_login** | **Date** | | [optional] [default to null] | +| **location** | **String** | the user's location | [optional] [default to null] | +| **login** | **String** | the user's username | [optional] [default to null] | +| **login\_name** | **String** | the user's authentication sign-in name. | [optional] [default to empty] | +| **prohibit\_login** | **Boolean** | Is user login prohibited | [optional] [default to null] | +| **restricted** | **Boolean** | Is user restricted | [optional] [default to null] | +| **starred\_repos\_count** | **Long** | | [optional] [default to null] | +| **visibility** | **String** | User visibility level option: public, limited, private | [optional] [default to null] | +| **website** | **String** | the user's website | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/UserHeatmapData.md b/docs/models/UserHeatmapData.md new file mode 100644 index 0000000..b553bce --- /dev/null +++ b/docs/models/UserHeatmapData.md @@ -0,0 +1,10 @@ +# UserHeatmapData +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **contributions** | **Long** | | [optional] [default to null] | +| **timestamp** | **Long** | TimeStamp defines a timestamp | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/UserSettings.md b/docs/models/UserSettings.md new file mode 100644 index 0000000..a76c5f3 --- /dev/null +++ b/docs/models/UserSettings.md @@ -0,0 +1,17 @@ +# UserSettings +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **description** | **String** | | [optional] [default to null] | +| **diff\_view\_style** | **String** | | [optional] [default to null] | +| **full\_name** | **String** | | [optional] [default to null] | +| **hide\_activity** | **Boolean** | | [optional] [default to null] | +| **hide\_email** | **Boolean** | Privacy | [optional] [default to null] | +| **language** | **String** | | [optional] [default to null] | +| **location** | **String** | | [optional] [default to null] | +| **theme** | **String** | | [optional] [default to null] | +| **website** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/UserSettingsOptions.md b/docs/models/UserSettingsOptions.md new file mode 100644 index 0000000..571a3dd --- /dev/null +++ b/docs/models/UserSettingsOptions.md @@ -0,0 +1,17 @@ +# UserSettingsOptions +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **description** | **String** | | [optional] [default to null] | +| **diff\_view\_style** | **String** | | [optional] [default to null] | +| **full\_name** | **String** | | [optional] [default to null] | +| **hide\_activity** | **Boolean** | | [optional] [default to null] | +| **hide\_email** | **Boolean** | Privacy | [optional] [default to null] | +| **language** | **String** | | [optional] [default to null] | +| **location** | **String** | | [optional] [default to null] | +| **theme** | **String** | | [optional] [default to null] | +| **website** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/WatchInfo.md b/docs/models/WatchInfo.md new file mode 100644 index 0000000..69d0fa9 --- /dev/null +++ b/docs/models/WatchInfo.md @@ -0,0 +1,14 @@ +# WatchInfo +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **created\_at** | **Date** | | [optional] [default to null] | +| **ignored** | **Boolean** | | [optional] [default to null] | +| **reason** | [**Object**](.md) | | [optional] [default to null] | +| **repository\_url** | **String** | | [optional] [default to null] | +| **subscribed** | **Boolean** | | [optional] [default to null] | +| **url** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/WikiCommit.md b/docs/models/WikiCommit.md new file mode 100644 index 0000000..b6fc8bf --- /dev/null +++ b/docs/models/WikiCommit.md @@ -0,0 +1,12 @@ +# WikiCommit +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **author** | [**CommitUser**](CommitUser.md) | | [optional] [default to null] | +| **commiter** | [**CommitUser**](CommitUser.md) | | [optional] [default to null] | +| **message** | **String** | | [optional] [default to null] | +| **sha** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/WikiCommitList.md b/docs/models/WikiCommitList.md new file mode 100644 index 0000000..249ae7e --- /dev/null +++ b/docs/models/WikiCommitList.md @@ -0,0 +1,10 @@ +# WikiCommitList +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commits** | [**List**](WikiCommit.md) | | [optional] [default to null] | +| **count** | **Long** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/WikiPage.md b/docs/models/WikiPage.md new file mode 100644 index 0000000..6d23ab7 --- /dev/null +++ b/docs/models/WikiPage.md @@ -0,0 +1,16 @@ +# WikiPage +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **commit\_count** | **Long** | | [optional] [default to null] | +| **content\_base64** | **String** | Page content, base64 encoded | [optional] [default to null] | +| **footer** | **String** | | [optional] [default to null] | +| **html\_url** | **String** | | [optional] [default to null] | +| **last\_commit** | [**WikiCommit**](WikiCommit.md) | | [optional] [default to null] | +| **sidebar** | **String** | | [optional] [default to null] | +| **sub\_url** | **String** | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/WikiPageMetaData.md b/docs/models/WikiPageMetaData.md new file mode 100644 index 0000000..5d637ec --- /dev/null +++ b/docs/models/WikiPageMetaData.md @@ -0,0 +1,12 @@ +# WikiPageMetaData +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **html\_url** | **String** | | [optional] [default to null] | +| **last\_commit** | [**WikiCommit**](WikiCommit.md) | | [optional] [default to null] | +| **sub\_url** | **String** | | [optional] [default to null] | +| **title** | **String** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/teamSearch_200_response.md b/docs/models/teamSearch_200_response.md new file mode 100644 index 0000000..20575f4 --- /dev/null +++ b/docs/models/teamSearch_200_response.md @@ -0,0 +1,10 @@ +# teamSearch_200_response +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **data** | [**List**](Team.md) | | [optional] [default to null] | +| **ok** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/models/userSearch_200_response.md b/docs/models/userSearch_200_response.md new file mode 100644 index 0000000..cc7c828 --- /dev/null +++ b/docs/models/userSearch_200_response.md @@ -0,0 +1,10 @@ +# userSearch_200_response +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +| **data** | [**List**](User.md) | | [optional] [default to null] | +| **ok** | **Boolean** | | [optional] [default to null] | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/git_push.sh b/git_push.sh index f53a75d..d5bf043 100644 --- a/git_push.sh +++ b/git_push.sh @@ -14,12 +14,12 @@ if [ "$git_host" = "" ]; then fi if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" + git_user_id="client-api" echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" fi if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" + git_repo_id="forgejo-ts" echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" fi diff --git a/package-lock.json b/package-lock.json index 62bb990..ad12c6a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@clientapi/forgejo", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@clientapi/forgejo", - "version": "1.0.0", + "version": "1.0.1", "license": "Unlicense", "dependencies": { - "axios": "^0.27.2" + "axios": "^1.5.1" }, "devDependencies": { "@types/node": "^12.11.5", @@ -28,12 +28,13 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz", + "integrity": "sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==", "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "node_modules/combined-stream": { @@ -106,6 +107,11 @@ "node": ">= 0.6" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/typescript": { "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", diff --git a/package.json b/package.json index 2fc2cfd..04a5ea0 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@clientapi/forgejo", - "version": "1.0.0", + "version": "1.0.1", "description": "OpenAPI client for @clientapi/forgejo", "author": "OpenAPI-Generator Contributors", "repository": { "type": "git", - "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" + "url": "https://github.com/client-api/forgejo-ts.git" }, "keywords": [ "axios", @@ -24,7 +24,7 @@ "prepare": "npm run build" }, "dependencies": { - "axios": "^0.27.2" + "axios": "^1.5.1" }, "devDependencies": { "@types/node": "^12.11.5",