bitbucketv1

package module
v0.0.0-...-9651e78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 21 Imported by: 0

README

Go API client for bitbucketv1

This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the Bitbucket Developer Documentation.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

Installation

Put the package under your project folder and add the following in import:

import "./bitbucketv1"

Documentation for API Endpoints

All URIs are relative to http://{baseurl}/rest

Class Method HTTP request Description
AuthenticationApi AddForProject Post /keys/latest/projects/{projectKey}/ssh Add project SSH key
AuthenticationApi AddForRepository Post /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh Add repository SSH key
AuthenticationApi AddSshKey Post /ssh/latest/keys Add SSH key for user
AuthenticationApi CreateAccessToken1 Put /access-tokens/latest/projects/{projectKey} Create project HTTP token
AuthenticationApi CreateAccessToken2 Put /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug} Create repository HTTP token
AuthenticationApi CreateAccessToken3 Put /access-tokens/latest/users/{userSlug} Create personal HTTP token
AuthenticationApi DeleteById Delete /access-tokens/latest/projects/{projectKey}/{tokenId} Delete a HTTP token
AuthenticationApi DeleteById1 Delete /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug}/{tokenId} Delete a HTTP token
AuthenticationApi DeleteById2 Delete /access-tokens/latest/users/{userSlug}/{tokenId} Delete a HTTP token
AuthenticationApi DeleteSshKey Delete /ssh/latest/keys/{keyId} Remove SSH key
AuthenticationApi DeleteSshKeys Delete /ssh/latest/keys Delete all user SSH key
AuthenticationApi GetAllAccessTokens Get /access-tokens/latest/projects/{projectKey} Get project HTTP tokens
AuthenticationApi GetAllAccessTokens1 Get /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug} Get repository HTTP tokens
AuthenticationApi GetAllAccessTokens2 Get /access-tokens/latest/users/{userSlug} Get personal HTTP tokens
AuthenticationApi GetById Get /access-tokens/latest/projects/{projectKey}/{tokenId} Get HTTP token by ID
AuthenticationApi GetById1 Get /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug}/{tokenId} Get HTTP token by ID
AuthenticationApi GetById2 Get /access-tokens/latest/users/{userSlug}/{tokenId} Get HTTP token by ID
AuthenticationApi GetForProject Get /keys/latest/projects/{projectKey}/ssh/{keyId} Get project SSH key
AuthenticationApi GetForProjects Get /keys/latest/ssh/{keyId}/projects Get project SSH keys
AuthenticationApi GetForRepositories Get /keys/latest/ssh/{keyId}/repos Get repository SSH key
AuthenticationApi GetForRepository Get /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh Get repository SSH keys
AuthenticationApi GetForRepository1 Get /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh/{keyId} Get repository SSH key
AuthenticationApi GetSshKey Get /ssh/latest/keys/{keyId} Get SSH key for user by keyId
AuthenticationApi GetSshKeys Get /ssh/latest/keys Get SSH keys for user
AuthenticationApi GetSshKeysForProject Get /keys/latest/projects/{projectKey}/ssh Get SSH key
AuthenticationApi RevokeForProject Delete /keys/latest/projects/{projectKey}/ssh/{keyId} Revoke project SSH key
AuthenticationApi RevokeForRepository Delete /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh/{keyId} Revoke repository SSH key
AuthenticationApi RevokeMany Delete /keys/latest/ssh/{keyId} Revoke project SSH key
AuthenticationApi SshSettings Get /ssh/latest/settings Get SSH settings
AuthenticationApi UpdateAccessToken Post /access-tokens/latest/projects/{projectKey}/{tokenId} Update HTTP token
AuthenticationApi UpdateAccessToken1 Post /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug}/{tokenId} Update HTTP token
AuthenticationApi UpdateAccessToken2 Post /access-tokens/latest/users/{userSlug}/{tokenId} Update HTTP token
AuthenticationApi UpdatePermission Put /keys/latest/projects/{projectKey}/ssh/{keyId}/permission/{permission} Update project SSH key permission
AuthenticationApi UpdatePermission1 Put /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh/{keyId}/permission/{permission} Update repository SSH key permission
BuildsAndDeploymentsApi Add Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/builds Store a build status
BuildsAndDeploymentsApi AddAnnotations Post /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key}/annotations Add Code Insights annotations
BuildsAndDeploymentsApi CreateOrUpdateDeployment Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/deployments Create or update a deployment
BuildsAndDeploymentsApi CreateRequiredBuildsMergeCheck Post /required-builds/latest/projects/{projectKey}/repos/{repositorySlug}/condition Create a required builds merge check
BuildsAndDeploymentsApi Delete Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/builds Delete a specific build status
BuildsAndDeploymentsApi Delete1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/deployments Delete a deployment
BuildsAndDeploymentsApi DeleteACodeInsightsReport Delete /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key} Delete a Code Insights report
BuildsAndDeploymentsApi DeleteAnnotations Delete /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key}/annotations Delete Code Insights annotations
BuildsAndDeploymentsApi DeleteRequiredBuildsMergeCheck Delete /required-builds/latest/projects/{projectKey}/repos/{repositorySlug}/condition/{id} Delete a required builds merge check
BuildsAndDeploymentsApi Get Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/builds Get a specific build status
BuildsAndDeploymentsApi Get1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/deployments Get a deployment
BuildsAndDeploymentsApi GetACodeInsightsReport Get /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key} Get a Code Insights report
BuildsAndDeploymentsApi GetAnnotations Get /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key}/annotations Get Code Insights annotations for a report
BuildsAndDeploymentsApi GetAnnotations1 Get /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/annotations Get Code Insights annotations for a commit
BuildsAndDeploymentsApi GetBuildStatusStats Get /build-status/latest/commits/stats/{commitId} Get build status statistics for commit
BuildsAndDeploymentsApi GetMultipleBuildStatusStats Post /build-status/latest/commits/stats Get build status for multiple commits
BuildsAndDeploymentsApi GetPageOfRequiredBuildsMergeChecks Get /required-builds/latest/projects/{projectKey}/repos/{repositorySlug}/conditions Get required builds merge checks
BuildsAndDeploymentsApi GetReports Get /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports Get all Code Insights reports for a commit
BuildsAndDeploymentsApi SetACodeInsightsReport Put /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key} Create a Code Insights report
BuildsAndDeploymentsApi SetAnnotation Put /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key}/annotations/{externalId} Create or replace a Code Insights annotation
BuildsAndDeploymentsApi UpdateRequiredBuildsMergeCheck Put /required-builds/latest/projects/{projectKey}/repos/{repositorySlug}/condition/{id} Update a required builds merge check
CapabilitiesApi GetCapabilities Get /api/latest/build/capabilities Get build capabilities
CapabilitiesApi GetCapabilities1 Get /api/latest/deployment/capabilities Get deployment capabilities
DashboardApi GetPullRequestSuggestions Get /api/latest/dashboard/pull-request-suggestions Get pull request suggestions
DashboardApi GetPullRequests1 Get /api/latest/dashboard/pull-requests Get pull requests for a user
DefaultApi GetPullRequestCount Get /api/latest/inbox/pull-requests/count Get total number of pull requests in inbox
DefaultApi GetPullRequests2 Get /api/latest/inbox/pull-requests Get pull requests in inbox
DeprecatedApi AddBuildStatus Post /build-status/latest/commits/{commitId} Create build status for commit
DeprecatedApi AddGroupToUser Post /api/latest/admin/users/add-group Add user to group
DeprecatedApi AddUserToGroup Post /api/latest/admin/groups/add-user Add user to group
DeprecatedApi Approve Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/approve Approve pull request
DeprecatedApi CountPullRequestTasks Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/tasks/count Get pull request task count
DeprecatedApi CreateTask Post /api/latest/tasks Create task
DeprecatedApi DeleteTask Delete /api/latest/tasks/{taskId} Delete task
DeprecatedApi GetBuildStatus Get /build-status/latest/commits/{commitId} Get build statuses for commit
DeprecatedApi GetBuildStatusStats Get /build-status/latest/commits/stats/{commitId} Get build status statistics for commit
DeprecatedApi GetDefaultBranch1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches/default Get default branch
DeprecatedApi GetLikers Get /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/likes Get comment likes
DeprecatedApi GetLikers1 Get /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/likes Get pull request comment likes
DeprecatedApi GetMultipleBuildStatusStats Post /build-status/latest/commits/stats Get build status for multiple commits
DeprecatedApi GetPullRequestTasks Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/tasks Get pull request tasks
DeprecatedApi GetTask Get /api/latest/tasks/{taskId} Get task
DeprecatedApi Like Post /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/likes Like a commit comment
DeprecatedApi Like1 Post /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/likes Like a pull request comment
DeprecatedApi OnAddonDisabled Post /mirroring/latest/upstreamServers/{upstreamId}/addon/disabled On disable of mirror addon
DeprecatedApi OnAddonEnabled Post /mirroring/latest/upstreamServers/{upstreamId}/addon/enabled On enabled of mirror addon
DeprecatedApi RemoveUserFromGroup Post /api/latest/admin/groups/remove-user Remove user from group
DeprecatedApi SetDefaultBranch1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches/default Update default branch
DeprecatedApi SynchronizeRepositoryWithUpstream Post /mirroring/latest/upstreamServers/{upstreamId}/repos/{upstreamRepoId}/synchronization Get upstream settings
DeprecatedApi SynchronizeWithUpstream Post /mirroring/latest/upstreamServers/{upstreamId}/synchronization Change upstream settings
DeprecatedApi UnassignParticipantRole1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants Unassign pull request participant
DeprecatedApi Unlike Delete /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/likes Unlike a commit comment
DeprecatedApi Unlike1 Delete /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/likes Unlike a pull request comment
DeprecatedApi UpdateTask Put /api/latest/tasks/{taskId} Update task
DeprecatedApi WithdrawApproval Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/approve Unapprove pull request
JiraIntegrationApi CreateIssue Post /jira/latest/comments/{commentId}/issues Create Jira Issue
JiraIntegrationApi GetCommitsByIssueKey Get /jira/latest/issues/{issueKey}/commits Get changesets for issue key
JiraIntegrationApi GetEnhancedEntityLinkForProject Get /jira/latest/projects/{projectKey}/primary-enhanced-entitylink Get entity link
JiraIntegrationApi GetIssueKeysForPullRequest Get /jira/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/issues Get issues for a pull request
MarkupApi Preview Post /api/latest/markup/preview Preview markdown render
MirroringMirrorApi GetFarmNodes Get /mirroring/latest/upstreamServers/{upstreamId}/farmNodes Get farm nodes
MirroringMirrorApi GetMirrorMode Get /mirroring/latest/upstreamServers/{upstreamId}/settings/mode Get mirror mode
MirroringMirrorApi GetMirrorSettings Get /mirroring/latest/upstreamServers/{upstreamId}/settings Get upstream settings
MirroringMirrorApi GetMirroredProjects Get /mirroring/latest/upstreamServers/{upstreamId}/settings/projects Get mirrored project IDs
MirroringMirrorApi GetMirroredRepository Get /mirroring/latest/upstreamServers/{upstreamId}/repos/{upstreamRepoId} Get clone URLs
MirroringMirrorApi GetRefChangesQueue Get /mirroring/latest/supportInfo/refChangesQueue Get items in ref changes queue
MirroringMirrorApi GetRefChangesQueueCount Get /mirroring/latest/supportInfo/refChangesQueue/count Get total number of items in ref changes queue
MirroringMirrorApi GetRepoSyncStatus Get /mirroring/latest/supportInfo/repoSyncStatus Get sync status of repositories
MirroringMirrorApi GetSynchronizationProgress Get /mirroring/latest/upstreamServers/{upstreamId}/progress Get synchronization progress state
MirroringMirrorApi GetUpstreamServer Get /mirroring/latest/upstreamServers/{upstreamId} Get upstream server by ID
MirroringMirrorApi ListUpstreamServers Get /mirroring/latest/upstreamServers Get upstream servers
MirroringMirrorApi OnAddonDisabled Post /mirroring/latest/upstreamServers/{upstreamId}/addon/disabled On disable of mirror addon
MirroringMirrorApi OnAddonEnabled Post /mirroring/latest/upstreamServers/{upstreamId}/addon/enabled On enabled of mirror addon
MirroringMirrorApi SetMirrorMode Put /mirroring/latest/upstreamServers/{upstreamId}/settings/mode Update mirror mode
MirroringMirrorApi SetMirrorSettings Put /mirroring/latest/upstreamServers/{upstreamId}/settings Update upstream settings
MirroringMirrorApi StartMirroringProject Post /mirroring/latest/upstreamServers/{upstreamId}/settings/projects/{projectId} Add project to be mirrored
MirroringMirrorApi StartMirroringProjects Post /mirroring/latest/upstreamServers/{upstreamId}/settings/projects Add multiple projects to be mirrored
MirroringMirrorApi StopMirroringProject Delete /mirroring/latest/upstreamServers/{upstreamId}/settings/projects/{projectId} Stop mirroring project
MirroringMirrorApi StopMirroringProjects Delete /mirroring/latest/upstreamServers/{upstreamId}/settings/projects Stop mirroring projects
MirroringMirrorApi SynchronizeRepositoryWithUpstream Post /mirroring/latest/upstreamServers/{upstreamId}/repos/{upstreamRepoId}/synchronization Get upstream settings
MirroringMirrorApi SynchronizeWithUpstream Post /mirroring/latest/upstreamServers/{upstreamId}/synchronization Change upstream settings
MirroringUpstreamApi Accept Post /mirroring/latest/requests/{mirroringRequestId}/accept Accept a mirroring request
MirroringUpstreamApi AnalyticsSettings Get /mirroring/latest/analyticsSettings Get analytics settings from upstream
MirroringUpstreamApi Authenticate Post /mirroring/latest/authenticate Authenticate on behalf of a user
MirroringUpstreamApi DeleteMirroringRequest Delete /mirroring/latest/requests/{mirroringRequestId} Delete a mirroring request
MirroringUpstreamApi DeletePreferredMirrorId Delete /mirroring/latest/account/settings/preferred-mirror Remove preferred mirror
MirroringUpstreamApi GetAllContentHashes Get /mirroring/latest/repos Get content hashes for repositories
MirroringUpstreamApi GetAllReposForProject Get /mirroring/latest/projects/{projectId}/repos Get hashes for repositories in project
MirroringUpstreamApi GetAuthToken Get /mirroring/latest/mirrorServers/{mirrorId}/token Get mirror auth token
MirroringUpstreamApi GetContentHashById Get /mirroring/latest/repos/{repoId} Get content hash for a repository
MirroringUpstreamApi GetMirror Get /mirroring/latest/mirrorServers/{mirrorId} Get mirror by ID
MirroringUpstreamApi GetMirroringRequest Get /mirroring/latest/requests/{mirroringRequestId} Get a mirroring request
MirroringUpstreamApi GetPanelHtml Get /mirroring/latest/mirrorServers/{mirrorId}/webPanels/config Get HTML for remote-connect web-panel on mirror
MirroringUpstreamApi GetPreferredMirrorId Get /mirroring/latest/account/settings/preferred-mirror Get preferred mirror
MirroringUpstreamApi GetProjectById Get /mirroring/latest/projects/{projectId} Get project
MirroringUpstreamApi GetRepositoryMirrors Get /mirroring/latest/repos/{repoId}/mirrors Get mirrors for repository
MirroringUpstreamApi ListMirrors Get /mirroring/latest/mirrorServers Get all mirrors
MirroringUpstreamApi ListRequests Get /mirroring/latest/requests Get mirroring requests
MirroringUpstreamApi PublishEvent Post /mirroring/latest/mirrorServers/{mirrorId}/events Publish RepositoryMirrorEvent
MirroringUpstreamApi Register Post /mirroring/latest/requests Create a mirroring request
MirroringUpstreamApi Reject Post /mirroring/latest/requests/{mirroringRequestId}/reject Reject a mirroring request
MirroringUpstreamApi Remove Delete /mirroring/latest/mirrorServers/{mirrorId} Delete mirror by ID
MirroringUpstreamApi SetPreferredMirrorId Post /mirroring/latest/account/settings/preferred-mirror Set preferred mirror
MirroringUpstreamApi Upgrade Put /mirroring/latest/mirrorServers/{mirrorId} Upgrade add-on for a mirror
PermissionManagementApi AddGroupToUser Post /api/latest/admin/users/add-group Add user to group
PermissionManagementApi AddUserToGroup Post /api/latest/admin/groups/add-user Add user to group
PermissionManagementApi AddUserToGroups Post /api/latest/admin/users/add-groups Add user to groups
PermissionManagementApi AddUsersToGroup Post /api/latest/admin/groups/add-users Add multiple users to group
PermissionManagementApi ClearUserCaptchaChallenge Delete /api/latest/admin/users/captcha Clear CAPTCHA for user
PermissionManagementApi CreateGroup Post /api/latest/admin/groups Create group
PermissionManagementApi CreateUser Post /api/latest/admin/users Create user
PermissionManagementApi DeleteGroup Delete /api/latest/admin/groups Remove group
PermissionManagementApi DeleteUser Delete /api/latest/admin/users Remove user
PermissionManagementApi EraseUser Post /api/latest/admin/users/erasure Erase user information
PermissionManagementApi FindGroupsForUser Get /api/latest/admin/users/more-members Get groups for user
PermissionManagementApi FindOtherGroupsForUser Get /api/latest/admin/users/more-non-members Find other groups for user
PermissionManagementApi FindUsersInGroup Get /api/latest/admin/groups/more-members Get group members
PermissionManagementApi FindUsersNotInGroup Get /api/latest/admin/groups/more-non-members Get members not in group
PermissionManagementApi GetGroups Get /api/latest/groups Get group names
PermissionManagementApi GetGroups1 Get /api/latest/admin/groups Get groups
PermissionManagementApi GetGroupsWithAnyPermission Get /api/latest/admin/permissions/groups Get groups with a global permission
PermissionManagementApi GetGroupsWithAnyPermission2 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/groups Get groups with permission to repository
PermissionManagementApi GetGroupsWithoutAnyPermission Get /api/latest/admin/permissions/groups/none Get groups with no global permission
PermissionManagementApi GetGroupsWithoutAnyPermission2 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/groups/none Get groups without repository permission
PermissionManagementApi GetUserDirectories Get /api/latest/admin/user-directories Get directories
PermissionManagementApi GetUsers1 Get /api/latest/admin/users Get users
PermissionManagementApi GetUsersWithAnyPermission Get /api/latest/admin/permissions/users Get users with a global permission
PermissionManagementApi GetUsersWithAnyPermission2 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/users Get users with permission to repository
PermissionManagementApi GetUsersWithoutAnyPermission Get /api/latest/admin/permissions/users/none Get users with no global permission
PermissionManagementApi GetUsersWithoutPermission1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/users/none Get users without repository permission
PermissionManagementApi RemoveGroupFromUser Post /api/latest/admin/users/remove-group Remove user from group
PermissionManagementApi RemoveUserFromGroup Post /api/latest/admin/groups/remove-user Remove user from group
PermissionManagementApi RenameUser Post /api/latest/admin/users/rename Rename user
PermissionManagementApi RevokePermissions1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions Revoke all repository permissions for users and groups
PermissionManagementApi RevokePermissionsForGroup Delete /api/latest/admin/permissions/groups Revoke all global permissions for group
PermissionManagementApi RevokePermissionsForGroup2 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/groups Revoke group repository permission
PermissionManagementApi RevokePermissionsForUser Delete /api/latest/admin/permissions/users Revoke all global permissions for user
PermissionManagementApi RevokePermissionsForUser2 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/users Revoke user repository permission
PermissionManagementApi SearchPermissions1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/search Search repository permissions
PermissionManagementApi SetPermissionForGroup Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/groups Update group repository permission
PermissionManagementApi SetPermissionForGroups Put /api/latest/admin/permissions/groups Update global permission for group
PermissionManagementApi SetPermissionForUser Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/users Update user repository permission
PermissionManagementApi SetPermissionForUsers Put /api/latest/admin/permissions/users Update global permission for user
PermissionManagementApi UpdateUserDetails Put /api/latest/admin/users Update user details
PermissionManagementApi UpdateUserPassword Put /api/latest/admin/users/credentials Set password for user
PermissionManagementApi ValidateErasable Get /api/latest/admin/users/erasure Check user removal
ProjectApi Create3 Post /api/latest/projects/{projectKey}/settings-restriction Enforce project restriction
ProjectApi CreateProject Post /api/latest/projects Create a new project
ProjectApi CreateRepository Post /api/latest/projects/{projectKey}/repos Create repository
ProjectApi CreateRestrictions Post /branch-permissions/latest/projects/{projectKey}/restrictions Create multiple ref restrictions
ProjectApi CreateWebhook Post /api/latest/projects/{projectKey}/webhooks Create webhook
ProjectApi Delete7 Delete /api/latest/projects/{projectKey}/settings-restriction Stop enforcing project restriction
ProjectApi DeleteAutoDeclineSettings Delete /api/latest/projects/{projectKey}/settings/auto-decline Delete auto decline settings
ProjectApi DeleteProject Delete /api/latest/projects/{projectKey} Delete project
ProjectApi DeleteRepository Delete /api/latest/projects/{projectKey}/repos/{repositorySlug} Delete repository
ProjectApi DeleteRestriction Delete /branch-permissions/latest/projects/{projectKey}/restrictions/{id} Delete a ref restriction
ProjectApi DeleteWebhook Delete /api/latest/projects/{projectKey}/webhooks/{webhookId} Delete webhook
ProjectApi DisableHook Delete /api/latest/projects/{projectKey}/settings/hooks/{hookKey}/enabled Disable repository hook
ProjectApi EnableHook Put /api/latest/projects/{projectKey}/settings/hooks/{hookKey}/enabled Enable repository hook
ProjectApi FindWebhooks Get /api/latest/projects/{projectKey}/webhooks Find webhooks
ProjectApi ForkRepository Post /api/latest/projects/{projectKey}/repos/{repositorySlug} Fork repository
ProjectApi Get5 Get /api/latest/projects/{projectKey}/settings-restriction Get enforcing project setting
ProjectApi GetAll Get /api/latest/projects/{projectKey}/settings-restriction/all Get all enforcing project settings
ProjectApi GetAutoDeclineSettings Get /api/latest/projects/{projectKey}/settings/auto-decline Get auto decline settings
ProjectApi GetAvatar Get /api/latest/hooks/{hookKey}/avatar Get project avatar
ProjectApi GetConfigurations Get /api/latest/projects/{projectKey}/hook-scripts Get configured hook scripts
ProjectApi GetDefaultBranch2 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/default-branch Get repository default branch
ProjectApi GetForkedRepositories Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/forks Get repository forks
ProjectApi GetGroupsWithAnyPermission1 Get /api/latest/projects/{projectKey}/permissions/groups Get groups with permission to project
ProjectApi GetGroupsWithoutAnyPermission1 Get /api/latest/projects/{projectKey}/permissions/groups/none Get groups without project permission
ProjectApi GetLatestInvocation Get /api/latest/projects/{projectKey}/webhooks/{webhookId}/latest Get last webhook invocation details
ProjectApi GetProject Get /api/latest/projects/{projectKey} Get a project
ProjectApi GetProjectAvatar Get /api/latest/projects/{projectKey}/avatar.png Get avatar for project
ProjectApi GetProjects Get /api/latest/projects Get projects
ProjectApi GetPullRequestSettings Get /api/latest/projects/{projectKey}/settings/pull-requests/{scmId} Get merge strategy
ProjectApi GetRelatedRepositories Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/related Get related repository
ProjectApi GetRepositories Get /api/latest/projects/{projectKey}/repos Get repositories for project
ProjectApi GetRepository Get /api/latest/projects/{projectKey}/repos/{repositorySlug} Get repository
ProjectApi GetRepositoryHook Get /api/latest/projects/{projectKey}/settings/hooks/{hookKey} Get a repository hook
ProjectApi GetRepositoryHooks Get /api/latest/projects/{projectKey}/settings/hooks Get repository hooks
ProjectApi GetRestriction Get /branch-permissions/latest/projects/{projectKey}/restrictions/{id} Get a ref restriction
ProjectApi GetRestrictions Get /branch-permissions/latest/projects/{projectKey}/restrictions Search for ref restrictions
ProjectApi GetSettings Get /api/latest/projects/{projectKey}/settings/hooks/{hookKey}/settings Get repository hook settings
ProjectApi GetStatistics Get /api/latest/projects/{projectKey}/webhooks/{webhookId}/statistics Get webhook statistics
ProjectApi GetStatisticsSummary Get /api/latest/projects/{projectKey}/webhooks/{webhookId}/statistics/summary Get webhook statistics summary
ProjectApi GetUsersWithAnyPermission1 Get /api/latest/projects/{projectKey}/permissions/users Get users with permission to project
ProjectApi GetUsersWithoutPermission Get /api/latest/projects/{projectKey}/permissions/users/none Get users without project permission
ProjectApi GetWebhook Get /api/latest/projects/{projectKey}/webhooks/{webhookId} Get webhook
ProjectApi HasAllUserPermission Get /api/latest/projects/{projectKey}/permissions/{permission}/all Check default project permission
ProjectApi ModifyAllUserPermission Post /api/latest/projects/{projectKey}/permissions/{permission}/all Grant project permission
ProjectApi RemoveConfiguration Delete /api/latest/projects/{projectKey}/hook-scripts/{scriptId} Remove a hook script
ProjectApi RetryCreateRepository Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/recreate Retry repository creation
ProjectApi RevokePermissions Delete /api/latest/projects/{projectKey}/permissions Revoke project permissions
ProjectApi RevokePermissionsForGroup1 Delete /api/latest/projects/{projectKey}/permissions/groups Revoke group project permission
ProjectApi RevokePermissionsForUser1 Delete /api/latest/projects/{projectKey}/permissions/users Revoke user project permission
ProjectApi SearchPermissions Get /api/latest/projects/{projectKey}/permissions/search Search project permissions
ProjectApi SetAutoDeclineSettings Put /api/latest/projects/{projectKey}/settings/auto-decline Create/Update auto decline settings
ProjectApi SetConfiguration Put /api/latest/projects/{projectKey}/hook-scripts/{scriptId} Create/update a hook script
ProjectApi SetDefaultBranch2 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/default-branch Update default branch for repository
ProjectApi SetPermissionForGroups1 Put /api/latest/projects/{projectKey}/permissions/groups Update group project permission
ProjectApi SetPermissionForUsers1 Put /api/latest/projects/{projectKey}/permissions/users Update user project permission
ProjectApi SetSettings Put /api/latest/projects/{projectKey}/settings/hooks/{hookKey}/settings Update repository hook settings
ProjectApi StreamContributing Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/contributing Get repository contributing guidelines
ProjectApi StreamLicense Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/license Get repository license
ProjectApi StreamReadme Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/readme Get repository readme
ProjectApi TestWebhook Post /api/latest/projects/{projectKey}/webhooks/test Test webhook
ProjectApi UpdateProject Put /api/latest/projects/{projectKey} Update project
ProjectApi UpdatePullRequestSettings Post /api/latest/projects/{projectKey}/settings/pull-requests/{scmId} Update merge strategy
ProjectApi UpdateRepository Put /api/latest/projects/{projectKey}/repos/{repositorySlug} Update repository
ProjectApi UpdateWebhook Put /api/latest/projects/{projectKey}/webhooks/{webhookId} Update webhook
ProjectApi UploadAvatar Post /api/latest/projects/{projectKey}/avatar.png Update project avatar
PullRequestsApi ApplySuggestion Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/apply-suggestion Apply pull request suggestion
PullRequestsApi Approve Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/approve Approve pull request
PullRequestsApi AssignParticipantRole Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants Assign pull request participant role
PullRequestsApi CanMerge Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/merge Test if pull request can be merged
PullRequestsApi CanRebase Get /git/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/rebase Check PR rebase precondition
PullRequestsApi Create Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests Create pull request
PullRequestsApi Create1 Post /api/latest/projects/{projectKey}/settings/reviewer-groups Create reviewer group
PullRequestsApi Create2 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups Create reviewer group
PullRequestsApi CreateComment1 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments Add new blocker comment
PullRequestsApi CreateComment2 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments Add pull request comment
PullRequestsApi CreatePullRequestCondition Post /default-reviewers/latest/projects/{projectKey}/condition Create default reviewer
PullRequestsApi CreatePullRequestCondition1 Post /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/condition Create default reviewers condition
PullRequestsApi Decline Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/decline Decline pull request
PullRequestsApi Delete3 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId} Delete pull request
PullRequestsApi Delete4 Delete /api/latest/projects/{projectKey}/settings/reviewer-groups/{id} Delete reviewer group
PullRequestsApi Delete5 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups/{id} Delete reviewer group
PullRequestsApi DeleteComment1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments/{commentId} Delete pull request comment
PullRequestsApi DeleteComment2 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} Delete a pull request comment
PullRequestsApi DeletePullRequestCondition Delete /default-reviewers/latest/projects/{projectKey}/condition/{id} Remove default reviewer
PullRequestsApi DeletePullRequestCondition1 Delete /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/condition/{id} Delete a default reviewer condition
PullRequestsApi DiscardReview Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/review Discard pull request review
PullRequestsApi FinishReview Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/review Complete pull request review
PullRequestsApi Get3 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId} Get pull request
PullRequestsApi GetActivities Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/activities Get pull request activity
PullRequestsApi GetComment1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments/{commentId} Get pull request comment
PullRequestsApi GetComment2 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} Get a pull request comment
PullRequestsApi GetComments1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments Search pull request comments
PullRequestsApi GetComments2 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments Get pull request comments for path
PullRequestsApi GetCommitMessageSuggestion Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/commit-message-suggestion Get commit message suggestion
PullRequestsApi GetCommits1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/commits Get pull request commits
PullRequestsApi GetMergeConfig Get /api/latest/admin/pull-requests/{scmId} Get merge strategies
PullRequestsApi GetPage Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests Get pull requests for repository
PullRequestsApi GetPullRequestConditions Get /default-reviewers/latest/projects/{projectKey}/conditions Get default reviewers
PullRequestsApi GetPullRequestConditions1 Get /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/conditions Get configured default reviewers
PullRequestsApi GetPullRequests Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/pull-requests Get repository pull requests containing commit
PullRequestsApi GetReview Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/review Get pull request comment thread
PullRequestsApi GetReviewerGroup Get /api/latest/projects/{projectKey}/settings/reviewer-groups/{id} Get reviewer group
PullRequestsApi GetReviewerGroup1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups/{id} Get reviewer group
PullRequestsApi GetReviewerGroups Get /api/latest/projects/{projectKey}/settings/reviewer-groups Get all reviewer groups
PullRequestsApi GetReviewerGroups1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups Get all reviewer groups
PullRequestsApi GetReviewers Get /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/reviewers Get required reviewers for PR creation
PullRequestsApi GetUsers Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups/{id}/users Get reviewer group users
PullRequestsApi ListParticipants Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants Get pull request participants
PullRequestsApi Merge Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/merge Merge pull request
PullRequestsApi React1 Put /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/reactions/{emoticon} React to a PR comment
PullRequestsApi Rebase Post /git/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/rebase Rebase pull request
PullRequestsApi Reopen Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/reopen Re-open pull request
PullRequestsApi Search Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/participants Search pull request participants
PullRequestsApi SetMergeConfig Post /api/latest/admin/pull-requests/{scmId} Update merge strategies
PullRequestsApi StreamChanges1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/changes Gets pull request changes
PullRequestsApi StreamDiff2 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/diff/{path} Stream a diff within a pull request
PullRequestsApi StreamPatch1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}.patch Stream pull request as patch
PullRequestsApi StreamRawDiff2 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}.diff Stream raw pull request diff
PullRequestsApi UnReact1 Delete /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/reactions/{emoticon} Remove a reaction from a PR comment
PullRequestsApi UnassignParticipantRole Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} Unassign pull request participant
PullRequestsApi UnassignParticipantRole1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants Unassign pull request participant
PullRequestsApi Unwatch1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/watch Stop watching pull request
PullRequestsApi Update Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId} Update pull request metadata
PullRequestsApi Update1 Put /api/latest/projects/{projectKey}/settings/reviewer-groups/{id} Update reviewer group attributes
PullRequestsApi Update2 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups/{id} Update reviewer group attributes
PullRequestsApi UpdateComment1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments/{commentId} Update pull request comment
PullRequestsApi UpdateComment2 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} Update pull request comment
PullRequestsApi UpdatePullRequestCondition Put /default-reviewers/latest/projects/{projectKey}/condition/{id} Update the default reviewer
PullRequestsApi UpdatePullRequestCondition1 Put /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/condition/{id} Update a default reviewer condition
PullRequestsApi UpdateStatus Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} Change pull request status
PullRequestsApi Watch1 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/watch Watch pull request
PullRequestsApi WithdrawApproval Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/approve Unapprove pull request
RepositoryApi AddLabel Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/labels Add repository label
RepositoryApi CreateBranch Post /branch-utils/latest/projects/{projectKey}/repos/{repositorySlug}/branches Create branch
RepositoryApi CreateBranchForRepository Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches Create branch
RepositoryApi CreateComment Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments Add a new commit comment
RepositoryApi CreateRestrictions1 Post /branch-permissions/latest/projects/{projectKey}/repos/{repositorySlug}/restrictions Create multiple ref restrictions
RepositoryApi CreateTag Post /git/latest/projects/{projectKey}/repos/{repositorySlug}/tags Create tag
RepositoryApi CreateTagForRepository Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/tags Create tag
RepositoryApi CreateWebhook1 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks Create webhook
RepositoryApi DeleteAttachment Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId} Delete an attachment
RepositoryApi DeleteAttachmentMetadata Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId}/metadata Delete attachment metadata
RepositoryApi DeleteAutoDeclineSettings1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/auto-decline Delete auto decline settings
RepositoryApi DeleteBranch Delete /branch-utils/latest/projects/{projectKey}/repos/{repositorySlug}/branches Delete branch
RepositoryApi DeleteComment Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId} Delete a commit comment
RepositoryApi DeleteRepositoryHook Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey} Delete repository hook
RepositoryApi DeleteRestriction1 Delete /branch-permissions/latest/projects/{projectKey}/repos/{repositorySlug}/restrictions/{id} Delete a ref restriction
RepositoryApi DeleteTag Delete /git/latest/projects/{projectKey}/repos/{repositorySlug}/tags/{name} Delete tag
RepositoryApi DeleteWebhook1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId} Delete webhook
RepositoryApi DisableHook1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey}/enabled Disable repository hook
RepositoryApi EditFile Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/browse/{path} Edit file
RepositoryApi EnableHook1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey}/enabled Enable repository hook
RepositoryApi FindBranches Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/ref-change-activities/branches Get branches with ref change activities for repository
RepositoryApi FindByCommit Get /branch-utils/latest/projects/{projectKey}/repos/{repositorySlug}/branches/info/{commitId} Get branch
RepositoryApi FindWebhooks1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks Find webhooks
RepositoryApi GetAllLabelsForRepository Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/labels Get repository labels
RepositoryApi GetArchive Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/archive Stream archive of repository
RepositoryApi GetAttachment Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId} Get an attachment
RepositoryApi GetAttachmentMetadata Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId}/metadata Get attachment metadata
RepositoryApi GetAutoDeclineSettings1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/auto-decline Get auto decline settings
RepositoryApi GetBranches Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches Find branches
RepositoryApi GetChanges Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/changes Get changes in commit
RepositoryApi GetChanges1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/changes Get changes made in commit
RepositoryApi GetComment Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId} Get a commit comment
RepositoryApi GetComments Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments Search for commit comments
RepositoryApi GetCommit Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId} Get commit by ID
RepositoryApi GetCommits Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits Get commits
RepositoryApi GetConfigurations1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/hook-scripts Get hook scripts
RepositoryApi GetContent Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/browse Get file content at revision
RepositoryApi GetContent1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/browse/{path} Get file content
RepositoryApi GetDefaultBranch1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches/default Get default branch
RepositoryApi GetLatestInvocation1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId}/latest Get last webhook invocation details
RepositoryApi GetPullRequestSettings1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests Get pull request settings
RepositoryApi GetRefChangeActivity Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/ref-change-activities Get ref change activity
RepositoryApi GetRepositories1 Get /api/latest/repos Search for repositories
RepositoryApi GetRepositoriesRecentlyAccessed Get /api/latest/profile/recent/repos Get recently accessed repositories
RepositoryApi GetRepositoryHook1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey} Get repository hook
RepositoryApi GetRepositoryHooks1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks Get repository hooks
RepositoryApi GetRestriction1 Get /branch-permissions/latest/projects/{projectKey}/repos/{repositorySlug}/restrictions/{id} Get a ref restriction
RepositoryApi GetRestrictions1 Get /branch-permissions/latest/projects/{projectKey}/repos/{repositorySlug}/restrictions Search for ref restrictions
RepositoryApi GetSettings1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey}/settings Get repository hook settings
RepositoryApi GetStatistics1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId}/statistics Get webhook statistics
RepositoryApi GetStatisticsSummary1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId}/statistics/summary Get webhook statistics summary
RepositoryApi GetStatus Get /sync/latest/projects/{projectKey}/repos/{repositorySlug} Get synchronization status
RepositoryApi GetTag Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/tags/{name} Get tag
RepositoryApi GetTags Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/tags Find tag
RepositoryApi GetWebhook1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId} Get webhook
RepositoryApi React Put /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/reactions/{emoticon} React to a comment
RepositoryApi RemoveConfiguration1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/hook-scripts/{scriptId} Remove a hook script
RepositoryApi RemoveLabel Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/labels/{labelName} Remove repository label
RepositoryApi SaveAttachmentMetadata Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId}/metadata Save attachment metadata
RepositoryApi SearchWebhooks Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/search Search webhooks
RepositoryApi SetAutoDeclineSettings1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/auto-decline Create auto decline settings
RepositoryApi SetConfiguration1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/hook-scripts/{scriptId} Create/update a hook script
RepositoryApi SetDefaultBranch1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches/default Update default branch
RepositoryApi SetEnabled Post /sync/latest/projects/{projectKey}/repos/{repositorySlug} Disable synchronization
RepositoryApi SetSettings1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey}/settings Update repository hook settings
RepositoryApi Stream Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/last-modified Stream files
RepositoryApi Stream1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/last-modified/{path} Stream files with last modified commit in path
RepositoryApi StreamChanges Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/compare/changes Compare commits
RepositoryApi StreamCommits Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/compare/commits Get accessible commits
RepositoryApi StreamDiff Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/diff/{path} Get diff between revisions
RepositoryApi StreamDiff1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/compare/diff{path} Get diff between commits
RepositoryApi StreamFiles Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/files/{path} Get files in directory
RepositoryApi StreamFiles1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/files Get files in directory
RepositoryApi StreamPatch Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/patch Get patch content at revision
RepositoryApi StreamRaw Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/raw/{path} Get raw content of a file at revision
RepositoryApi StreamRawDiff Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/diff Get raw diff for path
RepositoryApi StreamRawDiff1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/diff/{path} Get raw diff for path
RepositoryApi Synchronize Post /sync/latest/projects/{projectKey}/repos/{repositorySlug}/synchronize Manual synchronization
RepositoryApi TestWebhook1 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/test Test webhook
RepositoryApi UnReact Delete /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/reactions/{emoticon} Remove a reaction from comment
RepositoryApi Unwatch Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/watch Stop watching commit
RepositoryApi Unwatch2 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/watch Stop watching repository
RepositoryApi UpdateComment Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId} Update a commit comment
RepositoryApi UpdatePullRequestSettings1 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests Update pull request settings
RepositoryApi UpdateWebhook1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId} Update webhook
RepositoryApi Watch Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/watch Watch commit
RepositoryApi Watch2 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/watch Watch repository
SecurityApi AddKey Post /gpg/latest/keys Create a GPG key
SecurityApi BulkAddExemptRepositories Post /api/latest/secret-scanning/exempt Bulk exempt repos from secret scanning
SecurityApi CreateAllowlistRule Post /api/latest/projects/{projectKey}/secret-scanning/allowlist Create project secret scanning allowlist rule
SecurityApi CreateAllowlistRule1 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist Create repository secret scanning allowlist rule
SecurityApi CreateRule Post /api/latest/projects/{projectKey}/secret-scanning/rules Create project secret scanning rule
SecurityApi CreateRule1 Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules Create repository secret scanning rule
SecurityApi CreateRule2 Post /api/latest/secret-scanning/rules Create global secret scanning rule
SecurityApi DeleteAllowlistRule Delete /api/latest/projects/{projectKey}/secret-scanning/allowlist/{id} Delete a project secret scanning allowlist rule
SecurityApi DeleteAllowlistRule1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist/{id} Delete a repository secret scanning allowlist rule
SecurityApi DeleteForUser Delete /gpg/latest/keys Delete all GPG keys for user
SecurityApi DeleteKey Delete /gpg/latest/keys/{fingerprintOrId} Delete a GPG key
SecurityApi DeleteRule Delete /api/latest/projects/{projectKey}/secret-scanning/rules/{id} Delete a project secret scanning rule
SecurityApi DeleteRule1 Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules/{id} Delete a repository secret scanning rule
SecurityApi DeleteRule2 Delete /api/latest/secret-scanning/rules/{id} Delete a global secret scanning rule
SecurityApi EditAllowlistRule Put /api/latest/projects/{projectKey}/secret-scanning/allowlist/{id} Edit an existing project secret scanning allowlist rule
SecurityApi EditAllowlistRule1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist/{id} Edit an existing repository secret scanning allowlist rule
SecurityApi EditRule Put /api/latest/projects/{projectKey}/secret-scanning/rules/{id} Edit an existing project secret scanning rule
SecurityApi EditRule1 Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules/{id} Edit an existing repository secret scanning rule
SecurityApi EditRule2 Put /api/latest/secret-scanning/rules/{id} Edit a global secret scanning rule.
SecurityApi FindExemptReposByScope Get /api/latest/secret-scanning/exempt Find all repos exempt from secret scan
SecurityApi GetAllowlistRule Get /api/latest/projects/{projectKey}/secret-scanning/allowlist/{id} Get a project secret scanning allowlist rule
SecurityApi GetAllowlistRule1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist/{id} Get a repository secret scanning allowlist rule
SecurityApi GetKeysForUser Get /gpg/latest/keys Get all GPG keys
SecurityApi GetRule Get /api/latest/projects/{projectKey}/secret-scanning/rules/{id} Get a project secret scanning rule
SecurityApi GetRule1 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules/{id} Get a repository secret scanning rule
SecurityApi GetRule2 Get /api/latest/secret-scanning/rules/{id} Get a global secret scanning rule
SecurityApi Search1 Get /api/latest/projects/{projectKey}/secret-scanning/rules Find project secret scanning rules
SecurityApi Search2 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist Find repository secret scanning allowlist rules
SecurityApi Search3 Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules Find repository secret scanning rules
SecurityApi Search4 Get /api/latest/secret-scanning/rules Find global secret scanning rules
SecurityApi SearchAllowlistRule Get /api/latest/projects/{projectKey}/secret-scanning/allowlist Find project secret scanning allowlist rules
SystemMaintenanceApi CancelExportJob Post /api/latest/migration/exports/{jobId}/cancel Cancel export job
SystemMaintenanceApi CancelImportJob Post /api/latest/migration/imports/{jobId}/cancel Cancel import job
SystemMaintenanceApi CancelMeshMigrationJob Post /api/latest/migration/mesh/{jobId}/cancel Cancel Mesh migration job
SystemMaintenanceApi ClearDefaultBranch Delete /api/latest/admin/default-branch Clear default branch
SystemMaintenanceApi ClearSenderAddress Delete /api/latest/admin/mail-server/sender-address Update mail configuration
SystemMaintenanceApi Connectivity Get /api/latest/admin/git/mesh/diagnostics/connectivity Generate Mesh connectivity report
SystemMaintenanceApi CreateHookScript Post /api/latest/hook-scripts Create a new hook script
SystemMaintenanceApi Delete2 Delete /api/latest/admin/git/mesh/nodes/{id} Delete Mesh node
SystemMaintenanceApi Delete6 Delete /api/latest/admin/rate-limit/settings/users/{userSlug} Delete user specific rate limit settings
SystemMaintenanceApi DeleteAvatar Delete /api/latest/users/{userSlug}/avatar.png Delete user avatar
SystemMaintenanceApi DeleteBanner Delete /api/latest/admin/banner Delete announcement banner
SystemMaintenanceApi DeleteHookScript Delete /api/latest/hook-scripts/{scriptId} Delete a hook script.
SystemMaintenanceApi DeleteMailConfig Delete /api/latest/admin/mail-server Delete mail configuration
SystemMaintenanceApi DismissRetentionConfigReviewNotification Delete /audit/latest/notification-settings/retention-config-review Dismiss retention config notification
SystemMaintenanceApi Get2 Get /api/latest/admin/license Get license details
SystemMaintenanceApi Get4 Get /api/latest/admin/rate-limit/settings/users/{userSlug} Get user specific rate limit settings
SystemMaintenanceApi GetActiveMeshMigrationSummary Get /api/latest/migration/mesh/summary Get summary for Mesh migration job
SystemMaintenanceApi GetAllMeshMigrationSummaries Get /api/latest/migration/mesh/summaries Get all Mesh migration job summaries
SystemMaintenanceApi GetAllRateLimitSettings Get /api/latest/admin/rate-limit/settings/users Get rate limit settings for user
SystemMaintenanceApi GetAllRegisteredMeshNodes Get /api/latest/admin/git/mesh/nodes Get all registered Mesh nodes
SystemMaintenanceApi GetApplicationProperties Get /api/latest/application-properties Get application properties
SystemMaintenanceApi GetBanner Get /api/latest/admin/banner Get announcement banner
SystemMaintenanceApi GetControlPlanePublicKey Get /api/latest/admin/git/mesh/config/control-plane.pem Get the control plane PEM
SystemMaintenanceApi GetDefaultBranch Get /api/latest/admin/default-branch Get the default branch
SystemMaintenanceApi GetExportJob Get /api/latest/migration/exports/{jobId} Get export job details
SystemMaintenanceApi GetExportJobMessages Get /api/latest/migration/exports/{jobId}/messages Get job messages
SystemMaintenanceApi GetGlobalSettings Get /admin Get global SSH key settings
SystemMaintenanceApi GetHistory Get /api/latest/admin/rate-limit/history Get rate limit history
SystemMaintenanceApi GetHookScript Get /api/latest/hook-scripts/{scriptId} Get a hook script
SystemMaintenanceApi GetImportJob Get /api/latest/migration/imports/{jobId} Get import job status
SystemMaintenanceApi GetImportJobMessages Get /api/latest/migration/imports/{jobId}/messages Get import job messages
SystemMaintenanceApi GetInformation Get /api/latest/admin/cluster Get cluster node information
SystemMaintenanceApi GetLabel Get /api/latest/labels/{labelName} Get label
SystemMaintenanceApi GetLabelables Get /api/latest/labels/{labelName}/labeled Get labelables for label
SystemMaintenanceApi GetLabels Get /api/latest/labels Get all labels
SystemMaintenanceApi GetLevel Get /api/latest/logs/logger/{loggerName} Get current log level
SystemMaintenanceApi GetMailConfig Get /api/latest/admin/mail-server Get mail configuration
SystemMaintenanceApi GetMeshMigrationJob Get /api/latest/migration/mesh/{jobId} Get Mesh migration job details
SystemMaintenanceApi GetMeshMigrationJobMessages Get /api/latest/migration/mesh/{jobId}/messages Get Mesh migration job messages
SystemMaintenanceApi GetMeshMigrationJobSummary Get /api/latest/migration/mesh/{jobId}/summary Get Mesh migration job summary
SystemMaintenanceApi GetRegisteredMeshNodeById Get /api/latest/admin/git/mesh/nodes/{id} Get Mesh node
SystemMaintenanceApi GetRepositoryArchivePolicy Get /policies/latest/admin/repos/archive Get repository archive policy
SystemMaintenanceApi GetRepositoryDeletePolicy Get /policies/latest/admin/repos/delete Get repository delete policy
SystemMaintenanceApi GetRootLevel Get /api/latest/logs/rootLogger Get root log level
SystemMaintenanceApi GetSenderAddress Get /api/latest/admin/mail-server/sender-address Get server mail address
SystemMaintenanceApi GetSettings2 Get /api/latest/admin/rate-limit/settings Get rate limit settings
SystemMaintenanceApi GetSupportZip Get /api/latest/admin/git/mesh/support-zips/{id} Get support zip for node
SystemMaintenanceApi GetSupportZips Get /api/latest/admin/git/mesh/support-zips Get support zips for all Mesh nodes
SystemMaintenanceApi GetSupportedKeyTypes Get /admin/supported-key-types Get supported SSH key algorithms and lengths
SystemMaintenanceApi GetUser Get /api/latest/users/{userSlug} Get user
SystemMaintenanceApi GetUserSettings Get /api/latest/users/{userSlug}/settings Get user settings
SystemMaintenanceApi GetUsers2 Get /api/latest/users Get all users
SystemMaintenanceApi PreviewExport Post /api/latest/migration/exports/preview Preview export
SystemMaintenanceApi PreviewMeshMigration Post /api/latest/migration/mesh/preview Preview Mesh migration
SystemMaintenanceApi Read Get /api/latest/hook-scripts/{scriptId}/content Get hook script content
SystemMaintenanceApi RegisterNewMeshNode Post /api/latest/admin/git/mesh/nodes Register new Mesh node
SystemMaintenanceApi SearchMeshMigrationRepos Get /api/latest/migration/mesh/repos Find repositories by Mesh migration state
SystemMaintenanceApi Set Post /api/latest/admin/rate-limit/settings/users Set rate limit settings for users
SystemMaintenanceApi Set1 Put /api/latest/admin/rate-limit/settings/users/{userSlug} Set rate limit settings for user
SystemMaintenanceApi SetBanner Put /api/latest/admin/banner Update/Set announcement banner
SystemMaintenanceApi SetDefaultBranch Put /api/latest/admin/default-branch Update/Set default branch
SystemMaintenanceApi SetLevel Put /api/latest/logs/logger/{loggerName}/{levelName} Set log level
SystemMaintenanceApi SetMailConfig Put /api/latest/admin/mail-server Update mail configuration
SystemMaintenanceApi SetRepositoryArchivePolicy Put /policies/latest/admin/repos/archive Update repository archive policy
SystemMaintenanceApi SetRepositoryDeletePolicy Put /policies/latest/admin/repos/delete Update the repository delete policy
SystemMaintenanceApi SetRootLevel Put /api/latest/logs/rootLogger/{levelName} Set root log level
SystemMaintenanceApi SetSenderAddress Put /api/latest/admin/mail-server/sender-address Update server mail address
SystemMaintenanceApi SetSettings2 Put /api/latest/admin/rate-limit/settings Set rate limit
SystemMaintenanceApi StartExport Post /api/latest/migration/exports Start export job
SystemMaintenanceApi StartImport Post /api/latest/migration/imports Start import job
SystemMaintenanceApi StartMeshMigration Post /api/latest/migration/mesh Start Mesh migration job
SystemMaintenanceApi UpdateGlobalSettings Put /admin Update global SSH key settings
SystemMaintenanceApi UpdateHookScript Put /api/latest/hook-scripts/{scriptId} Update a hook script
SystemMaintenanceApi UpdateLicense Post /api/latest/admin/license Update license
SystemMaintenanceApi UpdateMeshNode Put /api/latest/admin/git/mesh/nodes/{id} Update Mesh node
SystemMaintenanceApi UpdateSettings Post /api/latest/users/{userSlug}/settings Update user settings
SystemMaintenanceApi UpdateUserDetails1 Put /api/latest/users Update user details
SystemMaintenanceApi UpdateUserPassword1 Put /api/latest/users/credentials Set password
SystemMaintenanceApi UploadAvatar1 Post /api/latest/users/{userSlug}/avatar.png Update user avatar

Documentation For Models

Documentation For Authorization

basic

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
	UserName: "username",
	Password: "password",
})
r, err := client.Service.Operation(auth, args)

Author

Documentation

Overview

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Bitbucket Server * * This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to: - integrate Bitbucket with other applications; - create scripts that interact with Bitbucket; or - develop plugins that enhance the Bitbucket UI, using REST to interact with the backend. You can read more about developing Bitbucket plugins in the [Bitbucket Developer Documentation](https://developer.atlassian.com/bitbucket/server/docs/latest/). * * API version: 8.14 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	AuthenticationApi *AuthenticationApiService

	BuildsAndDeploymentsApi *BuildsAndDeploymentsApiService

	CapabilitiesApi *CapabilitiesApiService

	DashboardApi *DashboardApiService

	DefaultApi *DefaultApiService

	DeprecatedApi *DeprecatedApiService

	JiraIntegrationApi *JiraIntegrationApiService

	MarkupApi *MarkupApiService

	MirroringMirrorApi *MirroringMirrorApiService

	MirroringUpstreamApi *MirroringUpstreamApiService

	PermissionManagementApi *PermissionManagementApiService

	ProjectApi *ProjectApiService

	PullRequestsApi *PullRequestsApiService

	RepositoryApi *RepositoryApiService

	SecurityApi *SecurityApiService

	SystemMaintenanceApi *SystemMaintenanceApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Bitbucket Server API v8.14 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(ctx context.Context, cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AdminBannerBody

type AdminBannerBody struct {
	Audience string `json:"audience"`
	Enabled  bool   `json:"enabled,omitempty"`
	Message  string `json:"message,omitempty"`
}

type AdminDefaultbranchBody

type AdminDefaultbranchBody struct {
	Id string `json:"id,omitempty"`
}

type AdminMailserverBody

type AdminMailserverBody struct {
	Hostname        string `json:"hostname,omitempty"`
	Password        string `json:"password,omitempty"`
	Port            int32  `json:"port,omitempty"`
	Protocol        string `json:"protocol,omitempty"`
	RequireStartTls bool   `json:"requireStartTls,omitempty"`
	SenderAddress   string `json:"senderAddress,omitempty"`
	UseStartTls     bool   `json:"useStartTls,omitempty"`
	Username        string `json:"username,omitempty"`
}

type AdminPasswordUpdate

type AdminPasswordUpdate struct {
	Name            string `json:"name,omitempty"`
	Password        string `json:"password,omitempty"`
	PasswordConfirm string `json:"passwordConfirm,omitempty"`
}

type ApilatestmigrationmeshMaxBytesPerSecond

type ApilatestmigrationmeshMaxBytesPerSecond struct {
	AsLong  int64 `json:"asLong,omitempty"`
	Present bool  `json:"present,omitempty"`
}

type ApplicationId

type ApplicationId struct {
}

type ApplicationUser

type ApplicationUser struct {
	Id           int32  `json:"id,omitempty"`
	Type_        string `json:"type,omitempty"`
	DisplayName  string `json:"displayName,omitempty"`
	Slug         string `json:"slug,omitempty"`
	Active       bool   `json:"active,omitempty"`
	Name         string `json:"name,omitempty"`
	EmailAddress string `json:"emailAddress,omitempty"`
}

type AuthenticationApiAddForProjectOpts

type AuthenticationApiAddForProjectOpts struct {
	Body optional.Interface
}

type AuthenticationApiAddForRepositoryOpts

type AuthenticationApiAddForRepositoryOpts struct {
	Body optional.Interface
}

type AuthenticationApiAddSshKeyOpts

type AuthenticationApiAddSshKeyOpts struct {
	Body optional.Interface
	User optional.Interface
}

type AuthenticationApiCreateAccessToken1Opts

type AuthenticationApiCreateAccessToken1Opts struct {
	Body optional.Interface
}

type AuthenticationApiCreateAccessToken2Opts

type AuthenticationApiCreateAccessToken2Opts struct {
	Body optional.Interface
}

type AuthenticationApiCreateAccessToken3Opts

type AuthenticationApiCreateAccessToken3Opts struct {
	Body optional.Interface
}

type AuthenticationApiDeleteSshKeysOpts

type AuthenticationApiDeleteSshKeysOpts struct {
	UserName optional.String
	User     optional.String
}

type AuthenticationApiGetAllAccessTokens1Opts

type AuthenticationApiGetAllAccessTokens1Opts struct {
	Start optional.Float64
	Limit optional.Float64
}

type AuthenticationApiGetAllAccessTokens2Opts

type AuthenticationApiGetAllAccessTokens2Opts struct {
	Start optional.Float64
	Limit optional.Float64
}

type AuthenticationApiGetAllAccessTokensOpts

type AuthenticationApiGetAllAccessTokensOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type AuthenticationApiGetForRepositoriesOpts

type AuthenticationApiGetForRepositoriesOpts struct {
	WithRestrictions optional.String
}

type AuthenticationApiGetForRepositoryOpts

type AuthenticationApiGetForRepositoryOpts struct {
	Filter            optional.String
	Effective         optional.String
	MinimumPermission optional.String
	Permission        optional.String
	Start             optional.Float64
	Limit             optional.Float64
}

type AuthenticationApiGetSshKeysForProjectOpts

type AuthenticationApiGetSshKeysForProjectOpts struct {
	Filter     optional.String
	Permission optional.String
	Start      optional.Float64
	Limit      optional.Float64
}

type AuthenticationApiGetSshKeysOpts

type AuthenticationApiGetSshKeysOpts struct {
	UserName optional.String
	User     optional.String
	Start    optional.Float64
	Limit    optional.Float64
}

type AuthenticationApiRevokeManyOpts

type AuthenticationApiRevokeManyOpts struct {
	Body optional.Interface
}

type AuthenticationApiService

type AuthenticationApiService service

func (*AuthenticationApiService) AddForProject

func (a *AuthenticationApiService) AddForProject(ctx context.Context, projectKey string, localVarOptionals *AuthenticationApiAddForProjectOpts) (RestSshAccessKey, *http.Response, error)

func (*AuthenticationApiService) AddForRepository

func (a *AuthenticationApiService) AddForRepository(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *AuthenticationApiAddForRepositoryOpts) (RestSshAccessKey, *http.Response, error)

func (*AuthenticationApiService) AddSshKey

func (*AuthenticationApiService) CreateAccessToken1

func (a *AuthenticationApiService) CreateAccessToken1(ctx context.Context, projectKey string, localVarOptionals *AuthenticationApiCreateAccessToken1Opts) (RestRawAccessToken, *http.Response, error)

func (*AuthenticationApiService) CreateAccessToken2

func (a *AuthenticationApiService) CreateAccessToken2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *AuthenticationApiCreateAccessToken2Opts) (RestRawAccessToken, *http.Response, error)

func (*AuthenticationApiService) CreateAccessToken3

func (a *AuthenticationApiService) CreateAccessToken3(ctx context.Context, userSlug string, localVarOptionals *AuthenticationApiCreateAccessToken3Opts) (RestRawAccessToken, *http.Response, error)

func (*AuthenticationApiService) DeleteById

func (a *AuthenticationApiService) DeleteById(ctx context.Context, projectKey string, tokenId string) (*http.Response, error)

AuthenticationApiService Delete a HTTP token Delete the access token identified by the given ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param tokenId The token id.

func (*AuthenticationApiService) DeleteById1

func (a *AuthenticationApiService) DeleteById1(ctx context.Context, projectKey string, tokenId string, repositorySlug string) (*http.Response, error)

AuthenticationApiService Delete a HTTP token Delete the access token identified by the given ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param tokenId The token id.
  • @param repositorySlug The repository slug.

func (*AuthenticationApiService) DeleteById2

func (a *AuthenticationApiService) DeleteById2(ctx context.Context, tokenId string, userSlug string) (*http.Response, error)

AuthenticationApiService Delete a HTTP token Delete the access token identified by the given ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tokenId The token id.
  • @param userSlug The user slug.

func (*AuthenticationApiService) DeleteSshKey

func (a *AuthenticationApiService) DeleteSshKey(ctx context.Context, keyId string) (*http.Response, error)

AuthenticationApiService Remove SSH key Delete an SSH key.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param keyId the id of the key to delete.

func (*AuthenticationApiService) DeleteSshKeys

func (a *AuthenticationApiService) DeleteSshKeys(ctx context.Context, localVarOptionals *AuthenticationApiDeleteSshKeysOpts) (*http.Response, error)

func (*AuthenticationApiService) GetAllAccessTokens

func (a *AuthenticationApiService) GetAllAccessTokens(ctx context.Context, projectKey string, localVarOptionals *AuthenticationApiGetAllAccessTokensOpts) (InlineResponse200, *http.Response, error)

func (*AuthenticationApiService) GetAllAccessTokens1

func (a *AuthenticationApiService) GetAllAccessTokens1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *AuthenticationApiGetAllAccessTokens1Opts) (InlineResponse200, *http.Response, error)

func (*AuthenticationApiService) GetAllAccessTokens2

func (a *AuthenticationApiService) GetAllAccessTokens2(ctx context.Context, userSlug string, localVarOptionals *AuthenticationApiGetAllAccessTokens2Opts) (InlineResponse200, *http.Response, error)

func (*AuthenticationApiService) GetById

func (a *AuthenticationApiService) GetById(ctx context.Context, projectKey string, tokenId string) (RestAccessToken, *http.Response, error)

AuthenticationApiService Get HTTP token by ID Get the access token identified by the given ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param tokenId The token id.

@return RestAccessToken

func (*AuthenticationApiService) GetById1

func (a *AuthenticationApiService) GetById1(ctx context.Context, projectKey string, tokenId string, repositorySlug string) (RestAccessToken, *http.Response, error)

AuthenticationApiService Get HTTP token by ID Get the access token identified by the given ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param tokenId The token id.
  • @param repositorySlug The repository slug.

@return RestAccessToken

func (*AuthenticationApiService) GetById2

func (a *AuthenticationApiService) GetById2(ctx context.Context, tokenId string, userSlug string) (RestAccessToken, *http.Response, error)

AuthenticationApiService Get HTTP token by ID Get the access token identified by the given ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tokenId The token id.
  • @param userSlug The user slug.

@return RestAccessToken

func (*AuthenticationApiService) GetForProject

func (a *AuthenticationApiService) GetForProject(ctx context.Context, projectKey string, keyId string) (RestSshAccessKey, *http.Response, error)

AuthenticationApiService Get project SSH key Retrieves the access key for the SSH key with id <code>keyId</code> on the project identified in the URL.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param keyId The key id

@return RestSshAccessKey

func (*AuthenticationApiService) GetForProjects

func (a *AuthenticationApiService) GetForProjects(ctx context.Context, keyId int32) (*http.Response, error)

AuthenticationApiService Get project SSH keys Retrieves all project-related access keys for the SSH key with id <code>keyId</code>. If the current user is not an admin any of the projects the key provides access to, none are returned.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param keyId

func (*AuthenticationApiService) GetForRepositories

func (a *AuthenticationApiService) GetForRepositories(ctx context.Context, keyId string, localVarOptionals *AuthenticationApiGetForRepositoriesOpts) (*http.Response, error)

func (*AuthenticationApiService) GetForRepository

func (a *AuthenticationApiService) GetForRepository(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *AuthenticationApiGetForRepositoryOpts) (InlineResponse20014, *http.Response, error)

func (*AuthenticationApiService) GetForRepository1

func (a *AuthenticationApiService) GetForRepository1(ctx context.Context, projectKey string, keyId string, repositorySlug string) (RestSshAccessKey, *http.Response, error)

AuthenticationApiService Get repository SSH key Retrieves the access key for the SSH key with id <code>keyId</code> on the repository identified in the URL.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param keyId The key id
  • @param repositorySlug The repository slug

@return RestSshAccessKey

func (*AuthenticationApiService) GetSshKey

AuthenticationApiService Get SSH key for user by keyId Retrieve an SSH key by keyId

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param keyId the ID of the key to retrieve.

@return RestSshKey

func (*AuthenticationApiService) GetSshKeys

func (*AuthenticationApiService) GetSshKeysForProject

func (a *AuthenticationApiService) GetSshKeysForProject(ctx context.Context, projectKey string, localVarOptionals *AuthenticationApiGetSshKeysForProjectOpts) (InlineResponse20014, *http.Response, error)

func (*AuthenticationApiService) RevokeForProject

func (a *AuthenticationApiService) RevokeForProject(ctx context.Context, projectKey string, keyId string) (*http.Response, error)

AuthenticationApiService Revoke project SSH key Remove an existing access key for the project identified in the URL. If the same SSH key is used as an access key for multiple projects or repositories, only the access to the project identified in the URL will be revoked.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param keyId The key id

func (*AuthenticationApiService) RevokeForRepository

func (a *AuthenticationApiService) RevokeForRepository(ctx context.Context, projectKey string, keyId string, repositorySlug string) (*http.Response, error)

AuthenticationApiService Revoke repository SSH key Remove an existing access key for the repository identified in the URL. If the same SSH key is used as an access key for multiple projects or repositories, only the access to the repository identified in the URL will be revoked.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param keyId The key id
  • @param repositorySlug The repository slug

func (*AuthenticationApiService) RevokeMany

func (a *AuthenticationApiService) RevokeMany(ctx context.Context, keyId string, localVarOptionals *AuthenticationApiRevokeManyOpts) (*http.Response, error)

func (*AuthenticationApiService) SshSettings

AuthenticationApiService Get SSH settings Gets the SSH settings from the upstream.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestSshSettings

func (*AuthenticationApiService) UpdateAccessToken

func (a *AuthenticationApiService) UpdateAccessToken(ctx context.Context, projectKey string, tokenId string, localVarOptionals *AuthenticationApiUpdateAccessTokenOpts) (RestAccessToken, *http.Response, error)

func (*AuthenticationApiService) UpdateAccessToken1

func (a *AuthenticationApiService) UpdateAccessToken1(ctx context.Context, projectKey string, tokenId string, repositorySlug string, localVarOptionals *AuthenticationApiUpdateAccessToken1Opts) (RestAccessToken, *http.Response, error)

func (*AuthenticationApiService) UpdateAccessToken2

func (a *AuthenticationApiService) UpdateAccessToken2(ctx context.Context, tokenId string, userSlug string, localVarOptionals *AuthenticationApiUpdateAccessToken2Opts) (RestAccessToken, *http.Response, error)

func (*AuthenticationApiService) UpdatePermission

func (a *AuthenticationApiService) UpdatePermission(ctx context.Context, projectKey string, keyId string, permission string) (RestSshAccessKey, *http.Response, error)

AuthenticationApiService Update project SSH key permission Updates the permission granted to the specified SSH key to the project identified in the URL.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param keyId The newly created access key
  • @param permission The new permission to be granted to the SSH key

@return RestSshAccessKey

func (*AuthenticationApiService) UpdatePermission1

func (a *AuthenticationApiService) UpdatePermission1(ctx context.Context, projectKey string, keyId string, permission string, repositorySlug string) (RestSshAccessKey, *http.Response, error)

AuthenticationApiService Update repository SSH key permission Updates the permission granted to the specified SSH key to the repository identified in the URL.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param keyId The newly created access key
  • @param permission The new permission to be granted to the SSH key
  • @param repositorySlug The repository slug

@return RestSshAccessKey

type AuthenticationApiUpdateAccessToken1Opts

type AuthenticationApiUpdateAccessToken1Opts struct {
	Body optional.Interface
}

type AuthenticationApiUpdateAccessToken2Opts

type AuthenticationApiUpdateAccessToken2Opts struct {
	Body optional.Interface
}

type AuthenticationApiUpdateAccessTokenOpts

type AuthenticationApiUpdateAccessTokenOpts struct {
	Body optional.Interface
}

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BuildsAndDeploymentsApiAddAnnotationsOpts

type BuildsAndDeploymentsApiAddAnnotationsOpts struct {
	Body optional.Interface
}

type BuildsAndDeploymentsApiAddOpts

type BuildsAndDeploymentsApiAddOpts struct {
	Body optional.Interface
}

type BuildsAndDeploymentsApiCreateOrUpdateDeploymentOpts

type BuildsAndDeploymentsApiCreateOrUpdateDeploymentOpts struct {
	Body optional.Interface
}

type BuildsAndDeploymentsApiCreateRequiredBuildsMergeCheckOpts

type BuildsAndDeploymentsApiCreateRequiredBuildsMergeCheckOpts struct {
	Body optional.Interface
}

type BuildsAndDeploymentsApiDelete1Opts

type BuildsAndDeploymentsApiDelete1Opts struct {
	DeploymentSequenceNumber optional.String
	Key                      optional.String
	EnvironmentKey           optional.String
}

type BuildsAndDeploymentsApiDeleteAnnotationsOpts

type BuildsAndDeploymentsApiDeleteAnnotationsOpts struct {
	ExternalId optional.String
}

type BuildsAndDeploymentsApiDeleteOpts

type BuildsAndDeploymentsApiDeleteOpts struct {
	Key optional.String
}

type BuildsAndDeploymentsApiGet1Opts

type BuildsAndDeploymentsApiGet1Opts struct {
	DeploymentSequenceNumber optional.String
	Key                      optional.String
	EnvironmentKey           optional.String
}

type BuildsAndDeploymentsApiGetAnnotations1Opts

type BuildsAndDeploymentsApiGetAnnotations1Opts struct {
	Severity   optional.String
	Path       optional.String
	ExternalId optional.String
	Type_      optional.String
	Key        optional.String
}

type BuildsAndDeploymentsApiGetBuildStatusStatsOpts

type BuildsAndDeploymentsApiGetBuildStatusStatsOpts struct {
	IncludeUnique optional.Bool
}

type BuildsAndDeploymentsApiGetMultipleBuildStatusStatsOpts

type BuildsAndDeploymentsApiGetMultipleBuildStatusStatsOpts struct {
	Body optional.Interface
}

type BuildsAndDeploymentsApiGetOpts

type BuildsAndDeploymentsApiGetOpts struct {
	Key optional.String
}

type BuildsAndDeploymentsApiGetPageOfRequiredBuildsMergeChecksOpts

type BuildsAndDeploymentsApiGetPageOfRequiredBuildsMergeChecksOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type BuildsAndDeploymentsApiGetReportsOpts

type BuildsAndDeploymentsApiGetReportsOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type BuildsAndDeploymentsApiService

type BuildsAndDeploymentsApiService service

func (*BuildsAndDeploymentsApiService) Add

func (a *BuildsAndDeploymentsApiService) Add(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiAddOpts) (*http.Response, error)

func (*BuildsAndDeploymentsApiService) AddAnnotations

func (a *BuildsAndDeploymentsApiService) AddAnnotations(ctx context.Context, projectKey string, commitId string, repositorySlug string, key string, localVarOptionals *BuildsAndDeploymentsApiAddAnnotationsOpts) (*http.Response, error)

func (*BuildsAndDeploymentsApiService) CreateOrUpdateDeployment

func (a *BuildsAndDeploymentsApiService) CreateOrUpdateDeployment(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiCreateOrUpdateDeploymentOpts) (RestDeployment, *http.Response, error)

func (*BuildsAndDeploymentsApiService) CreateRequiredBuildsMergeCheck

func (a *BuildsAndDeploymentsApiService) CreateRequiredBuildsMergeCheck(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiCreateRequiredBuildsMergeCheckOpts) (RestRequiredBuildCondition, *http.Response, error)

func (*BuildsAndDeploymentsApiService) Delete

func (a *BuildsAndDeploymentsApiService) Delete(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiDeleteOpts) (*http.Response, error)

func (*BuildsAndDeploymentsApiService) Delete1

func (a *BuildsAndDeploymentsApiService) Delete1(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiDelete1Opts) (*http.Response, error)

func (*BuildsAndDeploymentsApiService) DeleteACodeInsightsReport

func (a *BuildsAndDeploymentsApiService) DeleteACodeInsightsReport(ctx context.Context, projectKey string, commitId string, repositorySlug string, key string) (*http.Response, error)

BuildsAndDeploymentsApiService Delete a Code Insights report Delete a report for the given commit. Also deletes any annotations associated with this report.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commitId The commit ID on which to record the annotation. This must be a full 40 character commit hash.
  • @param repositorySlug The repository slug.
  • @param key The key of the report to which this annotation belongs.

func (*BuildsAndDeploymentsApiService) DeleteAnnotations

func (a *BuildsAndDeploymentsApiService) DeleteAnnotations(ctx context.Context, projectKey string, commitId string, repositorySlug string, key string, localVarOptionals *BuildsAndDeploymentsApiDeleteAnnotationsOpts) (*http.Response, error)

func (*BuildsAndDeploymentsApiService) DeleteRequiredBuildsMergeCheck

func (a *BuildsAndDeploymentsApiService) DeleteRequiredBuildsMergeCheck(ctx context.Context, projectKey string, id int64, repositorySlug string) (*http.Response, error)

BuildsAndDeploymentsApiService Delete a required builds merge check Deletes a required build existing merge check, given it's ID. The authenticated user must have **REPO_ADMIN** permission for the target repository to delete a required build merge check.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project that the repository belongs to
  • @param id
  • @param repositorySlug The repository being used

func (*BuildsAndDeploymentsApiService) Get

func (a *BuildsAndDeploymentsApiService) Get(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiGetOpts) (RestBuildStatus, *http.Response, error)

func (*BuildsAndDeploymentsApiService) Get1

func (a *BuildsAndDeploymentsApiService) Get1(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiGet1Opts) (RestDeployment, *http.Response, error)

func (*BuildsAndDeploymentsApiService) GetACodeInsightsReport

func (a *BuildsAndDeploymentsApiService) GetACodeInsightsReport(ctx context.Context, projectKey string, commitId string, repositorySlug string, key string) (RestInsightReport, *http.Response, error)

BuildsAndDeploymentsApiService Get a Code Insights report Retrieve the specified report.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commitId The commit ID on which to record the annotation. This must be a full 40 character commit hash.
  • @param repositorySlug The repository slug.
  • @param key The report key.

@return RestInsightReport

func (*BuildsAndDeploymentsApiService) GetAnnotations

func (a *BuildsAndDeploymentsApiService) GetAnnotations(ctx context.Context, projectKey string, commitId string, repositorySlug string, key string) (RestInsightAnnotationsResponse, *http.Response, error)

BuildsAndDeploymentsApiService Get Code Insights annotations for a report Retrieve the specified report's annotations.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commitId The commit ID on which to record the annotation. This must be a full 40 character commit hash.
  • @param repositorySlug The repository slug.
  • @param key The report key.

@return RestInsightAnnotationsResponse

func (*BuildsAndDeploymentsApiService) GetAnnotations1

func (a *BuildsAndDeploymentsApiService) GetAnnotations1(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiGetAnnotations1Opts) (RestInsightAnnotationsResponse, *http.Response, error)

func (*BuildsAndDeploymentsApiService) GetBuildStatusStats

func (*BuildsAndDeploymentsApiService) GetPageOfRequiredBuildsMergeChecks

func (a *BuildsAndDeploymentsApiService) GetPageOfRequiredBuildsMergeChecks(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiGetPageOfRequiredBuildsMergeChecksOpts) (InlineResponse2002, *http.Response, error)

func (*BuildsAndDeploymentsApiService) GetReports

func (a *BuildsAndDeploymentsApiService) GetReports(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiGetReportsOpts) (InlineResponse2004, *http.Response, error)

func (*BuildsAndDeploymentsApiService) SetACodeInsightsReport

func (a *BuildsAndDeploymentsApiService) SetACodeInsightsReport(ctx context.Context, projectKey string, commitId string, repositorySlug string, key string, localVarOptionals *BuildsAndDeploymentsApiSetACodeInsightsReportOpts) (RestInsightReport, *http.Response, error)

func (*BuildsAndDeploymentsApiService) SetAnnotation

func (a *BuildsAndDeploymentsApiService) SetAnnotation(ctx context.Context, projectKey string, externalId string, commitId string, repositorySlug string, key string, localVarOptionals *BuildsAndDeploymentsApiSetAnnotationOpts) (*http.Response, error)

func (*BuildsAndDeploymentsApiService) UpdateRequiredBuildsMergeCheck

func (a *BuildsAndDeploymentsApiService) UpdateRequiredBuildsMergeCheck(ctx context.Context, projectKey string, id int64, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiUpdateRequiredBuildsMergeCheckOpts) (RestRequiredBuildCondition, *http.Response, error)

type BuildsAndDeploymentsApiSetACodeInsightsReportOpts

type BuildsAndDeploymentsApiSetACodeInsightsReportOpts struct {
	Body optional.Interface
}

type BuildsAndDeploymentsApiSetAnnotationOpts

type BuildsAndDeploymentsApiSetAnnotationOpts struct {
	Body optional.Interface
}

type BuildsAndDeploymentsApiUpdateRequiredBuildsMergeCheckOpts

type BuildsAndDeploymentsApiUpdateRequiredBuildsMergeCheckOpts struct {
	Body optional.Interface
}

type CapabilitiesApiService

type CapabilitiesApiService service

func (*CapabilitiesApiService) GetCapabilities

CapabilitiesApiService Get build capabilities Returns the build capabilities of this instance

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestBuildCapabilities

func (*CapabilitiesApiService) GetCapabilities1

func (a *CapabilitiesApiService) GetCapabilities1(ctx context.Context) (*http.Response, error)

CapabilitiesApiService Get deployment capabilities Returns the Deployment capabilities of this instance

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

type ConditionIdBody

type ConditionIdBody struct {
	RequiredApprovals int32                                                                                `json:"requiredApprovals,omitempty"`
	Reviewers         []RestApplicationUser                                                                `json:"reviewers,omitempty"`
	SourceMatcher     *DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcher `json:"sourceMatcher,omitempty"`
	TargetMatcher     *DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcher `json:"targetMatcher,omitempty"`
}

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

func (*Configuration) UpdateBasePath

func (c *Configuration) UpdateBasePath(basePath string)

type Context

type Context struct {
	CommitMessage string `json:"commitMessage,omitempty"`
}

type DashboardApiGetPullRequestSuggestionsOpts

type DashboardApiGetPullRequestSuggestionsOpts struct {
	ChangesSince optional.String
	Limit        optional.String
}

type DashboardApiGetPullRequests1Opts

type DashboardApiGetPullRequests1Opts struct {
	ClosedSince       optional.String
	Role              optional.String
	ParticipantStatus optional.String
	State             optional.String
	User              optional.String
	Order             optional.String
	Start             optional.Float64
	Limit             optional.Float64
}

type DashboardApiService

type DashboardApiService service

func (*DashboardApiService) GetPullRequestSuggestions

func (a *DashboardApiService) GetPullRequestSuggestions(ctx context.Context, localVarOptionals *DashboardApiGetPullRequestSuggestionsOpts) (InlineResponse20021, *http.Response, error)

func (*DashboardApiService) GetPullRequests1

type DefaultApiGetPullRequests2Opts

type DefaultApiGetPullRequests2Opts struct {
	Role  optional.String
	Limit optional.Int32
	Start optional.Int32
}

type DefaultApiService

type DefaultApiService service

func (*DefaultApiService) GetPullRequestCount

func (a *DefaultApiService) GetPullRequestCount(ctx context.Context) (*http.Response, error)

DefaultApiService Get total number of pull requests in inbox Returns the total number of pull requests in the user's inbox

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*DefaultApiService) GetPullRequests2

func (a *DefaultApiService) GetPullRequests2(ctx context.Context, localVarOptionals *DefaultApiGetPullRequests2Opts) (*http.Response, error)

type DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcher

type DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcher struct {
	DisplayId string                                                                                   `json:"displayId,omitempty"`
	Id        string                                                                                   `json:"id,omitempty"`
	Type_     *DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcherType `json:"type,omitempty"`
}

type DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcherType

type DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcherType struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type DeprecatedApiAddBuildStatusOpts

type DeprecatedApiAddBuildStatusOpts struct {
	Body optional.Interface
}

type DeprecatedApiAddGroupToUserOpts

type DeprecatedApiAddGroupToUserOpts struct {
	Body optional.Interface
}

type DeprecatedApiAddUserToGroupOpts

type DeprecatedApiAddUserToGroupOpts struct {
	Body optional.Interface
}

type DeprecatedApiGetBuildStatusOpts

type DeprecatedApiGetBuildStatusOpts struct {
	OrderBy optional.String
	Start   optional.Float64
	Limit   optional.Float64
}

type DeprecatedApiGetBuildStatusStatsOpts

type DeprecatedApiGetBuildStatusStatsOpts struct {
	IncludeUnique optional.Bool
}

type DeprecatedApiGetLikers1Opts

type DeprecatedApiGetLikers1Opts struct {
	Start optional.Float64
	Limit optional.Float64
}

type DeprecatedApiGetLikersOpts

type DeprecatedApiGetLikersOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type DeprecatedApiGetMultipleBuildStatusStatsOpts

type DeprecatedApiGetMultipleBuildStatusStatsOpts struct {
	Body optional.Interface
}

type DeprecatedApiRemoveUserFromGroupOpts

type DeprecatedApiRemoveUserFromGroupOpts struct {
	Body optional.Interface
}

type DeprecatedApiService

type DeprecatedApiService service

func (*DeprecatedApiService) AddBuildStatus

func (a *DeprecatedApiService) AddBuildStatus(ctx context.Context, commitId string, localVarOptionals *DeprecatedApiAddBuildStatusOpts) (*http.Response, error)

func (*DeprecatedApiService) AddGroupToUser

func (a *DeprecatedApiService) AddGroupToUser(ctx context.Context, localVarOptionals *DeprecatedApiAddGroupToUserOpts) (*http.Response, error)

func (*DeprecatedApiService) AddUserToGroup

func (a *DeprecatedApiService) AddUserToGroup(ctx context.Context, localVarOptionals *DeprecatedApiAddUserToGroupOpts) (*http.Response, error)

func (*DeprecatedApiService) Approve

func (a *DeprecatedApiService) Approve(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (RestPullRequestParticipant, *http.Response, error)

DeprecatedApiService Approve pull request Approve a pull request as the current user. Implicitly adds the user as a participant if they are not already. The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource. <strong>Deprecated since 4.2</strong>. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} instead

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

@return RestPullRequestParticipant

func (*DeprecatedApiService) CountPullRequestTasks

func (a *DeprecatedApiService) CountPullRequestTasks(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (*http.Response, error)

DeprecatedApiService Get pull request task count Retrieve the total number of OPEN and RESOLVED tasks associated with a pull request. <strong>Deprecated since 7.2</strong>. Tasks are now managed using Comments with BLOCKER severity. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments?count=true instead.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The pull request ID.
  • @param repositorySlug The repository slug.

func (*DeprecatedApiService) CreateTask

func (a *DeprecatedApiService) CreateTask(ctx context.Context) (*http.Response, error)

DeprecatedApiService Create task Create a new task. <strong>Removed in 8.0</strong>. Tasks are now managed using Comments with severity BLOCKER. Call <code>POST /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments</code> instead,passing the attribute 'severity' set to 'BLOCKER'.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*DeprecatedApiService) DeleteTask

func (a *DeprecatedApiService) DeleteTask(ctx context.Context, taskId string) (*http.Response, error)

DeprecatedApiService Delete task Delete a task. <strong>Removed in 8.0</strong>. Tasks are now managed using Comments with BLOCKER severity. Call <code>DELETE /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}</code>instead. @deprecated since 7.2, changed to 404 in 8.0, remove in 9.0. Call DELETE /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} instead. Note that only the task's creator, the context's author or an admin of the context's repository can delete a task. (For a pull request task, those are the task's creator, the pull request's author or an admin on the repository containing the pull request). Additionally a task cannot be deleted if it has already been resolved.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId the id identifying the task to delete

func (*DeprecatedApiService) GetBuildStatus

func (a *DeprecatedApiService) GetBuildStatus(ctx context.Context, commitId string, localVarOptionals *DeprecatedApiGetBuildStatusOpts) (InlineResponse2001, *http.Response, error)

func (*DeprecatedApiService) GetBuildStatusStats

func (a *DeprecatedApiService) GetBuildStatusStats(ctx context.Context, commitId string, localVarOptionals *DeprecatedApiGetBuildStatusStatsOpts) (RestBuildStats, *http.Response, error)

func (*DeprecatedApiService) GetLikers

func (a *DeprecatedApiService) GetLikers(ctx context.Context, projectKey string, commentId int64, commitId string, repositorySlug string, localVarOptionals *DeprecatedApiGetLikersOpts) (InlineResponse2005, *http.Response, error)

func (*DeprecatedApiService) GetLikers1

func (a *DeprecatedApiService) GetLikers1(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string, localVarOptionals *DeprecatedApiGetLikers1Opts) (InlineResponse2005, *http.Response, error)

func (*DeprecatedApiService) GetPullRequestTasks

func (a *DeprecatedApiService) GetPullRequestTasks(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (*http.Response, error)
	return localVarReturnValue, localVarHttpResponse, nil
}

DeprecatedApiService Get pull request tasks Retrieve the tasks associated with a pull request. **Removed in 8.0**. Tasks are now managed using Comments with BLOCKER severity. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments instead **Deprecated since 7.2, changed to 404 in 8.0, remove in 9.0.** Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments instead

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The pull request ID.
  • @param repositorySlug The repository slug.

func (*DeprecatedApiService) GetTask

func (a *DeprecatedApiService) GetTask(ctx context.Context, taskId string) (*http.Response, error)

DeprecatedApiService Get task Retrieve an existing task. <strong>Removed in 8.0</strong>. Tasks are now managed using Comments with BLOCKER severity. Call <code>GET /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} </code>instead. @deprecated since 7.2, changed to 404 in 8.0, remove in 9.0. Call GET /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} instead.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId the id identifying the task

func (*DeprecatedApiService) Like

func (a *DeprecatedApiService) Like(ctx context.Context, projectKey string, commentId int64, commitId string, repositorySlug string) (*http.Response, error)

DeprecatedApiService Like a commit comment Like a commit comment in the specified repository, identified by <code>commitId</code> and <code>commentId</code>. The authenticated user must have the <strong>REPO_READ</strong> (or higher) permission for the specified repository to access this resource. <strong>Deprecated in 8.0 to be removed in 9.0.</strong> Likes have been replaced with reactions. For backwards compatibility, the <pre>thumbsup</pre> reaction is treated as a like.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId
  • @param commitId The commit id.
  • @param repositorySlug The repository slug.

func (*DeprecatedApiService) Like1

func (a *DeprecatedApiService) Like1(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string) (*http.Response, error)

DeprecatedApiService Like a pull request comment Like a pull request comment in the specified repository, identified by <code>pullRequestId</code> and <code>commentId</code>. The like will be recorded against the requesting user. The authenticated user must have the <strong>REPO_READ</strong> (or higher) permission for the specified repository to access this resource. **Deprecated in 8.0 to be removed in 9.0.** Likes have been replaced with reactions. For backwards compatibility, the <pre>thumbsup</pre> reaction is treated as a like.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId The comment id.
  • @param pullRequestId The pull request id.
  • @param repositorySlug The repository slug.

func (*DeprecatedApiService) OnAddonDisabled

func (a *DeprecatedApiService) OnAddonDisabled(ctx context.Context, upstreamId string) (*http.Response, error)

DeprecatedApiService On disable of mirror addon This REST endpoint is retained for backwards compatibility only. It is a no-op. Starting from 4.6.0, mirrors no longer specify a disabled lifecycle callback in their addon descriptor. Prior to 4.6.0, this was the callback method that was called when the mirroring atlassian-connect add-on has been disabled in the upstream server identified by <code> upstreamId</code>.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId the upstream server ID to retrieve settings for

func (*DeprecatedApiService) OnAddonEnabled

func (a *DeprecatedApiService) OnAddonEnabled(ctx context.Context, upstreamId string) (*http.Response, error)

DeprecatedApiService On enabled of mirror addon This REST endpoint is retained for backwards compatibility only. It is a no-op. Starting from 4.6.0, mirrors no longer specify an enabled lifecycle callback in their addon descriptor. Prior to 4.6.0, this was the callback method that was called when the mirroring atlassian-connect add-on has been enabled in the upstream server identified by <code>upstreamId</code>.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId the upstream server ID to retrieve settings for

func (*DeprecatedApiService) RemoveUserFromGroup

func (a *DeprecatedApiService) RemoveUserFromGroup(ctx context.Context, localVarOptionals *DeprecatedApiRemoveUserFromGroupOpts) (*http.Response, error)

func (*DeprecatedApiService) SetDefaultBranch1

func (a *DeprecatedApiService) SetDefaultBranch1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *DeprecatedApiSetDefaultBranch1Opts) (*http.Response, error)

func (*DeprecatedApiService) SynchronizeRepositoryWithUpstream

func (a *DeprecatedApiService) SynchronizeRepositoryWithUpstream(ctx context.Context, upstreamRepoId string, upstreamId string, localVarOptionals *DeprecatedApiSynchronizeRepositoryWithUpstreamOpts) (*http.Response, error)

func (*DeprecatedApiService) SynchronizeWithUpstream

func (a *DeprecatedApiService) SynchronizeWithUpstream(ctx context.Context, upstreamId string, localVarOptionals *DeprecatedApiSynchronizeWithUpstreamOpts) (*http.Response, error)

func (*DeprecatedApiService) UnassignParticipantRole1

func (a *DeprecatedApiService) UnassignParticipantRole1(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *DeprecatedApiUnassignParticipantRole1Opts) (*http.Response, error)

func (*DeprecatedApiService) Unlike

func (a *DeprecatedApiService) Unlike(ctx context.Context, projectKey string, commentId int64, commitId string, repositorySlug string) (*http.Response, error)

DeprecatedApiService Unlike a commit comment Unlike a commit comment in the specified repository, identified by <code>commitId</code> and <code>commentId</code>. The authenticated user must have the <strong>REPO_READ</strong> (or higher) permission for the specified repository to access this resource. <strong>Deprecated in 8.0 to be removed in 9.0.</strong> Likes have been replaced with reactions. For backwards compatibility, the <pre>thumbsup</pre> reaction is treated as a like.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId
  • @param commitId The commit id.
  • @param repositorySlug The repository slug.

func (*DeprecatedApiService) Unlike1

func (a *DeprecatedApiService) Unlike1(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string) (*http.Response, error)

DeprecatedApiService Unlike a pull request comment Unlike a pull request comment in the specified repository, identified by <code>pullRequestId</code> and <code>commentId</code>. The authenticated user must have the <strong>REPO_READ</strong> (or higher) permission for the specified repository to access this resource. **Deprecated in 8.0 to be removed in 9.0.** Likes have been replaced with reactions. For backwards compatibility, the <pre>thumbsup</pre> reaction is treated as a like.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId The comment id.
  • @param pullRequestId The pull request id.
  • @param repositorySlug The repository slug.

func (*DeprecatedApiService) UpdateTask

func (a *DeprecatedApiService) UpdateTask(ctx context.Context, taskId string) (*http.Response, error)

DeprecatedApiService Update task Update an existing task. <strong>Removed in 8.0</strong>. Tasks are now managed using Comments with BLOCKER severity. Call <code>PUT /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} </code> instead. To resolve a task, pass the attribute 'state' set to 'RESOLVED'. @deprecated since 7.2, changed to 404 in 8.0, remove in 9.0. Call <code>PUT /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} </code> instead. As of Stash 3.3, only the state and text of a task can be updated. Updating the state of a task is allowed for any user having <em>READ</em> access to the repository. However only the task's creator, the context's author or an admin of the context's repository can update the task's text. (For a pull request task, those are the task's creator, the pull request's author or an admin on the repository containing the pull request). Additionally the task's text cannot be updated if it has been resolved.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param taskId the id identifying the task to update

func (*DeprecatedApiService) WithdrawApproval

func (a *DeprecatedApiService) WithdrawApproval(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (RestPullRequestParticipant, *http.Response, error)

DeprecatedApiService Unapprove pull request Remove approval from a pull request as the current user. This does not remove the user as a participant. The authenticated user must have <strong>REPO_READ</strong> permission for the repository that this pull request targets to call this resource. <strong>Deprecated since 4.2</strong>. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} instead

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

@return RestPullRequestParticipant

type DeprecatedApiSetDefaultBranch1Opts

type DeprecatedApiSetDefaultBranch1Opts struct {
	Body optional.Interface
}

type DeprecatedApiSynchronizeRepositoryWithUpstreamOpts

type DeprecatedApiSynchronizeRepositoryWithUpstreamOpts struct {
	Level optional.String
}

type DeprecatedApiSynchronizeWithUpstreamOpts

type DeprecatedApiSynchronizeWithUpstreamOpts struct {
	Level optional.String
}

type DeprecatedApiUnassignParticipantRole1Opts

type DeprecatedApiUnassignParticipantRole1Opts struct {
	Username optional.String
}

type EnrichedRepository

type EnrichedRepository struct {
	Properties    *EnrichedRepositoryProperties            `json:"properties,omitempty"`
	Name          string                                   `json:"name,omitempty"`
	Id            int32                                    `json:"id,omitempty"`
	State         string                                   `json:"state,omitempty"`
	Public        bool                                     `json:"public,omitempty"`
	Project       *RestPullRequestFromRefRepositoryProject `json:"project,omitempty"`
	Description   string                                   `json:"description,omitempty"`
	DefaultBranch string                                   `json:"defaultBranch,omitempty"`
	RelatedLinks  *interface{}                             `json:"relatedLinks,omitempty"`
	Partition     int32                                    `json:"partition,omitempty"`
	Origin        *RestPullRequestFromRefRepositoryOrigin  `json:"origin,omitempty"`
	HierarchyId   string                                   `json:"hierarchyId,omitempty"`
	StatusMessage string                                   `json:"statusMessage,omitempty"`
	Archived      bool                                     `json:"archived,omitempty"`
	Forkable      bool                                     `json:"forkable,omitempty"`
	ScmId         string                                   `json:"scmId,omitempty"`
	Slug          string                                   `json:"slug,omitempty"`
	Scope         string                                   `json:"scope,omitempty"`
	Links         *interface{}                             `json:"links,omitempty"`
}

type EnrichedRepositoryProperties

type EnrichedRepositoryProperties struct {
	ContentHash     string `json:"contentHash,omitempty"`
	MetadataHash    string `json:"metadataHash,omitempty"`
	DefaultBranchId string `json:"defaultBranchId,omitempty"`
}

type EntityHolderRestPullRequestAutoMergeRequest

type EntityHolderRestPullRequestAutoMergeRequest struct {
	Entity *EntityHolderRestPullRequestAutoMergeRequestEntity `json:"entity,omitempty"`
}

type EntityHolderRestPullRequestAutoMergeRequestEntity

type EntityHolderRestPullRequestAutoMergeRequestEntity struct {
	AutoSubject string `json:"autoSubject,omitempty"`
	Message     string `json:"message,omitempty"`
	StrategyId  string `json:"strategyId,omitempty"`
	Version     int32  `json:"version,omitempty"`
}

type EntityHolderRestPullRequestDeclineRequest

type EntityHolderRestPullRequestDeclineRequest struct {
	Entity *EntityHolderRestPullRequestDeclineRequestEntity `json:"entity,omitempty"`
}

type EntityHolderRestPullRequestDeclineRequestEntity

type EntityHolderRestPullRequestDeclineRequestEntity struct {
	Comment string `json:"comment,omitempty"`
	Version int32  `json:"version,omitempty"`
}

type EntityHolderRestPullRequestReopenRequest

type EntityHolderRestPullRequestReopenRequest struct {
	Entity *EntityHolderRestPullRequestReopenRequestEntity `json:"entity,omitempty"`
}

type EntityHolderRestPullRequestReopenRequestEntity

type EntityHolderRestPullRequestReopenRequestEntity struct {
	Version int32 `json:"version,omitempty"`
}

type ExampleAvatarMultipartFormData

type ExampleAvatarMultipartFormData struct {
	// The avatar file to upload.
	Avatar **os.File `json:"avatar,omitempty"`
}

type ExampleFiles

type ExampleFiles struct {
	Files *ExampleJsonLastModifiedCallback `json:"files,omitempty"`
}

type ExampleJsonLastModifiedCallback

type ExampleJsonLastModifiedCallback struct {
	PomXml       *RestChangesetToCommit `json:"pomXml,omitempty"`
	ReadmeMd     *RestChangesetToCommit `json:"readmeMd,omitempty"`
	LatestCommit *RestChangesetToCommit `json:"latestCommit,omitempty"`
}

type ExampleMultipartFormData

type ExampleMultipartFormData struct {
	// The branch on which the <code>path</code> should be modified or created.
	Branch string `json:"branch,omitempty"`
	// The full content of the file at <code>path</code>.
	Content string `json:"content,omitempty"`
	// The message associated with this change, to be used as the commit message. Or null if the default message should be used.
	Message string `json:"message,omitempty"`
	// The starting point for <code>branch</code>. If provided and different from <code>branch</code>, <code>branch</code> will be created as a new branch, branching off from <code>sourceBranch</code>.
	SourceBranch string `json:"sourceBranch,omitempty"`
	// The commit ID of the file before it was edited, used to identify if content has changed. Or null if this is a new file
	SourceCommitId string `json:"sourceCommitId,omitempty"`
}

type ExamplePostMultipartFormData

type ExamplePostMultipartFormData struct {
	// The hook script contents.
	Content string `json:"content,omitempty"`
	// A description of the hook script (useful when querying registered hook scripts).
	Description string `json:"description,omitempty"`
	// The name of the hook script (useful when querying registered hook scripts).
	Name string `json:"name,omitempty"`
	// The type of hook script; supported values are \"PRE\" for pre-receive hooks and \"POST\" for post-receive hooks.
	Type_ string `json:"type,omitempty"`
}

type ExamplePreviewMigration

type ExamplePreviewMigration struct {
	Repositories []RestRepository `json:"repositories,omitempty"`
}

type ExamplePutMultipartFormData

type ExamplePutMultipartFormData struct {
	// The hook script contents.
	Content string `json:"content,omitempty"`
	// A description of the hook script (useful when querying registered hook scripts).
	Description string `json:"description,omitempty"`
	// The name of the hook script (useful when querying registered hook scripts).
	Name string `json:"name,omitempty"`
}

type ExampleRequirements

type ExampleRequirements struct {
	Enabled bool   `json:"enabled,omitempty"`
	Count   string `json:"count,omitempty"`
}

type ExampleSettings

type ExampleSettings struct {
	StringValue  string  `json:"stringValue,omitempty"`
	BooleanValue bool    `json:"booleanValue,omitempty"`
	DoubleValue  float64 `json:"doubleValue,omitempty"`
	IntegerValue int32   `json:"integerValue,omitempty"`
	LongValue    int64   `json:"longValue,omitempty"`
}

type ExampleSettingsMap

type ExampleSettingsMap struct {
	StringKey  string  `json:"string key,omitempty"`
	BooleanKey bool    `json:"boolean key,omitempty"`
	LongKey    float64 `json:"long key,omitempty"`
}

type ExampleSocketAddress

type ExampleSocketAddress struct {
	Address string `json:"address,omitempty"`
	Port    int32  `json:"port,omitempty"`
}

type ExampleStatus

type ExampleStatus struct {
	ServerId             string `json:"serverId,omitempty"`
	CurrentNumberOfUsers int32  `json:"currentNumberOfUsers,omitempty"`
}

type FilePart

type FilePart struct {
	ContentType string       `json:"contentType,omitempty"`
	FormField   bool         `json:"formField,omitempty"`
	InputStream *interface{} `json:"inputStream,omitempty"`
	Name        string       `json:"name,omitempty"`
	Size        int64        `json:"size,omitempty"`
	Value       string       `json:"value,omitempty"`
}

type GenericSwaggerError

type GenericSwaggerError struct {
	// contains filtered or unexported fields
}

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type Group

type Group struct {
	Name string `json:"name,omitempty"`
}

type GroupAndUsers

type GroupAndUsers struct {
	Group string   `json:"group,omitempty"`
	Users []string `json:"users"`
}

type GroupPickerContext

type GroupPickerContext struct {
	Context  string `json:"context,omitempty"`
	ItemName string `json:"itemName,omitempty"`
}

type InlineResponse200

type InlineResponse200 struct {
	Values        []RestAccessToken `json:"values,omitempty"`
	Size          float64           `json:"size,omitempty"`
	Limit         float64           `json:"limit,omitempty"`
	IsLastPage    bool              `json:"isLastPage,omitempty"`
	NextPageStart int32             `json:"nextPageStart,omitempty"`
	Start         int32             `json:"start,omitempty"`
}

type InlineResponse2001

type InlineResponse2001 struct {
	Values        []RestBuildStatus `json:"values,omitempty"`
	Size          float64           `json:"size,omitempty"`
	Limit         float64           `json:"limit,omitempty"`
	IsLastPage    bool              `json:"isLastPage,omitempty"`
	NextPageStart int32             `json:"nextPageStart,omitempty"`
	Start         int32             `json:"start,omitempty"`
}

type InlineResponse20010

type InlineResponse20010 struct {
	Values        []RestMirrorServer `json:"values,omitempty"`
	Size          float64            `json:"size,omitempty"`
	Limit         float64            `json:"limit,omitempty"`
	IsLastPage    bool               `json:"isLastPage,omitempty"`
	NextPageStart int32              `json:"nextPageStart,omitempty"`
	Start         int32              `json:"start,omitempty"`
}

type InlineResponse20011

type InlineResponse20011 struct {
	Values        []EnrichedRepository `json:"values,omitempty"`
	Size          float64              `json:"size,omitempty"`
	Limit         float64              `json:"limit,omitempty"`
	IsLastPage    bool                 `json:"isLastPage,omitempty"`
	NextPageStart int32                `json:"nextPageStart,omitempty"`
	Start         int32                `json:"start,omitempty"`
}

type InlineResponse20012

type InlineResponse20012 struct {
	Values        []RestMirroringRequest `json:"values,omitempty"`
	Size          float64                `json:"size,omitempty"`
	Limit         float64                `json:"limit,omitempty"`
	IsLastPage    bool                   `json:"isLastPage,omitempty"`
	NextPageStart int32                  `json:"nextPageStart,omitempty"`
	Start         int32                  `json:"start,omitempty"`
}

type InlineResponse20013

type InlineResponse20013 struct {
	Values        []RestRefRestriction `json:"values,omitempty"`
	Size          float64              `json:"size,omitempty"`
	Limit         float64              `json:"limit,omitempty"`
	IsLastPage    bool                 `json:"isLastPage,omitempty"`
	NextPageStart int32                `json:"nextPageStart,omitempty"`
	Start         int32                `json:"start,omitempty"`
}

type InlineResponse20014

type InlineResponse20014 struct {
	Values        []RestSshAccessKey `json:"values,omitempty"`
	Size          float64            `json:"size,omitempty"`
	Limit         float64            `json:"limit,omitempty"`
	IsLastPage    bool               `json:"isLastPage,omitempty"`
	NextPageStart int32              `json:"nextPageStart,omitempty"`
	Start         int32              `json:"start,omitempty"`
}

type InlineResponse20015

type InlineResponse20015 struct {
	Values        []RestSshKey `json:"values,omitempty"`
	Size          float64      `json:"size,omitempty"`
	Limit         float64      `json:"limit,omitempty"`
	IsLastPage    bool         `json:"isLastPage,omitempty"`
	NextPageStart int32        `json:"nextPageStart,omitempty"`
	Start         int32        `json:"start,omitempty"`
}

type InlineResponse20016

type InlineResponse20016 struct {
	Values        []RestDetailedGroup `json:"values,omitempty"`
	Size          float64             `json:"size,omitempty"`
	Limit         float64             `json:"limit,omitempty"`
	IsLastPage    bool                `json:"isLastPage,omitempty"`
	NextPageStart int32               `json:"nextPageStart,omitempty"`
	Start         int32               `json:"start,omitempty"`
}

type InlineResponse20017

type InlineResponse20017 struct {
	Values        []RestDetailedUser `json:"values,omitempty"`
	Size          float64            `json:"size,omitempty"`
	Limit         float64            `json:"limit,omitempty"`
	IsLastPage    bool               `json:"isLastPage,omitempty"`
	NextPageStart int32              `json:"nextPageStart,omitempty"`
	Start         int32              `json:"start,omitempty"`
}

type InlineResponse20018

type InlineResponse20018 struct {
	Values        []RestPermittedGroup `json:"values,omitempty"`
	Size          float64              `json:"size,omitempty"`
	Limit         float64              `json:"limit,omitempty"`
	IsLastPage    bool                 `json:"isLastPage,omitempty"`
	NextPageStart int32                `json:"nextPageStart,omitempty"`
	Start         int32                `json:"start,omitempty"`
}

type InlineResponse20019

type InlineResponse20019 struct {
	Values        []RestAggregateRejectCounter `json:"values,omitempty"`
	Size          float64                      `json:"size,omitempty"`
	Limit         float64                      `json:"limit,omitempty"`
	IsLastPage    bool                         `json:"isLastPage,omitempty"`
	NextPageStart int32                        `json:"nextPageStart,omitempty"`
	Start         int32                        `json:"start,omitempty"`
}

type InlineResponse2002

type InlineResponse2002 struct {
	Values        []RestRequiredBuildCondition `json:"values,omitempty"`
	Size          float64                      `json:"size,omitempty"`
	Limit         float64                      `json:"limit,omitempty"`
	IsLastPage    bool                         `json:"isLastPage,omitempty"`
	NextPageStart int32                        `json:"nextPageStart,omitempty"`
	Start         int32                        `json:"start,omitempty"`
}

type InlineResponse20020

type InlineResponse20020 struct {
	Values        []RestUserRateLimitSettings `json:"values,omitempty"`
	Size          float64                     `json:"size,omitempty"`
	Limit         float64                     `json:"limit,omitempty"`
	IsLastPage    bool                        `json:"isLastPage,omitempty"`
	NextPageStart int32                       `json:"nextPageStart,omitempty"`
	Start         int32                       `json:"start,omitempty"`
}

type InlineResponse20021

type InlineResponse20021 struct {
	Values        []RestPullRequestSuggestion `json:"values,omitempty"`
	Size          float64                     `json:"size,omitempty"`
	Limit         float64                     `json:"limit,omitempty"`
	IsLastPage    bool                        `json:"isLastPage,omitempty"`
	NextPageStart int32                       `json:"nextPageStart,omitempty"`
	Start         int32                       `json:"start,omitempty"`
}

type InlineResponse20022

type InlineResponse20022 struct {
	Values        []RestPullRequest `json:"values,omitempty"`
	Size          float64           `json:"size,omitempty"`
	Limit         float64           `json:"limit,omitempty"`
	IsLastPage    bool              `json:"isLastPage,omitempty"`
	NextPageStart int32             `json:"nextPageStart,omitempty"`
	Start         int32             `json:"start,omitempty"`
}

type InlineResponse20023

type InlineResponse20023 struct {
	Values        []string `json:"values,omitempty"`
	Size          float64  `json:"size,omitempty"`
	Limit         float64  `json:"limit,omitempty"`
	IsLastPage    bool     `json:"isLastPage,omitempty"`
	NextPageStart int32    `json:"nextPageStart,omitempty"`
	Start         int32    `json:"start,omitempty"`
}

type InlineResponse20024

type InlineResponse20024 struct {
	Values        []RestLabel `json:"values,omitempty"`
	Size          float64     `json:"size,omitempty"`
	Limit         float64     `json:"limit,omitempty"`
	IsLastPage    bool        `json:"isLastPage,omitempty"`
	NextPageStart int32       `json:"nextPageStart,omitempty"`
	Start         int32       `json:"start,omitempty"`
}

type InlineResponse20025

type InlineResponse20025 struct {
	Values        []RestLabelable `json:"values,omitempty"`
	Size          float64         `json:"size,omitempty"`
	Limit         float64         `json:"limit,omitempty"`
	IsLastPage    bool            `json:"isLastPage,omitempty"`
	NextPageStart int32           `json:"nextPageStart,omitempty"`
	Start         int32           `json:"start,omitempty"`
}

type InlineResponse20026

type InlineResponse20026 struct {
	Values        []RestJobMessage `json:"values,omitempty"`
	Size          float64          `json:"size,omitempty"`
	Limit         float64          `json:"limit,omitempty"`
	IsLastPage    bool             `json:"isLastPage,omitempty"`
	NextPageStart int32            `json:"nextPageStart,omitempty"`
	Start         int32            `json:"start,omitempty"`
}

type InlineResponse20027

type InlineResponse20027 struct {
	Values        []RestMigrationRepository `json:"values,omitempty"`
	Size          float64                   `json:"size,omitempty"`
	Limit         float64                   `json:"limit,omitempty"`
	IsLastPage    bool                      `json:"isLastPage,omitempty"`
	NextPageStart int32                     `json:"nextPageStart,omitempty"`
	Start         int32                     `json:"start,omitempty"`
}

type InlineResponse20028

type InlineResponse20028 struct {
	Values        []RestMeshMigrationSummary `json:"values,omitempty"`
	Size          float64                    `json:"size,omitempty"`
	Limit         float64                    `json:"limit,omitempty"`
	IsLastPage    bool                       `json:"isLastPage,omitempty"`
	NextPageStart int32                      `json:"nextPageStart,omitempty"`
	Start         int32                      `json:"start,omitempty"`
}

type InlineResponse20029

type InlineResponse20029 struct {
	Values        []RestRepository `json:"values,omitempty"`
	Size          float64          `json:"size,omitempty"`
	Limit         float64          `json:"limit,omitempty"`
	IsLastPage    bool             `json:"isLastPage,omitempty"`
	NextPageStart int32            `json:"nextPageStart,omitempty"`
	Start         int32            `json:"start,omitempty"`
}

type InlineResponse2003

type InlineResponse2003 struct {
	Values        []RestMinimalRef `json:"values,omitempty"`
	Size          float64          `json:"size,omitempty"`
	Limit         float64          `json:"limit,omitempty"`
	IsLastPage    bool             `json:"isLastPage,omitempty"`
	NextPageStart int32            `json:"nextPageStart,omitempty"`
	Start         int32            `json:"start,omitempty"`
}

type InlineResponse20030

type InlineResponse20030 struct {
	Values        []RestProject `json:"values,omitempty"`
	Size          float64       `json:"size,omitempty"`
	Limit         float64       `json:"limit,omitempty"`
	IsLastPage    bool          `json:"isLastPage,omitempty"`
	NextPageStart int32         `json:"nextPageStart,omitempty"`
	Start         int32         `json:"start,omitempty"`
}

type InlineResponse20031

type InlineResponse20031 struct {
	Values        []RestHookScriptConfig `json:"values,omitempty"`
	Size          float64                `json:"size,omitempty"`
	Limit         float64                `json:"limit,omitempty"`
	IsLastPage    bool                   `json:"isLastPage,omitempty"`
	NextPageStart int32                  `json:"nextPageStart,omitempty"`
	Start         int32                  `json:"start,omitempty"`
}

type InlineResponse20032

type InlineResponse20032 struct {
	Values        []RestPermittedUser `json:"values,omitempty"`
	Size          float64             `json:"size,omitempty"`
	Limit         float64             `json:"limit,omitempty"`
	IsLastPage    bool                `json:"isLastPage,omitempty"`
	NextPageStart int32               `json:"nextPageStart,omitempty"`
	Start         int32               `json:"start,omitempty"`
}

type InlineResponse20034

type InlineResponse20034 struct {
	Values        []RestChange `json:"values,omitempty"`
	Size          float64      `json:"size,omitempty"`
	Limit         float64      `json:"limit,omitempty"`
	IsLastPage    bool         `json:"isLastPage,omitempty"`
	NextPageStart int32        `json:"nextPageStart,omitempty"`
	Start         int32        `json:"start,omitempty"`
}

type InlineResponse20035

type InlineResponse20035 struct {
	Values        []RestCommit `json:"values,omitempty"`
	Size          float64      `json:"size,omitempty"`
	Limit         float64      `json:"limit,omitempty"`
	IsLastPage    bool         `json:"isLastPage,omitempty"`
	NextPageStart int32        `json:"nextPageStart,omitempty"`
	Start         int32        `json:"start,omitempty"`
}

type InlineResponse20036

type InlineResponse20036 struct {
	Values        []RestComment `json:"values,omitempty"`
	Size          float64       `json:"size,omitempty"`
	Limit         float64       `json:"limit,omitempty"`
	IsLastPage    bool          `json:"isLastPage,omitempty"`
	NextPageStart int32         `json:"nextPageStart,omitempty"`
	Start         int32         `json:"start,omitempty"`
}

type InlineResponse20037

type InlineResponse20037 struct {
	Values        []RestDiff `json:"values,omitempty"`
	Size          float64    `json:"size,omitempty"`
	Limit         float64    `json:"limit,omitempty"`
	IsLastPage    bool       `json:"isLastPage,omitempty"`
	NextPageStart int32      `json:"nextPageStart,omitempty"`
	Start         int32      `json:"start,omitempty"`
}

type InlineResponse20039

type InlineResponse20039 struct {
	Values        []RestPullRequestActivity `json:"values,omitempty"`
	Size          float64                   `json:"size,omitempty"`
	Limit         float64                   `json:"limit,omitempty"`
	IsLastPage    bool                      `json:"isLastPage,omitempty"`
	NextPageStart int32                     `json:"nextPageStart,omitempty"`
	Start         int32                     `json:"start,omitempty"`
}

type InlineResponse2004

type InlineResponse2004 struct {
	Values        []RestInsightReport `json:"values,omitempty"`
	Size          float64             `json:"size,omitempty"`
	Limit         float64             `json:"limit,omitempty"`
	IsLastPage    bool                `json:"isLastPage,omitempty"`
	NextPageStart int32               `json:"nextPageStart,omitempty"`
	Start         int32               `json:"start,omitempty"`
}

type InlineResponse20040

type InlineResponse20040 struct {
	Values        []RestPullRequestParticipant `json:"values,omitempty"`
	Size          float64                      `json:"size,omitempty"`
	Limit         float64                      `json:"limit,omitempty"`
	IsLastPage    bool                         `json:"isLastPage,omitempty"`
	NextPageStart int32                        `json:"nextPageStart,omitempty"`
	Start         int32                        `json:"start,omitempty"`
}

type InlineResponse20041

type InlineResponse20041 struct {
	Values        []RestRepositoryRefChangeActivity `json:"values,omitempty"`
	Size          float64                           `json:"size,omitempty"`
	Limit         float64                           `json:"limit,omitempty"`
	IsLastPage    bool                              `json:"isLastPage,omitempty"`
	NextPageStart int32                             `json:"nextPageStart,omitempty"`
	Start         int32                             `json:"start,omitempty"`
}

type InlineResponse20042

type InlineResponse20042 struct {
	Values        []RestSecretScanningAllowlistRule `json:"values,omitempty"`
	Size          float64                           `json:"size,omitempty"`
	Limit         float64                           `json:"limit,omitempty"`
	IsLastPage    bool                              `json:"isLastPage,omitempty"`
	NextPageStart int32                             `json:"nextPageStart,omitempty"`
	Start         int32                             `json:"start,omitempty"`
}

type InlineResponse20043

type InlineResponse20043 struct {
	Values        []RestSecretScanningRule `json:"values,omitempty"`
	Size          float64                  `json:"size,omitempty"`
	Limit         float64                  `json:"limit,omitempty"`
	IsLastPage    bool                     `json:"isLastPage,omitempty"`
	NextPageStart int32                    `json:"nextPageStart,omitempty"`
	Start         int32                    `json:"start,omitempty"`
}

type InlineResponse20044

type InlineResponse20044 struct {
	Values        []RestRepositoryHook `json:"values,omitempty"`
	Size          float64              `json:"size,omitempty"`
	Limit         float64              `json:"limit,omitempty"`
	IsLastPage    bool                 `json:"isLastPage,omitempty"`
	NextPageStart int32                `json:"nextPageStart,omitempty"`
	Start         int32                `json:"start,omitempty"`
}

type InlineResponse20045

type InlineResponse20045 struct {
	Values        []RestReviewerGroup `json:"values,omitempty"`
	Size          float64             `json:"size,omitempty"`
	Limit         float64             `json:"limit,omitempty"`
	IsLastPage    bool                `json:"isLastPage,omitempty"`
	NextPageStart int32               `json:"nextPageStart,omitempty"`
	Start         int32               `json:"start,omitempty"`
}

type InlineResponse20046

type InlineResponse20046 struct {
	Values        []RestTag `json:"values,omitempty"`
	Size          float64   `json:"size,omitempty"`
	Limit         float64   `json:"limit,omitempty"`
	IsLastPage    bool      `json:"isLastPage,omitempty"`
	NextPageStart int32     `json:"nextPageStart,omitempty"`
	Start         int32     `json:"start,omitempty"`
}

type InlineResponse20047

type InlineResponse20047 struct {
	Values        []RestProjectSettingsRestriction `json:"values,omitempty"`
	Size          float64                          `json:"size,omitempty"`
	Limit         float64                          `json:"limit,omitempty"`
	IsLastPage    bool                             `json:"isLastPage,omitempty"`
	NextPageStart int32                            `json:"nextPageStart,omitempty"`
	Start         int32                            `json:"start,omitempty"`
}

type InlineResponse2005

type InlineResponse2005 struct {
	Values        []RestApplicationUser `json:"values,omitempty"`
	Size          float64               `json:"size,omitempty"`
	Limit         float64               `json:"limit,omitempty"`
	IsLastPage    bool                  `json:"isLastPage,omitempty"`
	NextPageStart int32                 `json:"nextPageStart,omitempty"`
	Start         int32                 `json:"start,omitempty"`
}

type InlineResponse2006

type InlineResponse2006 struct {
	Values        []RestChangeset `json:"values,omitempty"`
	Size          float64         `json:"size,omitempty"`
	Limit         float64         `json:"limit,omitempty"`
	IsLastPage    bool            `json:"isLastPage,omitempty"`
	NextPageStart int32           `json:"nextPageStart,omitempty"`
	Start         int32           `json:"start,omitempty"`
}

type InlineResponse2007

type InlineResponse2007 struct {
	Values        []RestGpgKey `json:"values,omitempty"`
	Size          float64      `json:"size,omitempty"`
	Limit         float64      `json:"limit,omitempty"`
	IsLastPage    bool         `json:"isLastPage,omitempty"`
	NextPageStart int32        `json:"nextPageStart,omitempty"`
	Start         int32        `json:"start,omitempty"`
}

type InlineResponse2008

type InlineResponse2008 struct {
	Values        []RestMirrorRepositorySynchronizationStatus `json:"values,omitempty"`
	Size          float64                                     `json:"size,omitempty"`
	Limit         float64                                     `json:"limit,omitempty"`
	IsLastPage    bool                                        `json:"isLastPage,omitempty"`
	NextPageStart int32                                       `json:"nextPageStart,omitempty"`
	Start         int32                                       `json:"start,omitempty"`
}

type InlineResponse2009

type InlineResponse2009 struct {
	Values        []RestUpstreamServer `json:"values,omitempty"`
	Size          float64              `json:"size,omitempty"`
	Limit         float64              `json:"limit,omitempty"`
	IsLastPage    bool                 `json:"isLastPage,omitempty"`
	NextPageStart int32                `json:"nextPageStart,omitempty"`
	Start         int32                `json:"start,omitempty"`
}

type InlineResponse401

type InlineResponse401 struct {
	Errors []RestErrorMessage `json:"errors,omitempty"`
}

type JiraIntegrationApiCreateIssueOpts

type JiraIntegrationApiCreateIssueOpts struct {
	Body          optional.Interface
	ApplicationId optional.String
}

type JiraIntegrationApiGetCommitsByIssueKeyOpts

type JiraIntegrationApiGetCommitsByIssueKeyOpts struct {
	MaxChanges optional.String
	Start      optional.Float64
	Limit      optional.Float64
}

type JiraIntegrationApiService

type JiraIntegrationApiService service

func (*JiraIntegrationApiService) CreateIssue

func (*JiraIntegrationApiService) GetCommitsByIssueKey

func (*JiraIntegrationApiService) GetEnhancedEntityLinkForProject

func (a *JiraIntegrationApiService) GetEnhancedEntityLinkForProject(ctx context.Context, projectKey string) (RestEnhancedEntityLink, *http.Response, error)

JiraIntegrationApiService Get entity link Retrieves the enchanced primary entitylink The authenticated user must have &lt;strong&gt;PROJECT_READ&lt;/strong&gt; permission for the project having the primary enhanced entitylink.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key

@return RestEnhancedEntityLink

func (*JiraIntegrationApiService) GetIssueKeysForPullRequest

func (a *JiraIntegrationApiService) GetIssueKeysForPullRequest(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) ([]RestJiraIssue, *http.Response, error)

JiraIntegrationApiService Get issues for a pull request Retrieves Jira issue keys that are associated with the commits in the specified pull request. The number of commits checked for issues is limited to a default of 100.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param pullRequestId The pull request id
  • @param repositorySlug The repository slug

@return []RestJiraIssue

type LatestKeysBody

type LatestKeysBody struct {
	AlgorithmType     string    `json:"algorithmType,omitempty"`
	BitLength         int32     `json:"bitLength,omitempty"`
	CreatedDate       time.Time `json:"createdDate,omitempty"`
	ExpiryDays        int32     `json:"expiryDays,omitempty"`
	Id                int32     `json:"id,omitempty"`
	Label             string    `json:"label,omitempty"`
	LastAuthenticated string    `json:"lastAuthenticated,omitempty"`
	Text              string    `json:"text,omitempty"`
}

type MarkupApiPreviewOpts

type MarkupApiPreviewOpts struct {
	Body             optional.Interface
	HtmlEscape       optional.String
	UrlMode          optional.String
	IncludeHeadingId optional.String
	Hardwrap         optional.String
}

type MarkupApiService

type MarkupApiService service

func (*MarkupApiService) Preview

func (a *MarkupApiService) Preview(ctx context.Context, localVarOptionals *MarkupApiPreviewOpts) (RestMarkup, *http.Response, error)

type MigrationMeshBody

type MigrationMeshBody struct {
	All               bool                                     `json:"all,omitempty"`
	MaxBytesPerSecond *ApilatestmigrationmeshMaxBytesPerSecond `json:"maxBytesPerSecond,omitempty"`
	ProjectIds        []int32                                  `json:"projectIds,omitempty"`
	RepositoryIds     []int32                                  `json:"repositoryIds,omitempty"`
}

type MirroringMirrorApiGetRepoSyncStatusOpts

type MirroringMirrorApiGetRepoSyncStatusOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type MirroringMirrorApiListUpstreamServersOpts

type MirroringMirrorApiListUpstreamServersOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type MirroringMirrorApiService

type MirroringMirrorApiService service

func (*MirroringMirrorApiService) GetFarmNodes

func (a *MirroringMirrorApiService) GetFarmNodes(ctx context.Context, upstreamId string) ([]RestClusterNode, *http.Response, error)

MirroringMirrorApiService Get farm nodes Retrieves the list of farm nodes in this cluster

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId the upstream server ID to retrieve settings for

@return []RestClusterNode

func (*MirroringMirrorApiService) GetMirrorMode

func (a *MirroringMirrorApiService) GetMirrorMode(ctx context.Context, upstreamId string) (*http.Response, error)

MirroringMirrorApiService Get mirror mode Gets the current mirror mode for the specified upstream

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId

func (*MirroringMirrorApiService) GetMirrorSettings

func (a *MirroringMirrorApiService) GetMirrorSettings(ctx context.Context, upstreamId string) (RestUpstreamSettings, *http.Response, error)

MirroringMirrorApiService Get upstream settings Retrieves upstream settings

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId

@return RestUpstreamSettings

func (*MirroringMirrorApiService) GetMirroredProjects

func (a *MirroringMirrorApiService) GetMirroredProjects(ctx context.Context, upstreamId string) (*http.Response, error)

MirroringMirrorApiService Get mirrored project IDs Returns the IDs of the projects that the mirror is configured to mirror

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId

func (*MirroringMirrorApiService) GetMirroredRepository

func (a *MirroringMirrorApiService) GetMirroredRepository(ctx context.Context, upstreamRepoId string, upstreamId string) (RestMirroredRepository, *http.Response, error)

MirroringMirrorApiService Get clone URLs Retrieves all available clone urls for the specified repository.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamRepoId the repository ID
  • @param upstreamId the upstream server ID

@return RestMirroredRepository

func (*MirroringMirrorApiService) GetRefChangesQueue

MirroringMirrorApiService Get items in ref changes queue Retrieves a list of up to &lt;code&gt;plugin.mirroring.farm.max.ref.change.queue.dump.size&lt;/code&gt; items currently in the ref changes queue. The ref changes queue is an internal component of every mirror farm, and is shared between all nodes. When the contents of an upstream repository changes, an item is added to this queue so that the mirror farm nodes know to synchronize. The mirror farm constantly polls and removes items from this queue for processing, so it is empty most of the time.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestRefSyncQueue

func (*MirroringMirrorApiService) GetRefChangesQueueCount

func (a *MirroringMirrorApiService) GetRefChangesQueueCount(ctx context.Context) (*http.Response, error)

MirroringMirrorApiService Get total number of items in ref changes queue Retrieves the total number of items currently in the ref changes queue

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*MirroringMirrorApiService) GetRepoSyncStatus

func (*MirroringMirrorApiService) GetSynchronizationProgress

func (a *MirroringMirrorApiService) GetSynchronizationProgress(ctx context.Context, upstreamId string) (RestSyncProgress, *http.Response, error)

MirroringMirrorApiService Get synchronization progress state

Retrieves synchronization progress state for the specified upstream server.If there&#x27;s no progress to report, this resource will return &lt;pre&gt;&lt;code&gt; {\&quot;discovering\&quot;:false,\&quot;syncedRepos\&quot;:0,\&quot;totalRepos\&quot;:0}&lt;/code&gt;&lt;/pre&gt; If there are repositories in the process of synchronizing, but the precise number hasn&#x27;t been discovered yet, this resource will return: &lt;pre&gt;&lt;code&gt; {\&quot;discovering\&quot;:true,\&quot;syncedRepos\&quot;:3,\&quot;totalRepos\&quot;:100}&lt;/code&gt;&lt;/pre&gt; If there is progress to report and the total number of repositories is known, this resource will return: &lt;pre&gt; &lt;code&gt; {\&quot;discovering\&quot;:false,\&quot;syncedRepos\&quot;:242,\&quot;totalRepos\&quot;:1071}&lt;/code&gt; &lt;/pre&gt;
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param upstreamId the upstream server ID to retrieve settings for

@return RestSyncProgress

func (*MirroringMirrorApiService) GetUpstreamServer

func (a *MirroringMirrorApiService) GetUpstreamServer(ctx context.Context, upstreamId string) (RestUpstreamServer, *http.Response, error)

MirroringMirrorApiService Get upstream server by ID Retrieves upstream server details by ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId The upstream server ID to retrieve settings for.

@return RestUpstreamServer

func (*MirroringMirrorApiService) ListUpstreamServers

func (*MirroringMirrorApiService) OnAddonDisabled

func (a *MirroringMirrorApiService) OnAddonDisabled(ctx context.Context, upstreamId string) (*http.Response, error)

MirroringMirrorApiService On disable of mirror addon This REST endpoint is retained for backwards compatibility only. It is a no-op. Starting from 4.6.0, mirrors no longer specify a disabled lifecycle callback in their addon descriptor. Prior to 4.6.0, this was the callback method that was called when the mirroring atlassian-connect add-on has been disabled in the upstream server identified by &lt;code&gt; upstreamId&lt;/code&gt;.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId the upstream server ID to retrieve settings for

func (*MirroringMirrorApiService) OnAddonEnabled

func (a *MirroringMirrorApiService) OnAddonEnabled(ctx context.Context, upstreamId string) (*http.Response, error)

MirroringMirrorApiService On enabled of mirror addon This REST endpoint is retained for backwards compatibility only. It is a no-op. Starting from 4.6.0, mirrors no longer specify an enabled lifecycle callback in their addon descriptor. Prior to 4.6.0, this was the callback method that was called when the mirroring atlassian-connect add-on has been enabled in the upstream server identified by &lt;code&gt;upstreamId&lt;/code&gt;.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId the upstream server ID to retrieve settings for

func (*MirroringMirrorApiService) SetMirrorMode

func (a *MirroringMirrorApiService) SetMirrorMode(ctx context.Context, upstreamId string, localVarOptionals *MirroringMirrorApiSetMirrorModeOpts) (*http.Response, error)

func (*MirroringMirrorApiService) SetMirrorSettings

func (*MirroringMirrorApiService) StartMirroringProject

func (a *MirroringMirrorApiService) StartMirroringProject(ctx context.Context, upstreamId string, projectId string) (*http.Response, error)

MirroringMirrorApiService Add project to be mirrored Configures the mirror to mirror the provided project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId
  • @param projectId

func (*MirroringMirrorApiService) StartMirroringProjects

func (a *MirroringMirrorApiService) StartMirroringProjects(ctx context.Context, upstreamId string, localVarOptionals *MirroringMirrorApiStartMirroringProjectsOpts) (*http.Response, error)

func (*MirroringMirrorApiService) StopMirroringProject

func (a *MirroringMirrorApiService) StopMirroringProject(ctx context.Context, upstreamId string, projectId string) (*http.Response, error)

MirroringMirrorApiService Stop mirroring project Configures the mirror to no longer mirror the provided project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param upstreamId
  • @param projectId the project ID to stop mirroring

func (*MirroringMirrorApiService) StopMirroringProjects

func (a *MirroringMirrorApiService) StopMirroringProjects(ctx context.Context, upstreamId string, localVarOptionals *MirroringMirrorApiStopMirroringProjectsOpts) (*http.Response, error)

func (*MirroringMirrorApiService) SynchronizeRepositoryWithUpstream

func (a *MirroringMirrorApiService) SynchronizeRepositoryWithUpstream(ctx context.Context, upstreamRepoId string, upstreamId string, localVarOptionals *MirroringMirrorApiSynchronizeRepositoryWithUpstreamOpts) (*http.Response, error)

func (*MirroringMirrorApiService) SynchronizeWithUpstream

func (a *MirroringMirrorApiService) SynchronizeWithUpstream(ctx context.Context, upstreamId string, localVarOptionals *MirroringMirrorApiSynchronizeWithUpstreamOpts) (*http.Response, error)

type MirroringMirrorApiSetMirrorModeOpts

type MirroringMirrorApiSetMirrorModeOpts struct {
	Body optional.Interface
}

type MirroringMirrorApiSetMirrorSettingsOpts

type MirroringMirrorApiSetMirrorSettingsOpts struct {
	Body optional.Interface
}

type MirroringMirrorApiStartMirroringProjectsOpts

type MirroringMirrorApiStartMirroringProjectsOpts struct {
	Body optional.Interface
}

type MirroringMirrorApiStopMirroringProjectsOpts

type MirroringMirrorApiStopMirroringProjectsOpts struct {
	Body optional.Interface
}

type MirroringMirrorApiSynchronizeRepositoryWithUpstreamOpts

type MirroringMirrorApiSynchronizeRepositoryWithUpstreamOpts struct {
	Level optional.String
}

type MirroringMirrorApiSynchronizeWithUpstreamOpts

type MirroringMirrorApiSynchronizeWithUpstreamOpts struct {
	Level optional.String
}

type MirroringUpstreamApiAuthenticateOpts

type MirroringUpstreamApiAuthenticateOpts struct {
	Body optional.Interface
}

type MirroringUpstreamApiGetAllContentHashesOpts

type MirroringUpstreamApiGetAllContentHashesOpts struct {
	IncludeDefaultBranch optional.String
}

type MirroringUpstreamApiGetAllReposForProjectOpts

type MirroringUpstreamApiGetAllReposForProjectOpts struct {
	IncludeDefaultBranch optional.String
	Start                optional.Float64
	Limit                optional.Float64
}

type MirroringUpstreamApiGetContentHashByIdOpts

type MirroringUpstreamApiGetContentHashByIdOpts struct {
	IncludeDefaultBranch optional.Bool
}

type MirroringUpstreamApiListMirrorsOpts

type MirroringUpstreamApiListMirrorsOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type MirroringUpstreamApiListRequestsOpts

type MirroringUpstreamApiListRequestsOpts struct {
	State optional.String
	Start optional.Float64
	Limit optional.Float64
}

type MirroringUpstreamApiPublishEventOpts

type MirroringUpstreamApiPublishEventOpts struct {
	Body optional.Interface
}

type MirroringUpstreamApiRegisterOpts

type MirroringUpstreamApiRegisterOpts struct {
	Body optional.Interface
}

type MirroringUpstreamApiService

type MirroringUpstreamApiService service

func (*MirroringUpstreamApiService) Accept

func (a *MirroringUpstreamApiService) Accept(ctx context.Context, mirroringRequestId string) (RestMirrorServer, *http.Response, error)

MirroringUpstreamApiService Accept a mirroring request Accepts a mirroring request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mirroringRequestId the ID of the request to accept

@return RestMirrorServer

func (*MirroringUpstreamApiService) AnalyticsSettings

MirroringUpstreamApiService Get analytics settings from upstream Gets the analytics settings from the mirroring upstream

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestAnalyticsSettings

func (*MirroringUpstreamApiService) Authenticate

func (*MirroringUpstreamApiService) DeleteMirroringRequest

func (a *MirroringUpstreamApiService) DeleteMirroringRequest(ctx context.Context, mirroringRequestId string) (*http.Response, error)

MirroringUpstreamApiService Delete a mirroring request Deletes a mirroring request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mirroringRequestId the ID of the mirroring request to delete

func (*MirroringUpstreamApiService) DeletePreferredMirrorId

func (a *MirroringUpstreamApiService) DeletePreferredMirrorId(ctx context.Context) (*http.Response, error)

MirroringUpstreamApiService Remove preferred mirror Removes the current user&#x27;s preferred mirror

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*MirroringUpstreamApiService) GetAllContentHashes

func (*MirroringUpstreamApiService) GetAllReposForProject

func (*MirroringUpstreamApiService) GetContentHashById

func (*MirroringUpstreamApiService) GetMirror

MirroringUpstreamApiService Get mirror by ID Returns the mirror specified by a mirror ID

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mirrorId the mirror ID

@return RestMirrorServer

func (*MirroringUpstreamApiService) GetMirroringRequest

func (a *MirroringUpstreamApiService) GetMirroringRequest(ctx context.Context, mirroringRequestId string) (RestMirroringRequest, *http.Response, error)

MirroringUpstreamApiService Get a mirroring request Retrieves a mirroring request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mirroringRequestId the ID of the mirroring request to retrieve

@return RestMirroringRequest

func (*MirroringUpstreamApiService) GetPanelHtml

func (a *MirroringUpstreamApiService) GetPanelHtml(ctx context.Context, mirrorId string) (*http.Response, error)

MirroringUpstreamApiService Get HTML for remote-connect web-panel on mirror Gets the rendered HTML that is needed to get the remote connect web-panel on the mirror.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mirrorId

func (*MirroringUpstreamApiService) GetPreferredMirrorId

MirroringUpstreamApiService Get preferred mirror Retrieves the current user&#x27;s preferred mirror server

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestMirrorServer

func (*MirroringUpstreamApiService) GetProjectById

func (a *MirroringUpstreamApiService) GetProjectById(ctx context.Context, projectId string) (RestProject, *http.Response, error)

MirroringUpstreamApiService Get project Returns the requested project using its primary key ID.&lt;br&gt; Since 6.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectId the ID of the requested project

@return RestProject

func (*MirroringUpstreamApiService) GetRepositoryMirrors

MirroringUpstreamApiService Get mirrors for repository Returns a page of mirrors for a repository. This resource will return &lt;strong&gt;all mirrors&lt;/strong&gt; along with authorized links to the mirror&#x27;s repository REST resource. To determine if a repository is available on the mirror, the returned URL needs to be called.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param repoId the ID of the requested repository

@return RestMirroredRepositoryDescriptor

func (*MirroringUpstreamApiService) ListMirrors

func (*MirroringUpstreamApiService) ListRequests

func (*MirroringUpstreamApiService) PublishEvent

func (a *MirroringUpstreamApiService) PublishEvent(ctx context.Context, mirrorId string, localVarOptionals *MirroringUpstreamApiPublishEventOpts) (*http.Response, error)

func (*MirroringUpstreamApiService) Register

func (*MirroringUpstreamApiService) Reject

func (a *MirroringUpstreamApiService) Reject(ctx context.Context, mirroringRequestId string) (RestMirrorServer, *http.Response, error)

MirroringUpstreamApiService Reject a mirroring request Rejects a mirroring request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mirroringRequestId the ID of the request to reject

@return RestMirrorServer

func (*MirroringUpstreamApiService) Remove

func (a *MirroringUpstreamApiService) Remove(ctx context.Context, mirrorId string) (*http.Response, error)

MirroringUpstreamApiService Delete mirror by ID Removes a mirror, disabling all access and notifications for the mirror server in question

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param mirrorId the ID of the mirror to remove

func (*MirroringUpstreamApiService) SetPreferredMirrorId

func (a *MirroringUpstreamApiService) SetPreferredMirrorId(ctx context.Context, localVarOptionals *MirroringUpstreamApiSetPreferredMirrorIdOpts) (*http.Response, error)

func (*MirroringUpstreamApiService) Upgrade

type MirroringUpstreamApiSetPreferredMirrorIdOpts

type MirroringUpstreamApiSetPreferredMirrorIdOpts struct {
	Body optional.Interface
}

type MirroringUpstreamApiUpgradeOpts

type MirroringUpstreamApiUpgradeOpts struct {
	Body optional.Interface
}

type PermissionManagementApiAddGroupToUserOpts

type PermissionManagementApiAddGroupToUserOpts struct {
	Body optional.Interface
}

type PermissionManagementApiAddUserToGroupOpts

type PermissionManagementApiAddUserToGroupOpts struct {
	Body optional.Interface
}

type PermissionManagementApiAddUserToGroupsOpts

type PermissionManagementApiAddUserToGroupsOpts struct {
	Body optional.Interface
}

type PermissionManagementApiAddUsersToGroupOpts

type PermissionManagementApiAddUsersToGroupOpts struct {
	Body optional.Interface
}

type PermissionManagementApiCreateUserOpts

type PermissionManagementApiCreateUserOpts struct {
	Password          optional.String
	AddToDefaultGroup optional.Bool
	Notify            optional.Bool
}

type PermissionManagementApiFindGroupsForUserOpts

type PermissionManagementApiFindGroupsForUserOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiFindOtherGroupsForUserOpts

type PermissionManagementApiFindOtherGroupsForUserOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiFindUsersInGroupOpts

type PermissionManagementApiFindUsersInGroupOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiFindUsersNotInGroupOpts

type PermissionManagementApiFindUsersNotInGroupOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetGroups1Opts

type PermissionManagementApiGetGroups1Opts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetGroupsOpts

type PermissionManagementApiGetGroupsOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetGroupsWithAnyPermission2Opts

type PermissionManagementApiGetGroupsWithAnyPermission2Opts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetGroupsWithAnyPermissionOpts

type PermissionManagementApiGetGroupsWithAnyPermissionOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetGroupsWithoutAnyPermission2Opts

type PermissionManagementApiGetGroupsWithoutAnyPermission2Opts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetGroupsWithoutAnyPermissionOpts

type PermissionManagementApiGetGroupsWithoutAnyPermissionOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetUserDirectoriesOpts

type PermissionManagementApiGetUserDirectoriesOpts struct {
	IncludeInactive optional.String
}

type PermissionManagementApiGetUsers1Opts

type PermissionManagementApiGetUsers1Opts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetUsersWithAnyPermission2Opts

type PermissionManagementApiGetUsersWithAnyPermission2Opts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetUsersWithAnyPermissionOpts

type PermissionManagementApiGetUsersWithAnyPermissionOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetUsersWithoutAnyPermissionOpts

type PermissionManagementApiGetUsersWithoutAnyPermissionOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiGetUsersWithoutPermission1Opts

type PermissionManagementApiGetUsersWithoutPermission1Opts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PermissionManagementApiRemoveGroupFromUserOpts

type PermissionManagementApiRemoveGroupFromUserOpts struct {
	Body optional.Interface
}

type PermissionManagementApiRemoveUserFromGroupOpts

type PermissionManagementApiRemoveUserFromGroupOpts struct {
	Body optional.Interface
}

type PermissionManagementApiRenameUserOpts

type PermissionManagementApiRenameUserOpts struct {
	Body optional.Interface
}

type PermissionManagementApiRevokePermissions1Opts

type PermissionManagementApiRevokePermissions1Opts struct {
	User  optional.String
	Group optional.String
}

type PermissionManagementApiSearchPermissions1Opts

type PermissionManagementApiSearchPermissions1Opts struct {
	Permission optional.String
	FilterText optional.String
	Type_      optional.String
}

type PermissionManagementApiService

type PermissionManagementApiService service

func (*PermissionManagementApiService) AddGroupToUser

func (*PermissionManagementApiService) AddUserToGroup

func (*PermissionManagementApiService) AddUserToGroups

func (*PermissionManagementApiService) AddUsersToGroup

func (*PermissionManagementApiService) ClearUserCaptchaChallenge

func (a *PermissionManagementApiService) ClearUserCaptchaChallenge(ctx context.Context, name string) (*http.Response, error)

PermissionManagementApiService Clear CAPTCHA for user Clears any CAPTCHA challenge that may constrain the user with the supplied username when they authenticate. Additionally any counter or metric that contributed towards the user being issued the CAPTCHA challenge (for instance too many consecutive failed logins) will also be reset. The authenticated user must have the &lt;strong&gt;ADMIN&lt;/strong&gt; permission to call this resource, and may not clear the CAPTCHA of a user with greater permissions than themselves.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name The username

func (*PermissionManagementApiService) CreateGroup

PermissionManagementApiService Create group Create a new group. The authenticated user must have &lt;strong&gt;ADMIN&lt;/strong&gt; permission or higher to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name Name of the group.

@return RestDetailedGroup

func (*PermissionManagementApiService) CreateUser

func (a *PermissionManagementApiService) CreateUser(ctx context.Context, emailAddress string, displayName string, name string, localVarOptionals *PermissionManagementApiCreateUserOpts) (*http.Response, error)

func (*PermissionManagementApiService) DeleteGroup

PermissionManagementApiService Remove group Deletes the specified group, removing them from the system. This also removes any permissions that may have been granted to the group. A user may not delete the last group that is granting them administrative permissions, or a group with greater permissions than themselves. The authenticated user must have the &lt;strong&gt;ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name The name identifying the group to delete.

@return RestDetailedGroup

func (*PermissionManagementApiService) DeleteUser

PermissionManagementApiService Remove user Deletes the specified user, removing them from the system. This also removes any permissions that may have been granted to the user. A user may not delete themselves, and a user with &lt;strong&gt;ADMIN&lt;/strong&gt; permissions may not delete a user with &lt;strong&gt;SYS_ADMIN&lt;/strong&gt;permissions. The authenticated user must have the &lt;strong&gt;ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name The username identifying the user to delete.

@return RestDetailedUser

func (*PermissionManagementApiService) EraseUser

PermissionManagementApiService Erase user information Erases personally identifying user data for a deleted user. References in the application to the original username will be either removed or updated to a new non-identifying username. Refer to the &lt;a href&#x3D;\&quot;https://confluence.atlassian.com/gdpr/bitbucket-right-to-erasure-949770560.html\&quot;&gt;support guide&lt;/a&gt; for details about what data is and isn&#x27;t erased. User erasure can only be performed on a deleted user. If the user has not been deleted first then this endpoint will return a bad request and no erasure will be performed. Erasing user data is &lt;strong&gt;irreversible&lt;/strong&gt; and may lead to a degraded user experience. This method should not be used as part of a standard user deletion and cleanup process. Plugins can participate in user erasure by defining a &lt;code&gt;&amp;lt;user-erasure-handler&amp;gt;&lt;/code&gt; module. If one or more plugin modules fail, an error summary of the failing modules is returned. The authenticated user must have the &lt;strong&gt;ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name The username identifying the user to erase.

@return RestErasedUser

func (*PermissionManagementApiService) FindGroupsForUser

func (*PermissionManagementApiService) FindOtherGroupsForUser

func (*PermissionManagementApiService) FindUsersInGroup

func (*PermissionManagementApiService) FindUsersNotInGroup

func (*PermissionManagementApiService) GetGroups

func (*PermissionManagementApiService) GetGroups1

func (*PermissionManagementApiService) GetGroupsWithAnyPermission

func (*PermissionManagementApiService) GetGroupsWithAnyPermission2

func (a *PermissionManagementApiService) GetGroupsWithAnyPermission2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiGetGroupsWithAnyPermission2Opts) (InlineResponse20018, *http.Response, error)

func (*PermissionManagementApiService) GetGroupsWithoutAnyPermission

func (*PermissionManagementApiService) GetGroupsWithoutAnyPermission2

func (a *PermissionManagementApiService) GetGroupsWithoutAnyPermission2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiGetGroupsWithoutAnyPermission2Opts) (InlineResponse20016, *http.Response, error)

func (*PermissionManagementApiService) GetUserDirectories

func (*PermissionManagementApiService) GetUsers1

func (*PermissionManagementApiService) GetUsersWithAnyPermission

func (*PermissionManagementApiService) GetUsersWithAnyPermission2

func (a *PermissionManagementApiService) GetUsersWithAnyPermission2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiGetUsersWithAnyPermission2Opts) (InlineResponse20032, *http.Response, error)

func (*PermissionManagementApiService) GetUsersWithoutAnyPermission

func (*PermissionManagementApiService) GetUsersWithoutPermission1

func (a *PermissionManagementApiService) GetUsersWithoutPermission1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiGetUsersWithoutPermission1Opts) (InlineResponse2005, *http.Response, error)

func (*PermissionManagementApiService) RemoveGroupFromUser

func (*PermissionManagementApiService) RemoveUserFromGroup

func (*PermissionManagementApiService) RenameUser

func (*PermissionManagementApiService) RevokePermissions1

func (a *PermissionManagementApiService) RevokePermissions1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiRevokePermissions1Opts) (*http.Response, error)

func (*PermissionManagementApiService) RevokePermissionsForGroup

func (a *PermissionManagementApiService) RevokePermissionsForGroup(ctx context.Context, name string) (*http.Response, error)

PermissionManagementApiService Revoke all global permissions for group Revoke all global permissions for a group. The authenticated user must have: - &lt;strong&gt;ADMIN&lt;/strong&gt; permission or higher; and - greater or equal permissions than the current permission level of the group (a user may not demote the permission level of a group with higher permissions than them) to call this resource. In addition, a user may not revoke a group&#x27;s permissions if their own permission level would be reduced as a result.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name The name of the group

func (*PermissionManagementApiService) RevokePermissionsForGroup2

func (a *PermissionManagementApiService) RevokePermissionsForGroup2(ctx context.Context, projectKey string, name string, repositorySlug string) (*http.Response, error)

PermissionManagementApiService Revoke group repository permission Revoke all permissions for the specified repository for a group. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository or a higher project or global permission to call this resource. In addition, a user may not revoke a group&#x27;s permissions if it will reduce their own permission level.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param name The name of the group.
  • @param repositorySlug The repository slug.

func (*PermissionManagementApiService) RevokePermissionsForUser

func (a *PermissionManagementApiService) RevokePermissionsForUser(ctx context.Context, name string) (*http.Response, error)

PermissionManagementApiService Revoke all global permissions for user Revoke all global permissions for a user. The authenticated user must have: - &lt;strong&gt;ADMIN&lt;/strong&gt; permission or higher; and - greater or equal permissions than the current permission level of the user (a user may not demote the permission level of a user with higher permissions than them) to call this resource. In addition, a user may not demote their own permission level.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name The name of the user

func (*PermissionManagementApiService) RevokePermissionsForUser2

func (a *PermissionManagementApiService) RevokePermissionsForUser2(ctx context.Context, projectKey string, name string, repositorySlug string) (*http.Response, error)

PermissionManagementApiService Revoke user repository permission Revoke all permissions for the specified repository for a user. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository or a higher project or global permission to call this resource. In addition, a user may not revoke their own repository permissions if they do not have a higher project or global permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param name The name of the user.
  • @param repositorySlug The repository slug.

func (*PermissionManagementApiService) SearchPermissions1

func (a *PermissionManagementApiService) SearchPermissions1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiSearchPermissions1Opts) (*http.Response, error)

func (*PermissionManagementApiService) SetPermissionForGroup

func (a *PermissionManagementApiService) SetPermissionForGroup(ctx context.Context, projectKey string, name []string, permission string, repositorySlug string) (*http.Response, error)

PermissionManagementApiService Update group repository permission Promote or demote a group&#x27;s permission level for the specified repository. Available repository permissions are: - REPO_READ - REPO_WRITE - REPO_ADMIN See the &lt;a href&#x3D;\&quot;https://confluence.atlassian.com/display/BitbucketServer/Using+repository+permissions\&quot;&gt;Bitbucket Server documentation&lt;/a&gt; for a detailed explanation of what each permission entails. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository or a higher project or global permission to call this resource. In addition, a user may not demote a group&#x27;s permission level if their own permission level would be reduced as a result.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param name The names of the groups.
  • @param permission The permission to grant
  • @param repositorySlug The repository slug.

func (*PermissionManagementApiService) SetPermissionForGroups

func (a *PermissionManagementApiService) SetPermissionForGroups(ctx context.Context, name []string, permission string) (*http.Response, error)

PermissionManagementApiService Update global permission for group Promote or demote a group&#x27;s global permission level. Available global permissions are: - LICENSED_USER - PROJECT_CREATE - ADMIN - SYS_ADMIN See the &lt;a href&#x3D;\&quot;https://confluence.atlassian.com/display/BitbucketServer/Global+permissions\&quot;&gt;Bitbucket Server documentation&lt;/a&gt; for a detailed explanation of what each permission entails. The authenticated user must have: - &lt;strong&gt;ADMIN&lt;/strong&gt; permission or higher; and - the permission they are attempting to grant or higher; and - greater or equal permissions than the current permission level of the group (a user may not demote the permission level of a group with higher permissions than them) to call this resource. In addition, a user may not demote a group&#x27;s permission level if their own permission level would be reduced as a result.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name The names of the groups
  • @param permission The permission to grant

func (*PermissionManagementApiService) SetPermissionForUser

func (a *PermissionManagementApiService) SetPermissionForUser(ctx context.Context, projectKey string, name []string, permission string, repositorySlug string) (*http.Response, error)

PermissionManagementApiService Update user repository permission Promote or demote a user&#x27;s permission level for the specified repository. Available repository permissions are: - REPO_READ&lt;/li&gt;- REPO_WRITE&lt;/li&gt;- REPO_ADMIN&lt;/li&gt;&lt;/ul&gt;See the &lt;a href&#x3D;\&quot;https://confluence.atlassian.com/display/BitbucketServer/Using+repository+permissions\&quot;&gt;Bitbucket Server documentation&lt;/a&gt; for a detailed explanation of what each permission entails. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository or a higher project or global permission to call this resource. In addition, a user may not reduce their own permission level unless they have a project or global permission that already implies that permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param name The names of the users.
  • @param permission The permission to grant
  • @param repositorySlug The repository slug.

func (*PermissionManagementApiService) SetPermissionForUsers

func (a *PermissionManagementApiService) SetPermissionForUsers(ctx context.Context, name []string, permission string) (*http.Response, error)

PermissionManagementApiService Update global permission for user Promote or demote the global permission level of a user. Available global permissions are: - LICENSED_USER - PROJECT_CREATE - ADMIN - SYS_ADMIN See the &lt;a href&#x3D;\&quot;https://confluence.atlassian.com/display/BitbucketServer/Global+permissions\&quot;&gt;Bitbucket Server documentation&lt;/a&gt; for a detailed explanation of what each permission entails. The authenticated user must have: - &lt;strong&gt;ADMIN&lt;/strong&gt; permission or higher; and - the permission they are attempting to grant; and - greater or equal permissions than the current permission level of the user (a user may not demote the permission level of a user with higher permissions than them) to call this resource. In addition, a user may not demote their own permission level.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name The names of the users
  • @param permission The permission to grant

func (*PermissionManagementApiService) UpdateUserDetails

func (*PermissionManagementApiService) UpdateUserPassword

func (*PermissionManagementApiService) ValidateErasable

func (a *PermissionManagementApiService) ValidateErasable(ctx context.Context, name string) (*http.Response, error)

PermissionManagementApiService Check user removal Validate if a user can be erased. A username is only valid for erasure if it exists as the username of a deleted user. This endpoint will return an appropriate error response if the supplied username is invalid for erasure. This endpoint does &lt;strong&gt;not&lt;/strong&gt; perform the actual user erasure, and will not modify the application in any way. The authenticated user must have the &lt;strong&gt;ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name The username of the user to validate erasability for.

type PermissionManagementApiUpdateUserDetailsOpts

type PermissionManagementApiUpdateUserDetailsOpts struct {
	Body optional.Interface
}

type PermissionManagementApiUpdateUserPasswordOpts

type PermissionManagementApiUpdateUserPasswordOpts struct {
	Body optional.Interface
}

type ProjectApiCreateProjectOpts

type ProjectApiCreateProjectOpts struct {
	Body optional.Interface
}

type ProjectApiCreateRepositoryOpts

type ProjectApiCreateRepositoryOpts struct {
	Body optional.Interface
}

type ProjectApiCreateRestrictionsOpts

type ProjectApiCreateRestrictionsOpts struct {
	Body optional.Interface
}

type ProjectApiCreateWebhookOpts

type ProjectApiCreateWebhookOpts struct {
	Body optional.Interface
}

type ProjectApiDelete7Opts

type ProjectApiDelete7Opts struct {
	ComponentKey optional.String
}

type ProjectApiEnableHookOpts

type ProjectApiEnableHookOpts struct {
	ContentLength optional.Int64
}

type ProjectApiFindWebhooksOpts

type ProjectApiFindWebhooksOpts struct {
	Event      optional.String
	Statistics optional.Bool
}

type ProjectApiForkRepositoryOpts

type ProjectApiForkRepositoryOpts struct {
	Body optional.Interface
}

type ProjectApiGet5Opts

type ProjectApiGet5Opts struct {
	ComponentKey optional.String
}

type ProjectApiGetAllOpts

type ProjectApiGetAllOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type ProjectApiGetAvatarOpts

type ProjectApiGetAvatarOpts struct {
	Version optional.String
}

type ProjectApiGetConfigurationsOpts

type ProjectApiGetConfigurationsOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type ProjectApiGetForkedRepositoriesOpts

type ProjectApiGetForkedRepositoriesOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type ProjectApiGetGroupsWithAnyPermission1Opts

type ProjectApiGetGroupsWithAnyPermission1Opts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type ProjectApiGetGroupsWithoutAnyPermission1Opts

type ProjectApiGetGroupsWithoutAnyPermission1Opts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type ProjectApiGetLatestInvocationOpts

type ProjectApiGetLatestInvocationOpts struct {
	Event   optional.String
	Outcome optional.String
}

type ProjectApiGetProjectAvatarOpts

type ProjectApiGetProjectAvatarOpts struct {
	S optional.String
}

type ProjectApiGetProjectsOpts

type ProjectApiGetProjectsOpts struct {
	Name       optional.String
	Permission optional.String
	Start      optional.Float64
	Limit      optional.Float64
}

type ProjectApiGetRelatedRepositoriesOpts

type ProjectApiGetRelatedRepositoriesOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type ProjectApiGetRepositoriesOpts

type ProjectApiGetRepositoriesOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type ProjectApiGetRepositoryHooksOpts

type ProjectApiGetRepositoryHooksOpts struct {
	Type_ optional.String
	Start optional.Float64
	Limit optional.Float64
}

type ProjectApiGetRestrictionsOpts

type ProjectApiGetRestrictionsOpts struct {
	MatcherType optional.String
	MatcherId   optional.String
	Type_       optional.String
	Start       optional.Float64
	Limit       optional.Float64
}

type ProjectApiGetStatisticsOpts

type ProjectApiGetStatisticsOpts struct {
	Event optional.String
}

type ProjectApiGetUsersWithAnyPermission1Opts

type ProjectApiGetUsersWithAnyPermission1Opts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type ProjectApiGetUsersWithoutPermissionOpts

type ProjectApiGetUsersWithoutPermissionOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type ProjectApiGetWebhookOpts

type ProjectApiGetWebhookOpts struct {
	Statistics optional.String
}

type ProjectApiModifyAllUserPermissionOpts

type ProjectApiModifyAllUserPermissionOpts struct {
	Allow optional.String
}

type ProjectApiRevokePermissionsForGroup1Opts

type ProjectApiRevokePermissionsForGroup1Opts struct {
	Name optional.String
}

type ProjectApiRevokePermissionsForUser1Opts

type ProjectApiRevokePermissionsForUser1Opts struct {
	Name optional.String
}

type ProjectApiRevokePermissionsOpts

type ProjectApiRevokePermissionsOpts struct {
	User  optional.String
	Group optional.String
}

type ProjectApiSearchPermissionsOpts

type ProjectApiSearchPermissionsOpts struct {
	Permission optional.String
	FilterText optional.String
	Type_      optional.String
}

type ProjectApiService

type ProjectApiService service

func (*ProjectApiService) Create3

ProjectApiService Enforce project restriction Create a new project settings restriction for the given project. The authenticated user must have **PROJECT_ADMIN** permission for the target project to create a settings restriction.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body The project settings restriction to create
  • @param projectKey The project key.

@return RestProjectSettingsRestriction

func (*ProjectApiService) CreateProject

func (a *ProjectApiService) CreateProject(ctx context.Context, localVarOptionals *ProjectApiCreateProjectOpts) (RestProject, *http.Response, error)

func (*ProjectApiService) CreateRepository

func (a *ProjectApiService) CreateRepository(ctx context.Context, projectKey string, localVarOptionals *ProjectApiCreateRepositoryOpts) (RestRepository, *http.Response, error)

func (*ProjectApiService) CreateRestrictions

func (a *ProjectApiService) CreateRestrictions(ctx context.Context, projectKey string, localVarOptionals *ProjectApiCreateRestrictionsOpts) (RestRefRestriction, *http.Response, error)

func (*ProjectApiService) CreateWebhook

func (a *ProjectApiService) CreateWebhook(ctx context.Context, projectKey string, localVarOptionals *ProjectApiCreateWebhookOpts) (RestWebhook, *http.Response, error)

func (*ProjectApiService) Delete7

func (a *ProjectApiService) Delete7(ctx context.Context, projectKey string, namespace string, featureKey string, localVarOptionals *ProjectApiDelete7Opts) (*http.Response, error)

func (*ProjectApiService) DeleteAutoDeclineSettings

func (a *ProjectApiService) DeleteAutoDeclineSettings(ctx context.Context, projectKey string) (*http.Response, error)

ProjectApiService Delete auto decline settings Delete auto decline settings for the supplied project. The authenticated user must have &lt;strong&gt;PROJECT_ADMIN&lt;/strong&gt; permission for this project to call the resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key

func (*ProjectApiService) DeleteProject

func (a *ProjectApiService) DeleteProject(ctx context.Context, projectKey string) (*http.Response, error)

ProjectApiService Delete project Delete the project matching the supplied &lt;strong&gt;projectKey&lt;/strong&gt;. The authenticated user must have &lt;strong&gt;PROJECT_ADMIN&lt;/strong&gt; permission for the specified project to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.

func (*ProjectApiService) DeleteRepository

func (a *ProjectApiService) DeleteRepository(ctx context.Context, projectKey string, repositorySlug string) (*http.Response, error)

ProjectApiService Delete repository Schedule the repository matching the supplied &lt;strong&gt;projectKey&lt;/strong&gt; and &lt;strong&gt;repositorySlug&lt;/strong&gt; to be deleted. The authenticated user must have sufficient permissions specified by the repository delete policy to call this resource. The default permission required is &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

func (*ProjectApiService) DeleteRestriction

func (a *ProjectApiService) DeleteRestriction(ctx context.Context, projectKey string, id string) (*http.Response, error)

ProjectApiService Delete a ref restriction Deletes a restriction as specified by a restriction id. The authenticated user must have &lt;strong&gt;PROJECT_ADMIN&lt;/strong&gt; permission or higher to call this resource. Only authenticated users may call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The restriction id.

func (*ProjectApiService) DeleteWebhook

func (a *ProjectApiService) DeleteWebhook(ctx context.Context, projectKey string, webhookId string) (*http.Response, error)

ProjectApiService Delete webhook Delete a webhook for the project specified via the URL. The authenticated user must have &lt;strong&gt;PROJECT_ADMIN&lt;/strong&gt; permission for the specified project to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param webhookId The ID of the webhook to be deleted.

func (*ProjectApiService) DisableHook

func (a *ProjectApiService) DisableHook(ctx context.Context, projectKey string, hookKey string) (RestRepositoryHook, *http.Response, error)

ProjectApiService Disable repository hook Disable a repository hook for this project. The authenticated user must have &lt;strong&gt;PROJECT_ADMIN&lt;/strong&gt; permission for the specified project to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param hookKey The hook key.

@return RestRepositoryHook

func (*ProjectApiService) EnableHook

func (a *ProjectApiService) EnableHook(ctx context.Context, projectKey string, hookKey string, localVarOptionals *ProjectApiEnableHookOpts) (RestRepositoryHook, *http.Response, error)

func (*ProjectApiService) FindWebhooks

func (a *ProjectApiService) FindWebhooks(ctx context.Context, projectKey string, localVarOptionals *ProjectApiFindWebhooksOpts) (*http.Response, error)

func (*ProjectApiService) ForkRepository

func (a *ProjectApiService) ForkRepository(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *ProjectApiForkRepositoryOpts) (RestRepository, *http.Response, error)

func (*ProjectApiService) Get5

func (a *ProjectApiService) Get5(ctx context.Context, projectKey string, namespace string, featureKey string, localVarOptionals *ProjectApiGet5Opts) (RestProjectSettingsRestriction, *http.Response, error)

func (*ProjectApiService) GetAll

func (a *ProjectApiService) GetAll(ctx context.Context, projectKey string, namespace string, featureKey string, localVarOptionals *ProjectApiGetAllOpts) (InlineResponse20047, *http.Response, error)

func (*ProjectApiService) GetAutoDeclineSettings

func (a *ProjectApiService) GetAutoDeclineSettings(ctx context.Context, projectKey string) (RestAutoDeclineSettings, *http.Response, error)

ProjectApiService Get auto decline settings Retrieves the auto decline settings for the supplied project. Default settings are returned if no explicit settings have been set for the project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key

@return RestAutoDeclineSettings

func (*ProjectApiService) GetAvatar

func (a *ProjectApiService) GetAvatar(ctx context.Context, hookKey string, localVarOptionals *ProjectApiGetAvatarOpts) (*http.Response, error)

func (*ProjectApiService) GetConfigurations

func (a *ProjectApiService) GetConfigurations(ctx context.Context, projectKey string, localVarOptionals *ProjectApiGetConfigurationsOpts) (InlineResponse20031, *http.Response, error)

func (*ProjectApiService) GetDefaultBranch2

func (a *ProjectApiService) GetDefaultBranch2(ctx context.Context, projectKey string, repositorySlug string) (RestMinimalRef, *http.Response, error)

ProjectApiService Get repository default branch Retrieves the repository&#x27;s &lt;i&gt;configured&lt;/i&gt; default branch. Every repository has a &lt;i&gt;configured&lt;/i&gt; default branch, but that branch may not actually &lt;i&gt;exist&lt;/i&gt; in the repository. For example, a newly-created repository will have a configured default branch even though no branches have been pushed yet. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

@return RestMinimalRef

func (*ProjectApiService) GetForkedRepositories

func (a *ProjectApiService) GetForkedRepositories(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *ProjectApiGetForkedRepositoriesOpts) (InlineResponse20029, *http.Response, error)

func (*ProjectApiService) GetGroupsWithAnyPermission1

func (a *ProjectApiService) GetGroupsWithAnyPermission1(ctx context.Context, projectKey string, localVarOptionals *ProjectApiGetGroupsWithAnyPermission1Opts) (InlineResponse20018, *http.Response, error)

func (*ProjectApiService) GetGroupsWithoutAnyPermission1

func (a *ProjectApiService) GetGroupsWithoutAnyPermission1(ctx context.Context, projectKey string, localVarOptionals *ProjectApiGetGroupsWithoutAnyPermission1Opts) (InlineResponse20016, *http.Response, error)

func (*ProjectApiService) GetLatestInvocation

func (a *ProjectApiService) GetLatestInvocation(ctx context.Context, projectKey string, webhookId string, localVarOptionals *ProjectApiGetLatestInvocationOpts) (RestDetailedInvocation, *http.Response, error)

func (*ProjectApiService) GetProject

func (a *ProjectApiService) GetProject(ctx context.Context, projectKey string) (RestProject, *http.Response, error)

ProjectApiService Get a project Retrieve the project matching the supplied &lt;strong&gt;projectKey&lt;/strong&gt;. The authenticated user must have &lt;strong&gt;PROJECT_VIEW&lt;/strong&gt; permission for the specified project to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.

@return RestProject

func (*ProjectApiService) GetProjectAvatar

func (a *ProjectApiService) GetProjectAvatar(ctx context.Context, projectKey string, localVarOptionals *ProjectApiGetProjectAvatarOpts) (*http.Response, error)

func (*ProjectApiService) GetProjects

func (*ProjectApiService) GetPullRequestSettings

func (a *ProjectApiService) GetPullRequestSettings(ctx context.Context, projectKey string, scmId string) (RestPullRequestSettings, *http.Response, error)

ProjectApiService Get merge strategy Retrieve the merge strategy configuration for this project and SCM. The authenticated user must have &lt;strong&gt;PROJECT_READ&lt;/strong&gt; permission for the context repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param scmId The SCM to get strategies for.

@return RestPullRequestSettings

func (*ProjectApiService) GetRelatedRepositories

func (a *ProjectApiService) GetRelatedRepositories(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *ProjectApiGetRelatedRepositoriesOpts) (InlineResponse20029, *http.Response, error)

func (*ProjectApiService) GetRepositories

func (a *ProjectApiService) GetRepositories(ctx context.Context, projectKey string, localVarOptionals *ProjectApiGetRepositoriesOpts) (InlineResponse20029, *http.Response, error)

func (*ProjectApiService) GetRepository

func (a *ProjectApiService) GetRepository(ctx context.Context, projectKey string, repositorySlug string) (RestRepository, *http.Response, error)

ProjectApiService Get repository Retrieve the repository matching the supplied &lt;strong&gt;projectKey&lt;/strong&gt; and &lt;strong&gt;repositorySlug&lt;/strong&gt;. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

@return RestRepository

func (*ProjectApiService) GetRepositoryHook

func (a *ProjectApiService) GetRepositoryHook(ctx context.Context, projectKey string, hookKey string) (RestRepositoryHook, *http.Response, error)

ProjectApiService Get a repository hook Retrieve a repository hook for this project. The authenticated user must have &lt;strong&gt;PROJECT_READ&lt;/strong&gt; permission for the specified project to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param hookKey The hook key.

@return RestRepositoryHook

func (*ProjectApiService) GetRepositoryHooks

func (a *ProjectApiService) GetRepositoryHooks(ctx context.Context, projectKey string, localVarOptionals *ProjectApiGetRepositoryHooksOpts) (InlineResponse20044, *http.Response, error)

func (*ProjectApiService) GetRestriction

func (a *ProjectApiService) GetRestriction(ctx context.Context, projectKey string, id string) (RestRefRestriction, *http.Response, error)

ProjectApiService Get a ref restriction Returns a restriction as specified by a restriction id. The authenticated user must have &lt;strong&gt;PROJECT_ADMIN&lt;/strong&gt; permission or higher to call this resource. Only authenticated users may call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The restriction id.

@return RestRefRestriction

func (*ProjectApiService) GetRestrictions

func (a *ProjectApiService) GetRestrictions(ctx context.Context, projectKey string, localVarOptionals *ProjectApiGetRestrictionsOpts) (InlineResponse20013, *http.Response, error)

func (*ProjectApiService) GetSettings

func (a *ProjectApiService) GetSettings(ctx context.Context, projectKey string, hookKey string) (ExampleSettings, *http.Response, error)

ProjectApiService Get repository hook settings Retrieve the settings for a repository hook for this project. The authenticated user must have &lt;strong&gt;PROJECT_READ&lt;/strong&gt; permission for the specified project to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param hookKey The hook key.

@return ExampleSettings

func (*ProjectApiService) GetUsersWithAnyPermission1

func (a *ProjectApiService) GetUsersWithAnyPermission1(ctx context.Context, projectKey string, localVarOptionals *ProjectApiGetUsersWithAnyPermission1Opts) (InlineResponse20032, *http.Response, error)

func (*ProjectApiService) GetUsersWithoutPermission

func (a *ProjectApiService) GetUsersWithoutPermission(ctx context.Context, projectKey string, localVarOptionals *ProjectApiGetUsersWithoutPermissionOpts) (InlineResponse2005, *http.Response, error)

func (*ProjectApiService) GetWebhook

func (a *ProjectApiService) GetWebhook(ctx context.Context, projectKey string, webhookId string, localVarOptionals *ProjectApiGetWebhookOpts) (RestWebhook, *http.Response, error)

func (*ProjectApiService) HasAllUserPermission

func (a *ProjectApiService) HasAllUserPermission(ctx context.Context, projectKey string, permission string) (RestPermitted, *http.Response, error)

ProjectApiService Check default project permission Check whether the specified permission is the default permission (granted to all users) for a project. The authenticated user must have &lt;strong&gt;PROJECT_ADMIN&lt;/strong&gt; permission for the specified project or a higher global permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param permission The permission to grant. Available project permissions are: - PROJECT_READ - PROJECT_WRITE - PROJECT_ADMIN

@return RestPermitted

func (*ProjectApiService) ModifyAllUserPermission

func (a *ProjectApiService) ModifyAllUserPermission(ctx context.Context, projectKey string, permission string, localVarOptionals *ProjectApiModifyAllUserPermissionOpts) (*http.Response, error)

func (*ProjectApiService) RemoveConfiguration

func (a *ProjectApiService) RemoveConfiguration(ctx context.Context, projectKey string, scriptId string) (*http.Response, error)

ProjectApiService Remove a hook script Removes the hook script from the set of hook scripts configured to run in all repositories under the project. This endpoint requires **PROJECT_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param scriptId The ID of the hook script

func (*ProjectApiService) RetryCreateRepository

func (a *ProjectApiService) RetryCreateRepository(ctx context.Context, projectKey string, repositorySlug string) (RestRepository, *http.Response, error)

ProjectApiService Retry repository creation If a create or fork operation fails, calling this method will clean up the broken repository and try again. The repository must be in an INITIALISATION_FAILED state. The authenticated user must have &lt;strong&gt;PROJECT_ADMIN&lt;/strong&gt; permission for the specified project to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

@return RestRepository

func (*ProjectApiService) RevokePermissions

func (a *ProjectApiService) RevokePermissions(ctx context.Context, projectKey string, localVarOptionals *ProjectApiRevokePermissionsOpts) (*http.Response, error)

func (*ProjectApiService) RevokePermissionsForGroup1

func (a *ProjectApiService) RevokePermissionsForGroup1(ctx context.Context, projectKey string, localVarOptionals *ProjectApiRevokePermissionsForGroup1Opts) (*http.Response, error)

func (*ProjectApiService) RevokePermissionsForUser1

func (a *ProjectApiService) RevokePermissionsForUser1(ctx context.Context, projectKey string, localVarOptionals *ProjectApiRevokePermissionsForUser1Opts) (*http.Response, error)

func (*ProjectApiService) SearchPermissions

func (a *ProjectApiService) SearchPermissions(ctx context.Context, projectKey string, localVarOptionals *ProjectApiSearchPermissionsOpts) (*http.Response, error)

func (*ProjectApiService) SetAutoDeclineSettings

func (a *ProjectApiService) SetAutoDeclineSettings(ctx context.Context, projectKey string, localVarOptionals *ProjectApiSetAutoDeclineSettingsOpts) (RestAutoDeclineSettings, *http.Response, error)

func (*ProjectApiService) SetConfiguration

func (a *ProjectApiService) SetConfiguration(ctx context.Context, projectKey string, scriptId string, localVarOptionals *ProjectApiSetConfigurationOpts) (RestHookScriptConfig, *http.Response, error)

func (*ProjectApiService) SetDefaultBranch2

func (a *ProjectApiService) SetDefaultBranch2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *ProjectApiSetDefaultBranch2Opts) (*http.Response, error)

func (*ProjectApiService) SetPermissionForGroups1

func (a *ProjectApiService) SetPermissionForGroups1(ctx context.Context, projectKey string, localVarOptionals *ProjectApiSetPermissionForGroups1Opts) (*http.Response, error)

func (*ProjectApiService) SetPermissionForUsers1

func (a *ProjectApiService) SetPermissionForUsers1(ctx context.Context, projectKey string, localVarOptionals *ProjectApiSetPermissionForUsers1Opts) (*http.Response, error)

func (*ProjectApiService) SetSettings

func (a *ProjectApiService) SetSettings(ctx context.Context, projectKey string, hookKey string, localVarOptionals *ProjectApiSetSettingsOpts) (ExampleSettings, *http.Response, error)

func (*ProjectApiService) StreamContributing

func (a *ProjectApiService) StreamContributing(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *ProjectApiStreamContributingOpts) (*http.Response, error)

func (*ProjectApiService) StreamLicense

func (a *ProjectApiService) StreamLicense(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *ProjectApiStreamLicenseOpts) (*http.Response, error)

func (*ProjectApiService) StreamReadme

func (a *ProjectApiService) StreamReadme(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *ProjectApiStreamReadmeOpts) (*http.Response, error)

func (*ProjectApiService) UpdateProject

func (a *ProjectApiService) UpdateProject(ctx context.Context, projectKey string, localVarOptionals *ProjectApiUpdateProjectOpts) (RestProject, *http.Response, error)

func (*ProjectApiService) UpdatePullRequestSettings

func (a *ProjectApiService) UpdatePullRequestSettings(ctx context.Context, projectKey string, scmId string, localVarOptionals *ProjectApiUpdatePullRequestSettingsOpts) (RestPullRequestSettings, *http.Response, error)

func (*ProjectApiService) UpdateRepository

func (a *ProjectApiService) UpdateRepository(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *ProjectApiUpdateRepositoryOpts) (RestRepository, *http.Response, error)

func (*ProjectApiService) UpdateWebhook

func (a *ProjectApiService) UpdateWebhook(ctx context.Context, projectKey string, webhookId string, localVarOptionals *ProjectApiUpdateWebhookOpts) (RestWebhook, *http.Response, error)

func (*ProjectApiService) UploadAvatar

func (a *ProjectApiService) UploadAvatar(ctx context.Context, projectKey string, localVarOptionals *ProjectApiUploadAvatarOpts) (*http.Response, error)

type ProjectApiSetAutoDeclineSettingsOpts

type ProjectApiSetAutoDeclineSettingsOpts struct {
	Body optional.Interface
}

type ProjectApiSetConfigurationOpts

type ProjectApiSetConfigurationOpts struct {
	Body optional.Interface
}

type ProjectApiSetDefaultBranch2Opts

type ProjectApiSetDefaultBranch2Opts struct {
	Body optional.Interface
}

type ProjectApiSetPermissionForGroups1Opts

type ProjectApiSetPermissionForGroups1Opts struct {
	Name       optional.String
	Permission optional.String
}

type ProjectApiSetPermissionForUsers1Opts

type ProjectApiSetPermissionForUsers1Opts struct {
	Name       optional.String
	Permission optional.String
}

type ProjectApiSetSettingsOpts

type ProjectApiSetSettingsOpts struct {
	Body optional.Interface
}

type ProjectApiStreamContributingOpts

type ProjectApiStreamContributingOpts struct {
	At               optional.String
	Markup           optional.String
	HtmlEscape       optional.String
	IncludeHeadingId optional.String
	Hardwrap         optional.String
}

type ProjectApiStreamLicenseOpts

type ProjectApiStreamLicenseOpts struct {
	At               optional.String
	Markup           optional.String
	HtmlEscape       optional.String
	IncludeHeadingId optional.String
	Hardwrap         optional.String
}

type ProjectApiStreamReadmeOpts

type ProjectApiStreamReadmeOpts struct {
	At               optional.String
	Markup           optional.String
	HtmlEscape       optional.String
	IncludeHeadingId optional.String
	Hardwrap         optional.String
}

type ProjectApiTestWebhookOpts

type ProjectApiTestWebhookOpts struct {
	Body                    optional.Interface
	WebhookId               optional.Int32
	SslVerificationRequired optional.Bool
	Url                     optional.String
}

type ProjectApiUpdateProjectOpts

type ProjectApiUpdateProjectOpts struct {
	Body optional.Interface
}

type ProjectApiUpdatePullRequestSettingsOpts

type ProjectApiUpdatePullRequestSettingsOpts struct {
	Body optional.Interface
}

type ProjectApiUpdateRepositoryOpts

type ProjectApiUpdateRepositoryOpts struct {
	Body optional.Interface
}

type ProjectApiUpdateWebhookOpts

type ProjectApiUpdateWebhookOpts struct {
	Body optional.Interface
}

type ProjectApiUploadAvatarOpts

type ProjectApiUploadAvatarOpts struct {
	Avatar optional.Interface
}

type PullRequestsApiApplySuggestionOpts

type PullRequestsApiApplySuggestionOpts struct {
	Body optional.Interface
}

type PullRequestsApiCreate1Opts

type PullRequestsApiCreate1Opts struct {
	Body optional.Interface
}

type PullRequestsApiCreate2Opts

type PullRequestsApiCreate2Opts struct {
	Body optional.Interface
}

type PullRequestsApiCreateComment1Opts

type PullRequestsApiCreateComment1Opts struct {
	Body optional.Interface
}

type PullRequestsApiCreateComment2Opts

type PullRequestsApiCreateComment2Opts struct {
	Body optional.Interface
}

type PullRequestsApiCreateOpts

type PullRequestsApiCreateOpts struct {
	Body optional.Interface
}

type PullRequestsApiCreatePullRequestCondition1Opts

type PullRequestsApiCreatePullRequestCondition1Opts struct {
	Body optional.Interface
}

type PullRequestsApiCreatePullRequestConditionOpts

type PullRequestsApiCreatePullRequestConditionOpts struct {
	Body optional.Interface
}

type PullRequestsApiDeclineOpts

type PullRequestsApiDeclineOpts struct {
	Body    optional.Interface
	Version optional.String
}

type PullRequestsApiDelete3Opts

type PullRequestsApiDelete3Opts struct {
	Body optional.Interface
}

type PullRequestsApiDeleteComment1Opts

type PullRequestsApiDeleteComment1Opts struct {
	Version optional.String
}

type PullRequestsApiDeleteComment2Opts

type PullRequestsApiDeleteComment2Opts struct {
	Version optional.String
}

type PullRequestsApiFinishReviewOpts

type PullRequestsApiFinishReviewOpts struct {
	Body optional.Interface
}

type PullRequestsApiGetActivitiesOpts

type PullRequestsApiGetActivitiesOpts struct {
	FromType optional.String
	FromId   optional.String
	Start    optional.Float64
	Limit    optional.Float64
}

type PullRequestsApiGetComments1Opts

type PullRequestsApiGetComments1Opts struct {
	Count  optional.String
	State  optional.Interface
	States optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type PullRequestsApiGetComments2Opts

type PullRequestsApiGetComments2Opts struct {
	FromHash    optional.String
	AnchorState optional.String
	DiffType    optional.Interface
	ToHash      optional.String
	State       optional.Interface
	DiffTypes   optional.String
	States      optional.String
	Start       optional.Float64
	Limit       optional.Float64
}

type PullRequestsApiGetCommits1Opts

type PullRequestsApiGetCommits1Opts struct {
	AvatarScheme optional.String
	WithCounts   optional.String
	AvatarSize   optional.String
	Start        optional.Float64
	Limit        optional.Float64
}

type PullRequestsApiGetPageOpts

type PullRequestsApiGetPageOpts struct {
	WithAttributes optional.String
	At             optional.String
	WithProperties optional.String
	FilterText     optional.String
	State          optional.String
	Order          optional.String
	Direction      optional.String
	Start          optional.Float64
	Limit          optional.Float64
}

type PullRequestsApiGetPullRequestsOpts

type PullRequestsApiGetPullRequestsOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type PullRequestsApiGetReviewOpts

type PullRequestsApiGetReviewOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type PullRequestsApiGetReviewerGroups1Opts

type PullRequestsApiGetReviewerGroups1Opts struct {
	Start optional.Float64
	Limit optional.Float64
}

type PullRequestsApiGetReviewerGroupsOpts

type PullRequestsApiGetReviewerGroupsOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type PullRequestsApiGetReviewersOpts

type PullRequestsApiGetReviewersOpts struct {
	TargetRepoId optional.String
	SourceRepoId optional.String
	SourceRefId  optional.String
	TargetRefId  optional.String
}

type PullRequestsApiListParticipantsOpts

type PullRequestsApiListParticipantsOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type PullRequestsApiMergeOpts

type PullRequestsApiMergeOpts struct {
	Body    optional.Interface
	Version optional.String
}

type PullRequestsApiRebaseOpts

type PullRequestsApiRebaseOpts struct {
	Body optional.Interface
}

type PullRequestsApiReopenOpts

type PullRequestsApiReopenOpts struct {
	Body    optional.Interface
	Version optional.String
}

type PullRequestsApiSearchOpts

type PullRequestsApiSearchOpts struct {
	Filter    optional.String
	Role      optional.String
	Direction optional.String
	Start     optional.Float64
	Limit     optional.Float64
}

type PullRequestsApiService

type PullRequestsApiService service

func (*PullRequestsApiService) ApplySuggestion

func (a *PullRequestsApiService) ApplySuggestion(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiApplySuggestionOpts) (*http.Response, error)

func (*PullRequestsApiService) Approve

func (a *PullRequestsApiService) Approve(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (RestPullRequestParticipant, *http.Response, error)

PullRequestsApiService Approve pull request Approve a pull request as the current user. Implicitly adds the user as a participant if they are not already. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource. &lt;strong&gt;Deprecated since 4.2&lt;/strong&gt;. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} instead

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

@return RestPullRequestParticipant

func (*PullRequestsApiService) AssignParticipantRole

func (a *PullRequestsApiService) AssignParticipantRole(ctx context.Context, body RestPullRequestAssignParticipantRoleRequest, projectKey string, pullRequestId string, repositorySlug string) (RestPullRequestParticipant, *http.Response, error)

PullRequestsApiService Assign pull request participant role Assigns a participant to an explicit role in pull request. Currently only the REVIEWER role may be assigned. If the user is not yet a participant in the pull request, they are made one and assigned the supplied role. If the user is already a participant in the pull request, their previous role is replaced with the supplied role unless they are already assigned the AUTHOR role which cannot be changed and will result in a Bad Request (400) response code. The authenticated user must have &lt;strong&gt;REPO_WRITE&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body The participant to be added to the pull request, includes the user and their role
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

@return RestPullRequestParticipant

func (*PullRequestsApiService) CanMerge

func (a *PullRequestsApiService) CanMerge(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (RestPullRequestMergeability, *http.Response, error)

PullRequestsApiService Test if pull request can be merged Test whether a pull request can be merged. A pull request may not be merged if: - there are conflicts that need to be manually resolved before merging; and/or - one or more merge checks have vetoed the merge. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

@return RestPullRequestMergeability

func (*PullRequestsApiService) CanRebase

func (a *PullRequestsApiService) CanRebase(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (RestPullRequestRebaseability, *http.Response, error)

PullRequestsApiService Check PR rebase precondition Checks preconditions to determine whether the pull request can be rebased. Some of the preconditions are: - The pull request is between Git repositories - The pull request is currently open - The pull request&#x27;s {@link PullRequest#getFromRef \&quot;from\&quot; ref} is a &lt;i&gt;branch&lt;/i&gt; - In other words, the qualified ID for the \&quot;from\&quot; ref must start with &lt;code&gt;refs/heads/&lt;/code&gt; - Tags, and other non-standard refs, cannot be rebased - The current user has an e-mail address - Pull requests cannot be rebased anonymously - &#x60;git rebase&#x60; records the current user as the committer for the rebased commits, which requires a name and e-mail address - The current user has &lt;i&gt;write&lt;/i&gt; access to the {@link PullRequest#getFromRef \&quot;from\&quot; ref}&#x27;s repository - Note that in order to &lt;i&gt;view&lt;/i&gt; a pull request a user is only required to have &lt;i&gt;read&lt;/i&gt; access to the {@link PullRequest#getToRef toRef}&#x27;s repository, so just because a user can &lt;i&gt;see&lt;/i&gt; a pull request does not mean they can request a rebase This list is not exhaustive, and the exact set of preconditions applied can be extended by third-party add-ons. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request within the repository.
  • @param repositorySlug The repository slug.

@return RestPullRequestRebaseability

func (*PullRequestsApiService) Create

func (a *PullRequestsApiService) Create(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PullRequestsApiCreateOpts) (RestPullRequest, *http.Response, error)

func (*PullRequestsApiService) Create1

func (a *PullRequestsApiService) Create1(ctx context.Context, projectKey string, localVarOptionals *PullRequestsApiCreate1Opts) (RestReviewerGroup, *http.Response, error)

func (*PullRequestsApiService) Create2

func (a *PullRequestsApiService) Create2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PullRequestsApiCreate2Opts) (RestReviewerGroup, *http.Response, error)

func (*PullRequestsApiService) CreateComment1

func (a *PullRequestsApiService) CreateComment1(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiCreateComment1Opts) (RestComment, *http.Response, error)

func (*PullRequestsApiService) CreateComment2

func (a *PullRequestsApiService) CreateComment2(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiCreateComment2Opts) (RestComment, *http.Response, error)

func (*PullRequestsApiService) CreatePullRequestCondition

func (a *PullRequestsApiService) CreatePullRequestCondition(ctx context.Context, projectKey string, localVarOptionals *PullRequestsApiCreatePullRequestConditionOpts) (RestPullRequestCondition, *http.Response, error)

func (*PullRequestsApiService) CreatePullRequestCondition1

func (a *PullRequestsApiService) CreatePullRequestCondition1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PullRequestsApiCreatePullRequestCondition1Opts) (RestPullRequestCondition, *http.Response, error)

func (*PullRequestsApiService) Decline

func (a *PullRequestsApiService) Decline(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiDeclineOpts) (RestPullRequest, *http.Response, error)

func (*PullRequestsApiService) Delete3

func (a *PullRequestsApiService) Delete3(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiDelete3Opts) (*http.Response, error)

func (*PullRequestsApiService) Delete4

func (a *PullRequestsApiService) Delete4(ctx context.Context, projectKey string, id string) (*http.Response, error)

PullRequestsApiService Delete reviewer group Deletes a reviewer group. The authenticated user must have &lt;b&gt;PROJECT_ADMIN&lt;/b&gt; permission for the specified project to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The ID of the reviewer group to be deleted

func (*PullRequestsApiService) Delete5

func (a *PullRequestsApiService) Delete5(ctx context.Context, projectKey string, id string, repositorySlug string) (*http.Response, error)

PullRequestsApiService Delete reviewer group Deletes a reviewer group. The authenticated user must have &lt;b&gt;REPO_ADMIN&lt;/b&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The ID of the reviewer group to be deleted
  • @param repositorySlug The repository slug.

func (*PullRequestsApiService) DeleteComment1

func (a *PullRequestsApiService) DeleteComment1(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiDeleteComment1Opts) (*http.Response, error)

func (*PullRequestsApiService) DeleteComment2

func (a *PullRequestsApiService) DeleteComment2(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiDeleteComment2Opts) (*http.Response, error)

func (*PullRequestsApiService) DeletePullRequestCondition

func (a *PullRequestsApiService) DeletePullRequestCondition(ctx context.Context, projectKey string, id string) (*http.Response, error)

PullRequestsApiService Remove default reviewer Delete the default reviewer pull request condition associated with the given ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The ID of the pull request condition.

func (*PullRequestsApiService) DeletePullRequestCondition1

func (a *PullRequestsApiService) DeletePullRequestCondition1(ctx context.Context, projectKey string, id int32, repositorySlug string) (*http.Response, error)

PullRequestsApiService Delete a default reviewer condition Delete the default reviewer pull request condition associated with the given ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id
  • @param repositorySlug The repository slug.

func (*PullRequestsApiService) DiscardReview

func (a *PullRequestsApiService) DiscardReview(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (*http.Response, error)

PullRequestsApiService Discard pull request review Discard a pull request review for the authenticated user. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The pull request ID.
  • @param repositorySlug The repository slug.

func (*PullRequestsApiService) FinishReview

func (a *PullRequestsApiService) FinishReview(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiFinishReviewOpts) (*http.Response, error)

func (*PullRequestsApiService) Get3

func (a *PullRequestsApiService) Get3(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (RestPullRequest, *http.Response, error)

PullRequestsApiService Get pull request Retrieve a pull request. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

@return RestPullRequest

func (*PullRequestsApiService) GetActivities

func (a *PullRequestsApiService) GetActivities(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiGetActivitiesOpts) (InlineResponse20039, *http.Response, error)

func (*PullRequestsApiService) GetComment1

func (a *PullRequestsApiService) GetComment1(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string) (RestComment, *http.Response, error)

PullRequestsApiService Get pull request comment Retrieves a pull request comment. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId The ID of the comment to retrieve
  • @param pullRequestId The pull request ID.
  • @param repositorySlug The repository slug.

@return RestComment

func (*PullRequestsApiService) GetComment2

func (a *PullRequestsApiService) GetComment2(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string) (RestComment, *http.Response, error)

PullRequestsApiService Get a pull request comment Retrieves a pull request comment. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId The ID of the comment to retrieve.
  • @param pullRequestId The pull request ID.
  • @param repositorySlug The repository slug.

@return RestComment

func (*PullRequestsApiService) GetComments1

func (a *PullRequestsApiService) GetComments1(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiGetComments1Opts) (InlineResponse20036, *http.Response, error)

func (*PullRequestsApiService) GetComments2

func (a *PullRequestsApiService) GetComments2(ctx context.Context, path string, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiGetComments2Opts) (InlineResponse20036, *http.Response, error)

func (*PullRequestsApiService) GetCommitMessageSuggestion

func (a *PullRequestsApiService) GetCommitMessageSuggestion(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (RestCommitMessageSuggestion, *http.Response, error)

PullRequestsApiService Get commit message suggestion Retrieve a suggested commit message for the given Pull Request.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request to generate the suggestion for
  • @param repositorySlug The repository slug.

@return RestCommitMessageSuggestion

func (*PullRequestsApiService) GetCommits1

func (a *PullRequestsApiService) GetCommits1(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiGetCommits1Opts) (InlineResponse20035, *http.Response, error)

func (*PullRequestsApiService) GetMergeConfig

PullRequestsApiService Get merge strategies Retrieve the merge strategies available for this instance. The user must be authenticated to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param scmId the id of the scm to get strategies for

@return RestPullRequestMergeConfig

func (*PullRequestsApiService) GetPage

func (a *PullRequestsApiService) GetPage(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PullRequestsApiGetPageOpts) (InlineResponse20022, *http.Response, error)

func (*PullRequestsApiService) GetPullRequestConditions

func (a *PullRequestsApiService) GetPullRequestConditions(ctx context.Context, projectKey string) ([]RestPullRequestCondition, *http.Response, error)

PullRequestsApiService Get default reviewers Return a page of default reviewer pull request conditions that have been configured for this project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.

@return []RestPullRequestCondition

func (*PullRequestsApiService) GetPullRequestConditions1

func (a *PullRequestsApiService) GetPullRequestConditions1(ctx context.Context, projectKey string, repositorySlug string) ([]RestPullRequestCondition, *http.Response, error)

PullRequestsApiService Get configured default reviewers Return a page of default reviewer pull request conditions that have been configured for this repository.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

@return []RestPullRequestCondition

func (*PullRequestsApiService) GetPullRequests

func (a *PullRequestsApiService) GetPullRequests(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *PullRequestsApiGetPullRequestsOpts) (InlineResponse20022, *http.Response, error)

func (*PullRequestsApiService) GetReview

func (a *PullRequestsApiService) GetReview(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiGetReviewOpts) (InlineResponse20036, *http.Response, error)

func (*PullRequestsApiService) GetReviewerGroup

func (a *PullRequestsApiService) GetReviewerGroup(ctx context.Context, projectKey string, id string) (RestReviewerGroup, *http.Response, error)

PullRequestsApiService Get reviewer group Retrieve a reviewer group. The authenticated user must have &lt;b&gt;PROJECT_READ&lt;/b&gt; permission for the specified project to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The ID of the reviewer group to be retrieved

@return RestReviewerGroup

func (*PullRequestsApiService) GetReviewerGroup1

func (a *PullRequestsApiService) GetReviewerGroup1(ctx context.Context, projectKey string, id string, repositorySlug string) (RestReviewerGroup, *http.Response, error)

PullRequestsApiService Get reviewer group Retrieve a reviewer group. The authenticated user must have &lt;b&gt;REPO_READ&lt;/b&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The ID of the reviewer group to be retrieved
  • @param repositorySlug The repository slug.

@return RestReviewerGroup

func (*PullRequestsApiService) GetReviewerGroups

func (a *PullRequestsApiService) GetReviewerGroups(ctx context.Context, projectKey string, localVarOptionals *PullRequestsApiGetReviewerGroupsOpts) (InlineResponse20045, *http.Response, error)

func (*PullRequestsApiService) GetReviewerGroups1

func (a *PullRequestsApiService) GetReviewerGroups1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PullRequestsApiGetReviewerGroups1Opts) (InlineResponse20045, *http.Response, error)

func (*PullRequestsApiService) GetReviewers

func (a *PullRequestsApiService) GetReviewers(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PullRequestsApiGetReviewersOpts) ([]RestPullRequestCondition, *http.Response, error)

func (*PullRequestsApiService) GetUsers

func (a *PullRequestsApiService) GetUsers(ctx context.Context, projectKey string, id string, repositorySlug string) ([]RestApplicationUser, *http.Response, error)

PullRequestsApiService Get reviewer group users Retrieve a list of the users of a reviewer group. This does not return all the users of the group, only the users who have &lt;b&gt;REPO_READ&lt;/b&gt; permission for the specified repository. The authenticated user must have &lt;b&gt;REPO_READ&lt;/b&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The ID of the reviewer group to be retrieved
  • @param repositorySlug The repository slug.

@return []RestApplicationUser

func (*PullRequestsApiService) ListParticipants

func (a *PullRequestsApiService) ListParticipants(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiListParticipantsOpts) (InlineResponse20040, *http.Response, error)

func (*PullRequestsApiService) Merge

func (a *PullRequestsApiService) Merge(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiMergeOpts) (RestPullRequest, *http.Response, error)

func (*PullRequestsApiService) React1

func (a *PullRequestsApiService) React1(ctx context.Context, projectKey string, commentId string, pullRequestId string, emoticon string, repositorySlug string) (RestUserReaction, *http.Response, error)

PullRequestsApiService React to a PR comment Add an emoticon reaction to a pull request comment

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId The comment id.
  • @param pullRequestId The pull request id.
  • @param emoticon The emoticon to add
  • @param repositorySlug The repository slug.

@return RestUserReaction

func (*PullRequestsApiService) Rebase

func (a *PullRequestsApiService) Rebase(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiRebaseOpts) (RestPullRequestRebaseResult, *http.Response, error)

func (*PullRequestsApiService) Reopen

func (a *PullRequestsApiService) Reopen(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiReopenOpts) (RestPullRequest, *http.Response, error)

func (*PullRequestsApiService) Search

func (a *PullRequestsApiService) Search(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PullRequestsApiSearchOpts) (InlineResponse2005, *http.Response, error)

func (*PullRequestsApiService) SetMergeConfig

func (*PullRequestsApiService) StreamChanges1

func (a *PullRequestsApiService) StreamChanges1(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiStreamChanges1Opts) (RestChange, *http.Response, error)

func (*PullRequestsApiService) StreamDiff2

func (a *PullRequestsApiService) StreamDiff2(ctx context.Context, path string, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiStreamDiff2Opts) (InlineResponse20037, *http.Response, error)

func (*PullRequestsApiService) StreamPatch1

func (a *PullRequestsApiService) StreamPatch1(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (*http.Response, error)

PullRequestsApiService Stream pull request as patch Streams a patch representing a pull request. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

func (*PullRequestsApiService) StreamRawDiff2

func (a *PullRequestsApiService) StreamRawDiff2(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiStreamRawDiff2Opts) (*http.Response, error)

func (*PullRequestsApiService) UnReact1

func (a *PullRequestsApiService) UnReact1(ctx context.Context, projectKey string, commentId string, pullRequestId string, emoticon string, repositorySlug string) (*http.Response, error)

PullRequestsApiService Remove a reaction from a PR comment Remove an emoticon reaction from a pull request comment

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId The comment id.
  • @param pullRequestId The pull request id.
  • @param emoticon The emoticon to remove
  • @param repositorySlug The repository slug.

func (*PullRequestsApiService) UnassignParticipantRole

func (a *PullRequestsApiService) UnassignParticipantRole(ctx context.Context, projectKey string, userSlug string, pullRequestId string, repositorySlug string) (*http.Response, error)

PullRequestsApiService Unassign pull request participant Unassigns a participant from the REVIEWER role they may have been given in a pull request. If the participant has no explicit role this method has no effect. Afterwards, the user will still remain a participant in the pull request but their role will be reduced to PARTICIPANT. This is because once made a participant of a pull request, a user will forever remain a participant. Only their role may be altered. The authenticated user must have &lt;strong&gt;REPO_WRITE&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param userSlug The slug for the user being unassigned
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

func (*PullRequestsApiService) UnassignParticipantRole1

func (a *PullRequestsApiService) UnassignParticipantRole1(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiUnassignParticipantRole1Opts) (*http.Response, error)

func (*PullRequestsApiService) Unwatch1

func (a *PullRequestsApiService) Unwatch1(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (*http.Response, error)

PullRequestsApiService Stop watching pull request Remove the authenticated user as a watcher for the specified pull request. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The pull request ID.
  • @param repositorySlug The repository slug.

func (*PullRequestsApiService) Update

func (a *PullRequestsApiService) Update(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiUpdateOpts) (RestPullRequest, *http.Response, error)

func (*PullRequestsApiService) Update1

func (a *PullRequestsApiService) Update1(ctx context.Context, projectKey string, id string, localVarOptionals *PullRequestsApiUpdate1Opts) (RestReviewerGroup, *http.Response, error)

func (*PullRequestsApiService) Update2

func (a *PullRequestsApiService) Update2(ctx context.Context, projectKey string, id string, repositorySlug string, localVarOptionals *PullRequestsApiUpdate2Opts) (RestReviewerGroup, *http.Response, error)

func (*PullRequestsApiService) UpdateComment1

func (a *PullRequestsApiService) UpdateComment1(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiUpdateComment1Opts) (RestComment, *http.Response, error)

func (*PullRequestsApiService) UpdateComment2

func (a *PullRequestsApiService) UpdateComment2(ctx context.Context, projectKey string, commentId string, pullRequestId string, repositorySlug string, localVarOptionals *PullRequestsApiUpdateComment2Opts) (RestComment, *http.Response, error)

func (*PullRequestsApiService) UpdatePullRequestCondition

func (a *PullRequestsApiService) UpdatePullRequestCondition(ctx context.Context, projectKey string, id string, localVarOptionals *PullRequestsApiUpdatePullRequestConditionOpts) (RestPullRequestCondition, *http.Response, error)

func (*PullRequestsApiService) UpdatePullRequestCondition1

func (a *PullRequestsApiService) UpdatePullRequestCondition1(ctx context.Context, projectKey string, id string, repositorySlug string, localVarOptionals *PullRequestsApiUpdatePullRequestCondition1Opts) (RestPullRequestCondition, *http.Response, error)

func (*PullRequestsApiService) UpdateStatus

func (a *PullRequestsApiService) UpdateStatus(ctx context.Context, body RestPullRequestAssignStatusRequest, projectKey string, userSlug string, pullRequestId string, repositorySlug string) (RestPullRequestParticipant, *http.Response, error)

PullRequestsApiService Change pull request status Change the current user&#x27;s status for a pull request. Implicitly adds the user as a participant if they are not already. If the current user is the author, this method will fail. The possible values for {@code status} are &lt;strong&gt;UNAPPROVED&lt;/strong&gt;, &lt;strong&gt;NEEDS_WORK&lt;/strong&gt; (which is referred to as \&quot;Requested changes\&quot; in the frontend from 8.10 onward), or &lt;strong&gt;APPROVED&lt;/strong&gt;. If the new {@code status} is &lt;strong&gt;NEEDS_WORK&lt;/strong&gt; or &lt;strong&gt;APPROVED&lt;/strong&gt; then the {@code lastReviewedCommit} for the participant will be updated to the latest commit of the source branch of the pull request. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body The participant representing the status to set, includes the status of the participant
  • @param projectKey The project key.
  • @param userSlug The slug for the user changing their status
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

@return RestPullRequestParticipant

func (*PullRequestsApiService) Watch1

func (a *PullRequestsApiService) Watch1(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (*http.Response, error)

PullRequestsApiService Watch pull request Add the authenticated user as a watcher for the specified pull request. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The pull request ID.
  • @param repositorySlug The repository slug.

func (*PullRequestsApiService) WithdrawApproval

func (a *PullRequestsApiService) WithdrawApproval(ctx context.Context, projectKey string, pullRequestId string, repositorySlug string) (RestPullRequestParticipant, *http.Response, error)

PullRequestsApiService Unapprove pull request Remove approval from a pull request as the current user. This does not remove the user as a participant. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that this pull request targets to call this resource. &lt;strong&gt;Deprecated since 4.2&lt;/strong&gt;. Use /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} instead

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param pullRequestId The ID of the pull request within the repository
  • @param repositorySlug The repository slug.

@return RestPullRequestParticipant

type PullRequestsApiSetMergeConfigOpts

type PullRequestsApiSetMergeConfigOpts struct {
	Body optional.Interface
}

type PullRequestsApiStreamChanges1Opts

type PullRequestsApiStreamChanges1Opts struct {
	SinceId      optional.String
	ChangeScope  optional.String
	UntilId      optional.String
	WithComments optional.String
	Start        optional.Float64
	Limit        optional.Float64
}

type PullRequestsApiStreamDiff2Opts

type PullRequestsApiStreamDiff2Opts struct {
	AvatarScheme optional.String
	ContextLines optional.String
	SinceId      optional.String
	SrcPath      optional.String
	DiffType     optional.String
	UntilId      optional.String
	Whitespace   optional.String
	WithComments optional.String
	AvatarSize   optional.String
	Start        optional.Float64
	Limit        optional.Float64
}

type PullRequestsApiStreamRawDiff2Opts

type PullRequestsApiStreamRawDiff2Opts struct {
	ContextLines optional.String
	Whitespace   optional.String
}

type PullRequestsApiUnassignParticipantRole1Opts

type PullRequestsApiUnassignParticipantRole1Opts struct {
	Username optional.String
}

type PullRequestsApiUpdate1Opts

type PullRequestsApiUpdate1Opts struct {
	Body optional.Interface
}

type PullRequestsApiUpdate2Opts

type PullRequestsApiUpdate2Opts struct {
	Body optional.Interface
}

type PullRequestsApiUpdateComment1Opts

type PullRequestsApiUpdateComment1Opts struct {
	Body optional.Interface
}

type PullRequestsApiUpdateComment2Opts

type PullRequestsApiUpdateComment2Opts struct {
	Body optional.Interface
}

type PullRequestsApiUpdateOpts

type PullRequestsApiUpdateOpts struct {
	Body optional.Interface
}

type PullRequestsApiUpdatePullRequestCondition1Opts

type PullRequestsApiUpdatePullRequestCondition1Opts struct {
	Body optional.Interface
}

type PullRequestsApiUpdatePullRequestConditionOpts

type PullRequestsApiUpdatePullRequestConditionOpts struct {
	Body optional.Interface
}

type RepositoryApiAddLabelOpts

type RepositoryApiAddLabelOpts struct {
	Body optional.Interface
}

type RepositoryApiCreateBranchForRepositoryOpts

type RepositoryApiCreateBranchForRepositoryOpts struct {
	Body optional.Interface
}

type RepositoryApiCreateCommentOpts

type RepositoryApiCreateCommentOpts struct {
	Body  optional.Interface
	Since optional.String
}

type RepositoryApiCreateRestrictions1Opts

type RepositoryApiCreateRestrictions1Opts struct {
	Body optional.Interface
}

type RepositoryApiCreateTagForRepositoryOpts

type RepositoryApiCreateTagForRepositoryOpts struct {
	Body optional.Interface
}

type RepositoryApiCreateTagOpts

type RepositoryApiCreateTagOpts struct {
	Body optional.Interface
}

type RepositoryApiCreateWebhook1Opts

type RepositoryApiCreateWebhook1Opts struct {
	Body optional.Interface
}

type RepositoryApiDeleteBranchOpts

type RepositoryApiDeleteBranchOpts struct {
	Body optional.Interface
}

type RepositoryApiDeleteCommentOpts

type RepositoryApiDeleteCommentOpts struct {
	Version optional.String
}

type RepositoryApiEditFileOpts

type RepositoryApiEditFileOpts struct {
	Branch         optional.String
	Content        optional.String
	Message        optional.String
	SourceBranch   optional.String
	SourceCommitId optional.String
}

type RepositoryApiEnableHook1Opts

type RepositoryApiEnableHook1Opts struct {
	ContentLength optional.String
}

type RepositoryApiFindBranchesOpts

type RepositoryApiFindBranchesOpts struct {
	FilterText optional.String
	Start      optional.Float64
	Limit      optional.Float64
}

type RepositoryApiFindByCommitOpts

type RepositoryApiFindByCommitOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type RepositoryApiFindWebhooks1Opts

type RepositoryApiFindWebhooks1Opts struct {
	Event      optional.String
	Statistics optional.Bool
}

type RepositoryApiGetArchiveOpts

type RepositoryApiGetArchiveOpts struct {
	Path     optional.String
	Filename optional.String
	At       optional.String
	Prefix   optional.String
	Format   optional.String
}

type RepositoryApiGetAttachmentOpts

type RepositoryApiGetAttachmentOpts struct {
	UserAgent optional.String
	Range_    optional.String
}

type RepositoryApiGetBranchesOpts

type RepositoryApiGetBranchesOpts struct {
	BoostMatches optional.Bool
	OrderBy      optional.String
	Details      optional.Bool
	FilterText   optional.String
	Base         optional.String
	Start        optional.Float64
	Limit        optional.Float64
}

type RepositoryApiGetChanges1Opts

type RepositoryApiGetChanges1Opts struct {
	Until optional.String
	Since optional.String
	Start optional.Float64
	Limit optional.Float64
}

type RepositoryApiGetChangesOpts

type RepositoryApiGetChangesOpts struct {
	WithComments optional.String
	Since        optional.String
	Start        optional.Float64
	Limit        optional.Float64
}

type RepositoryApiGetCommentsOpts

type RepositoryApiGetCommentsOpts struct {
	Path  optional.String
	Since optional.String
	Start optional.Float64
	Limit optional.Float64
}

type RepositoryApiGetCommitOpts

type RepositoryApiGetCommitOpts struct {
	Path optional.String
}

type RepositoryApiGetCommitsOpts

type RepositoryApiGetCommitsOpts struct {
	AvatarScheme  optional.String
	Path          optional.String
	WithCounts    optional.String
	FollowRenames optional.String
	Until         optional.String
	AvatarSize    optional.String
	Since         optional.String
	Merges        optional.String
	IgnoreMissing optional.String
	Start         optional.Float64
	Limit         optional.Float64
}

type RepositoryApiGetConfigurations1Opts

type RepositoryApiGetConfigurations1Opts struct {
	Start optional.Float64
	Limit optional.Float64
}

type RepositoryApiGetContent1Opts

type RepositoryApiGetContent1Opts struct {
	NoContent optional.String
	At        optional.String
	Size      optional.String
	Blame     optional.String
	Type_     optional.String
}

type RepositoryApiGetContentOpts

type RepositoryApiGetContentOpts struct {
	NoContent optional.String
	At        optional.String
	Size      optional.String
	Blame     optional.String
	Type_     optional.String
}

type RepositoryApiGetLatestInvocation1Opts

type RepositoryApiGetLatestInvocation1Opts struct {
	Event   optional.String
	Outcome optional.String
}

type RepositoryApiGetRefChangeActivityOpts

type RepositoryApiGetRefChangeActivityOpts struct {
	Ref   optional.String
	Start optional.Float64
	Limit optional.Float64
}

type RepositoryApiGetRepositories1Opts

type RepositoryApiGetRepositories1Opts struct {
	Archived    optional.String
	Projectname optional.String
	Projectkey  optional.String
	Visibility  optional.String
	Name        optional.String
	Permission  optional.String
	State       optional.String
	Start       optional.Float64
	Limit       optional.Float64
}

type RepositoryApiGetRepositoriesRecentlyAccessedOpts

type RepositoryApiGetRepositoriesRecentlyAccessedOpts struct {
	Permission optional.String
	Start      optional.Float64
	Limit      optional.Float64
}

type RepositoryApiGetRepositoryHooks1Opts

type RepositoryApiGetRepositoryHooks1Opts struct {
	Type_ optional.String
	Start optional.Float64
	Limit optional.Float64
}

type RepositoryApiGetRestrictions1Opts

type RepositoryApiGetRestrictions1Opts struct {
	MatcherType optional.String
	MatcherId   optional.String
	Type_       optional.String
	Start       optional.Float64
	Limit       optional.Float64
}

type RepositoryApiGetStatistics1Opts

type RepositoryApiGetStatistics1Opts struct {
	Event optional.String
}

type RepositoryApiGetStatusOpts

type RepositoryApiGetStatusOpts struct {
	At optional.String
}

type RepositoryApiGetTagsOpts

type RepositoryApiGetTagsOpts struct {
	OrderBy    optional.String
	FilterText optional.String
	Start      optional.Float64
	Limit      optional.Float64
}

type RepositoryApiGetWebhook1Opts

type RepositoryApiGetWebhook1Opts struct {
	Statistics optional.String
}

type RepositoryApiSaveAttachmentMetadataOpts

type RepositoryApiSaveAttachmentMetadataOpts struct {
	Body optional.Interface
}

type RepositoryApiSearchWebhooksOpts

type RepositoryApiSearchWebhooksOpts struct {
	ScopeType  optional.String
	Event      optional.String
	Statistics optional.Bool
}

type RepositoryApiService

type RepositoryApiService service

func (*RepositoryApiService) AddLabel

func (a *RepositoryApiService) AddLabel(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiAddLabelOpts) (RestLabel, *http.Response, error)

func (*RepositoryApiService) CreateComment

func (a *RepositoryApiService) CreateComment(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *RepositoryApiCreateCommentOpts) (RestComment, *http.Response, error)

func (*RepositoryApiService) CreateRestrictions1

func (a *RepositoryApiService) CreateRestrictions1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiCreateRestrictions1Opts) (RestRefRestriction, *http.Response, error)

func (*RepositoryApiService) CreateTag

func (a *RepositoryApiService) CreateTag(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiCreateTagOpts) (RestTag, *http.Response, error)

func (*RepositoryApiService) CreateTagForRepository

func (a *RepositoryApiService) CreateTagForRepository(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiCreateTagForRepositoryOpts) (RestTag, *http.Response, error)

func (*RepositoryApiService) CreateWebhook1

func (a *RepositoryApiService) CreateWebhook1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiCreateWebhook1Opts) (RestWebhook, *http.Response, error)

func (*RepositoryApiService) DeleteAttachment

func (a *RepositoryApiService) DeleteAttachment(ctx context.Context, projectKey string, attachmentId string, repositorySlug string) (*http.Response, error)

RepositoryApiService Delete an attachment Delete an attachment. The user must be authenticated and have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param attachmentId the attachment ID
  • @param repositorySlug The repository slug

func (*RepositoryApiService) DeleteAttachmentMetadata

func (a *RepositoryApiService) DeleteAttachmentMetadata(ctx context.Context, projectKey string, attachmentId string, repositorySlug string) (*http.Response, error)

RepositoryApiService Delete attachment metadata Delete attachment metadata. The user must be authenticated and have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param attachmentId the attachment ID
  • @param repositorySlug The repository slug

func (*RepositoryApiService) DeleteAutoDeclineSettings1

func (a *RepositoryApiService) DeleteAutoDeclineSettings1(ctx context.Context, projectKey string, repositorySlug string) (*http.Response, error)

RepositoryApiService Delete auto decline settings Delete auto decline settings for the supplied repository. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for this repository to call the resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param repositorySlug The repository slug

func (*RepositoryApiService) DeleteBranch

func (a *RepositoryApiService) DeleteBranch(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiDeleteBranchOpts) (*http.Response, error)

func (*RepositoryApiService) DeleteComment

func (a *RepositoryApiService) DeleteComment(ctx context.Context, projectKey string, commentId string, commitId string, repositorySlug string, localVarOptionals *RepositoryApiDeleteCommentOpts) (*http.Response, error)

func (*RepositoryApiService) DeleteRepositoryHook

func (a *RepositoryApiService) DeleteRepositoryHook(ctx context.Context, projectKey string, hookKey string, repositorySlug string) (*http.Response, error)

RepositoryApiService Delete repository hook Delete repository hook configuration for the supplied &lt;strong&gt;hookKey&lt;/strong&gt; and &lt;strong&gt;repositorySlug&lt;/strong&gt; The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param hookKey The hook key.
  • @param repositorySlug The repository slug.

func (*RepositoryApiService) DeleteRestriction1

func (a *RepositoryApiService) DeleteRestriction1(ctx context.Context, projectKey string, id string, repositorySlug string) (*http.Response, error)

RepositoryApiService Delete a ref restriction Deletes a restriction as specified by a restriction id. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission or higher to call this resource. Only authenticated users may call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The restriction id.
  • @param repositorySlug The repository slug.

func (*RepositoryApiService) DeleteTag

func (a *RepositoryApiService) DeleteTag(ctx context.Context, projectKey string, name string, repositorySlug string) (*http.Response, error)

RepositoryApiService Delete tag Deletes a tag in the specified repository. The authenticated user must have an effective &lt;strong&gt;REPO_WRITE&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param name The name of the tag to be deleted.
  • @param repositorySlug The repository slug.

func (*RepositoryApiService) DeleteWebhook1

func (a *RepositoryApiService) DeleteWebhook1(ctx context.Context, projectKey string, webhookId string, repositorySlug string) (*http.Response, error)

RepositoryApiService Delete webhook Delete a webhook for the repository specified via the URL. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param webhookId The ID of the webhook to be deleted.
  • @param repositorySlug The repository slug.

func (*RepositoryApiService) DisableHook1

func (a *RepositoryApiService) DisableHook1(ctx context.Context, projectKey string, hookKey string, repositorySlug string) (RestRepositoryHook, *http.Response, error)

RepositoryApiService Disable repository hook Disable a repository hook for this repository. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param hookKey The hook key.
  • @param repositorySlug The repository slug.

@return RestRepositoryHook

func (*RepositoryApiService) EditFile

func (a *RepositoryApiService) EditFile(ctx context.Context, path string, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiEditFileOpts) (RestCommit, *http.Response, error)

func (*RepositoryApiService) EnableHook1

func (a *RepositoryApiService) EnableHook1(ctx context.Context, projectKey string, hookKey string, repositorySlug string, localVarOptionals *RepositoryApiEnableHook1Opts) (RestRepositoryHook, *http.Response, error)

func (*RepositoryApiService) FindBranches

func (a *RepositoryApiService) FindBranches(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiFindBranchesOpts) (InlineResponse2003, *http.Response, error)

func (*RepositoryApiService) FindByCommit

func (a *RepositoryApiService) FindByCommit(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *RepositoryApiFindByCommitOpts) (InlineResponse2003, *http.Response, error)

func (*RepositoryApiService) FindWebhooks1

func (a *RepositoryApiService) FindWebhooks1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiFindWebhooks1Opts) (*http.Response, error)

func (*RepositoryApiService) GetAllLabelsForRepository

func (a *RepositoryApiService) GetAllLabelsForRepository(ctx context.Context, projectKey string, repositorySlug string) (RestLabel, *http.Response, error)

RepositoryApiService Get repository labels Get all labels applied to the given repository. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the specified repository.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

@return RestLabel

func (*RepositoryApiService) GetArchive

func (a *RepositoryApiService) GetArchive(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetArchiveOpts) (*http.Response, error)

func (*RepositoryApiService) GetAttachment

func (a *RepositoryApiService) GetAttachment(ctx context.Context, projectKey string, attachmentId string, repositorySlug string, localVarOptionals *RepositoryApiGetAttachmentOpts) (*http.Response, error)

func (*RepositoryApiService) GetAttachmentMetadata

func (a *RepositoryApiService) GetAttachmentMetadata(ctx context.Context, projectKey string, attachmentId string, repositorySlug string) (RestAttachmentMetadata, *http.Response, error)

RepositoryApiService Get attachment metadata Retrieve the attachment metadata. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the specified repository that is associated to the attachment that has the attachment metadata.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param attachmentId the attachment ID
  • @param repositorySlug The repository slug

@return RestAttachmentMetadata

func (*RepositoryApiService) GetAutoDeclineSettings1

func (a *RepositoryApiService) GetAutoDeclineSettings1(ctx context.Context, projectKey string, repositorySlug string) (RestAutoDeclineSettings, *http.Response, error)

RepositoryApiService Get auto decline settings Retrieves the auto decline settings for the supplied repository. Project settings will be returned if no explicit settings have been set for the repository. In the case that there are no project settings, the default settings will be returned. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for this repository to call the resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param repositorySlug The repository slug

@return RestAutoDeclineSettings

func (*RepositoryApiService) GetChanges

func (a *RepositoryApiService) GetChanges(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *RepositoryApiGetChangesOpts) (InlineResponse20034, *http.Response, error)

func (*RepositoryApiService) GetChanges1

func (a *RepositoryApiService) GetChanges1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetChanges1Opts) (InlineResponse20034, *http.Response, error)

func (*RepositoryApiService) GetComment

func (a *RepositoryApiService) GetComment(ctx context.Context, projectKey string, commentId string, commitId string, repositorySlug string) (RestComment, *http.Response, error)

RepositoryApiService Get a commit comment Retrieves a commit discussion comment. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository that the commit is in to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param commentId The ID of the comment to retrieve
  • @param commitId The &lt;i&gt;full ID&lt;/i&gt; of the commit within the repository
  • @param repositorySlug The repository slug

@return RestComment

func (*RepositoryApiService) GetComments

func (a *RepositoryApiService) GetComments(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *RepositoryApiGetCommentsOpts) (InlineResponse20036, *http.Response, error)

func (*RepositoryApiService) GetCommit

func (a *RepositoryApiService) GetCommit(ctx context.Context, projectKey string, commitId string, repositorySlug string, localVarOptionals *RepositoryApiGetCommitOpts) (RestCommit, *http.Response, error)

func (*RepositoryApiService) GetCommits

func (a *RepositoryApiService) GetCommits(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetCommitsOpts) (InlineResponse20035, *http.Response, error)

func (*RepositoryApiService) GetConfigurations1

func (a *RepositoryApiService) GetConfigurations1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetConfigurations1Opts) (InlineResponse20031, *http.Response, error)

func (*RepositoryApiService) GetContent

func (a *RepositoryApiService) GetContent(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetContentOpts) (*http.Response, error)

func (*RepositoryApiService) GetContent1

func (a *RepositoryApiService) GetContent1(ctx context.Context, path string, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetContent1Opts) (*http.Response, error)

func (*RepositoryApiService) GetLatestInvocation1

func (a *RepositoryApiService) GetLatestInvocation1(ctx context.Context, projectKey string, webhookId string, repositorySlug string, localVarOptionals *RepositoryApiGetLatestInvocation1Opts) (RestDetailedInvocation, *http.Response, error)

func (*RepositoryApiService) GetPullRequestSettings1

func (a *RepositoryApiService) GetPullRequestSettings1(ctx context.Context, projectKey string, repositorySlug string) (RestRepositoryPullRequestSettings, *http.Response, error)

RepositoryApiService Get pull request settings Retrieve the pull request settings for the context repository. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the context repository to call this resource. This resource will call all RestFragments that are registered with the key &lt;strong&gt;bitbucket.repository.settings.pullRequests&lt;/strong&gt;. If any fragment fails validations by returning a non-empty Map of errors, then no fragments will execute. The property keys for the settings that are bundled with the application are - mergeConfig - the merge strategy configuration for pull requests - requiredApprovers - (Deprecated, please use com.atlassian.bitbucket.server.bundled-hooks.requiredApproversMergeHook instead) the number of approvals required on a pull request for it to be mergeable, or 0 if the merge check is disabled - com.atlassian.bitbucket.server.bundled-hooks.requiredApproversMergeHook - the merge check configuration for required approvers - requiredAllApprovers - whether or not all approvers must approve a pull request for it to be mergeable - requiredAllTasksComplete - whether or not all tasks on a pull request need to be completed for it to be mergeable - requiredSuccessfulBuilds - (Deprecated, please use com.atlassian.bitbucket.server.bitbucket-build.requiredBuildsMergeCheck instead) the number of successful builds on a pull request for it to be mergeable, or 0 if the merge check is disabled - com.atlassian.bitbucket.server.bitbucket-build.requiredBuildsMergeCheck - the merge check configuration for required builds

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

@return RestRepositoryPullRequestSettings

func (*RepositoryApiService) GetRefChangeActivity

func (a *RepositoryApiService) GetRefChangeActivity(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetRefChangeActivityOpts) (InlineResponse20041, *http.Response, error)

func (*RepositoryApiService) GetRepositories1

func (*RepositoryApiService) GetRepositoriesRecentlyAccessed

func (a *RepositoryApiService) GetRepositoriesRecentlyAccessed(ctx context.Context, localVarOptionals *RepositoryApiGetRepositoriesRecentlyAccessedOpts) (InlineResponse20029, *http.Response, error)

func (*RepositoryApiService) GetRepositoryHook1

func (a *RepositoryApiService) GetRepositoryHook1(ctx context.Context, projectKey string, hookKey string, repositorySlug string) (RestRepositoryHook, *http.Response, error)

RepositoryApiService Get repository hook Retrieve a repository hook for this repository. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param hookKey The hook key.
  • @param repositorySlug The repository slug.

@return RestRepositoryHook

func (*RepositoryApiService) GetRepositoryHooks1

func (a *RepositoryApiService) GetRepositoryHooks1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetRepositoryHooks1Opts) (InlineResponse20044, *http.Response, error)

func (*RepositoryApiService) GetRestriction1

func (a *RepositoryApiService) GetRestriction1(ctx context.Context, projectKey string, id string, repositorySlug string) (RestRefRestriction, *http.Response, error)

RepositoryApiService Get a ref restriction Returns a restriction as specified by a restriction id. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission or higher to call this resource. Only authenticated users may call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The restriction id.
  • @param repositorySlug The repository slug.

@return RestRefRestriction

func (*RepositoryApiService) GetRestrictions1

func (a *RepositoryApiService) GetRestrictions1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetRestrictions1Opts) (InlineResponse20013, *http.Response, error)

func (*RepositoryApiService) GetSettings1

func (a *RepositoryApiService) GetSettings1(ctx context.Context, projectKey string, hookKey string, repositorySlug string) (ExampleSettings, *http.Response, error)

RepositoryApiService Get repository hook settings Retrieve the settings for a repository hook for this repository. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param hookKey The hook key.
  • @param repositorySlug The repository slug.

@return ExampleSettings

func (*RepositoryApiService) GetStatus

func (a *RepositoryApiService) GetStatus(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetStatusOpts) (RestRefSyncStatus, *http.Response, error)

func (*RepositoryApiService) GetTag

func (a *RepositoryApiService) GetTag(ctx context.Context, projectKey string, name string, repositorySlug string) (RestTag, *http.Response, error)

RepositoryApiService Get tag Retrieve a tag in the specified repository. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the context repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param name The name of the tag to be retrieved.
  • @param repositorySlug The repository slug.

@return RestTag

func (*RepositoryApiService) GetTags

func (a *RepositoryApiService) GetTags(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetTagsOpts) (InlineResponse20046, *http.Response, error)

func (*RepositoryApiService) GetWebhook1

func (a *RepositoryApiService) GetWebhook1(ctx context.Context, projectKey string, webhookId string, repositorySlug string, localVarOptionals *RepositoryApiGetWebhook1Opts) (RestWebhook, *http.Response, error)

func (*RepositoryApiService) React

func (a *RepositoryApiService) React(ctx context.Context, projectKey string, commentId string, commitId string, emoticon string, repositorySlug string) (RestUserReaction, *http.Response, error)

RepositoryApiService React to a comment Add an emoticon reaction to a comment

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId The comment id
  • @param commitId The commit id
  • @param emoticon The emoticon to add
  • @param repositorySlug The repository slug.

@return RestUserReaction

func (*RepositoryApiService) RemoveConfiguration1

func (a *RepositoryApiService) RemoveConfiguration1(ctx context.Context, projectKey string, scriptId string, repositorySlug string) (*http.Response, error)

RepositoryApiService Remove a hook script Removes the hook script from the set of hook scripts configured to run in the repository. This endpoint requires **REPO_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param scriptId The ID of the hook script
  • @param repositorySlug The repository slug.

func (*RepositoryApiService) RemoveLabel

func (a *RepositoryApiService) RemoveLabel(ctx context.Context, projectKey string, labelName string, repositorySlug string) (*http.Response, error)

RepositoryApiService Remove repository label Remove label that is applied to the given repository. The authenticated user must have &lt;strong&gt;REPO_ADMIN&lt;/strong&gt; permission for the specified repository.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param labelName The label to remove
  • @param repositorySlug The repository slug.

func (*RepositoryApiService) SaveAttachmentMetadata

func (a *RepositoryApiService) SaveAttachmentMetadata(ctx context.Context, projectKey string, attachmentId string, repositorySlug string, localVarOptionals *RepositoryApiSaveAttachmentMetadataOpts) (*http.Response, error)

func (*RepositoryApiService) SearchWebhooks

func (a *RepositoryApiService) SearchWebhooks(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiSearchWebhooksOpts) (*http.Response, error)

func (*RepositoryApiService) SetAutoDeclineSettings1

func (a *RepositoryApiService) SetAutoDeclineSettings1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiSetAutoDeclineSettings1Opts) (RestAutoDeclineSettings, *http.Response, error)

func (*RepositoryApiService) SetConfiguration1

func (a *RepositoryApiService) SetConfiguration1(ctx context.Context, projectKey string, scriptId string, repositorySlug string, localVarOptionals *RepositoryApiSetConfiguration1Opts) (RestHookScriptConfig, *http.Response, error)

func (*RepositoryApiService) SetDefaultBranch1

func (a *RepositoryApiService) SetDefaultBranch1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiSetDefaultBranch1Opts) (*http.Response, error)

func (*RepositoryApiService) SetEnabled

func (a *RepositoryApiService) SetEnabled(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiSetEnabledOpts) (RestRefSyncStatus, *http.Response, error)

func (*RepositoryApiService) SetSettings1

func (a *RepositoryApiService) SetSettings1(ctx context.Context, projectKey string, hookKey string, repositorySlug string, localVarOptionals *RepositoryApiSetSettings1Opts) (ExampleSettings, *http.Response, error)

func (*RepositoryApiService) Stream

func (a *RepositoryApiService) Stream(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamOpts) (ExampleFiles, *http.Response, error)

func (*RepositoryApiService) Stream1

func (a *RepositoryApiService) Stream1(ctx context.Context, path string, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStream1Opts) (ExampleFiles, *http.Response, error)

func (*RepositoryApiService) StreamChanges

func (a *RepositoryApiService) StreamChanges(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamChangesOpts) (InlineResponse20034, *http.Response, error)

func (*RepositoryApiService) StreamCommits

func (a *RepositoryApiService) StreamCommits(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamCommitsOpts) (InlineResponse20035, *http.Response, error)

func (*RepositoryApiService) StreamDiff

func (a *RepositoryApiService) StreamDiff(ctx context.Context, commitId string, repositorySlug string, path string, projectKey string, localVarOptionals *RepositoryApiStreamDiffOpts) (RestDiff, *http.Response, error)

func (*RepositoryApiService) StreamDiff1

func (a *RepositoryApiService) StreamDiff1(ctx context.Context, path string, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamDiff1Opts) (InlineResponse20037, *http.Response, error)

func (*RepositoryApiService) StreamPatch

func (a *RepositoryApiService) StreamPatch(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamPatchOpts) (*http.Response, error)

func (*RepositoryApiService) StreamRaw

func (a *RepositoryApiService) StreamRaw(ctx context.Context, path string, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamRawOpts) (*http.Response, error)

func (*RepositoryApiService) StreamRawDiff

func (a *RepositoryApiService) StreamRawDiff(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamRawDiffOpts) (*http.Response, error)

func (*RepositoryApiService) StreamRawDiff1

func (a *RepositoryApiService) StreamRawDiff1(ctx context.Context, path string, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamRawDiff1Opts) (*http.Response, error)

func (*RepositoryApiService) Synchronize

func (a *RepositoryApiService) Synchronize(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiSynchronizeOpts) (RestRejectedRef, *http.Response, error)

func (*RepositoryApiService) UnReact

func (a *RepositoryApiService) UnReact(ctx context.Context, projectKey string, commentId string, commitId string, emoticon string, repositorySlug string) (*http.Response, error)

RepositoryApiService Remove a reaction from comment Remove an emoticon reaction from a comment

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param commentId The comment id
  • @param commitId The commit id
  • @param emoticon The emoticon to remove
  • @param repositorySlug The repository slug.

func (*RepositoryApiService) Unwatch

func (a *RepositoryApiService) Unwatch(ctx context.Context, projectKey string, commitId string, repositorySlug string) (*http.Response, error)

RepositoryApiService Stop watching commit Remove the authenticated user as a watcher for the specified commit. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository containing the commit to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param commitId The &lt;i&gt;full ID&lt;/i&gt; of the commit within the repository
  • @param repositorySlug The repository slug

func (*RepositoryApiService) Unwatch2

func (a *RepositoryApiService) Unwatch2(ctx context.Context, projectKey string, repositorySlug string) (*http.Response, error)

RepositoryApiService Stop watching repository Remove the authenticated user as a watcher for the specified repository. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

func (*RepositoryApiService) UpdateComment

func (a *RepositoryApiService) UpdateComment(ctx context.Context, projectKey string, commentId string, commitId string, repositorySlug string, localVarOptionals *RepositoryApiUpdateCommentOpts) (RestComment, *http.Response, error)

func (*RepositoryApiService) UpdatePullRequestSettings1

func (a *RepositoryApiService) UpdatePullRequestSettings1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiUpdatePullRequestSettings1Opts) (RestRepositoryPullRequestSettings, *http.Response, error)

func (*RepositoryApiService) UpdateWebhook1

func (a *RepositoryApiService) UpdateWebhook1(ctx context.Context, projectKey string, webhookId string, repositorySlug string, localVarOptionals *RepositoryApiUpdateWebhook1Opts) (RestWebhook, *http.Response, error)

func (*RepositoryApiService) Watch

func (a *RepositoryApiService) Watch(ctx context.Context, projectKey string, commitId string, repositorySlug string) (*http.Response, error)

RepositoryApiService Watch commit Add the authenticated user as a watcher for the specified commit. The authenticated user must have &lt;strong&gt;REPO_READ&lt;/strong&gt; permission for the repository containing the commit to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key
  • @param commitId The &lt;i&gt;full ID&lt;/i&gt; of the commit within the repository
  • @param repositorySlug The repository slug

func (*RepositoryApiService) Watch2

func (a *RepositoryApiService) Watch2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiWatch2Opts) (*http.Response, error)

type RepositoryApiSetAutoDeclineSettings1Opts

type RepositoryApiSetAutoDeclineSettings1Opts struct {
	Body optional.Interface
}

type RepositoryApiSetConfiguration1Opts

type RepositoryApiSetConfiguration1Opts struct {
	Body optional.Interface
}

type RepositoryApiSetDefaultBranch1Opts

type RepositoryApiSetDefaultBranch1Opts struct {
	Body optional.Interface
}

type RepositoryApiSetEnabledOpts

type RepositoryApiSetEnabledOpts struct {
	Body optional.Interface
}

type RepositoryApiSetSettings1Opts

type RepositoryApiSetSettings1Opts struct {
	Body optional.Interface
}

type RepositoryApiStream1Opts

type RepositoryApiStream1Opts struct {
	At optional.String
}

type RepositoryApiStreamChangesOpts

type RepositoryApiStreamChangesOpts struct {
	FromRepo optional.String
	From     optional.String
	To       optional.String
	Start    optional.Float64
	Limit    optional.Float64
}

type RepositoryApiStreamCommitsOpts

type RepositoryApiStreamCommitsOpts struct {
	FromRepo optional.String
	From     optional.String
	To       optional.String
	Start    optional.Float64
	Limit    optional.Float64
}

type RepositoryApiStreamDiff1Opts

type RepositoryApiStreamDiff1Opts struct {
	ContextLines optional.String
	FromRepo     optional.String
	SrcPath      optional.String
	From         optional.String
	To           optional.String
	Whitespace   optional.String
	Start        optional.Float64
	Limit        optional.Float64
}

type RepositoryApiStreamDiffOpts

type RepositoryApiStreamDiffOpts struct {
	SrcPath      optional.String
	AvatarSize   optional.String
	Filter       optional.String
	AvatarScheme optional.String
	ContextLines optional.String
	AutoSrcPath  optional.String
	Whitespace   optional.String
	WithComments optional.String
	Since        optional.String
}

type RepositoryApiStreamFiles1Opts

type RepositoryApiStreamFiles1Opts struct {
	At    optional.String
	Start optional.Float64
	Limit optional.Float64
}

type RepositoryApiStreamFilesOpts

type RepositoryApiStreamFilesOpts struct {
	At    optional.String
	Start optional.Float64
	Limit optional.Float64
}

type RepositoryApiStreamOpts

type RepositoryApiStreamOpts struct {
	At optional.String
}

type RepositoryApiStreamPatchOpts

type RepositoryApiStreamPatchOpts struct {
	Until        optional.String
	AllAncestors optional.String
	Since        optional.String
}

type RepositoryApiStreamRawDiff1Opts

type RepositoryApiStreamRawDiff1Opts struct {
	ContextLines optional.String
	SrcPath      optional.String
	Until        optional.String
	Whitespace   optional.String
	Since        optional.String
}

type RepositoryApiStreamRawDiffOpts

type RepositoryApiStreamRawDiffOpts struct {
	ContextLines optional.String
	SrcPath      optional.String
	Until        optional.String
	Whitespace   optional.String
	Since        optional.String
}

type RepositoryApiStreamRawOpts

type RepositoryApiStreamRawOpts struct {
	At               optional.String
	Markup           optional.String
	HtmlEscape       optional.String
	IncludeHeadingId optional.String
	Hardwrap         optional.String
}

type RepositoryApiSynchronizeOpts

type RepositoryApiSynchronizeOpts struct {
	Body optional.Interface
}

type RepositoryApiTestWebhook1Opts

type RepositoryApiTestWebhook1Opts struct {
	Body                    optional.Interface
	WebhookId               optional.Int32
	SslVerificationRequired optional.String
	Url                     optional.String
}

type RepositoryApiUpdateCommentOpts

type RepositoryApiUpdateCommentOpts struct {
	Body optional.Interface
}

type RepositoryApiUpdatePullRequestSettings1Opts

type RepositoryApiUpdatePullRequestSettings1Opts struct {
	Body optional.Interface
}

type RepositoryApiUpdateWebhook1Opts

type RepositoryApiUpdateWebhook1Opts struct {
	Body optional.Interface
}

type RepositoryApiWatch2Opts

type RepositoryApiWatch2Opts struct {
	Body optional.Interface
}

type RepositoryHookDetails

type RepositoryHookDetails struct {
	Version         string   `json:"version,omitempty"`
	Name            string   `json:"name,omitempty"`
	Key             string   `json:"key,omitempty"`
	Type_           string   `json:"type,omitempty"`
	ConfigFormKey   string   `json:"configFormKey,omitempty"`
	SupportedScopes []string `json:"supportedScopes,omitempty"`
	Description     string   `json:"description,omitempty"`
}

type RestAccessToken

type RestAccessToken struct {
	Name        string    `json:"name,omitempty"`
	Id          string    `json:"id,omitempty"`
	CreatedDate time.Time `json:"createdDate,omitempty"`
}

type RestAccessTokenRequest

type RestAccessTokenRequest struct {
	ExpiryDays  int32    `json:"expiryDays,omitempty"`
	Name        string   `json:"name,omitempty"`
	Permissions []string `json:"permissions,omitempty"`
}

type RestAggregateRejectCounter

type RestAggregateRejectCounter struct {
	LastRejectTime float64                         `json:"lastRejectTime,omitempty"`
	RejectCount    int64                           `json:"rejectCount,omitempty"`
	User           *RestPullRequestParticipantUser `json:"user,omitempty"`
}

type RestAnalyticsSettings

type RestAnalyticsSettings struct {
	SupportEntitlementNumber string `json:"supportEntitlementNumber,omitempty"`
	ServerTime               int64  `json:"serverTime,omitempty"`
	CanCollectAnalytics      bool   `json:"canCollectAnalytics,omitempty"`
}

type RestAnnouncementBanner

type RestAnnouncementBanner struct {
	Enabled  bool   `json:"enabled,omitempty"`
	Message  string `json:"message,omitempty"`
	Audience string `json:"audience,omitempty"`
}

type RestApplicationProperties

type RestApplicationProperties struct {
	Version     string `json:"version,omitempty"`
	DisplayName string `json:"displayName,omitempty"`
	BuildDate   string `json:"buildDate,omitempty"`
	BuildNumber string `json:"buildNumber,omitempty"`
}

type RestApplicationUser

type RestApplicationUser struct {
	Name         string       `json:"name,omitempty"`
	Id           int32        `json:"id,omitempty"`
	Type_        string       `json:"type,omitempty"`
	DisplayName  string       `json:"displayName,omitempty"`
	EmailAddress string       `json:"emailAddress,omitempty"`
	Slug         string       `json:"slug,omitempty"`
	Links        *interface{} `json:"links,omitempty"`
	Active       bool         `json:"active,omitempty"`
	AvatarUrl    string       `json:"avatarUrl,omitempty"`
}

type RestApplicationUserWithPermissions

type RestApplicationUserWithPermissions struct {
	EffectivePermissions *interface{} `json:"effectivePermissions,omitempty"`
	Id                   int32        `json:"id,omitempty"`
	Type_                string       `json:"type,omitempty"`
	DisplayName          string       `json:"displayName,omitempty"`
	Slug                 string       `json:"slug,omitempty"`
	Active               bool         `json:"active,omitempty"`
	Name                 string       `json:"name,omitempty"`
	EmailAddress         string       `json:"emailAddress,omitempty"`
	Links                *interface{} `json:"links,omitempty"`
	AvatarUrl            string       `json:"avatarUrl,omitempty"`
}

type RestApplySuggestionRequest

type RestApplySuggestionRequest struct {
	CommentVersion     *RestApplySuggestionRequestCommentVersion     `json:"commentVersion,omitempty"`
	CommitMessage      string                                        `json:"commitMessage,omitempty"`
	PullRequestVersion *RestApplySuggestionRequestPullRequestVersion `json:"pullRequestVersion,omitempty"`
	SuggestionIndex    *RestApplySuggestionRequestSuggestionIndex    `json:"suggestionIndex,omitempty"`
}

type RestApplySuggestionRequestCommentVersion

type RestApplySuggestionRequestCommentVersion struct {
	AsInt   int32 `json:"asInt,omitempty"`
	Present bool  `json:"present,omitempty"`
}

type RestApplySuggestionRequestPullRequestVersion

type RestApplySuggestionRequestPullRequestVersion struct {
	AsInt   int32 `json:"asInt,omitempty"`
	Present bool  `json:"present,omitempty"`
}

type RestApplySuggestionRequestSuggestionIndex

type RestApplySuggestionRequestSuggestionIndex struct {
	AsInt   int32 `json:"asInt,omitempty"`
	Present bool  `json:"present,omitempty"`
}

type RestAttachmentMetadata

type RestAttachmentMetadata struct {
	Id       int64  `json:"id,omitempty"`
	Metadata string `json:"metadata,omitempty"`
	Url      string `json:"url,omitempty"`
}

type RestAuthenticationRequest

type RestAuthenticationRequest struct {
	Credentials             *Credentials `json:"credentials"`
	RepositoryId            int32        `json:"repositoryId,omitempty"`
	RequiredPermissionsOnly bool         `json:"requiredPermissionsOnly,omitempty"`
}

type RestAutoDeclineSettings

type RestAutoDeclineSettings struct {
	InactivityWeeks int32                         `json:"inactivityWeeks,omitempty"`
	Enabled         bool                          `json:"enabled,omitempty"`
	Scope           *RestAutoDeclineSettingsScope `json:"scope,omitempty"`
}

type RestAutoDeclineSettingsRequest

type RestAutoDeclineSettingsRequest struct {
	Enabled         bool  `json:"enabled,omitempty"`
	InactivityWeeks int32 `json:"inactivityWeeks,omitempty"`
}

type RestAutoDeclineSettingsScope

type RestAutoDeclineSettingsScope struct {
	Type_      string `json:"type,omitempty"`
	ResourceId int32  `json:"resourceId,omitempty"`
}

type RestBearerTokenCredentials

type RestBearerTokenCredentials struct {
	Token string `json:"token"`
}

type RestBitbucketLicense

type RestBitbucketLicense struct {
	NumberOfDaysBeforeExpiry            int32                       `json:"numberOfDaysBeforeExpiry,omitempty"`
	NumberOfDaysBeforeGracePeriodExpiry int32                       `json:"numberOfDaysBeforeGracePeriodExpiry,omitempty"`
	NumberOfDaysBeforeMaintenanceExpiry int32                       `json:"numberOfDaysBeforeMaintenanceExpiry,omitempty"`
	SupportEntitlementNumber            string                      `json:"supportEntitlementNumber,omitempty"`
	UnlimitedNumberOfUsers              bool                        `json:"unlimitedNumberOfUsers,omitempty"`
	ServerId                            string                      `json:"serverId,omitempty"`
	CreationDate                        int64                       `json:"creationDate,omitempty"`
	DaysBeforeExpiry                    int32                       `json:"daysBeforeExpiry,omitempty"`
	ExpiryDate                          int64                       `json:"expiryDate,omitempty"`
	GracePeriodEndDate                  int64                       `json:"gracePeriodEndDate,omitempty"`
	MaintenanceExpiryDate               int64                       `json:"maintenanceExpiryDate,omitempty"`
	MaximumNumberOfUsers                int32                       `json:"maximumNumberOfUsers,omitempty"`
	PurchaseDate                        int64                       `json:"purchaseDate,omitempty"`
	Status                              *RestBitbucketLicenseStatus `json:"status,omitempty"`
	License                             string                      `json:"license,omitempty"`
}

type RestBitbucketLicenseStatus

type RestBitbucketLicenseStatus struct {
	ServerId             string `json:"serverId,omitempty"`
	CurrentNumberOfUsers int32  `json:"currentNumberOfUsers,omitempty"`
}

type RestBranchCreateRequest

type RestBranchCreateRequest struct {
	// Name of the branch to be created
	Name string `json:"name,omitempty"`
	// Commit ID from which the branch is created
	StartPoint string `json:"startPoint,omitempty"`
}

type RestBranchDeleteRequest

type RestBranchDeleteRequest struct {
	// Don't actually delete the ref name, just do a dry run
	DryRun bool `json:"dryRun,omitempty"`
	// Commit ID that the provided ref name is expected to point to
	EndPoint string `json:"endPoint,omitempty"`
	// Name of the ref to be deleted
	Name string `json:"name,omitempty"`
}

type RestBuildCapabilities

type RestBuildCapabilities struct {
	BuildStatus []string `json:"buildStatus,omitempty"`
}

type RestBuildStats

type RestBuildStats struct {
	Cancelled  int32 `json:"cancelled,omitempty"`
	Successful int32 `json:"successful,omitempty"`
	InProgress int32 `json:"inProgress,omitempty"`
	Failed     int32 `json:"failed,omitempty"`
	Unknown    int32 `json:"unknown,omitempty"`
}

type RestBuildStatus

type RestBuildStatus struct {
	Name        string                      `json:"name,omitempty"`
	Key         string                      `json:"key,omitempty"`
	Parent      string                      `json:"parent,omitempty"`
	State       string                      `json:"state,omitempty"`
	Ref         string                      `json:"ref,omitempty"`
	TestResults *RestBuildStatusTestResults `json:"testResults,omitempty"`
	BuildNumber string                      `json:"buildNumber,omitempty"`
	Description string                      `json:"description,omitempty"`
	Duration    int64                       `json:"duration,omitempty"`
	UpdatedDate int64                       `json:"updatedDate,omitempty"`
	CreatedDate int64                       `json:"createdDate,omitempty"`
	Url         string                      `json:"url,omitempty"`
}

type RestBuildStatusSetRequest

type RestBuildStatusSetRequest struct {
	BuildNumber string                                `json:"buildNumber,omitempty"`
	Description string                                `json:"description,omitempty"`
	Duration    int64                                 `json:"duration,omitempty"`
	Key         string                                `json:"key"`
	LastUpdated int64                                 `json:"lastUpdated,omitempty"`
	Name        string                                `json:"name,omitempty"`
	Parent      string                                `json:"parent,omitempty"`
	Ref         string                                `json:"ref,omitempty"`
	State       string                                `json:"state"`
	TestResults *RestBuildStatusSetRequestTestResults `json:"testResults,omitempty"`
	Url         string                                `json:"url"`
}

type RestBuildStatusSetRequestTestResults

type RestBuildStatusSetRequestTestResults struct {
	Failed     int32 `json:"failed,omitempty"`
	Skipped    int32 `json:"skipped,omitempty"`
	Successful int32 `json:"successful,omitempty"`
}

type RestBuildStatusTestResults

type RestBuildStatusTestResults struct {
	Skipped    int32 `json:"skipped,omitempty"`
	Successful int32 `json:"successful,omitempty"`
	Failed     int32 `json:"failed,omitempty"`
}

type RestBulkAddInsightAnnotationRequest

type RestBulkAddInsightAnnotationRequest struct {
	Annotations []RestSingleAddInsightAnnotationRequest `json:"annotations,omitempty"`
}

type RestBulkUserRateLimitSettingsUpdateRequest

type RestBulkUserRateLimitSettingsUpdateRequest struct {
	Settings    *RestBulkUserRateLimitSettingsUpdateRequestSettings `json:"settings,omitempty"`
	Usernames   []string                                            `json:"usernames,omitempty"`
	Whitelisted bool                                                `json:"whitelisted,omitempty"`
}

type RestBulkUserRateLimitSettingsUpdateRequestSettings

type RestBulkUserRateLimitSettingsUpdateRequestSettings struct {
	Capacity int32 `json:"capacity,omitempty"`
	FillRate int32 `json:"fillRate,omitempty"`
}

type RestChange

type RestChange struct {
	Type_            string                           `json:"type,omitempty"`
	Path             *RestCommentThreadDiffAnchorPath `json:"path,omitempty"`
	Conflict         *RestChangeConflict              `json:"conflict,omitempty"`
	ContentId        string                           `json:"contentId,omitempty"`
	FromContentId    string                           `json:"fromContentId,omitempty"`
	PercentUnchanged int32                            `json:"percentUnchanged,omitempty"`
	SrcExecutable    bool                             `json:"srcExecutable,omitempty"`
	NodeType         string                           `json:"nodeType,omitempty"`
	Executable       bool                             `json:"executable,omitempty"`
	SrcPath          *RestCommentThreadDiffAnchorPath `json:"srcPath,omitempty"`
	Links            *interface{}                     `json:"links,omitempty"`
}

type RestChangeConflict

type RestChangeConflict struct {
	TheirChange *RestChangeConflictTheirChange `json:"theirChange,omitempty"`
	OurChange   *RestChangeConflictTheirChange `json:"ourChange,omitempty"`
}

type RestChangeConflictTheirChange

type RestChangeConflictTheirChange struct {
	Type_   string                           `json:"type,omitempty"`
	Path    *RestCommentThreadDiffAnchorPath `json:"path,omitempty"`
	SrcPath *RestCommentThreadDiffAnchorPath `json:"srcPath,omitempty"`
}

type RestChangeset

type RestChangeset struct {
	FromCommit *RestChangesetFromCommit          `json:"fromCommit,omitempty"`
	ToCommit   *RestChangesetToCommit            `json:"toCommit,omitempty"`
	Changes    *RestChangesetChanges             `json:"changes,omitempty"`
	Repository *RestPullRequestFromRefRepository `json:"repository,omitempty"`
	Links      *interface{}                      `json:"links,omitempty"`
}

type RestChangesetChanges

type RestChangesetChanges struct {
	Values        *interface{} `json:"values,omitempty"`
	Size          int32        `json:"size,omitempty"`
	Limit         int32        `json:"limit,omitempty"`
	IsLastPage    bool         `json:"isLastPage,omitempty"`
	NextPageStart int32        `json:"nextPageStart,omitempty"`
	Start         int32        `json:"start,omitempty"`
}

type RestChangesetFromCommit

type RestChangesetFromCommit struct {
	Id        string `json:"id,omitempty"`
	DisplayId string `json:"displayId,omitempty"`
}

type RestChangesetToCommit

type RestChangesetToCommit struct {
	Message            string                          `json:"message,omitempty"`
	CommitterTimestamp int64                           `json:"committerTimestamp,omitempty"`
	Committer          *RestChangesetToCommitCommitter `json:"committer,omitempty"`
	AuthorTimestamp    int64                           `json:"authorTimestamp,omitempty"`
	Parents            []RestMinimalCommit             `json:"parents,omitempty"`
	Author             *RestChangesetToCommitCommitter `json:"author,omitempty"`
	Id                 string                          `json:"id,omitempty"`
	DisplayId          string                          `json:"displayId,omitempty"`
}

type RestChangesetToCommitCommitter

type RestChangesetToCommitCommitter struct {
	Name         string `json:"name,omitempty"`
	AvatarUrl    string `json:"avatarUrl,omitempty"`
	EmailAddress string `json:"emailAddress,omitempty"`
}

type RestClusterInformation

type RestClusterInformation struct {
	LocalNode *RestClusterInformationLocalNode `json:"localNode,omitempty"`
	Running   bool                             `json:"running,omitempty"`
	Nodes     []RestClusterNode                `json:"nodes,omitempty"`
}

type RestClusterInformationLocalNode

type RestClusterInformationLocalNode struct {
	Address      *RestClusterNodeAddress `json:"address,omitempty"`
	Name         string                  `json:"name,omitempty"`
	Id           string                  `json:"id,omitempty"`
	BuildVersion string                  `json:"buildVersion,omitempty"`
	Local        bool                    `json:"local,omitempty"`
}

type RestClusterNode

type RestClusterNode struct {
	Address      *RestClusterNodeAddress `json:"address,omitempty"`
	Name         string                  `json:"name,omitempty"`
	Id           string                  `json:"id,omitempty"`
	BuildVersion string                  `json:"buildVersion,omitempty"`
	Local        bool                    `json:"local,omitempty"`
}

type RestClusterNodeAddress

type RestClusterNodeAddress struct {
	Address string `json:"address,omitempty"`
	Port    int32  `json:"port,omitempty"`
}

type RestComment

type RestComment struct {
	Version            int32                                        `json:"version,omitempty"`
	Parent             *RestUserReactionCommentParent               `json:"parent,omitempty"`
	Id                 int64                                        `json:"id,omitempty"`
	State              string                                       `json:"state,omitempty"`
	Comments           []RestComment                                `json:"comments,omitempty"`
	Severity           string                                       `json:"severity,omitempty"`
	UpdatedDate        int64                                        `json:"updatedDate,omitempty"`
	ThreadResolvedDate int64                                        `json:"threadResolvedDate,omitempty"`
	ThreadResolver     *RestUserReactionCommentParentThreadResolver `json:"threadResolver,omitempty"`
	Anchored           bool                                         `json:"anchored,omitempty"`
	Pending            bool                                         `json:"pending,omitempty"`
	// Indicates if this comment thread has been marked as resolved or not
	ThreadResolved bool                                         `json:"threadResolved,omitempty"`
	Resolver       *RestUserReactionCommentParentThreadResolver `json:"resolver,omitempty"`
	ResolvedDate   int64                                        `json:"resolvedDate,omitempty"`
	Author         *RestUserReactionCommentParentThreadResolver `json:"author,omitempty"`
	CreatedDate    int64                                        `json:"createdDate,omitempty"`
	Anchor         *RestUserReactionCommentParentAnchor         `json:"anchor,omitempty"`
	Html           string                                       `json:"html,omitempty"`
	Reply          bool                                         `json:"reply,omitempty"`
	Text           string                                       `json:"text,omitempty"`
	Properties     *interface{}                                 `json:"properties,omitempty"`
}

type RestCommentJiraIssue

type RestCommentJiraIssue struct {
	CommentId int64  `json:"commentId,omitempty"`
	IssueKey  string `json:"issueKey,omitempty"`
}

type RestCommentThreadDiffAnchor

type RestCommentThreadDiffAnchor struct {
	Path        *RestCommentThreadDiffAnchorPath        `json:"path,omitempty"`
	LineType    string                                  `json:"lineType,omitempty"`
	FromHash    string                                  `json:"fromHash,omitempty"`
	FileType    string                                  `json:"fileType,omitempty"`
	DiffType    string                                  `json:"diffType,omitempty"`
	PullRequest *RestCommentThreadDiffAnchorPullRequest `json:"pullRequest,omitempty"`
	SrcPath     *RestCommentThreadDiffAnchorPath        `json:"srcPath,omitempty"`
	ToHash      string                                  `json:"toHash,omitempty"`
	LineComment bool                                    `json:"lineComment,omitempty"`
	Line        int32                                   `json:"line,omitempty"`
}

type RestCommentThreadDiffAnchorPath

type RestCommentThreadDiffAnchorPath struct {
	Name       string   `json:"name,omitempty"`
	Parent     string   `json:"parent,omitempty"`
	Extension  string   `json:"extension,omitempty"`
	Components []string `json:"components,omitempty"`
}

type RestCommentThreadDiffAnchorPullRequest

type RestCommentThreadDiffAnchorPullRequest struct {
	Locked          bool                         `json:"locked,omitempty"`
	Version         int32                        `json:"version,omitempty"`
	Id              int64                        `json:"id,omitempty"`
	State           string                       `json:"state,omitempty"`
	Open            bool                         `json:"open,omitempty"`
	Description     string                       `json:"description,omitempty"`
	ClosedDate      int64                        `json:"closedDate,omitempty"`
	FromRef         *RestPullRequestFromRef      `json:"fromRef,omitempty"`
	Participants    []RestPullRequestParticipant `json:"participants,omitempty"`
	Reviewers       []RestPullRequestParticipant `json:"reviewers,omitempty"`
	UpdatedDate     int64                        `json:"updatedDate,omitempty"`
	HtmlDescription string                       `json:"htmlDescription,omitempty"`
	CreatedDate     int64                        `json:"createdDate,omitempty"`
	Closed          bool                         `json:"closed,omitempty"`
	Title           string                       `json:"title,omitempty"`
	ToRef           *RestPullRequestFromRef      `json:"toRef,omitempty"`
	Links           *interface{}                 `json:"links,omitempty"`
}

type RestCommit

type RestCommit struct {
	Message            string                          `json:"message,omitempty"`
	CommitterTimestamp int64                           `json:"committerTimestamp,omitempty"`
	Committer          *RestChangesetToCommitCommitter `json:"committer,omitempty"`
	AuthorTimestamp    int64                           `json:"authorTimestamp,omitempty"`
	Parents            []RestMinimalCommit             `json:"parents,omitempty"`
	Author             *RestChangesetToCommitCommitter `json:"author,omitempty"`
	Id                 string                          `json:"id,omitempty"`
	DisplayId          string                          `json:"displayId,omitempty"`
}

type RestCommitMessageSuggestion

type RestCommitMessageSuggestion struct {
	Title string `json:"title,omitempty"`
	Body  string `json:"body,omitempty"`
}

type RestConflict

type RestConflict struct {
	TheirChange *RestChangeConflictTheirChange `json:"theirChange,omitempty"`
	OurChange   *RestChangeConflictTheirChange `json:"ourChange,omitempty"`
}

type RestConflictChange

type RestConflictChange struct {
	Type_   string                           `json:"type,omitempty"`
	Path    *RestCommentThreadDiffAnchorPath `json:"path,omitempty"`
	SrcPath *RestCommentThreadDiffAnchorPath `json:"srcPath,omitempty"`
}

type RestConnectivitySummary

type RestConnectivitySummary struct {
	RoundTripTime int64  `json:"roundTripTime,omitempty"`
	Reachable     bool   `json:"reachable,omitempty"`
	ErrorMessage  string `json:"errorMessage,omitempty"`
}

type RestCreateBranchRequest

type RestCreateBranchRequest struct {
	Message    string `json:"message,omitempty"`
	Name       string `json:"name,omitempty"`
	StartPoint string `json:"startPoint,omitempty"`
}

type RestCreateTagRequest

type RestCreateTagRequest struct {
	Message    string `json:"message,omitempty"`
	Name       string `json:"name,omitempty"`
	StartPoint string `json:"startPoint,omitempty"`
}

type RestDefaultBranch

type RestDefaultBranch struct {
	Id string `json:"id,omitempty"`
}

type RestDefaultReviewersRequest

type RestDefaultReviewersRequest struct {
	RequiredApprovals int32                                                                                `json:"requiredApprovals,omitempty"`
	Reviewers         []RestApplicationUser                                                                `json:"reviewers,omitempty"`
	SourceMatcher     *DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcher `json:"sourceMatcher,omitempty"`
	TargetMatcher     *DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcher `json:"targetMatcher,omitempty"`
}

type RestDeployment

type RestDeployment struct {
	Key                      string                            `json:"key,omitempty"`
	State                    string                            `json:"state,omitempty"`
	DisplayName              string                            `json:"displayName,omitempty"`
	DeploymentSequenceNumber int64                             `json:"deploymentSequenceNumber,omitempty"`
	FromCommit               *RestChangesetFromCommit          `json:"fromCommit,omitempty"`
	ToCommit                 *RestChangesetFromCommit          `json:"toCommit,omitempty"`
	Repository               *RestPullRequestFromRefRepository `json:"repository,omitempty"`
	LastUpdated              int64                             `json:"lastUpdated,omitempty"`
	Description              string                            `json:"description,omitempty"`
	Environment              *RestDeploymentEnvironment        `json:"environment,omitempty"`
	Url                      string                            `json:"url,omitempty"`
}

type RestDeploymentEnvironment

type RestDeploymentEnvironment struct {
	Key         string `json:"key"`
	Type_       string `json:"type,omitempty"`
	DisplayName string `json:"displayName"`
	Url         string `json:"url,omitempty"`
}

type RestDeploymentSetRequest

type RestDeploymentSetRequest struct {
	DeploymentSequenceNumber int64                      `json:"deploymentSequenceNumber"`
	Description              string                     `json:"description"`
	DisplayName              string                     `json:"displayName"`
	Environment              *RestDeploymentEnvironment `json:"environment"`
	Key                      string                     `json:"key"`
	LastUpdated              int64                      `json:"lastUpdated,omitempty"`
	State                    string                     `json:"state"`
	Url                      string                     `json:"url"`
}

type RestDetailedGroup

type RestDetailedGroup struct {
	Name      string `json:"name,omitempty"`
	Deletable bool   `json:"deletable,omitempty"`
}

type RestDetailedInvocation

type RestDetailedInvocation struct {
	Start      int32                             `json:"start,omitempty"`
	Id         int32                             `json:"id,omitempty"`
	Result     *interface{}                      `json:"result,omitempty"`
	EventScope *RestDetailedInvocationEventScope `json:"eventScope,omitempty"`
	Request    *interface{}                      `json:"request,omitempty"`
	Duration   int32                             `json:"duration,omitempty"`
	Finish     int32                             `json:"finish,omitempty"`
	Event      string                            `json:"event,omitempty"`
}

type RestDetailedInvocationEventScope

type RestDetailedInvocationEventScope struct {
	Id    string `json:"id,omitempty"`
	Type_ string `json:"type,omitempty"`
}

type RestDetailedUser

type RestDetailedUser struct {
	LastAuthenticationTimestamp float64      `json:"lastAuthenticationTimestamp,omitempty"`
	MutableDetails              bool         `json:"mutableDetails,omitempty"`
	Deletable                   bool         `json:"deletable,omitempty"`
	MutableGroups               bool         `json:"mutableGroups,omitempty"`
	DirectoryName               string       `json:"directoryName,omitempty"`
	Name                        string       `json:"name,omitempty"`
	Id                          int32        `json:"id,omitempty"`
	Type_                       string       `json:"type,omitempty"`
	DisplayName                 string       `json:"displayName,omitempty"`
	EmailAddress                string       `json:"emailAddress,omitempty"`
	Slug                        string       `json:"slug,omitempty"`
	Links                       *interface{} `json:"links,omitempty"`
	Active                      bool         `json:"active,omitempty"`
	AvatarUrl                   string       `json:"avatarUrl,omitempty"`
}

type RestDiff

type RestDiff struct {
	LineComments []RestComment                    `json:"lineComments,omitempty"`
	Source       *RestCommentThreadDiffAnchorPath `json:"source,omitempty"`
	Destination  *RestCommentThreadDiffAnchorPath `json:"destination,omitempty"`
	Truncated    bool                             `json:"truncated,omitempty"`
	Binary       bool                             `json:"binary,omitempty"`
	Hunks        []RestDiffHunk                   `json:"hunks,omitempty"`
	Properties   *interface{}                     `json:"properties,omitempty"`
}

type RestDiffHunk

type RestDiffHunk struct {
	Context         string            `json:"context,omitempty"`
	SourceLine      int32             `json:"sourceLine,omitempty"`
	SourceSpan      int32             `json:"sourceSpan,omitempty"`
	DestinationLine int32             `json:"destinationLine,omitempty"`
	DestinationSpan int32             `json:"destinationSpan,omitempty"`
	Segments        []RestDiffSegment `json:"segments,omitempty"`
	Truncated       bool              `json:"truncated,omitempty"`
}

type RestDiffLine

type RestDiffLine struct {
	ConflictMarker string  `json:"conflictMarker,omitempty"`
	CommentIds     []int64 `json:"commentIds,omitempty"`
	Source         int32   `json:"source,omitempty"`
	Destination    int32   `json:"destination,omitempty"`
	Truncated      bool    `json:"truncated,omitempty"`
	Line           string  `json:"line,omitempty"`
}

type RestDiffSegment

type RestDiffSegment struct {
	Type_     string         `json:"type,omitempty"`
	Truncated bool           `json:"truncated,omitempty"`
	Lines     []RestDiffLine `json:"lines,omitempty"`
}

type RestEmoticon

type RestEmoticon struct {
	Value    string `json:"value,omitempty"`
	Shortcut string `json:"shortcut,omitempty"`
	Url      string `json:"url,omitempty"`
}
type RestEnhancedEntityLink struct {
	ProjectName       string `json:"projectName,omitempty"`
	ApplicationLinkId string `json:"applicationLinkId,omitempty"`
	DisplayUrl        string `json:"displayUrl,omitempty"`
	ProjectId         int64  `json:"projectId,omitempty"`
	ProjectKey        string `json:"projectKey,omitempty"`
}

type RestErasedUser

type RestErasedUser struct {
	NewIdentifier string `json:"newIdentifier,omitempty"`
}

type RestErrorMessage

type RestErrorMessage struct {
	Message       string `json:"message,omitempty"`
	Context       string `json:"context,omitempty"`
	ExceptionName string `json:"exceptionName,omitempty"`
}

type RestErrors

type RestErrors struct {
	Errors []RestErrorMessage `json:"errors,omitempty"`
}

type RestExportRequest

type RestExportRequest struct {
	ExportLocation      string                                `json:"exportLocation,omitempty"`
	RepositoriesRequest *RestExportRequestRepositoriesRequest `json:"repositoriesRequest"`
}

type RestExportRequestRepositoriesRequest

type RestExportRequestRepositoriesRequest struct {
	Includes []RestRepositorySelector `json:"includes"`
}

type RestFarmSynchronizationRequest

type RestFarmSynchronizationRequest struct {
	Attempt        int32  `json:"attempt,omitempty"`
	CreatedAt      string `json:"createdAt,omitempty"`
	ExternalRepoId string `json:"externalRepoId,omitempty"`
	Type_          string `json:"type,omitempty"`
}

type RestGitTagCreateRequest

type RestGitTagCreateRequest struct {
	Force      bool   `json:"force,omitempty"`
	Message    string `json:"message,omitempty"`
	Name       string `json:"name,omitempty"`
	StartPoint string `json:"startPoint,omitempty"`
	Type_      string `json:"type,omitempty"`
}

type RestGpgKey

type RestGpgKey struct {
	Id           string          `json:"id,omitempty"`
	ExpiryDate   int64           `json:"expiryDate,omitempty"`
	SubKeys      []RestGpgSubKey `json:"subKeys,omitempty"`
	Fingerprint  string          `json:"fingerprint,omitempty"`
	EmailAddress string          `json:"emailAddress,omitempty"`
	Text         string          `json:"text,omitempty"`
}

type RestGpgSubKey

type RestGpgSubKey struct {
	ExpiryDate  time.Time `json:"expiryDate,omitempty"`
	Fingerprint string    `json:"fingerprint,omitempty"`
}

type RestHookScript

type RestHookScript struct {
	Version     int32     `json:"version,omitempty"`
	Name        string    `json:"name,omitempty"`
	Id          int64     `json:"id,omitempty"`
	Type_       string    `json:"type,omitempty"`
	PluginKey   string    `json:"pluginKey,omitempty"`
	Description string    `json:"description,omitempty"`
	UpdatedDate time.Time `json:"updatedDate,omitempty"`
	CreatedDate time.Time `json:"createdDate,omitempty"`
}

type RestHookScriptConfig

type RestHookScriptConfig struct {
	Script     *RestHookScriptConfigScript   `json:"script,omitempty"`
	Scope      *RestAutoDeclineSettingsScope `json:"scope,omitempty"`
	TriggerIds []string                      `json:"triggerIds,omitempty"`
}

type RestHookScriptConfigScript

type RestHookScriptConfigScript struct {
	Version     int32     `json:"version,omitempty"`
	Name        string    `json:"name,omitempty"`
	Id          int64     `json:"id,omitempty"`
	Type_       string    `json:"type,omitempty"`
	PluginKey   string    `json:"pluginKey,omitempty"`
	Description string    `json:"description,omitempty"`
	UpdatedDate time.Time `json:"updatedDate,omitempty"`
	CreatedDate time.Time `json:"createdDate,omitempty"`
}

type RestHookScriptTriggers

type RestHookScriptTriggers struct {
	TriggerIds []string `json:"triggerIds,omitempty"`
}

type RestImportRequest

type RestImportRequest struct {
	ArchivePath string `json:"archivePath,omitempty"`
}

type RestInsightAnnotation

type RestInsightAnnotation struct {
	Message    string `json:"message,omitempty"`
	Type_      string `json:"type,omitempty"`
	Path       string `json:"path,omitempty"`
	Severity   string `json:"severity,omitempty"`
	ReportKey  string `json:"reportKey,omitempty"`
	ExternalId string `json:"externalId,omitempty"`
	Link       string `json:"link,omitempty"`
	Line       int32  `json:"line,omitempty"`
}

type RestInsightAnnotationsResponse

type RestInsightAnnotationsResponse struct {
	Annotations []RestInsightAnnotation `json:"annotations,omitempty"`
}

type RestInsightReport

type RestInsightReport struct {
	Key         string                  `json:"key,omitempty"`
	Result      string                  `json:"result,omitempty"`
	CreatedDate float64                 `json:"createdDate,omitempty"`
	Reporter    string                  `json:"reporter,omitempty"`
	Details     string                  `json:"details,omitempty"`
	LogoUrl     string                  `json:"logoUrl,omitempty"`
	Link        string                  `json:"link,omitempty"`
	Title       string                  `json:"title,omitempty"`
	Data        []RestInsightReportData `json:"data,omitempty"`
}

type RestInsightReportData

type RestInsightReportData struct {
	Value *interface{} `json:"value,omitempty"`
	Type_ string       `json:"type,omitempty"`
	Title string       `json:"title,omitempty"`
}

type RestJiraIssue

type RestJiraIssue struct {
	Key string `json:"key,omitempty"`
	Url string `json:"url,omitempty"`
}

type RestJob

type RestJob struct {
	Progress    *RestJobProgress                `json:"progress,omitempty"`
	Id          int64                           `json:"id,omitempty"`
	State       string                          `json:"state,omitempty"`
	Type_       string                          `json:"type,omitempty"`
	EndDate     int64                           `json:"endDate,omitempty"`
	StartDate   int64                           `json:"startDate,omitempty"`
	NodeId      string                          `json:"nodeId,omitempty"`
	Initiator   *RestPullRequestParticipantUser `json:"initiator,omitempty"`
	UpdatedDate int64                           `json:"updatedDate,omitempty"`
}

type RestJobMessage

type RestJobMessage struct {
	Subject     string    `json:"subject,omitempty"`
	Id          string    `json:"id,omitempty"`
	Severity    string    `json:"severity,omitempty"`
	CreatedDate time.Time `json:"createdDate,omitempty"`
	Text        string    `json:"text,omitempty"`
}

type RestJobProgress

type RestJobProgress struct {
	Message    string `json:"message,omitempty"`
	Percentage int32  `json:"percentage,omitempty"`
}

type RestLabel

type RestLabel struct {
	Name string `json:"name,omitempty"`
}

type RestLabelable

type RestLabelable struct {
	LabelableType string                                   `json:"labelableType,omitempty"`
	Name          string                                   `json:"name,omitempty"`
	Id            int32                                    `json:"id,omitempty"`
	State         string                                   `json:"state,omitempty"`
	Public        bool                                     `json:"public,omitempty"`
	Project       *RestPullRequestFromRefRepositoryProject `json:"project,omitempty"`
	Description   string                                   `json:"description,omitempty"`
	DefaultBranch string                                   `json:"defaultBranch,omitempty"`
	RelatedLinks  *interface{}                             `json:"relatedLinks,omitempty"`
	Partition     int32                                    `json:"partition,omitempty"`
	Origin        *RestPullRequestFromRefRepositoryOrigin  `json:"origin,omitempty"`
	HierarchyId   string                                   `json:"hierarchyId,omitempty"`
	StatusMessage string                                   `json:"statusMessage,omitempty"`
	Archived      bool                                     `json:"archived,omitempty"`
	Forkable      bool                                     `json:"forkable,omitempty"`
	ScmId         string                                   `json:"scmId,omitempty"`
	Slug          string                                   `json:"slug,omitempty"`
	Scope         string                                   `json:"scope,omitempty"`
	Links         *interface{}                             `json:"links,omitempty"`
}

type RestLogLevel

type RestLogLevel struct {
	LogLevel string `json:"logLevel,omitempty"`
}

type RestMailConfiguration

type RestMailConfiguration struct {
	Protocol        string `json:"protocol,omitempty"`
	Port            int32  `json:"port,omitempty"`
	Hostname        string `json:"hostname,omitempty"`
	RequireStartTls bool   `json:"requireStartTls,omitempty"`
	UseStartTls     bool   `json:"useStartTls,omitempty"`
	Username        string `json:"username,omitempty"`
	Password        string `json:"password,omitempty"`
	SenderAddress   string `json:"senderAddress,omitempty"`
}

type RestMarkup

type RestMarkup struct {
	Html string `json:"html,omitempty"`
}

type RestMeshConnectivityReport

type RestMeshConnectivityReport struct {
	Reports []RestNodeConnectivityReport `json:"reports,omitempty"`
}

type RestMeshMigrationRequest

type RestMeshMigrationRequest struct {
	All               bool                                     `json:"all,omitempty"`
	MaxBytesPerSecond *ApilatestmigrationmeshMaxBytesPerSecond `json:"maxBytesPerSecond,omitempty"`
	ProjectIds        []int32                                  `json:"projectIds,omitempty"`
	RepositoryIds     []int32                                  `json:"repositoryIds,omitempty"`
}

type RestMeshMigrationSummary

type RestMeshMigrationSummary struct {
	Progress     int32        `json:"progress,omitempty"`
	Queue        *interface{} `json:"queue,omitempty"`
	State        string       `json:"state,omitempty"`
	StartTime    int64        `json:"startTime,omitempty"`
	EndTime      int64        `json:"endTime,omitempty"`
	MaxBandwidth int64        `json:"maxBandwidth,omitempty"`
	JobId        int64        `json:"jobId,omitempty"`
}

type RestMeshNode

type RestMeshNode struct {
	Name         string  `json:"name,omitempty"`
	Id           string  `json:"id,omitempty"`
	State        string  `json:"state,omitempty"`
	RpcUrl       string  `json:"rpcUrl,omitempty"`
	LastSeenDate float64 `json:"lastSeenDate,omitempty"`
	Offline      bool    `json:"offline,omitempty"`
	RpcId        string  `json:"rpcId,omitempty"`
}

type RestMigrationRepository

type RestMigrationRepository struct {
	MigrationState string                            `json:"migrationState,omitempty"`
	Repository     *RestPullRequestFromRefRepository `json:"repository,omitempty"`
}

type RestMinimalCommit

type RestMinimalCommit struct {
	Id        string `json:"id,omitempty"`
	DisplayId string `json:"displayId,omitempty"`
}

type RestMinimalRef

type RestMinimalRef struct {
	Id        string `json:"id,omitempty"`
	Type_     string `json:"type,omitempty"`
	DisplayId string `json:"displayId,omitempty"`
}

type RestMirrorHashes

type RestMirrorHashes struct {
	Content  string `json:"content,omitempty"`
	Metadata string `json:"metadata,omitempty"`
}

type RestMirrorRepositorySynchronizationStatus

type RestMirrorRepositorySynchronizationStatus struct {
	ExternalRepoId  string                                           `json:"externalRepoId,omitempty"`
	FailedSyncCount int32                                            `json:"failedSyncCount,omitempty"`
	Hashes          *RestMirrorRepositorySynchronizationStatusHashes `json:"hashes,omitempty"`
	LastSyncDate    time.Time                                        `json:"lastSyncDate,omitempty"`
	LocalProjectId  int32                                            `json:"localProjectId,omitempty"`
	LocalRepoId     int32                                            `json:"localRepoId,omitempty"`
	UpstreamId      string                                           `json:"upstreamId,omitempty"`
	InitialSyncDate time.Time                                        `json:"initialSyncDate,omitempty"`
}

type RestMirrorRepositorySynchronizationStatusHashes

type RestMirrorRepositorySynchronizationStatusHashes struct {
	Content  string `json:"content,omitempty"`
	Metadata string `json:"metadata,omitempty"`
}

type RestMirrorServer

type RestMirrorServer struct {
	Enabled        bool      `json:"enabled,omitempty"`
	Name           string    `json:"name,omitempty"`
	Id             string    `json:"id,omitempty"`
	ProductType    string    `json:"productType,omitempty"`
	ProductVersion string    `json:"productVersion,omitempty"`
	MirrorType     string    `json:"mirrorType,omitempty"`
	LastSeenDate   time.Time `json:"lastSeenDate,omitempty"`
	BaseUrl        string    `json:"baseUrl,omitempty"`
}

type RestMirrorUpgradeRequest

type RestMirrorUpgradeRequest struct {
	AddonDescriptorUri string `json:"addonDescriptorUri,omitempty"`
	BaseUrl            string `json:"baseUrl,omitempty"`
	ProductType        string `json:"productType,omitempty"`
	ProductVersion     string `json:"productVersion,omitempty"`
}

type RestMirroredRepository

type RestMirroredRepository struct {
	Available    bool            `json:"available,omitempty"`
	RepositoryId string          `json:"repositoryId,omitempty"`
	Status       string          `json:"status,omitempty"`
	LastUpdated  time.Time       `json:"lastUpdated,omitempty"`
	MirrorName   string          `json:"mirrorName,omitempty"`
	CloneUrls    []RestNamedLink `json:"cloneUrls,omitempty"`
	PushUrls     []RestNamedLink `json:"pushUrls,omitempty"`
}

type RestMirroredRepositoryDescriptor

type RestMirroredRepositoryDescriptor struct {
	MirrorServer *RestMirroredRepositoryDescriptorMirrorServer `json:"mirrorServer,omitempty"`
	Links        *interface{}                                  `json:"links,omitempty"`
}

type RestMirroredRepositoryDescriptorMirrorServer

type RestMirroredRepositoryDescriptorMirrorServer struct {
	Enabled        bool      `json:"enabled,omitempty"`
	Name           string    `json:"name,omitempty"`
	Id             string    `json:"id,omitempty"`
	ProductType    string    `json:"productType,omitempty"`
	ProductVersion string    `json:"productVersion,omitempty"`
	MirrorType     string    `json:"mirrorType,omitempty"`
	LastSeenDate   time.Time `json:"lastSeenDate"`
	BaseUrl        string    `json:"baseUrl,omitempty"`
}

type RestMirroringRequest

type RestMirroringRequest struct {
	Id                 int32  `json:"id,omitempty"`
	State              string `json:"state,omitempty"`
	ProductType        string `json:"productType,omitempty"`
	ProductVersion     string `json:"productVersion,omitempty"`
	MirrorType         string `json:"mirrorType,omitempty"`
	MirrorName         string `json:"mirrorName,omitempty"`
	MirrorBaseUrl      string `json:"mirrorBaseUrl,omitempty"`
	AddonDescriptorUri string `json:"addonDescriptorUri,omitempty"`
	MirrorId           string `json:"mirrorId,omitempty"`
}
type RestNamedLink struct {
	Name string `json:"name,omitempty"`
	Href string `json:"href,omitempty"`
}

type RestNode

type RestNode struct {
	Name  string `json:"name,omitempty"`
	Id    string `json:"id,omitempty"`
	Type_ string `json:"type,omitempty"`
}

type RestNodeConnectivityReport

type RestNodeConnectivityReport struct {
	Node      *RestNodeConnectivityReportNode `json:"node,omitempty"`
	Summaries []RestNodeConnectivitySummary   `json:"summaries,omitempty"`
}

type RestNodeConnectivityReportNode

type RestNodeConnectivityReportNode struct {
	Name  string `json:"name,omitempty"`
	Id    string `json:"id,omitempty"`
	Type_ string `json:"type,omitempty"`
}

type RestNodeConnectivitySummary

type RestNodeConnectivitySummary struct {
	Node    *RestNodeConnectivityReportNode     `json:"node,omitempty"`
	Summary *RestNodeConnectivitySummarySummary `json:"summary,omitempty"`
}

type RestNodeConnectivitySummarySummary

type RestNodeConnectivitySummarySummary struct {
	RoundTripTime int64  `json:"roundTripTime,omitempty"`
	Reachable     bool   `json:"reachable,omitempty"`
	ErrorMessage  string `json:"errorMessage,omitempty"`
}

type RestPageRestChange

type RestPageRestChange struct {
	Values        *interface{} `json:"values,omitempty"`
	Size          int32        `json:"size,omitempty"`
	Limit         int32        `json:"limit,omitempty"`
	IsLastPage    bool         `json:"isLastPage,omitempty"`
	NextPageStart int32        `json:"nextPageStart,omitempty"`
	Start         int32        `json:"start,omitempty"`
}

type RestPath

type RestPath struct {
	Name       string   `json:"name,omitempty"`
	Parent     string   `json:"parent,omitempty"`
	Extension  string   `json:"extension,omitempty"`
	Components []string `json:"components,omitempty"`
}

type RestPermitted

type RestPermitted struct {
	Permitted bool `json:"permitted,omitempty"`
}

type RestPermittedGroup

type RestPermittedGroup struct {
	Permission string                   `json:"permission,omitempty"`
	Group      *RestPermittedGroupGroup `json:"group,omitempty"`
}

type RestPermittedGroupGroup

type RestPermittedGroupGroup struct {
	Name string `json:"name,omitempty"`
}

type RestPermittedUser

type RestPermittedUser struct {
	Permission string                          `json:"permission,omitempty"`
	User       *RestPullRequestParticipantUser `json:"user,omitempty"`
}

type RestPerson

type RestPerson struct {
	Name         string `json:"name,omitempty"`
	AvatarUrl    string `json:"avatarUrl,omitempty"`
	EmailAddress string `json:"emailAddress,omitempty"`
}

type RestProgress

type RestProgress struct {
	Message    string `json:"message,omitempty"`
	Percentage int32  `json:"percentage,omitempty"`
}

type RestProject

type RestProject struct {
	Name        string       `json:"name,omitempty"`
	Key         string       `json:"key,omitempty"`
	Id          int32        `json:"id,omitempty"`
	Type_       string       `json:"type,omitempty"`
	Public      bool         `json:"public,omitempty"`
	Description string       `json:"description,omitempty"`
	Namespace   string       `json:"namespace,omitempty"`
	Avatar      string       `json:"avatar,omitempty"`
	AvatarUrl   string       `json:"avatarUrl,omitempty"`
	Scope       string       `json:"scope,omitempty"`
	Links       *interface{} `json:"links,omitempty"`
}

type RestProjectSettingsRestriction

type RestProjectSettingsRestriction struct {
	ComponentKey   string                                   `json:"componentKey,omitempty"`
	ProcessedState string                                   `json:"processedState,omitempty"`
	Project        *RestPullRequestFromRefRepositoryProject `json:"project,omitempty"`
	Namespace      string                                   `json:"namespace,omitempty"`
	FeatureKey     string                                   `json:"featureKey,omitempty"`
}

type RestProjectSettingsRestrictionRequest

type RestProjectSettingsRestrictionRequest struct {
	ComponentKey string `json:"componentKey,omitempty"`
	FeatureKey   string `json:"featureKey"`
	Namespace    string `json:"namespace"`
}

type RestProperties

type RestProperties struct {
	ContentHash     string `json:"contentHash,omitempty"`
	MetadataHash    string `json:"metadataHash,omitempty"`
	DefaultBranchId string `json:"defaultBranchId,omitempty"`
}

type RestPullRequest

type RestPullRequest struct {
	Locked          bool                         `json:"locked,omitempty"`
	Version         int32                        `json:"version,omitempty"`
	Id              int64                        `json:"id,omitempty"`
	State           string                       `json:"state,omitempty"`
	Open            bool                         `json:"open,omitempty"`
	Description     string                       `json:"description,omitempty"`
	ClosedDate      int64                        `json:"closedDate,omitempty"`
	FromRef         *RestPullRequestFromRef      `json:"fromRef,omitempty"`
	Participants    []RestPullRequestParticipant `json:"participants,omitempty"`
	Reviewers       []RestPullRequestParticipant `json:"reviewers,omitempty"`
	UpdatedDate     int64                        `json:"updatedDate,omitempty"`
	HtmlDescription string                       `json:"htmlDescription,omitempty"`
	CreatedDate     int64                        `json:"createdDate,omitempty"`
	Closed          bool                         `json:"closed,omitempty"`
	Title           string                       `json:"title,omitempty"`
	ToRef           *RestPullRequestFromRef      `json:"toRef,omitempty"`
	Links           *interface{}                 `json:"links,omitempty"`
}

type RestPullRequestActivity

type RestPullRequestActivity struct {
	Action      string                          `json:"action,omitempty"`
	Id          int64                           `json:"id,omitempty"`
	CreatedDate int64                           `json:"createdDate,omitempty"`
	User        *RestPullRequestParticipantUser `json:"user,omitempty"`
}

type RestPullRequestAssignParticipantRoleRequest

type RestPullRequestAssignParticipantRoleRequest struct {
	Role string                                           `json:"role,omitempty"`
	User *RestPullRequestAssignParticipantRoleRequestUser `json:"user,omitempty"`
}

type RestPullRequestAssignParticipantRoleRequestUser

type RestPullRequestAssignParticipantRoleRequestUser struct {
	Active       bool         `json:"active,omitempty"`
	AvatarUrl    string       `json:"avatarUrl,omitempty"`
	DisplayName  string       `json:"displayName,omitempty"`
	EmailAddress string       `json:"emailAddress,omitempty"`
	Id           int32        `json:"id,omitempty"`
	Links        *interface{} `json:"links,omitempty"`
	Name         string       `json:"name,omitempty"`
	Slug         string       `json:"slug,omitempty"`
	Type_        string       `json:"type,omitempty"`
}

type RestPullRequestAssignStatusRequest

type RestPullRequestAssignStatusRequest struct {
	Status string `json:"status,omitempty"`
}

type RestPullRequestAutoMergeRequest

type RestPullRequestAutoMergeRequest struct {
	AutoSubject string `json:"autoSubject,omitempty"`
	Message     string `json:"message,omitempty"`
	StrategyId  string `json:"strategyId,omitempty"`
	Version     int32  `json:"version,omitempty"`
}

type RestPullRequestCommitMessageTemplate

type RestPullRequestCommitMessageTemplate struct {
	Title string `json:"title,omitempty"`
	Body  string `json:"body,omitempty"`
}

type RestPullRequestCondition

type RestPullRequestCondition struct {
	Id                int32                                 `json:"id,omitempty"`
	RequiredApprovals int32                                 `json:"requiredApprovals,omitempty"`
	SourceRefMatcher  *RestRequiredBuildConditionRefMatcher `json:"sourceRefMatcher,omitempty"`
	TargetRefMatcher  *RestRequiredBuildConditionRefMatcher `json:"targetRefMatcher,omitempty"`
	Reviewers         []RestApplicationUser                 `json:"reviewers,omitempty"`
	Scope             *RestPullRequestConditionScope        `json:"scope,omitempty"`
}

type RestPullRequestConditionScope

type RestPullRequestConditionScope struct {
	Type_      string `json:"type,omitempty"`
	ResourceId int32  `json:"resourceId,omitempty"`
}

type RestPullRequestDeclineRequest

type RestPullRequestDeclineRequest struct {
	Comment string `json:"comment,omitempty"`
	Version int32  `json:"version,omitempty"`
}

type RestPullRequestDeleteRequest

type RestPullRequestDeleteRequest struct {
	Version int32 `json:"version,omitempty"`
}

type RestPullRequestFinishReviewRequest

type RestPullRequestFinishReviewRequest struct {
	CommentText       string `json:"commentText,omitempty"`
	ParticipantStatus string `json:"participantStatus,omitempty"`
}

type RestPullRequestFromRef

type RestPullRequestFromRef struct {
	Id           string                            `json:"id,omitempty"`
	Type_        string                            `json:"type,omitempty"`
	Repository   *RestPullRequestFromRefRepository `json:"repository,omitempty"`
	DisplayId    string                            `json:"displayId,omitempty"`
	LatestCommit string                            `json:"latestCommit,omitempty"`
}

type RestPullRequestFromRefRepository

type RestPullRequestFromRefRepository struct {
	Name          string                                   `json:"name,omitempty"`
	Id            int32                                    `json:"id,omitempty"`
	State         string                                   `json:"state,omitempty"`
	Public        bool                                     `json:"public,omitempty"`
	Project       *RestPullRequestFromRefRepositoryProject `json:"project,omitempty"`
	Description   string                                   `json:"description,omitempty"`
	DefaultBranch string                                   `json:"defaultBranch,omitempty"`
	RelatedLinks  *interface{}                             `json:"relatedLinks,omitempty"`
	Partition     int32                                    `json:"partition,omitempty"`
	Origin        *RestPullRequestFromRefRepositoryOrigin  `json:"origin,omitempty"`
	HierarchyId   string                                   `json:"hierarchyId,omitempty"`
	StatusMessage string                                   `json:"statusMessage,omitempty"`
	Archived      bool                                     `json:"archived,omitempty"`
	Forkable      bool                                     `json:"forkable,omitempty"`
	ScmId         string                                   `json:"scmId,omitempty"`
	Slug          string                                   `json:"slug,omitempty"`
	Scope         string                                   `json:"scope,omitempty"`
	Links         *interface{}                             `json:"links,omitempty"`
}

type RestPullRequestFromRefRepositoryOrigin

type RestPullRequestFromRefRepositoryOrigin struct {
	Name          string                                   `json:"name,omitempty"`
	Id            int32                                    `json:"id,omitempty"`
	State         string                                   `json:"state,omitempty"`
	Public        bool                                     `json:"public,omitempty"`
	Project       *RestPullRequestFromRefRepositoryProject `json:"project,omitempty"`
	Description   string                                   `json:"description,omitempty"`
	DefaultBranch string                                   `json:"defaultBranch,omitempty"`
	RelatedLinks  *interface{}                             `json:"relatedLinks,omitempty"`
	Partition     int32                                    `json:"partition,omitempty"`
	HierarchyId   string                                   `json:"hierarchyId,omitempty"`
	StatusMessage string                                   `json:"statusMessage,omitempty"`
	Archived      bool                                     `json:"archived,omitempty"`
	Forkable      bool                                     `json:"forkable,omitempty"`
	ScmId         string                                   `json:"scmId,omitempty"`
	Slug          string                                   `json:"slug,omitempty"`
	Scope         string                                   `json:"scope,omitempty"`
	Links         *interface{}                             `json:"links,omitempty"`
}

type RestPullRequestFromRefRepositoryProject

type RestPullRequestFromRefRepositoryProject struct {
	Name        string       `json:"name,omitempty"`
	Key         string       `json:"key"`
	Id          int32        `json:"id,omitempty"`
	Type_       string       `json:"type,omitempty"`
	Public      bool         `json:"public,omitempty"`
	Description string       `json:"description,omitempty"`
	Namespace   string       `json:"namespace,omitempty"`
	Avatar      string       `json:"avatar,omitempty"`
	AvatarUrl   string       `json:"avatarUrl,omitempty"`
	Scope       string       `json:"scope,omitempty"`
	Links       *interface{} `json:"links,omitempty"`
}

type RestPullRequestMergeConfig

type RestPullRequestMergeConfig struct {
	Type_                 string                                           `json:"type,omitempty"`
	CommitMessageTemplate *RestPullRequestMergeConfigCommitMessageTemplate `json:"commitMessageTemplate,omitempty"`
	CommitSummaries       int32                                            `json:"commitSummaries,omitempty"`
	DefaultStrategy       *RestPullRequestMergeConfigDefaultStrategy       `json:"defaultStrategy,omitempty"`
	Strategies            []RestPullRequestMergeStrategy                   `json:"strategies,omitempty"`
}

type RestPullRequestMergeConfigCommitMessageTemplate

type RestPullRequestMergeConfigCommitMessageTemplate struct {
	Title string `json:"title,omitempty"`
	Body  string `json:"body,omitempty"`
}

type RestPullRequestMergeConfigDefaultStrategy

type RestPullRequestMergeConfigDefaultStrategy struct {
	Enabled     bool         `json:"enabled,omitempty"`
	Name        string       `json:"name,omitempty"`
	Id          string       `json:"id,omitempty"`
	Description string       `json:"description,omitempty"`
	Flag        string       `json:"flag,omitempty"`
	Links       *interface{} `json:"links,omitempty"`
}

type RestPullRequestMergeRequest

type RestPullRequestMergeRequest struct {
	AutoSubject string `json:"autoSubject,omitempty"`
	Message     string `json:"message,omitempty"`
	StrategyId  string `json:"strategyId,omitempty"`
	Version     int32  `json:"version,omitempty"`
}

type RestPullRequestMergeStrategy

type RestPullRequestMergeStrategy struct {
	Enabled     bool         `json:"enabled,omitempty"`
	Name        string       `json:"name,omitempty"`
	Id          string       `json:"id,omitempty"`
	Description string       `json:"description,omitempty"`
	Flag        string       `json:"flag,omitempty"`
	Links       *interface{} `json:"links,omitempty"`
}

type RestPullRequestMergeability

type RestPullRequestMergeability struct {
	Outcome    string                   `json:"outcome,omitempty"`
	Vetoes     []RestRepositoryHookVeto `json:"vetoes,omitempty"`
	Conflicted bool                     `json:"conflicted,omitempty"`
}

type RestPullRequestParticipant

type RestPullRequestParticipant struct {
	Status             string                          `json:"status,omitempty"`
	LastReviewedCommit string                          `json:"lastReviewedCommit,omitempty"`
	Approved           bool                            `json:"approved,omitempty"`
	Role               string                          `json:"role,omitempty"`
	User               *RestPullRequestParticipantUser `json:"user,omitempty"`
}

type RestPullRequestParticipantUser

type RestPullRequestParticipantUser struct {
	Name         string       `json:"name,omitempty"`
	Id           int32        `json:"id,omitempty"`
	Type_        string       `json:"type,omitempty"`
	DisplayName  string       `json:"displayName,omitempty"`
	EmailAddress string       `json:"emailAddress,omitempty"`
	Slug         string       `json:"slug,omitempty"`
	Links        *interface{} `json:"links,omitempty"`
	Active       bool         `json:"active,omitempty"`
	AvatarUrl    string       `json:"avatarUrl,omitempty"`
}

type RestPullRequestRebaseRequest

type RestPullRequestRebaseRequest struct {
	Version int32 `json:"version,omitempty"`
}

type RestPullRequestRebaseResult

type RestPullRequestRebaseResult struct {
	RefChange *RestPullRequestRebaseResultRefChange `json:"refChange,omitempty"`
}

type RestPullRequestRebaseResultRefChange

type RestPullRequestRebaseResultRefChange struct {
	Type_    string                                   `json:"type,omitempty"`
	Ref      *RestPullRequestRebaseResultRefChangeRef `json:"ref,omitempty"`
	FromHash string                                   `json:"fromHash,omitempty"`
	ToHash   string                                   `json:"toHash,omitempty"`
	RefId    string                                   `json:"refId,omitempty"`
}

type RestPullRequestRebaseResultRefChangeRef

type RestPullRequestRebaseResultRefChangeRef struct {
	Id        string `json:"id,omitempty"`
	Type_     string `json:"type,omitempty"`
	DisplayId string `json:"displayId,omitempty"`
}

type RestPullRequestRebaseability

type RestPullRequestRebaseability struct {
	Vetoes []RestRepositoryHookVeto `json:"vetoes,omitempty"`
}

type RestPullRequestRef

type RestPullRequestRef struct {
	Id           string                            `json:"id,omitempty"`
	Type_        string                            `json:"type,omitempty"`
	Repository   *RestPullRequestFromRefRepository `json:"repository,omitempty"`
	DisplayId    string                            `json:"displayId,omitempty"`
	LatestCommit string                            `json:"latestCommit,omitempty"`
}

type RestPullRequestReopenRequest

type RestPullRequestReopenRequest struct {
	Version int32 `json:"version,omitempty"`
}

type RestPullRequestSettings

type RestPullRequestSettings struct {
	MergeConfig *RestPullRequestSettingsMergeConfig `json:"mergeConfig,omitempty"`
}

type RestPullRequestSettingsMergeConfig

type RestPullRequestSettingsMergeConfig struct {
	Type_                 string                                           `json:"type,omitempty"`
	CommitMessageTemplate *RestPullRequestMergeConfigCommitMessageTemplate `json:"commitMessageTemplate,omitempty"`
	CommitSummaries       int32                                            `json:"commitSummaries,omitempty"`
	DefaultStrategy       *RestPullRequestMergeConfigDefaultStrategy       `json:"defaultStrategy,omitempty"`
	Strategies            []RestPullRequestMergeStrategy                   `json:"strategies,omitempty"`
}

type RestPullRequestSuggestion

type RestPullRequestSuggestion struct {
	ChangeTme  int64                                    `json:"changeTme,omitempty"`
	RefChange  *RestPullRequestRebaseResultRefChange    `json:"refChange,omitempty"`
	Repository *RestPullRequestFromRefRepository        `json:"repository,omitempty"`
	FromRef    *RestPullRequestRebaseResultRefChangeRef `json:"fromRef,omitempty"`
	ToRef      *RestPullRequestRebaseResultRefChangeRef `json:"toRef,omitempty"`
}

type RestPushRefChange

type RestPushRefChange struct {
	UpdatedType string                                   `json:"updatedType,omitempty"`
	Type_       string                                   `json:"type,omitempty"`
	Ref         *RestPullRequestRebaseResultRefChangeRef `json:"ref,omitempty"`
	FromHash    string                                   `json:"fromHash,omitempty"`
	ToHash      string                                   `json:"toHash,omitempty"`
	RefId       string                                   `json:"refId,omitempty"`
}

type RestRateLimitSettings

type RestRateLimitSettings struct {
	DefaultSettings *RestBulkUserRateLimitSettingsUpdateRequestSettings `json:"defaultSettings,omitempty"`
	Enabled         bool                                                `json:"enabled,omitempty"`
}

type RestRawAccessToken

type RestRawAccessToken struct {
	Token       string    `json:"token,omitempty"`
	Name        string    `json:"name,omitempty"`
	Id          string    `json:"id,omitempty"`
	CreatedDate time.Time `json:"createdDate,omitempty"`
}

type RestRefChange

type RestRefChange struct {
	Type_    string                                   `json:"type,omitempty"`
	Ref      *RestPullRequestRebaseResultRefChangeRef `json:"ref,omitempty"`
	FromHash string                                   `json:"fromHash,omitempty"`
	ToHash   string                                   `json:"toHash,omitempty"`
	RefId    string                                   `json:"refId,omitempty"`
}

type RestRefMatcher

type RestRefMatcher struct {
	Id        string              `json:"id,omitempty"`
	Type_     *RestRefMatcherType `json:"type,omitempty"`
	DisplayId string              `json:"displayId,omitempty"`
}

type RestRefMatcherType

type RestRefMatcherType struct {
	Name string `json:"name,omitempty"`
	Id   string `json:"id,omitempty"`
}

type RestRefRestriction

type RestRefRestriction struct {
	Id         int32                                 `json:"id,omitempty"`
	Type_      string                                `json:"type,omitempty"`
	Groups     []string                              `json:"groups,omitempty"`
	AccessKeys []RestSshAccessKey                    `json:"accessKeys,omitempty"`
	Matcher    *RestRequiredBuildConditionRefMatcher `json:"matcher,omitempty"`
	Scope      *RestPullRequestConditionScope        `json:"scope,omitempty"`
	Users      []RestApplicationUser                 `json:"users,omitempty"`
}

type RestRefSyncQueue

type RestRefSyncQueue struct {
	Values []RestFarmSynchronizationRequest `json:"values,omitempty"`
}

type RestRefSyncRequest

type RestRefSyncRequest struct {
	Action  string   `json:"action,omitempty"`
	Context *Context `json:"context,omitempty"`
	RefId   string   `json:"refId,omitempty"`
}

type RestRefSyncStatus

type RestRefSyncStatus struct {
	Enabled      bool                           `json:"enabled,omitempty"`
	Available    bool                           `json:"available,omitempty"`
	OrphanedRefs *RestRefSyncStatusOrphanedRefs `json:"orphanedRefs,omitempty"`
	LastSync     float64                        `json:"lastSync,omitempty"`
	DivergedRefs *RestRefSyncStatusOrphanedRefs `json:"divergedRefs,omitempty"`
	AheadRefs    *RestRefSyncStatusOrphanedRefs `json:"aheadRefs,omitempty"`
}

type RestRefSyncStatusOrphanedRefs

type RestRefSyncStatusOrphanedRefs struct {
	State     string `json:"state,omitempty"`
	Tag       bool   `json:"tag,omitempty"`
	Id        string `json:"id,omitempty"`
	Type_     string `json:"type,omitempty"`
	DisplayId string `json:"displayId,omitempty"`
}

type RestRejectedRef

type RestRejectedRef struct {
	State     string `json:"state,omitempty"`
	Tag       bool   `json:"tag,omitempty"`
	Id        string `json:"id,omitempty"`
	Type_     string `json:"type,omitempty"`
	DisplayId string `json:"displayId,omitempty"`
}

type RestRepositoriesExportRequest

type RestRepositoriesExportRequest struct {
	Includes []RestRepositorySelector `json:"includes"`
}

type RestRepository

type RestRepository struct {
	Name          string                                   `json:"name,omitempty"`
	Id            int32                                    `json:"id,omitempty"`
	State         string                                   `json:"state,omitempty"`
	Public        bool                                     `json:"public,omitempty"`
	Project       *RestPullRequestFromRefRepositoryProject `json:"project,omitempty"`
	Description   string                                   `json:"description,omitempty"`
	DefaultBranch string                                   `json:"defaultBranch,omitempty"`
	RelatedLinks  *interface{}                             `json:"relatedLinks,omitempty"`
	Partition     int32                                    `json:"partition,omitempty"`
	Origin        *RestPullRequestFromRefRepositoryOrigin  `json:"origin,omitempty"`
	HierarchyId   string                                   `json:"hierarchyId,omitempty"`
	StatusMessage string                                   `json:"statusMessage,omitempty"`
	Archived      bool                                     `json:"archived,omitempty"`
	Forkable      bool                                     `json:"forkable,omitempty"`
	ScmId         string                                   `json:"scmId,omitempty"`
	Slug          string                                   `json:"slug,omitempty"`
	Scope         string                                   `json:"scope,omitempty"`
	Links         *interface{}                             `json:"links,omitempty"`
}

type RestRepositoryHook

type RestRepositoryHook struct {
	Enabled    bool                          `json:"enabled,omitempty"`
	Configured bool                          `json:"configured,omitempty"`
	Details    *RepositoryHookDetails        `json:"details,omitempty"`
	Scope      *RestAutoDeclineSettingsScope `json:"scope,omitempty"`
}

type RestRepositoryHookVeto

type RestRepositoryHookVeto struct {
	SummaryMessage  string `json:"summaryMessage,omitempty"`
	DetailedMessage string `json:"detailedMessage,omitempty"`
}

type RestRepositoryMirrorEvent

type RestRepositoryMirrorEvent struct {
	MirrorRepoId   int32  `json:"mirrorRepoId,omitempty"`
	Type_          string `json:"type,omitempty"`
	UpstreamRepoId string `json:"upstreamRepoId,omitempty"`
}

type RestRepositoryPolicy

type RestRepositoryPolicy struct {
	// The permission required to delete repositories. Must be one of: \"SYS_ADMIN\", \"ADMIN\", \"PROJECT_ADMIN\", \"REPO_ADMIN\".
	Permission string `json:"permission,omitempty"`
}

type RestRepositoryPullRequestSettings

type RestRepositoryPullRequestSettings struct {
	RequiredAllTasksComplete           bool                                                       `json:"requiredAllTasksComplete,omitempty"`
	RequiredApproversDeprecated        int32                                                      `json:"requiredApproversDeprecated,omitempty"`
	RequiredSuccessfulBuilds           *RestRepositoryPullRequestSettingsRequiredSuccessfulBuilds `json:"requiredSuccessfulBuilds,omitempty"`
	RequiredSuccessfulBuildsDeprecated int32                                                      `json:"requiredSuccessfulBuildsDeprecated,omitempty"`
	RequiredAllApprovers               bool                                                       `json:"requiredAllApprovers,omitempty"`
	RequiredApprovers                  *RestRepositoryPullRequestSettingsRequiredSuccessfulBuilds `json:"requiredApprovers,omitempty"`
	MergeConfig                        *RestPullRequestSettingsMergeConfig                        `json:"mergeConfig,omitempty"`
}

type RestRepositoryPullRequestSettingsRequiredSuccessfulBuilds

type RestRepositoryPullRequestSettingsRequiredSuccessfulBuilds struct {
	Enabled bool   `json:"enabled,omitempty"`
	Count   string `json:"count,omitempty"`
}

type RestRepositoryRefChangeActivity

type RestRepositoryRefChangeActivity struct {
	RefChange   *RestRepositoryRefChangeActivityRefChange `json:"refChange,omitempty"`
	Trigger     string                                    `json:"trigger,omitempty"`
	Repository  *RestPullRequestFromRefRepository         `json:"repository,omitempty"`
	Id          int64                                     `json:"id,omitempty"`
	CreatedDate int64                                     `json:"createdDate,omitempty"`
	User        *RestPullRequestParticipantUser           `json:"user,omitempty"`
}

type RestRepositoryRefChangeActivityRefChange

type RestRepositoryRefChangeActivityRefChange struct {
	UpdatedType string                                   `json:"updatedType,omitempty"`
	Type_       string                                   `json:"type,omitempty"`
	Ref         *RestPullRequestRebaseResultRefChangeRef `json:"ref,omitempty"`
	FromHash    string                                   `json:"fromHash,omitempty"`
	ToHash      string                                   `json:"toHash,omitempty"`
	RefId       string                                   `json:"refId,omitempty"`
}

type RestRepositorySelector

type RestRepositorySelector struct {
	ProjectKey string `json:"projectKey,omitempty"`
	Slug       string `json:"slug,omitempty"`
}

type RestRequiredBuildCondition

type RestRequiredBuildCondition struct {
	Id int64 `json:"id,omitempty"`
	// A non-empty list of build parent keys that require green builds for this merge check to pass
	BuildParentKeys  []string                              `json:"buildParentKeys,omitempty"`
	RefMatcher       *RestRequiredBuildConditionRefMatcher `json:"refMatcher,omitempty"`
	ExemptRefMatcher *RestRequiredBuildConditionRefMatcher `json:"exemptRefMatcher,omitempty"`
}

type RestRequiredBuildConditionRefMatcher

type RestRequiredBuildConditionRefMatcher struct {
	Id        string              `json:"id,omitempty"`
	Type_     *RestRefMatcherType `json:"type,omitempty"`
	DisplayId string              `json:"displayId,omitempty"`
}

type RestRequiredBuildConditionSetRequest

type RestRequiredBuildConditionSetRequest struct {
	// A non-empty list of build parent keys that require green builds for this merge check to pass
	BuildParentKeys  []string                                                                             `json:"buildParentKeys"`
	ExemptRefMatcher *RestRefMatcher                                                                      `json:"exemptRefMatcher,omitempty"`
	RefMatcher       *DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcher `json:"refMatcher"`
}

type RestRestrictionRequest

type RestRestrictionRequest struct {
	AccessKeyIds []int32                                                                              `json:"accessKeyIds,omitempty"`
	AccessKeys   []RestSshAccessKey                                                                   `json:"accessKeys,omitempty"`
	GroupNames   []string                                                                             `json:"groupNames,omitempty"`
	Groups       []string                                                                             `json:"groups,omitempty"`
	Id           int32                                                                                `json:"id,omitempty"`
	Matcher      *DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcher `json:"matcher,omitempty"`
	Scope        *RestRestrictionRequestScope                                                         `json:"scope,omitempty"`
	Type_        string                                                                               `json:"type,omitempty"`
	UserSlugs    []string                                                                             `json:"userSlugs,omitempty"`
	Users        []RestApplicationUser                                                                `json:"users,omitempty"`
}

type RestRestrictionRequestScope

type RestRestrictionRequestScope struct {
	ResourceId int32  `json:"resourceId,omitempty"`
	Type_      string `json:"type,omitempty"`
}

type RestReviewerGroup

type RestReviewerGroup struct {
	Name        string                        `json:"name,omitempty"`
	Id          int64                         `json:"id,omitempty"`
	Description string                        `json:"description,omitempty"`
	AvatarUrl   string                        `json:"avatarUrl,omitempty"`
	Scope       *RestAutoDeclineSettingsScope `json:"scope,omitempty"`
	Users       []ApplicationUser             `json:"users,omitempty"`
}

type RestScope

type RestScope struct {
	Type_      string `json:"type,omitempty"`
	ResourceId int32  `json:"resourceId,omitempty"`
}

type RestScopesExample

type RestScopesExample struct {
	Scopes []interface{} `json:"scopes,omitempty"`
	Links  *interface{}  `json:"links,omitempty"`
}

type RestSecretScanningAllowlistRule

type RestSecretScanningAllowlistRule struct {
	// Human readable name for the rule
	Name string `json:"name,omitempty"`
	// The ID of the rule
	Id int64 `json:"id,omitempty"`
	// If present, regular expression for matching a secret on a code line
	LineRegex string `json:"lineRegex,omitempty"`
	// If present, regular expression matching file names
	PathRegex string `json:"pathRegex,omitempty"`
}

type RestSecretScanningAllowlistRuleSetRequest

type RestSecretScanningAllowlistRuleSetRequest struct {
	// Regular expression for matching a secret on a code line
	LineRegex string `json:"lineRegex,omitempty"`
	// Human readable name for the rule
	Name string `json:"name,omitempty"`
	// Regular expression matching file names
	PathRegex string `json:"pathRegex,omitempty"`
}

type RestSecretScanningRule

type RestSecretScanningRule struct {
	// Human readable name for the rule
	Name string `json:"name,omitempty"`
	// The ID of the rule
	Id int64 `json:"id,omitempty"`
	// If present, regular expression for matching a secret on a code line
	LineRegex string `json:"lineRegex,omitempty"`
	// If present, regular expression matching file names
	PathRegex string                       `json:"pathRegex,omitempty"`
	Scope     *RestSecretScanningRuleScope `json:"scope,omitempty"`
}

type RestSecretScanningRuleScope

type RestSecretScanningRuleScope struct {
	Type_      string `json:"type,omitempty"`
	ResourceId int32  `json:"resourceId,omitempty"`
}

The scope in which this rule was configured for.

type RestSecretScanningRuleSetRequest

type RestSecretScanningRuleSetRequest struct {
	// Regular expression for matching a secret on a code line
	LineRegex string `json:"lineRegex,omitempty"`
	// Human readable name for the rule
	Name string `json:"name,omitempty"`
	// Regular expression matching file names
	PathRegex string `json:"pathRegex,omitempty"`
}

type RestSetInsightReportRequest

type RestSetInsightReportRequest struct {
	CoverageProviderKey string                  `json:"coverageProviderKey,omitempty"`
	CreatedDate         int64                   `json:"createdDate,omitempty"`
	Data                []RestInsightReportData `json:"data"`
	Details             string                  `json:"details,omitempty"`
	Link                string                  `json:"link,omitempty"`
	LogoUrl             string                  `json:"logoUrl,omitempty"`
	Reporter            string                  `json:"reporter,omitempty"`
	Result              string                  `json:"result,omitempty"`
	Title               string                  `json:"title"`
}

type RestSingleAddInsightAnnotationRequest

type RestSingleAddInsightAnnotationRequest struct {
	ExternalId string `json:"externalId,omitempty"`
	Line       int32  `json:"line,omitempty"`
	Link       string `json:"link,omitempty"`
	Message    string `json:"message"`
	Path       string `json:"path,omitempty"`
	Severity   string `json:"severity"`
	Type_      string `json:"type,omitempty"`
}

type RestSshAccessKey

type RestSshAccessKey struct {
	Key        *RestSshAccessKeyKey                     `json:"key,omitempty"`
	Permission string                                   `json:"permission,omitempty"`
	Repository *RestPullRequestFromRefRepository        `json:"repository,omitempty"`
	Project    *RestPullRequestFromRefRepositoryProject `json:"project,omitempty"`
}

type RestSshAccessKeyKey

type RestSshAccessKeyKey struct {
	Id                int32     `json:"id,omitempty"`
	LastAuthenticated string    `json:"lastAuthenticated,omitempty"`
	CreatedDate       time.Time `json:"createdDate,omitempty"`
	BitLength         int32     `json:"bitLength,omitempty"`
	AlgorithmType     string    `json:"algorithmType,omitempty"`
	ExpiryDays        int32     `json:"expiryDays,omitempty"`
	Label             string    `json:"label,omitempty"`
	Text              string    `json:"text,omitempty"`
}

type RestSshAccessKeyLocations

type RestSshAccessKeyLocations struct {
	Projects     *RestProject    `json:"projects,omitempty"`
	Repositories *RestRepository `json:"repositories,omitempty"`
}

type RestSshCredentials

type RestSshCredentials struct {
	// The key algorithm, if passing in a legacy X.509 encoded key. Do not specify for OpenSSH encoded keys
	Algorithm string `json:"algorithm,omitempty"`
	// The public key text in the OpenSSH format. The algorithm must be specified in case of the legacy X.509 keys
	PublicKey string `json:"publicKey"`
	Username  string `json:"username,omitempty"`
}

type RestSshKey

type RestSshKey struct {
	Id                int32     `json:"id,omitempty"`
	LastAuthenticated string    `json:"lastAuthenticated,omitempty"`
	CreatedDate       time.Time `json:"createdDate,omitempty"`
	BitLength         int32     `json:"bitLength,omitempty"`
	AlgorithmType     string    `json:"algorithmType,omitempty"`
	ExpiryDays        int32     `json:"expiryDays,omitempty"`
	Label             string    `json:"label,omitempty"`
	Text              string    `json:"text,omitempty"`
}

type RestSshKeySettings

type RestSshKeySettings struct {
	KeyTypeRestrictions []RestSshKeyTypeRestriction      `json:"keyTypeRestrictions,omitempty"`
	MaxExpiryDays       *RestSshKeySettingsMaxExpiryDays `json:"maxExpiryDays,omitempty"`
}

type RestSshKeySettingsMaxExpiryDays

type RestSshKeySettingsMaxExpiryDays struct {
	AsInt   int32 `json:"asInt,omitempty"`
	Present bool  `json:"present,omitempty"`
}

type RestSshKeyTypeRestriction

type RestSshKeyTypeRestriction struct {
	Algorithm    string                                 `json:"algorithm,omitempty"`
	Allowed      bool                                   `json:"allowed,omitempty"`
	MinKeyLength *RestSshKeyTypeRestrictionMinKeyLength `json:"minKeyLength,omitempty"`
}

type RestSshKeyTypeRestrictionMinKeyLength

type RestSshKeyTypeRestrictionMinKeyLength struct {
	AsInt   int32 `json:"asInt,omitempty"`
	Present bool  `json:"present,omitempty"`
}

type RestSshSettings

type RestSshSettings struct {
	Enabled           bool                     `json:"enabled,omitempty"`
	Port              int32                    `json:"port,omitempty"`
	BaseUrl           string                   `json:"baseUrl,omitempty"`
	Fingerprint       *SimpleSshKeyFingerprint `json:"fingerprint,omitempty"`
	AccessKeysEnabled bool                     `json:"accessKeysEnabled,omitempty"`
}

type RestSyncProgress

type RestSyncProgress struct {
	SyncedRepos int32 `json:"syncedRepos,omitempty"`
	Discovering bool  `json:"discovering,omitempty"`
	TotalRepos  int32 `json:"totalRepos,omitempty"`
}

type RestTag

type RestTag struct {
	Hash            string `json:"hash,omitempty"`
	LatestChangeset string `json:"latestChangeset,omitempty"`
	LatestCommit    string `json:"latestCommit,omitempty"`
	Id              string `json:"id,omitempty"`
	Type_           string `json:"type,omitempty"`
	DisplayId       string `json:"displayId,omitempty"`
}

type RestTestResults

type RestTestResults struct {
	Skipped    int32 `json:"skipped,omitempty"`
	Successful int32 `json:"successful,omitempty"`
	Failed     int32 `json:"failed,omitempty"`
}

type RestTokenBucketSettings

type RestTokenBucketSettings struct {
	Capacity int32 `json:"capacity,omitempty"`
	FillRate int32 `json:"fillRate,omitempty"`
}

type RestUpstreamServer

type RestUpstreamServer struct {
	Id         string `json:"id,omitempty"`
	State      string `json:"state,omitempty"`
	Type_      string `json:"type,omitempty"`
	ApiBaseUrl string `json:"apiBaseUrl,omitempty"`
	BaseUrl    string `json:"baseUrl,omitempty"`
}

type RestUpstreamSettings

type RestUpstreamSettings struct {
	ProjectIds []string `json:"projectIds,omitempty"`
	Mode       string   `json:"mode,omitempty"`
}

type RestUserDirectory

type RestUserDirectory struct {
	Name        string `json:"name,omitempty"`
	Type_       string `json:"type,omitempty"`
	Description string `json:"description,omitempty"`
	Active      bool   `json:"active,omitempty"`
}

type RestUserRateLimitSettings

type RestUserRateLimitSettings struct {
	Whitelisted bool                                                `json:"whitelisted,omitempty"`
	Settings    *RestBulkUserRateLimitSettingsUpdateRequestSettings `json:"settings,omitempty"`
	User        *RestPullRequestParticipantUser                     `json:"user,omitempty"`
}

type RestUserRateLimitSettingsUpdateRequest

type RestUserRateLimitSettingsUpdateRequest struct {
	Settings    *RestBulkUserRateLimitSettingsUpdateRequestSettings `json:"settings,omitempty"`
	Whitelisted bool                                                `json:"whitelisted,omitempty"`
}

type RestUserReaction

type RestUserReaction struct {
	Comment  *RestUserReactionComment        `json:"comment,omitempty"`
	Emoticon *RestUserReactionEmoticon       `json:"emoticon,omitempty"`
	User     *RestPullRequestParticipantUser `json:"user,omitempty"`
}

type RestUserReactionComment

type RestUserReactionComment struct {
	Version            int32                                        `json:"version,omitempty"`
	Parent             *RestUserReactionCommentParent               `json:"parent,omitempty"`
	Id                 int64                                        `json:"id,omitempty"`
	State              string                                       `json:"state,omitempty"`
	Comments           []RestComment                                `json:"comments,omitempty"`
	Severity           string                                       `json:"severity,omitempty"`
	UpdatedDate        int64                                        `json:"updatedDate,omitempty"`
	ThreadResolvedDate int64                                        `json:"threadResolvedDate,omitempty"`
	ThreadResolver     *RestUserReactionCommentParentThreadResolver `json:"threadResolver,omitempty"`
	Anchored           bool                                         `json:"anchored,omitempty"`
	Pending            bool                                         `json:"pending,omitempty"`
	// Indicates if this comment thread has been marked as resolved or not
	ThreadResolved bool                                         `json:"threadResolved,omitempty"`
	Resolver       *RestUserReactionCommentParentThreadResolver `json:"resolver,omitempty"`
	ResolvedDate   int64                                        `json:"resolvedDate,omitempty"`
	Author         *RestUserReactionCommentParentThreadResolver `json:"author,omitempty"`
	CreatedDate    int64                                        `json:"createdDate,omitempty"`
	Anchor         *RestUserReactionCommentParentAnchor         `json:"anchor,omitempty"`
	Html           string                                       `json:"html,omitempty"`
	Reply          bool                                         `json:"reply,omitempty"`
	Text           string                                       `json:"text,omitempty"`
	Properties     *interface{}                                 `json:"properties,omitempty"`
}

type RestUserReactionCommentParent

type RestUserReactionCommentParent struct {
	Version            int32                                        `json:"version,omitempty"`
	Id                 int64                                        `json:"id,omitempty"`
	State              string                                       `json:"state,omitempty"`
	Comments           []RestComment                                `json:"comments,omitempty"`
	Severity           string                                       `json:"severity,omitempty"`
	UpdatedDate        int64                                        `json:"updatedDate,omitempty"`
	ThreadResolvedDate int64                                        `json:"threadResolvedDate,omitempty"`
	ThreadResolver     *RestUserReactionCommentParentThreadResolver `json:"threadResolver,omitempty"`
	Anchored           bool                                         `json:"anchored,omitempty"`
	Pending            bool                                         `json:"pending,omitempty"`
	// Indicates if this comment thread has been marked as resolved or not
	ThreadResolved bool                                         `json:"threadResolved,omitempty"`
	Resolver       *RestUserReactionCommentParentThreadResolver `json:"resolver,omitempty"`
	ResolvedDate   int64                                        `json:"resolvedDate,omitempty"`
	Author         *RestUserReactionCommentParentThreadResolver `json:"author,omitempty"`
	CreatedDate    int64                                        `json:"createdDate,omitempty"`
	Anchor         *RestUserReactionCommentParentAnchor         `json:"anchor,omitempty"`
	Html           string                                       `json:"html,omitempty"`
	Reply          bool                                         `json:"reply,omitempty"`
	Text           string                                       `json:"text,omitempty"`
	Properties     *interface{}                                 `json:"properties,omitempty"`
}

type RestUserReactionCommentParentAnchor

type RestUserReactionCommentParentAnchor struct {
	Path        *RestCommentThreadDiffAnchorPath        `json:"path,omitempty"`
	LineType    string                                  `json:"lineType,omitempty"`
	FromHash    string                                  `json:"fromHash,omitempty"`
	FileType    string                                  `json:"fileType,omitempty"`
	DiffType    string                                  `json:"diffType,omitempty"`
	PullRequest *RestCommentThreadDiffAnchorPullRequest `json:"pullRequest,omitempty"`
	SrcPath     *RestCommentThreadDiffAnchorPath        `json:"srcPath,omitempty"`
	ToHash      string                                  `json:"toHash,omitempty"`
	LineComment bool                                    `json:"lineComment,omitempty"`
	Line        int32                                   `json:"line,omitempty"`
}

type RestUserReactionCommentParentThreadResolver

type RestUserReactionCommentParentThreadResolver struct {
	Name         string       `json:"name,omitempty"`
	Id           int32        `json:"id,omitempty"`
	Type_        string       `json:"type,omitempty"`
	DisplayName  string       `json:"displayName,omitempty"`
	EmailAddress string       `json:"emailAddress,omitempty"`
	Slug         string       `json:"slug,omitempty"`
	Links        *interface{} `json:"links,omitempty"`
	Active       bool         `json:"active,omitempty"`
	AvatarUrl    string       `json:"avatarUrl,omitempty"`
}

type RestUserReactionEmoticon

type RestUserReactionEmoticon struct {
	Value    string `json:"value,omitempty"`
	Shortcut string `json:"shortcut,omitempty"`
	Url      string `json:"url,omitempty"`
}

type RestUsernamePasswordCredentials

type RestUsernamePasswordCredentials struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

type RestWebhook

type RestWebhook struct {
	Name                    string                  `json:"name,omitempty"`
	SslVerificationRequired bool                    `json:"sslVerificationRequired,omitempty"`
	Events                  []string                `json:"events,omitempty"`
	Active                  bool                    `json:"active,omitempty"`
	Statistics              *interface{}            `json:"statistics,omitempty"`
	ScopeType               string                  `json:"scopeType,omitempty"`
	Credentials             *RestWebhookCredentials `json:"credentials,omitempty"`
	Configuration           *interface{}            `json:"configuration,omitempty"`
	Url                     string                  `json:"url,omitempty"`
}

type RestWebhookCredentials

type RestWebhookCredentials struct {
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

type RestWebhookScope

type RestWebhookScope struct {
	Id    string `json:"id,omitempty"`
	Type_ string `json:"type,omitempty"`
}

type SecurityApiAddKeyOpts

type SecurityApiAddKeyOpts struct {
	Body optional.Interface
	User optional.String
}

type SecurityApiBulkAddExemptRepositoriesOpts

type SecurityApiBulkAddExemptRepositoriesOpts struct {
	Body optional.Interface
}

type SecurityApiDeleteForUserOpts

type SecurityApiDeleteForUserOpts struct {
	User optional.String
}

type SecurityApiFindExemptReposByScopeOpts

type SecurityApiFindExemptReposByScopeOpts struct {
	Order optional.String
	Start optional.Float64
	Limit optional.Float64
}

type SecurityApiGetKeysForUserOpts

type SecurityApiGetKeysForUserOpts struct {
	User  optional.String
	Start optional.Float64
	Limit optional.Float64
}

type SecurityApiSearch1Opts

type SecurityApiSearch1Opts struct {
	Filter optional.String
	Order  optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type SecurityApiSearch2Opts

type SecurityApiSearch2Opts struct {
	Filter optional.String
	Order  optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type SecurityApiSearch3Opts

type SecurityApiSearch3Opts struct {
	Filter optional.String
	Order  optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type SecurityApiSearch4Opts

type SecurityApiSearch4Opts struct {
	Filter optional.String
	Order  optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type SecurityApiSearchAllowlistRuleOpts

type SecurityApiSearchAllowlistRuleOpts struct {
	Filter optional.String
	Order  optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type SecurityApiService

type SecurityApiService service

func (*SecurityApiService) AddKey

func (a *SecurityApiService) AddKey(ctx context.Context, localVarOptionals *SecurityApiAddKeyOpts) (RestGpgKey, *http.Response, error)

func (*SecurityApiService) BulkAddExemptRepositories

func (a *SecurityApiService) BulkAddExemptRepositories(ctx context.Context, localVarOptionals *SecurityApiBulkAddExemptRepositoriesOpts) (*http.Response, error)

func (*SecurityApiService) CreateAllowlistRule

SecurityApiService Create project secret scanning allowlist rule Create a new project level secret scanning allowlist rule. Project allowlist rules are used when scanning all non exempt repositories in the provided project. Project **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body Allowlist rule to create, either the line regular expression or the path regular expression must be present
  • @param projectKey The project key.

@return RestSecretScanningAllowlistRule

func (*SecurityApiService) CreateAllowlistRule1

SecurityApiService Create repository secret scanning allowlist rule Create a new repository secret scanning allowlist rule. Repository allowlist rules are used when scanning the given repository. Repository **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body Allowlist rule to create, either the line regular expression or the path regular expression must be present
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

@return RestSecretScanningAllowlistRule

func (*SecurityApiService) CreateRule

SecurityApiService Create project secret scanning rule Create a new project level secret scanning rule. Project rules are used when scanning all non exempt repositories in the provided project. Project **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body Rule to create, either the line regular expression or the path regular expression must be present
  • @param projectKey The project key.

@return RestSecretScanningRule

func (*SecurityApiService) CreateRule1

func (a *SecurityApiService) CreateRule1(ctx context.Context, body RestSecretScanningRuleSetRequest, projectKey string, repositorySlug string) (RestSecretScanningRule, *http.Response, error)

SecurityApiService Create repository secret scanning rule Create a new repository secret scanning rule. Repository rules are used when scanning the given repository. Repository **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body Rule to create, either the line regular expression or the path regular expression must be present
  • @param projectKey The project key.
  • @param repositorySlug The repository slug.

@return RestSecretScanningRule

func (*SecurityApiService) CreateRule2

SecurityApiService Create global secret scanning rule Create a new global secret scanning rule. Global rules are used when scanning all non exempt repositories.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body Rule to create, either the line regular expression or the path regular expression must be present

@return RestSecretScanningRule

func (*SecurityApiService) DeleteAllowlistRule

func (a *SecurityApiService) DeleteAllowlistRule(ctx context.Context, projectKey string, id string) (*http.Response, error)

SecurityApiService Delete a project secret scanning allowlist rule Delete a project secret scanning allowlist rule with the provided ID. Project **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The allowlist rule id.

func (*SecurityApiService) DeleteAllowlistRule1

func (a *SecurityApiService) DeleteAllowlistRule1(ctx context.Context, projectKey string, id string, repositorySlug string) (*http.Response, error)

SecurityApiService Delete a repository secret scanning allowlist rule Delete a repository secret scanning allowlist rule with the provided ID. Repository **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The allowlist rule id.
  • @param repositorySlug The repository slug.

func (*SecurityApiService) DeleteForUser

func (a *SecurityApiService) DeleteForUser(ctx context.Context, localVarOptionals *SecurityApiDeleteForUserOpts) (*http.Response, error)

func (*SecurityApiService) DeleteKey

func (a *SecurityApiService) DeleteKey(ctx context.Context, fingerprintOrId string) (*http.Response, error)

SecurityApiService Delete a GPG key Delete the GPG key with the specified ID or Key Fingerprint.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param fingerprintOrId The GPG fingerprint or ID.

func (*SecurityApiService) DeleteRule

func (a *SecurityApiService) DeleteRule(ctx context.Context, projectKey string, id string) (*http.Response, error)

SecurityApiService Delete a project secret scanning rule Delete a project secret scanning rule with the provided ID. Project **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The rule id.

func (*SecurityApiService) DeleteRule1

func (a *SecurityApiService) DeleteRule1(ctx context.Context, projectKey string, id string, repositorySlug string) (*http.Response, error)

SecurityApiService Delete a repository secret scanning rule Delete a repository secret scanning rule with the provided ID. Repository **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The rule id.
  • @param repositorySlug The repository slug.

func (*SecurityApiService) DeleteRule2

func (a *SecurityApiService) DeleteRule2(ctx context.Context, id string) (*http.Response, error)

SecurityApiService Delete a global secret scanning rule Delete a global secret scanning rule with the provided ID

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The rule id.

func (*SecurityApiService) EditAllowlistRule

SecurityApiService Edit an existing project secret scanning allowlist rule Edit a project secret scanning allowlist rule. Project **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param projectKey The project key.
  • @param id The allowlist rule id.

@return RestSecretScanningAllowlistRule

func (*SecurityApiService) EditAllowlistRule1

SecurityApiService Edit an existing repository secret scanning allowlist rule Edit a repository secret scanning allowlist rule. Repository **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param projectKey The project key.
  • @param id The allowlist rule id.
  • @param repositorySlug The repository slug.

@return RestSecretScanningAllowlistRule

func (*SecurityApiService) EditRule

SecurityApiService Edit an existing project secret scanning rule Edit a project secret scanning rule. Project **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param projectKey The project key.
  • @param id The rule id.

@return RestSecretScanningRule

func (*SecurityApiService) EditRule1

SecurityApiService Edit an existing repository secret scanning rule Edit a repository secret scanning rule. Repository **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param projectKey The project key.
  • @param id The rule id.
  • @param repositorySlug The repository slug.

@return RestSecretScanningRule

func (*SecurityApiService) EditRule2

SecurityApiService Edit a global secret scanning rule. Edit an existing global secret scanning rule

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param body
  • @param id The rule id.

@return RestSecretScanningRule

func (*SecurityApiService) FindExemptReposByScope

func (a *SecurityApiService) FindExemptReposByScope(ctx context.Context, localVarOptionals *SecurityApiFindExemptReposByScopeOpts) (InlineResponse20029, *http.Response, error)

func (*SecurityApiService) GetAllowlistRule

func (a *SecurityApiService) GetAllowlistRule(ctx context.Context, projectKey string, id string) (RestSecretScanningAllowlistRule, *http.Response, error)

SecurityApiService Get a project secret scanning allowlist rule Get a project secret scanning allowlist rule by ID. Project **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The allowlist rule id.

@return RestSecretScanningAllowlistRule

func (*SecurityApiService) GetAllowlistRule1

func (a *SecurityApiService) GetAllowlistRule1(ctx context.Context, projectKey string, id string, repositorySlug string) (RestSecretScanningAllowlistRule, *http.Response, error)

SecurityApiService Get a repository secret scanning allowlist rule Get a repository secret scanning allowlist rule by ID. Repository **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The allowlist rule id.
  • @param repositorySlug The repository slug.

@return RestSecretScanningAllowlistRule

func (*SecurityApiService) GetKeysForUser

func (a *SecurityApiService) GetKeysForUser(ctx context.Context, localVarOptionals *SecurityApiGetKeysForUserOpts) (InlineResponse2007, *http.Response, error)

func (*SecurityApiService) GetRule

SecurityApiService Get a project secret scanning rule Get a project secret scanning rule by ID. Project **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The rule id.

@return RestSecretScanningRule

func (*SecurityApiService) GetRule1

func (a *SecurityApiService) GetRule1(ctx context.Context, projectKey string, id string, repositorySlug string) (RestSecretScanningRule, *http.Response, error)

SecurityApiService Get a repository secret scanning rule Get a repository secret scanning rule by ID. Repository **Admin** is required

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectKey The project key.
  • @param id The rule id.
  • @param repositorySlug The repository slug.

@return RestSecretScanningRule

func (*SecurityApiService) GetRule2

SecurityApiService Get a global secret scanning rule Get a global secret scanning rule by ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The rule id.

@return RestSecretScanningRule

func (*SecurityApiService) Search1

func (a *SecurityApiService) Search1(ctx context.Context, projectKey string, localVarOptionals *SecurityApiSearch1Opts) (InlineResponse20043, *http.Response, error)

func (*SecurityApiService) Search2

func (a *SecurityApiService) Search2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *SecurityApiSearch2Opts) (InlineResponse20042, *http.Response, error)

func (*SecurityApiService) Search3

func (a *SecurityApiService) Search3(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *SecurityApiSearch3Opts) (InlineResponse20043, *http.Response, error)

func (*SecurityApiService) Search4

func (*SecurityApiService) SearchAllowlistRule

func (a *SecurityApiService) SearchAllowlistRule(ctx context.Context, projectKey string, localVarOptionals *SecurityApiSearchAllowlistRuleOpts) (InlineResponse20042, *http.Response, error)

type SimpleSshKeyFingerprint

type SimpleSshKeyFingerprint struct {
	Algorithm string `json:"algorithm,omitempty"`
	Value     string `json:"value,omitempty"`
}

type SshKeyIdBody

type SshKeyIdBody struct {
	Projects     *RestProject    `json:"projects,omitempty"`
	Repositories *RestRepository `json:"repositories,omitempty"`
}

type SystemMaintenanceApiCreateHookScriptOpts

type SystemMaintenanceApiCreateHookScriptOpts struct {
	Content     optional.String
	Description optional.String
	Name        optional.String
	Type_       optional.String
}

type SystemMaintenanceApiDelete2Opts

type SystemMaintenanceApiDelete2Opts struct {
	Force optional.Bool
}

type SystemMaintenanceApiGetAllMeshMigrationSummariesOpts

type SystemMaintenanceApiGetAllMeshMigrationSummariesOpts struct {
	Start optional.Float64
	Limit optional.Float64
}

type SystemMaintenanceApiGetAllRateLimitSettingsOpts

type SystemMaintenanceApiGetAllRateLimitSettingsOpts struct {
	Filter optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type SystemMaintenanceApiGetExportJobMessagesOpts

type SystemMaintenanceApiGetExportJobMessagesOpts struct {
	Severity optional.String
	Subject  optional.String
	Start    optional.Float64
	Limit    optional.Float64
}

type SystemMaintenanceApiGetHistoryOpts

type SystemMaintenanceApiGetHistoryOpts struct {
	Order optional.String
	Start optional.Float64
	Limit optional.Float64
}

type SystemMaintenanceApiGetImportJobMessagesOpts

type SystemMaintenanceApiGetImportJobMessagesOpts struct {
	Severity optional.String
	Subject  optional.String
	Start    optional.Float64
	Limit    optional.Float64
}

type SystemMaintenanceApiGetLabelablesOpts

type SystemMaintenanceApiGetLabelablesOpts struct {
	Type_ optional.String
	Start optional.Float64
	Limit optional.Float64
}

type SystemMaintenanceApiGetLabelsOpts

type SystemMaintenanceApiGetLabelsOpts struct {
	Prefix optional.String
	Start  optional.Float64
	Limit  optional.Float64
}

type SystemMaintenanceApiGetMeshMigrationJobMessagesOpts

type SystemMaintenanceApiGetMeshMigrationJobMessagesOpts struct {
	Severity optional.String
	Subject  optional.String
	Start    optional.Float64
	Limit    optional.Float64
}

type SystemMaintenanceApiGetUsers2Opts

type SystemMaintenanceApiGetUsers2Opts struct {
	Filter      optional.String
	PermissionN optional.String
	Permission  optional.String
	Group       optional.String
}

type SystemMaintenanceApiPreviewExportOpts

type SystemMaintenanceApiPreviewExportOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiPreviewMeshMigrationOpts

type SystemMaintenanceApiPreviewMeshMigrationOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiRegisterNewMeshNodeOpts

type SystemMaintenanceApiRegisterNewMeshNodeOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiSearchMeshMigrationReposOpts

type SystemMaintenanceApiSearchMeshMigrationReposOpts struct {
	MigrationId optional.String
	ProjectKey  optional.String
	Name        optional.String
	State       optional.String
	Remote      optional.String
	Start       optional.Float64
	Limit       optional.Float64
}

type SystemMaintenanceApiService

type SystemMaintenanceApiService service

func (*SystemMaintenanceApiService) CancelExportJob

func (a *SystemMaintenanceApiService) CancelExportJob(ctx context.Context, jobId string) (*http.Response, error)

SystemMaintenanceApiService Cancel export job Requests the cancellation of an export job. The request to cancel a job will be processed successfully if the job is actually still running. If it has already finished (successfully or with errors) or if it has already been canceled before, then an error will be returned. There might be a small delay between accepting the request and actually cancelling the job. In most cases, the delay will be close to instantaneously. In the unlikely case of communication issues across a cluster, it can however take a few seconds to cancel a job. A client should always actively query the job status to confirm that a job has been successfully canceled. The authenticated user must have **ADMIN** permission or higher to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId the ID of the job to cancel

func (*SystemMaintenanceApiService) CancelImportJob

func (a *SystemMaintenanceApiService) CancelImportJob(ctx context.Context, jobId string) (*http.Response, error)

SystemMaintenanceApiService Cancel import job Requests the cancellation of an import job. The request to cancel a job will be processed successfully if the job is actually still running. If it has already finished (successfully or with errors) or if it has already been canceled before, then an error will be returned. Note that import jobs are not canceled as instantaneously as export jobs. Rather, once the request has been accepted, there are a number of checkpoints at which the job will actually apply it and stop. This is to keep the system in a reasonably consistent state: - After the current fork hierarchy has been imported and verified. - Before the next repository is imported. - Before the next pull request is imported. A client should always actively query the job status to confirm that a job has been successfully canceled. The authenticated user must have **ADMIN** permission or higher to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId the ID of the job to cancel

func (*SystemMaintenanceApiService) CancelMeshMigrationJob

func (a *SystemMaintenanceApiService) CancelMeshMigrationJob(ctx context.Context, jobId string) (*http.Response, error)

SystemMaintenanceApiService Cancel Mesh migration job Requests the cancellation of a migration job. The request to cancel a job will be processed successfully if the job is actually still running. If it has already finished (successfully or with errors) or if it has already been canceled before, then an error will be returned. There might be a small delay between accepting the request and actually cancelling the job. In most cases, the delay will be close to instantaneously. In the unlikely case of communication issues across a cluster, it can however take a few seconds to cancel a job. A client should always actively query the job status to confirm that a job has been successfully canceled. The authenticated user must have **SYS_ADMIN** permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of the job to cancel

func (*SystemMaintenanceApiService) ClearDefaultBranch

func (a *SystemMaintenanceApiService) ClearDefaultBranch(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Clear default branch Clears the global default branch, which is used when creating new repositories if an explicit default branch is not specified, if one has been configured. The authenticated user must have &lt;strong&gt;ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) ClearSenderAddress

func (a *SystemMaintenanceApiService) ClearSenderAddress(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Update mail configuration Clears the server email address. The authenticated user must have the &lt;strong&gt;ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) Connectivity

SystemMaintenanceApiService Generate Mesh connectivity report Generates a connectivity report between the Bitbucket node(s) and the Mesh node(s). The authenticated user must have **SYS_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestMeshConnectivityReport

func (*SystemMaintenanceApiService) CreateHookScript

func (*SystemMaintenanceApiService) Delete2

func (*SystemMaintenanceApiService) Delete6

func (a *SystemMaintenanceApiService) Delete6(ctx context.Context, userSlug string) (*http.Response, error)

SystemMaintenanceApiService Delete user specific rate limit settings Deletes the user-specific rate limit settings for the given user. The authenticated user must have &lt;strong&gt;ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userSlug The user slug.

func (*SystemMaintenanceApiService) DeleteAvatar

func (a *SystemMaintenanceApiService) DeleteAvatar(ctx context.Context, userSlug string) (RestNamedLink, *http.Response, error)

SystemMaintenanceApiService Delete user avatar Delete the avatar associated to a user. Users are always allowed to delete their own avatar. To delete someone else&#x27;s avatar the authenticated user must have global &lt;strong&gt;ADMIN&lt;/strong&gt; permission, or global &lt;strong&gt;SYS_ADMIN&lt;/strong&gt; permission to update a &lt;strong&gt;SYS_ADMIN&lt;/strong&gt; user&#x27;s avatar.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userSlug The user slug

@return RestNamedLink

func (*SystemMaintenanceApiService) DeleteBanner

func (a *SystemMaintenanceApiService) DeleteBanner(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Delete announcement banner Deletes a banner, if one is present in the database.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) DeleteHookScript

func (a *SystemMaintenanceApiService) DeleteHookScript(ctx context.Context, scriptId string) (*http.Response, error)

SystemMaintenanceApiService Delete a hook script. Deletes a registered hook script. This endpoint requires **SYS_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param scriptId The ID of the hook script to delete

func (*SystemMaintenanceApiService) DeleteMailConfig

func (a *SystemMaintenanceApiService) DeleteMailConfig(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Delete mail configuration Deletes the current mail configuration. The authenticated user must have the &lt;strong&gt;SYS_ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) DismissRetentionConfigReviewNotification

func (a *SystemMaintenanceApiService) DismissRetentionConfigReviewNotification(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Dismiss retention config notification Dismisses the retention config review notification displayed by the audit plugin for the user that&#x27;s currently logged in.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) Get2

SystemMaintenanceApiService Get license details Retrieves details about the current license, as well as the current status of the system with regards to the installed license. The status includes the current number of users applied toward the license limit, as well as any status messages about the license (warnings about expiry or user counts exceeding license limits). The authenticated user must have &lt;b&gt;ADMIN&lt;/b&gt; permission. Unauthenticated users, and non-administrators, are not permitted to access license details.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestBitbucketLicense

func (*SystemMaintenanceApiService) Get4

SystemMaintenanceApiService Get user specific rate limit settings Retrieves the user-specific rate limit settings for the given user. To call this resource, the user must be authenticated and either have &lt;strong&gt;ADMIN&lt;/strong&gt; permission or be the same user as the one whose settings are requested. A user with &lt;strong&gt;ADMIN&lt;/strong&gt; permission cannot get the settings of a user with &lt;strong&gt;SYS_ADMIN&lt;/strong&gt; permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userSlug The user slug.

@return RestUserRateLimitSettings

func (*SystemMaintenanceApiService) GetActiveMeshMigrationSummary

func (a *SystemMaintenanceApiService) GetActiveMeshMigrationSummary(ctx context.Context) (RestMeshMigrationSummary, *http.Response, error)

SystemMaintenanceApiService Get summary for Mesh migration job Gets the summary, including the queue status and progress, of the currently active Mesh migration job. The authenticated user must have **SYS_ADMIN** permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestMeshMigrationSummary

func (*SystemMaintenanceApiService) GetAllMeshMigrationSummaries

func (*SystemMaintenanceApiService) GetAllRateLimitSettings

func (*SystemMaintenanceApiService) GetAllRegisteredMeshNodes

func (a *SystemMaintenanceApiService) GetAllRegisteredMeshNodes(ctx context.Context) (RestMeshNode, *http.Response, error)

SystemMaintenanceApiService Get all registered Mesh nodes Get all the registered Mesh nodes. The authenticated user must have **SYS_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestMeshNode

func (*SystemMaintenanceApiService) GetApplicationProperties

SystemMaintenanceApiService Get application properties Retrieve version information and other application properties. No authentication is required to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestApplicationProperties

func (*SystemMaintenanceApiService) GetBanner

SystemMaintenanceApiService Get announcement banner Gets the announcement banner, if one exists and is available to the user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestAnnouncementBanner

func (*SystemMaintenanceApiService) GetControlPlanePublicKey

func (a *SystemMaintenanceApiService) GetControlPlanePublicKey(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Get the control plane PEM Obtain the control plane PEM. The authenticated user must have **SYS_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) GetDefaultBranch

func (a *SystemMaintenanceApiService) GetDefaultBranch(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Get the default branch Retrieves the configured global default branch, which is used when creating new repositories if an explicit default branch is not specified. The user must be authenticated to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) GetExportJob

func (a *SystemMaintenanceApiService) GetExportJob(ctx context.Context, jobId string) (RestJob, *http.Response, error)

SystemMaintenanceApiService Get export job details Gets the details, including the current status and progress, of the export job identified by the given ID. The authenticated user must have **ADMIN** permission or higher to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId the ID of the job

@return RestJob

func (*SystemMaintenanceApiService) GetExportJobMessages

func (*SystemMaintenanceApiService) GetGlobalSettings

SystemMaintenanceApiService Get global SSH key settings Gets the global settings that enforce the maximum expiry of SSH keys and restrictions on SSH key types.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestSshKeySettings

func (*SystemMaintenanceApiService) GetHistory

func (*SystemMaintenanceApiService) GetHookScript

func (a *SystemMaintenanceApiService) GetHookScript(ctx context.Context, scriptId string) (RestHookScript, *http.Response, error)

SystemMaintenanceApiService Get a hook script Retrieves a hook script by ID.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param scriptId The ID of the hook script to retrieve

@return RestHookScript

func (*SystemMaintenanceApiService) GetImportJob

func (a *SystemMaintenanceApiService) GetImportJob(ctx context.Context, jobId string) (RestJob, *http.Response, error)

SystemMaintenanceApiService Get import job status Gets the details, including the current status and progress, of the import job identified by the given ID. The authenticated user must have **ADMIN** permission or higher to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of the job

@return RestJob

func (*SystemMaintenanceApiService) GetImportJobMessages

func (*SystemMaintenanceApiService) GetInformation

SystemMaintenanceApiService Get cluster node information Gets information about the nodes that currently make up the stash cluster. The authenticated user must have the &lt;strong&gt;SYS_ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestClusterInformation

func (*SystemMaintenanceApiService) GetLabel

func (a *SystemMaintenanceApiService) GetLabel(ctx context.Context, labelName string) (RestLabel, *http.Response, error)

SystemMaintenanceApiService Get label Returns a label. The user needs to be authenticated to use this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param labelName the label name

@return RestLabel

func (*SystemMaintenanceApiService) GetLabelables

func (*SystemMaintenanceApiService) GetLabels

func (*SystemMaintenanceApiService) GetLevel

SystemMaintenanceApiService Get current log level Retrieve the current log level for a given logger. The authenticated user must have &lt;strong&gt;ADMIN&lt;/strong&gt; permission or higher to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param loggerName The name of the logger.

@return RestLogLevel

func (*SystemMaintenanceApiService) GetMailConfig

SystemMaintenanceApiService Get mail configuration Retrieves the current mail configuration. The authenticated user must have the &lt;strong&gt;SYS_ADMIN&lt;/strong&gt; permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestMailConfiguration

func (*SystemMaintenanceApiService) GetMeshMigrationJob

func (a *SystemMaintenanceApiService) GetMeshMigrationJob(ctx context.Context, jobId string) (*http.Response, error)

SystemMaintenanceApiService Get Mesh migration job details Gets the details, including the current status and progress, of the job identified by the given ID. The authenticated user must have **SYS_ADMIN** permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of the job

func (*SystemMaintenanceApiService) GetMeshMigrationJobMessages

func (*SystemMaintenanceApiService) GetMeshMigrationJobSummary

func (a *SystemMaintenanceApiService) GetMeshMigrationJobSummary(ctx context.Context, jobId string) (RestMeshMigrationSummary, *http.Response, error)

SystemMaintenanceApiService Get Mesh migration job summary Gets the summary, including the queue status and progress, of a Mesh migration job. The authenticated user must have **SYS_ADMIN** permission to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of the job

@return RestMeshMigrationSummary

func (*SystemMaintenanceApiService) GetRegisteredMeshNodeById

func (a *SystemMaintenanceApiService) GetRegisteredMeshNodeById(ctx context.Context, id string) (RestMeshNode, *http.Response, error)

SystemMaintenanceApiService Get Mesh node Get the registered Mesh node that matches the supplied ID. The authenticated user must have **SYS_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the Mesh node.

@return RestMeshNode

func (*SystemMaintenanceApiService) GetRepositoryArchivePolicy

func (a *SystemMaintenanceApiService) GetRepositoryArchivePolicy(ctx context.Context) (RestRepositoryPolicy, *http.Response, error)

SystemMaintenanceApiService Get repository archive policy Retrieves the repository archive policy for the instance. The user must be authenticated to access this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestRepositoryPolicy

func (*SystemMaintenanceApiService) GetRepositoryDeletePolicy

func (a *SystemMaintenanceApiService) GetRepositoryDeletePolicy(ctx context.Context) (RestRepositoryPolicy, *http.Response, error)

SystemMaintenanceApiService Get repository delete policy Retrieves the repository delete policy for the instance. The user must be authenticated to access this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestRepositoryPolicy

func (*SystemMaintenanceApiService) GetRootLevel

SystemMaintenanceApiService Get root log level

Retrieve the current log level for the root logger.  The authenticated user must have &lt;strong&gt;ADMIN&lt;/strong&gt; permission or higher to call this resource.
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestLogLevel

func (*SystemMaintenanceApiService) GetSenderAddress

func (a *SystemMaintenanceApiService) GetSenderAddress(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Get server mail address Retrieves the server email address

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) GetSettings2

SystemMaintenanceApiService Get rate limit settings Retrieves the rate limit settings for the instance. The user must be authenticated to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return RestRateLimitSettings

func (*SystemMaintenanceApiService) GetSupportZip

func (a *SystemMaintenanceApiService) GetSupportZip(ctx context.Context, id string) (*http.Response, error)

SystemMaintenanceApiService Get support zip for node Get the support zip for the Mesh node that matches the specified ID. The authenticated user must have **SYS_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the Mesh node.

func (*SystemMaintenanceApiService) GetSupportZips

func (a *SystemMaintenanceApiService) GetSupportZips(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Get support zips for all Mesh nodes Get the support zips for all the Mesh nodes. The authenticated user must have **SYS_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) GetSupportedKeyTypes

func (a *SystemMaintenanceApiService) GetSupportedKeyTypes(ctx context.Context) (*http.Response, error)

SystemMaintenanceApiService Get supported SSH key algorithms and lengths Retrieves a list of all supported SSH key algorithms and lengths.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SystemMaintenanceApiService) GetUser

SystemMaintenanceApiService Get user Retrieve the user matching the supplied &lt;strong&gt;userSlug&lt;/strong&gt;.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userSlug The user slug

@return RestApplicationUser

func (*SystemMaintenanceApiService) GetUserSettings

func (a *SystemMaintenanceApiService) GetUserSettings(ctx context.Context, userSlug string) (ExampleSettingsMap, *http.Response, error)

SystemMaintenanceApiService Get user settings Retrieve a map of user setting key values for a specific user identified by the user slug.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userSlug The user slug.

@return ExampleSettingsMap

func (*SystemMaintenanceApiService) GetUsers2

func (*SystemMaintenanceApiService) PreviewExport

func (*SystemMaintenanceApiService) PreviewMeshMigration

func (*SystemMaintenanceApiService) Read

SystemMaintenanceApiService Get hook script content Retrieves the hook script content. This endpoint requires **SYS_ADMIN** permission.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param scriptId The ID of the hook script

func (*SystemMaintenanceApiService) RegisterNewMeshNode

func (*SystemMaintenanceApiService) SearchMeshMigrationRepos

func (*SystemMaintenanceApiService) Set

func (*SystemMaintenanceApiService) Set1

func (*SystemMaintenanceApiService) SetBanner

func (*SystemMaintenanceApiService) SetDefaultBranch

func (*SystemMaintenanceApiService) SetLevel

func (a *SystemMaintenanceApiService) SetLevel(ctx context.Context, levelName string, loggerName string) (*http.Response, error)

SystemMaintenanceApiService Set log level Set the current log level for a given logger. The authenticated user must have &lt;strong&gt;ADMIN&lt;/strong&gt; permission or higher to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param levelName The level to set the logger to. Either TRACE, DEBUG, INFO, WARN or ERROR
  • @param loggerName The name of the logger.

func (*SystemMaintenanceApiService) SetMailConfig

func (*SystemMaintenanceApiService) SetRepositoryArchivePolicy

func (*SystemMaintenanceApiService) SetRepositoryDeletePolicy

func (*SystemMaintenanceApiService) SetRootLevel

func (a *SystemMaintenanceApiService) SetRootLevel(ctx context.Context, levelName string) (*http.Response, error)

SystemMaintenanceApiService Set root log level Set the current log level for the root logger. The authenticated user must have &lt;strong&gt;ADMIN&lt;/strong&gt; permission or higher to call this resource.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param levelName the level to set the logger to. Either TRACE, DEBUG, INFO, WARN or ERROR

func (*SystemMaintenanceApiService) SetSenderAddress

func (*SystemMaintenanceApiService) SetSettings2

func (*SystemMaintenanceApiService) StartExport

func (*SystemMaintenanceApiService) StartImport

func (*SystemMaintenanceApiService) StartMeshMigration

func (*SystemMaintenanceApiService) UpdateGlobalSettings

func (a *SystemMaintenanceApiService) UpdateGlobalSettings(ctx context.Context, localVarOptionals *SystemMaintenanceApiUpdateGlobalSettingsOpts) (*http.Response, error)

func (*SystemMaintenanceApiService) UpdateHookScript

func (*SystemMaintenanceApiService) UpdateLicense

func (*SystemMaintenanceApiService) UpdateMeshNode

func (*SystemMaintenanceApiService) UpdateSettings

func (a *SystemMaintenanceApiService) UpdateSettings(ctx context.Context, userSlug string, localVarOptionals *SystemMaintenanceApiUpdateSettingsOpts) (*http.Response, error)

func (*SystemMaintenanceApiService) UpdateUserDetails1

func (*SystemMaintenanceApiService) UpdateUserPassword1

func (*SystemMaintenanceApiService) UploadAvatar1

func (a *SystemMaintenanceApiService) UploadAvatar1(ctx context.Context, userSlug string, localVarOptionals *SystemMaintenanceApiUploadAvatar1Opts) (*http.Response, error)

type SystemMaintenanceApiSet1Opts

type SystemMaintenanceApiSet1Opts struct {
	Body optional.Interface
}

type SystemMaintenanceApiSetBannerOpts

type SystemMaintenanceApiSetBannerOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiSetDefaultBranchOpts

type SystemMaintenanceApiSetDefaultBranchOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiSetMailConfigOpts

type SystemMaintenanceApiSetMailConfigOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiSetOpts

type SystemMaintenanceApiSetOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiSetRepositoryArchivePolicyOpts

type SystemMaintenanceApiSetRepositoryArchivePolicyOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiSetRepositoryDeletePolicyOpts

type SystemMaintenanceApiSetRepositoryDeletePolicyOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiSetSenderAddressOpts

type SystemMaintenanceApiSetSenderAddressOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiSetSettings2Opts

type SystemMaintenanceApiSetSettings2Opts struct {
	Body optional.Interface
}

type SystemMaintenanceApiStartExportOpts

type SystemMaintenanceApiStartExportOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiStartImportOpts

type SystemMaintenanceApiStartImportOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiStartMeshMigrationOpts

type SystemMaintenanceApiStartMeshMigrationOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiUpdateGlobalSettingsOpts

type SystemMaintenanceApiUpdateGlobalSettingsOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiUpdateHookScriptOpts

type SystemMaintenanceApiUpdateHookScriptOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiUpdateLicenseOpts

type SystemMaintenanceApiUpdateLicenseOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiUpdateMeshNodeOpts

type SystemMaintenanceApiUpdateMeshNodeOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiUpdateSettingsOpts

type SystemMaintenanceApiUpdateSettingsOpts struct {
	Body optional.Interface
}

type SystemMaintenanceApiUpdateUserDetails1Opts

type SystemMaintenanceApiUpdateUserDetails1Opts struct {
	Body optional.Interface
}

type SystemMaintenanceApiUpdateUserPassword1Opts

type SystemMaintenanceApiUpdateUserPassword1Opts struct {
	Body optional.Interface
}

type SystemMaintenanceApiUploadAvatar1Opts

type SystemMaintenanceApiUploadAvatar1Opts struct {
	Avatar          optional.Interface
	XAtlassianToken optional.String
}

type UserAndGroups

type UserAndGroups struct {
	Groups []string `json:"groups"`
	User   string   `json:"user,omitempty"`
}

type UserPasswordUpdate

type UserPasswordUpdate struct {
	OldPassword     string `json:"oldPassword,omitempty"`
	Password        string `json:"password,omitempty"`
	PasswordConfirm string `json:"passwordConfirm,omitempty"`
}

type UserPickerContext

type UserPickerContext struct {
	Context  string `json:"context,omitempty"`
	ItemName string `json:"itemName,omitempty"`
}

type UserRename

type UserRename struct {
	Name    string `json:"name,omitempty"`
	NewName string `json:"newName,omitempty"`
}

type UserUpdate

type UserUpdate struct {
	DisplayName string `json:"displayName,omitempty"`
	Email       string `json:"email,omitempty"`
	Name        string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL