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)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AdminBannerBody
- type AdminDefaultbranchBody
- type AdminMailserverBody
- type AdminPasswordUpdate
- type ApilatestmigrationmeshMaxBytesPerSecond
- type ApplicationId
- type ApplicationUser
- type AuthenticationApiAddForProjectOpts
- type AuthenticationApiAddForRepositoryOpts
- type AuthenticationApiAddSshKeyOpts
- type AuthenticationApiCreateAccessToken1Opts
- type AuthenticationApiCreateAccessToken2Opts
- type AuthenticationApiCreateAccessToken3Opts
- type AuthenticationApiDeleteSshKeysOpts
- type AuthenticationApiGetAllAccessTokens1Opts
- type AuthenticationApiGetAllAccessTokens2Opts
- type AuthenticationApiGetAllAccessTokensOpts
- type AuthenticationApiGetForRepositoriesOpts
- type AuthenticationApiGetForRepositoryOpts
- type AuthenticationApiGetSshKeysForProjectOpts
- type AuthenticationApiGetSshKeysOpts
- type AuthenticationApiRevokeManyOpts
- type AuthenticationApiService
- func (a *AuthenticationApiService) AddForProject(ctx context.Context, projectKey string, ...) (RestSshAccessKey, *http.Response, error)
- func (a *AuthenticationApiService) AddForRepository(ctx context.Context, projectKey string, repositorySlug string, ...) (RestSshAccessKey, *http.Response, error)
- func (a *AuthenticationApiService) AddSshKey(ctx context.Context, localVarOptionals *AuthenticationApiAddSshKeyOpts) (RestSshKey, *http.Response, error)
- func (a *AuthenticationApiService) CreateAccessToken1(ctx context.Context, projectKey string, ...) (RestRawAccessToken, *http.Response, error)
- func (a *AuthenticationApiService) CreateAccessToken2(ctx context.Context, projectKey string, repositorySlug string, ...) (RestRawAccessToken, *http.Response, error)
- func (a *AuthenticationApiService) CreateAccessToken3(ctx context.Context, userSlug string, ...) (RestRawAccessToken, *http.Response, error)
- func (a *AuthenticationApiService) DeleteById(ctx context.Context, projectKey string, tokenId string) (*http.Response, error)
- func (a *AuthenticationApiService) DeleteById1(ctx context.Context, projectKey string, tokenId string, repositorySlug string) (*http.Response, error)
- func (a *AuthenticationApiService) DeleteById2(ctx context.Context, tokenId string, userSlug string) (*http.Response, error)
- func (a *AuthenticationApiService) DeleteSshKey(ctx context.Context, keyId string) (*http.Response, error)
- func (a *AuthenticationApiService) DeleteSshKeys(ctx context.Context, localVarOptionals *AuthenticationApiDeleteSshKeysOpts) (*http.Response, error)
- func (a *AuthenticationApiService) GetAllAccessTokens(ctx context.Context, projectKey string, ...) (InlineResponse200, *http.Response, error)
- func (a *AuthenticationApiService) GetAllAccessTokens1(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse200, *http.Response, error)
- func (a *AuthenticationApiService) GetAllAccessTokens2(ctx context.Context, userSlug string, ...) (InlineResponse200, *http.Response, error)
- func (a *AuthenticationApiService) GetById(ctx context.Context, projectKey string, tokenId string) (RestAccessToken, *http.Response, error)
- func (a *AuthenticationApiService) GetById1(ctx context.Context, projectKey string, tokenId string, repositorySlug string) (RestAccessToken, *http.Response, error)
- func (a *AuthenticationApiService) GetById2(ctx context.Context, tokenId string, userSlug string) (RestAccessToken, *http.Response, error)
- func (a *AuthenticationApiService) GetForProject(ctx context.Context, projectKey string, keyId string) (RestSshAccessKey, *http.Response, error)
- func (a *AuthenticationApiService) GetForProjects(ctx context.Context, keyId int32) (*http.Response, error)
- func (a *AuthenticationApiService) GetForRepositories(ctx context.Context, keyId string, ...) (*http.Response, error)
- func (a *AuthenticationApiService) GetForRepository(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20014, *http.Response, error)
- func (a *AuthenticationApiService) GetForRepository1(ctx context.Context, projectKey string, keyId string, repositorySlug string) (RestSshAccessKey, *http.Response, error)
- func (a *AuthenticationApiService) GetSshKey(ctx context.Context, keyId string) (RestSshKey, *http.Response, error)
- func (a *AuthenticationApiService) GetSshKeys(ctx context.Context, localVarOptionals *AuthenticationApiGetSshKeysOpts) (InlineResponse20015, *http.Response, error)
- func (a *AuthenticationApiService) GetSshKeysForProject(ctx context.Context, projectKey string, ...) (InlineResponse20014, *http.Response, error)
- func (a *AuthenticationApiService) RevokeForProject(ctx context.Context, projectKey string, keyId string) (*http.Response, error)
- func (a *AuthenticationApiService) RevokeForRepository(ctx context.Context, projectKey string, keyId string, repositorySlug string) (*http.Response, error)
- func (a *AuthenticationApiService) RevokeMany(ctx context.Context, keyId string, ...) (*http.Response, error)
- func (a *AuthenticationApiService) SshSettings(ctx context.Context) (RestSshSettings, *http.Response, error)
- func (a *AuthenticationApiService) UpdateAccessToken(ctx context.Context, projectKey string, tokenId string, ...) (RestAccessToken, *http.Response, error)
- func (a *AuthenticationApiService) UpdateAccessToken1(ctx context.Context, projectKey string, tokenId string, repositorySlug string, ...) (RestAccessToken, *http.Response, error)
- func (a *AuthenticationApiService) UpdateAccessToken2(ctx context.Context, tokenId string, userSlug string, ...) (RestAccessToken, *http.Response, error)
- func (a *AuthenticationApiService) UpdatePermission(ctx context.Context, projectKey string, keyId string, permission string) (RestSshAccessKey, *http.Response, error)
- func (a *AuthenticationApiService) UpdatePermission1(ctx context.Context, projectKey string, keyId string, permission string, ...) (RestSshAccessKey, *http.Response, error)
- type AuthenticationApiUpdateAccessToken1Opts
- type AuthenticationApiUpdateAccessToken2Opts
- type AuthenticationApiUpdateAccessTokenOpts
- type BasicAuth
- type BuildsAndDeploymentsApiAddAnnotationsOpts
- type BuildsAndDeploymentsApiAddOpts
- type BuildsAndDeploymentsApiCreateOrUpdateDeploymentOpts
- type BuildsAndDeploymentsApiCreateRequiredBuildsMergeCheckOpts
- type BuildsAndDeploymentsApiDelete1Opts
- type BuildsAndDeploymentsApiDeleteAnnotationsOpts
- type BuildsAndDeploymentsApiDeleteOpts
- type BuildsAndDeploymentsApiGet1Opts
- type BuildsAndDeploymentsApiGetAnnotations1Opts
- type BuildsAndDeploymentsApiGetBuildStatusStatsOpts
- type BuildsAndDeploymentsApiGetOpts
- type BuildsAndDeploymentsApiGetPageOfRequiredBuildsMergeChecksOpts
- type BuildsAndDeploymentsApiGetReportsOpts
- type BuildsAndDeploymentsApiService
- func (a *BuildsAndDeploymentsApiService) Add(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (*http.Response, error)
- func (a *BuildsAndDeploymentsApiService) AddAnnotations(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (*http.Response, error)
- func (a *BuildsAndDeploymentsApiService) CreateOrUpdateDeployment(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (RestDeployment, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) CreateRequiredBuildsMergeCheck(ctx context.Context, projectKey string, repositorySlug string, ...) (RestRequiredBuildCondition, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) Delete(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (*http.Response, error)
- func (a *BuildsAndDeploymentsApiService) Delete1(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (*http.Response, error)
- func (a *BuildsAndDeploymentsApiService) DeleteACodeInsightsReport(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (*http.Response, error)
- func (a *BuildsAndDeploymentsApiService) DeleteAnnotations(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (*http.Response, error)
- func (a *BuildsAndDeploymentsApiService) DeleteRequiredBuildsMergeCheck(ctx context.Context, projectKey string, id int64, repositorySlug string) (*http.Response, error)
- func (a *BuildsAndDeploymentsApiService) Get(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (RestBuildStatus, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) Get1(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (RestDeployment, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) GetACodeInsightsReport(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (RestInsightReport, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) GetAnnotations(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (RestInsightAnnotationsResponse, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) GetAnnotations1(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (RestInsightAnnotationsResponse, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) GetBuildStatusStats(ctx context.Context, commitId string, ...) (RestBuildStats, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) GetPageOfRequiredBuildsMergeChecks(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse2002, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) GetReports(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (InlineResponse2004, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) SetACodeInsightsReport(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (RestInsightReport, *http.Response, error)
- func (a *BuildsAndDeploymentsApiService) SetAnnotation(ctx context.Context, projectKey string, externalId string, commitId string, ...) (*http.Response, error)
- func (a *BuildsAndDeploymentsApiService) UpdateRequiredBuildsMergeCheck(ctx context.Context, projectKey string, id int64, repositorySlug string, ...) (RestRequiredBuildCondition, *http.Response, error)
- type BuildsAndDeploymentsApiSetACodeInsightsReportOpts
- type BuildsAndDeploymentsApiSetAnnotationOpts
- type BuildsAndDeploymentsApiUpdateRequiredBuildsMergeCheckOpts
- type CapabilitiesApiService
- type ConditionIdBody
- type Configuration
- type Context
- type Credentials
- type DashboardApiGetPullRequestSuggestionsOpts
- type DashboardApiGetPullRequests1Opts
- type DashboardApiService
- type DefaultApiGetPullRequests2Opts
- type DefaultApiService
- type DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcher
- type DefaultreviewerslatestprojectsprojectKeyreposrepositorySlugconditionidSourceMatcherType
- type DeprecatedApiAddBuildStatusOpts
- type DeprecatedApiAddGroupToUserOpts
- type DeprecatedApiAddUserToGroupOpts
- type DeprecatedApiGetBuildStatusOpts
- type DeprecatedApiGetBuildStatusStatsOpts
- type DeprecatedApiGetLikers1Opts
- type DeprecatedApiGetLikersOpts
- type DeprecatedApiRemoveUserFromGroupOpts
- type DeprecatedApiService
- func (a *DeprecatedApiService) AddBuildStatus(ctx context.Context, commitId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) AddGroupToUser(ctx context.Context, localVarOptionals *DeprecatedApiAddGroupToUserOpts) (*http.Response, error)
- func (a *DeprecatedApiService) AddUserToGroup(ctx context.Context, localVarOptionals *DeprecatedApiAddUserToGroupOpts) (*http.Response, error)
- func (a *DeprecatedApiService) Approve(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequestParticipant, *http.Response, error)
- func (a *DeprecatedApiService) CountPullRequestTasks(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) CreateTask(ctx context.Context) (*http.Response, error)
- func (a *DeprecatedApiService) DeleteTask(ctx context.Context, taskId string) (*http.Response, error)
- func (a *DeprecatedApiService) GetBuildStatus(ctx context.Context, commitId string, ...) (InlineResponse2001, *http.Response, error)
- func (a *DeprecatedApiService) GetBuildStatusStats(ctx context.Context, commitId string, ...) (RestBuildStats, *http.Response, error)
- func (a *DeprecatedApiService) GetDefaultBranch1(ctx context.Context, projectKey string, repositorySlug string) (RestBranch, *http.Response, error)
- func (a *DeprecatedApiService) GetLikers(ctx context.Context, projectKey string, commentId int64, commitId string, ...) (InlineResponse2005, *http.Response, error)
- func (a *DeprecatedApiService) GetLikers1(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (InlineResponse2005, *http.Response, error)
- func (a *DeprecatedApiService) GetPullRequestTasks(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) GetTask(ctx context.Context, taskId string) (*http.Response, error)
- func (a *DeprecatedApiService) Like(ctx context.Context, projectKey string, commentId int64, commitId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) Like1(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) OnAddonDisabled(ctx context.Context, upstreamId string) (*http.Response, error)
- func (a *DeprecatedApiService) OnAddonEnabled(ctx context.Context, upstreamId string) (*http.Response, error)
- func (a *DeprecatedApiService) RemoveUserFromGroup(ctx context.Context, localVarOptionals *DeprecatedApiRemoveUserFromGroupOpts) (*http.Response, error)
- func (a *DeprecatedApiService) SetDefaultBranch1(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) SynchronizeRepositoryWithUpstream(ctx context.Context, upstreamRepoId string, upstreamId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) SynchronizeWithUpstream(ctx context.Context, upstreamId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) UnassignParticipantRole1(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) Unlike(ctx context.Context, projectKey string, commentId int64, commitId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) Unlike1(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (*http.Response, error)
- func (a *DeprecatedApiService) UpdateTask(ctx context.Context, taskId string) (*http.Response, error)
- func (a *DeprecatedApiService) WithdrawApproval(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequestParticipant, *http.Response, error)
- type DeprecatedApiSetDefaultBranch1Opts
- type DeprecatedApiSynchronizeRepositoryWithUpstreamOpts
- type DeprecatedApiSynchronizeWithUpstreamOpts
- type DeprecatedApiUnassignParticipantRole1Opts
- type EnrichedRepository
- type EnrichedRepositoryProperties
- type EntityHolderRestPullRequestAutoMergeRequest
- type EntityHolderRestPullRequestAutoMergeRequestEntity
- type EntityHolderRestPullRequestDeclineRequest
- type EntityHolderRestPullRequestDeclineRequestEntity
- type EntityHolderRestPullRequestReopenRequest
- type EntityHolderRestPullRequestReopenRequestEntity
- type ExampleAvatarMultipartFormData
- type ExampleFiles
- type ExampleJsonLastModifiedCallback
- type ExampleMultipartFormData
- type ExamplePostMultipartFormData
- type ExamplePreviewMigration
- type ExamplePutMultipartFormData
- type ExampleRequirements
- type ExampleSettings
- type ExampleSettingsMap
- type ExampleSocketAddress
- type ExampleStatus
- type FilePart
- type GenericSwaggerError
- type Group
- type GroupAndUsers
- type GroupPickerContext
- type InlineResponse200
- type InlineResponse2001
- type InlineResponse20010
- type InlineResponse20011
- type InlineResponse20012
- type InlineResponse20013
- type InlineResponse20014
- type InlineResponse20015
- type InlineResponse20016
- type InlineResponse20017
- type InlineResponse20018
- type InlineResponse20019
- type InlineResponse2002
- type InlineResponse20020
- type InlineResponse20021
- type InlineResponse20022
- type InlineResponse20023
- type InlineResponse20024
- type InlineResponse20025
- type InlineResponse20026
- type InlineResponse20027
- type InlineResponse20028
- type InlineResponse20029
- type InlineResponse2003
- type InlineResponse20030
- type InlineResponse20031
- type InlineResponse20032
- type InlineResponse20033
- type InlineResponse20034
- type InlineResponse20035
- type InlineResponse20036
- type InlineResponse20037
- type InlineResponse20038
- type InlineResponse20039
- type InlineResponse2004
- type InlineResponse20040
- type InlineResponse20041
- type InlineResponse20042
- type InlineResponse20043
- type InlineResponse20044
- type InlineResponse20045
- type InlineResponse20046
- type InlineResponse20047
- type InlineResponse2005
- type InlineResponse2006
- type InlineResponse2007
- type InlineResponse2008
- type InlineResponse2009
- type InlineResponse401
- type JiraIntegrationApiCreateIssueOpts
- type JiraIntegrationApiGetCommitsByIssueKeyOpts
- type JiraIntegrationApiService
- func (a *JiraIntegrationApiService) CreateIssue(ctx context.Context, commentId string, ...) (RestCommentJiraIssue, *http.Response, error)
- func (a *JiraIntegrationApiService) GetCommitsByIssueKey(ctx context.Context, issueKey string, ...) (InlineResponse2006, *http.Response, error)
- func (a *JiraIntegrationApiService) GetEnhancedEntityLinkForProject(ctx context.Context, projectKey string) (RestEnhancedEntityLink, *http.Response, error)
- func (a *JiraIntegrationApiService) GetIssueKeysForPullRequest(ctx context.Context, projectKey string, pullRequestId string, ...) ([]RestJiraIssue, *http.Response, error)
- type LatestKeysBody
- type MarkupApiPreviewOpts
- type MarkupApiService
- type MigrationMeshBody
- type MirroringMirrorApiGetRepoSyncStatusOpts
- type MirroringMirrorApiListUpstreamServersOpts
- type MirroringMirrorApiService
- func (a *MirroringMirrorApiService) GetFarmNodes(ctx context.Context, upstreamId string) ([]RestClusterNode, *http.Response, error)
- func (a *MirroringMirrorApiService) GetMirrorMode(ctx context.Context, upstreamId string) (*http.Response, error)
- func (a *MirroringMirrorApiService) GetMirrorSettings(ctx context.Context, upstreamId string) (RestUpstreamSettings, *http.Response, error)
- func (a *MirroringMirrorApiService) GetMirroredProjects(ctx context.Context, upstreamId string) (*http.Response, error)
- func (a *MirroringMirrorApiService) GetMirroredRepository(ctx context.Context, upstreamRepoId string, upstreamId string) (RestMirroredRepository, *http.Response, error)
- func (a *MirroringMirrorApiService) GetRefChangesQueue(ctx context.Context) (RestRefSyncQueue, *http.Response, error)
- func (a *MirroringMirrorApiService) GetRefChangesQueueCount(ctx context.Context) (*http.Response, error)
- func (a *MirroringMirrorApiService) GetRepoSyncStatus(ctx context.Context, ...) (InlineResponse2008, *http.Response, error)
- func (a *MirroringMirrorApiService) GetSynchronizationProgress(ctx context.Context, upstreamId string) (RestSyncProgress, *http.Response, error)
- func (a *MirroringMirrorApiService) GetUpstreamServer(ctx context.Context, upstreamId string) (RestUpstreamServer, *http.Response, error)
- func (a *MirroringMirrorApiService) ListUpstreamServers(ctx context.Context, ...) (InlineResponse2009, *http.Response, error)
- func (a *MirroringMirrorApiService) OnAddonDisabled(ctx context.Context, upstreamId string) (*http.Response, error)
- func (a *MirroringMirrorApiService) OnAddonEnabled(ctx context.Context, upstreamId string) (*http.Response, error)
- func (a *MirroringMirrorApiService) SetMirrorMode(ctx context.Context, upstreamId string, ...) (*http.Response, error)
- func (a *MirroringMirrorApiService) SetMirrorSettings(ctx context.Context, upstreamId string, ...) (RestUpstreamSettings, *http.Response, error)
- func (a *MirroringMirrorApiService) StartMirroringProject(ctx context.Context, upstreamId string, projectId string) (*http.Response, error)
- func (a *MirroringMirrorApiService) StartMirroringProjects(ctx context.Context, upstreamId string, ...) (*http.Response, error)
- func (a *MirroringMirrorApiService) StopMirroringProject(ctx context.Context, upstreamId string, projectId string) (*http.Response, error)
- func (a *MirroringMirrorApiService) StopMirroringProjects(ctx context.Context, upstreamId string, ...) (*http.Response, error)
- func (a *MirroringMirrorApiService) SynchronizeRepositoryWithUpstream(ctx context.Context, upstreamRepoId string, upstreamId string, ...) (*http.Response, error)
- func (a *MirroringMirrorApiService) SynchronizeWithUpstream(ctx context.Context, upstreamId string, ...) (*http.Response, error)
- type MirroringMirrorApiSetMirrorModeOpts
- type MirroringMirrorApiSetMirrorSettingsOpts
- type MirroringMirrorApiStartMirroringProjectsOpts
- type MirroringMirrorApiStopMirroringProjectsOpts
- type MirroringMirrorApiSynchronizeRepositoryWithUpstreamOpts
- type MirroringMirrorApiSynchronizeWithUpstreamOpts
- type MirroringUpstreamApiAuthenticateOpts
- type MirroringUpstreamApiGetAllContentHashesOpts
- type MirroringUpstreamApiGetAllReposForProjectOpts
- type MirroringUpstreamApiGetContentHashByIdOpts
- type MirroringUpstreamApiListMirrorsOpts
- type MirroringUpstreamApiListRequestsOpts
- type MirroringUpstreamApiPublishEventOpts
- type MirroringUpstreamApiRegisterOpts
- type MirroringUpstreamApiService
- func (a *MirroringUpstreamApiService) Accept(ctx context.Context, mirroringRequestId string) (RestMirrorServer, *http.Response, error)
- func (a *MirroringUpstreamApiService) AnalyticsSettings(ctx context.Context) (RestAnalyticsSettings, *http.Response, error)
- func (a *MirroringUpstreamApiService) Authenticate(ctx context.Context, localVarOptionals *MirroringUpstreamApiAuthenticateOpts) (RestApplicationUserWithPermissions, *http.Response, error)
- func (a *MirroringUpstreamApiService) DeleteMirroringRequest(ctx context.Context, mirroringRequestId string) (*http.Response, error)
- func (a *MirroringUpstreamApiService) DeletePreferredMirrorId(ctx context.Context) (*http.Response, error)
- func (a *MirroringUpstreamApiService) GetAllContentHashes(ctx context.Context, ...) (EnrichedRepository, *http.Response, error)
- func (a *MirroringUpstreamApiService) GetAllReposForProject(ctx context.Context, projectId string, ...) (InlineResponse20011, *http.Response, error)
- func (a *MirroringUpstreamApiService) GetContentHashById(ctx context.Context, repoId string, ...) (EnrichedRepository, *http.Response, error)
- func (a *MirroringUpstreamApiService) GetMirror(ctx context.Context, mirrorId string) (RestMirrorServer, *http.Response, error)
- func (a *MirroringUpstreamApiService) GetMirroringRequest(ctx context.Context, mirroringRequestId string) (RestMirroringRequest, *http.Response, error)
- func (a *MirroringUpstreamApiService) GetPanelHtml(ctx context.Context, mirrorId string) (*http.Response, error)
- func (a *MirroringUpstreamApiService) GetPreferredMirrorId(ctx context.Context) (RestMirrorServer, *http.Response, error)
- func (a *MirroringUpstreamApiService) GetProjectById(ctx context.Context, projectId string) (RestProject, *http.Response, error)
- func (a *MirroringUpstreamApiService) GetRepositoryMirrors(ctx context.Context, repoId string) (RestMirroredRepositoryDescriptor, *http.Response, error)
- func (a *MirroringUpstreamApiService) ListMirrors(ctx context.Context, localVarOptionals *MirroringUpstreamApiListMirrorsOpts) (InlineResponse20010, *http.Response, error)
- func (a *MirroringUpstreamApiService) ListRequests(ctx context.Context, localVarOptionals *MirroringUpstreamApiListRequestsOpts) (InlineResponse20012, *http.Response, error)
- func (a *MirroringUpstreamApiService) PublishEvent(ctx context.Context, mirrorId string, ...) (*http.Response, error)
- func (a *MirroringUpstreamApiService) Register(ctx context.Context, localVarOptionals *MirroringUpstreamApiRegisterOpts) (RestMirroringRequest, *http.Response, error)
- func (a *MirroringUpstreamApiService) Reject(ctx context.Context, mirroringRequestId string) (RestMirrorServer, *http.Response, error)
- func (a *MirroringUpstreamApiService) Remove(ctx context.Context, mirrorId string) (*http.Response, error)
- func (a *MirroringUpstreamApiService) SetPreferredMirrorId(ctx context.Context, ...) (*http.Response, error)
- func (a *MirroringUpstreamApiService) Upgrade(ctx context.Context, mirrorId string, ...) (RestMirrorServer, *http.Response, error)
- type MirroringUpstreamApiSetPreferredMirrorIdOpts
- type MirroringUpstreamApiUpgradeOpts
- type PermissionManagementApiAddGroupToUserOpts
- type PermissionManagementApiAddUserToGroupOpts
- type PermissionManagementApiAddUserToGroupsOpts
- type PermissionManagementApiAddUsersToGroupOpts
- type PermissionManagementApiCreateUserOpts
- type PermissionManagementApiFindGroupsForUserOpts
- type PermissionManagementApiFindOtherGroupsForUserOpts
- type PermissionManagementApiFindUsersInGroupOpts
- type PermissionManagementApiFindUsersNotInGroupOpts
- type PermissionManagementApiGetGroups1Opts
- type PermissionManagementApiGetGroupsOpts
- type PermissionManagementApiGetGroupsWithAnyPermission2Opts
- type PermissionManagementApiGetGroupsWithAnyPermissionOpts
- type PermissionManagementApiGetGroupsWithoutAnyPermission2Opts
- type PermissionManagementApiGetGroupsWithoutAnyPermissionOpts
- type PermissionManagementApiGetUserDirectoriesOpts
- type PermissionManagementApiGetUsers1Opts
- type PermissionManagementApiGetUsersWithAnyPermission2Opts
- type PermissionManagementApiGetUsersWithAnyPermissionOpts
- type PermissionManagementApiGetUsersWithoutAnyPermissionOpts
- type PermissionManagementApiGetUsersWithoutPermission1Opts
- type PermissionManagementApiRemoveGroupFromUserOpts
- type PermissionManagementApiRemoveUserFromGroupOpts
- type PermissionManagementApiRenameUserOpts
- type PermissionManagementApiRevokePermissions1Opts
- type PermissionManagementApiSearchPermissions1Opts
- type PermissionManagementApiService
- func (a *PermissionManagementApiService) AddGroupToUser(ctx context.Context, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) AddUserToGroup(ctx context.Context, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) AddUserToGroups(ctx context.Context, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) AddUsersToGroup(ctx context.Context, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) ClearUserCaptchaChallenge(ctx context.Context, name string) (*http.Response, error)
- func (a *PermissionManagementApiService) CreateGroup(ctx context.Context, name string) (RestDetailedGroup, *http.Response, error)
- func (a *PermissionManagementApiService) CreateUser(ctx context.Context, emailAddress string, displayName string, name string, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) DeleteGroup(ctx context.Context, name string) (RestDetailedGroup, *http.Response, error)
- func (a *PermissionManagementApiService) DeleteUser(ctx context.Context, name string) (RestDetailedUser, *http.Response, error)
- func (a *PermissionManagementApiService) EraseUser(ctx context.Context, name string) (RestErasedUser, *http.Response, error)
- func (a *PermissionManagementApiService) FindGroupsForUser(ctx context.Context, context string, ...) (InlineResponse20017, *http.Response, error)
- func (a *PermissionManagementApiService) FindOtherGroupsForUser(ctx context.Context, context string, ...) (InlineResponse20016, *http.Response, error)
- func (a *PermissionManagementApiService) FindUsersInGroup(ctx context.Context, context string, ...) (InlineResponse20017, *http.Response, error)
- func (a *PermissionManagementApiService) FindUsersNotInGroup(ctx context.Context, context string, ...) (InlineResponse20017, *http.Response, error)
- func (a *PermissionManagementApiService) GetGroups(ctx context.Context, localVarOptionals *PermissionManagementApiGetGroupsOpts) (InlineResponse20023, *http.Response, error)
- func (a *PermissionManagementApiService) GetGroups1(ctx context.Context, localVarOptionals *PermissionManagementApiGetGroups1Opts) (InlineResponse20016, *http.Response, error)
- func (a *PermissionManagementApiService) GetGroupsWithAnyPermission(ctx context.Context, ...) (InlineResponse20018, *http.Response, error)
- func (a *PermissionManagementApiService) GetGroupsWithAnyPermission2(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20018, *http.Response, error)
- func (a *PermissionManagementApiService) GetGroupsWithoutAnyPermission(ctx context.Context, ...) (InlineResponse20016, *http.Response, error)
- func (a *PermissionManagementApiService) GetGroupsWithoutAnyPermission2(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20016, *http.Response, error)
- func (a *PermissionManagementApiService) GetUserDirectories(ctx context.Context, ...) (RestUserDirectory, *http.Response, error)
- func (a *PermissionManagementApiService) GetUsers1(ctx context.Context, localVarOptionals *PermissionManagementApiGetUsers1Opts) (InlineResponse20017, *http.Response, error)
- func (a *PermissionManagementApiService) GetUsersWithAnyPermission(ctx context.Context, ...) (InlineResponse20018, *http.Response, error)
- func (a *PermissionManagementApiService) GetUsersWithAnyPermission2(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20032, *http.Response, error)
- func (a *PermissionManagementApiService) GetUsersWithoutAnyPermission(ctx context.Context, ...) (InlineResponse2005, *http.Response, error)
- func (a *PermissionManagementApiService) GetUsersWithoutPermission1(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse2005, *http.Response, error)
- func (a *PermissionManagementApiService) RemoveGroupFromUser(ctx context.Context, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) RemoveUserFromGroup(ctx context.Context, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) RenameUser(ctx context.Context, localVarOptionals *PermissionManagementApiRenameUserOpts) (RestDetailedUser, *http.Response, error)
- func (a *PermissionManagementApiService) RevokePermissions1(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) RevokePermissionsForGroup(ctx context.Context, name string) (*http.Response, error)
- func (a *PermissionManagementApiService) RevokePermissionsForGroup2(ctx context.Context, projectKey string, name string, repositorySlug string) (*http.Response, error)
- func (a *PermissionManagementApiService) RevokePermissionsForUser(ctx context.Context, name string) (*http.Response, error)
- func (a *PermissionManagementApiService) RevokePermissionsForUser2(ctx context.Context, projectKey string, name string, repositorySlug string) (*http.Response, error)
- func (a *PermissionManagementApiService) SearchPermissions1(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) SetPermissionForGroup(ctx context.Context, projectKey string, name []string, permission string, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) SetPermissionForGroups(ctx context.Context, name []string, permission string) (*http.Response, error)
- func (a *PermissionManagementApiService) SetPermissionForUser(ctx context.Context, projectKey string, name []string, permission string, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) SetPermissionForUsers(ctx context.Context, name []string, permission string) (*http.Response, error)
- func (a *PermissionManagementApiService) UpdateUserDetails(ctx context.Context, ...) (RestDetailedUser, *http.Response, error)
- func (a *PermissionManagementApiService) UpdateUserPassword(ctx context.Context, ...) (*http.Response, error)
- func (a *PermissionManagementApiService) ValidateErasable(ctx context.Context, name string) (*http.Response, error)
- type PermissionManagementApiUpdateUserDetailsOpts
- type PermissionManagementApiUpdateUserPasswordOpts
- type ProjectApiCreateProjectOpts
- type ProjectApiCreateRepositoryOpts
- type ProjectApiCreateRestrictionsOpts
- type ProjectApiCreateWebhookOpts
- type ProjectApiDelete7Opts
- type ProjectApiEnableHookOpts
- type ProjectApiFindWebhooksOpts
- type ProjectApiForkRepositoryOpts
- type ProjectApiGet5Opts
- type ProjectApiGetAllOpts
- type ProjectApiGetAvatarOpts
- type ProjectApiGetConfigurationsOpts
- type ProjectApiGetForkedRepositoriesOpts
- type ProjectApiGetGroupsWithAnyPermission1Opts
- type ProjectApiGetGroupsWithoutAnyPermission1Opts
- type ProjectApiGetLatestInvocationOpts
- type ProjectApiGetProjectAvatarOpts
- type ProjectApiGetProjectsOpts
- type ProjectApiGetRelatedRepositoriesOpts
- type ProjectApiGetRepositoriesOpts
- type ProjectApiGetRepositoryHooksOpts
- type ProjectApiGetRestrictionsOpts
- type ProjectApiGetUsersWithAnyPermission1Opts
- type ProjectApiGetUsersWithoutPermissionOpts
- type ProjectApiGetWebhookOpts
- type ProjectApiModifyAllUserPermissionOpts
- type ProjectApiRevokePermissionsForGroup1Opts
- type ProjectApiRevokePermissionsForUser1Opts
- type ProjectApiRevokePermissionsOpts
- type ProjectApiSearchPermissionsOpts
- type ProjectApiService
- func (a *ProjectApiService) Create3(ctx context.Context, body RestProjectSettingsRestrictionRequest, ...) (RestProjectSettingsRestriction, *http.Response, error)
- func (a *ProjectApiService) CreateProject(ctx context.Context, localVarOptionals *ProjectApiCreateProjectOpts) (RestProject, *http.Response, error)
- func (a *ProjectApiService) CreateRepository(ctx context.Context, projectKey string, ...) (RestRepository, *http.Response, error)
- func (a *ProjectApiService) CreateRestrictions(ctx context.Context, projectKey string, ...) (RestRefRestriction, *http.Response, error)
- func (a *ProjectApiService) CreateWebhook(ctx context.Context, projectKey string, ...) (RestWebhook, *http.Response, error)
- func (a *ProjectApiService) Delete7(ctx context.Context, projectKey string, namespace string, featureKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) DeleteAutoDeclineSettings(ctx context.Context, projectKey string) (*http.Response, error)
- func (a *ProjectApiService) DeleteProject(ctx context.Context, projectKey string) (*http.Response, error)
- func (a *ProjectApiService) DeleteRepository(ctx context.Context, projectKey string, repositorySlug string) (*http.Response, error)
- func (a *ProjectApiService) DeleteRestriction(ctx context.Context, projectKey string, id string) (*http.Response, error)
- func (a *ProjectApiService) DeleteWebhook(ctx context.Context, projectKey string, webhookId string) (*http.Response, error)
- func (a *ProjectApiService) DisableHook(ctx context.Context, projectKey string, hookKey string) (RestRepositoryHook, *http.Response, error)
- func (a *ProjectApiService) EnableHook(ctx context.Context, projectKey string, hookKey string, ...) (RestRepositoryHook, *http.Response, error)
- func (a *ProjectApiService) FindWebhooks(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) ForkRepository(ctx context.Context, projectKey string, repositorySlug string, ...) (RestRepository, *http.Response, error)
- func (a *ProjectApiService) Get5(ctx context.Context, projectKey string, namespace string, featureKey string, ...) (RestProjectSettingsRestriction, *http.Response, error)
- func (a *ProjectApiService) GetAll(ctx context.Context, projectKey string, namespace string, featureKey string, ...) (InlineResponse20047, *http.Response, error)
- func (a *ProjectApiService) GetAutoDeclineSettings(ctx context.Context, projectKey string) (RestAutoDeclineSettings, *http.Response, error)
- func (a *ProjectApiService) GetAvatar(ctx context.Context, hookKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) GetConfigurations(ctx context.Context, projectKey string, ...) (InlineResponse20031, *http.Response, error)
- func (a *ProjectApiService) GetDefaultBranch2(ctx context.Context, projectKey string, repositorySlug string) (RestMinimalRef, *http.Response, error)
- func (a *ProjectApiService) GetForkedRepositories(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20029, *http.Response, error)
- func (a *ProjectApiService) GetGroupsWithAnyPermission1(ctx context.Context, projectKey string, ...) (InlineResponse20018, *http.Response, error)
- func (a *ProjectApiService) GetGroupsWithoutAnyPermission1(ctx context.Context, projectKey string, ...) (InlineResponse20016, *http.Response, error)
- func (a *ProjectApiService) GetLatestInvocation(ctx context.Context, projectKey string, webhookId string, ...) (RestDetailedInvocation, *http.Response, error)
- func (a *ProjectApiService) GetProject(ctx context.Context, projectKey string) (RestProject, *http.Response, error)
- func (a *ProjectApiService) GetProjectAvatar(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) GetProjects(ctx context.Context, localVarOptionals *ProjectApiGetProjectsOpts) (InlineResponse20030, *http.Response, error)
- func (a *ProjectApiService) GetPullRequestSettings(ctx context.Context, projectKey string, scmId string) (RestPullRequestSettings, *http.Response, error)
- func (a *ProjectApiService) GetRelatedRepositories(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20029, *http.Response, error)
- func (a *ProjectApiService) GetRepositories(ctx context.Context, projectKey string, ...) (InlineResponse20029, *http.Response, error)
- func (a *ProjectApiService) GetRepository(ctx context.Context, projectKey string, repositorySlug string) (RestRepository, *http.Response, error)
- func (a *ProjectApiService) GetRepositoryHook(ctx context.Context, projectKey string, hookKey string) (RestRepositoryHook, *http.Response, error)
- func (a *ProjectApiService) GetRepositoryHooks(ctx context.Context, projectKey string, ...) (InlineResponse20044, *http.Response, error)
- func (a *ProjectApiService) GetRestriction(ctx context.Context, projectKey string, id string) (RestRefRestriction, *http.Response, error)
- func (a *ProjectApiService) GetRestrictions(ctx context.Context, projectKey string, ...) (InlineResponse20013, *http.Response, error)
- func (a *ProjectApiService) GetSettings(ctx context.Context, projectKey string, hookKey string) (ExampleSettings, *http.Response, error)
- func (a *ProjectApiService) GetUsersWithAnyPermission1(ctx context.Context, projectKey string, ...) (InlineResponse20032, *http.Response, error)
- func (a *ProjectApiService) GetUsersWithoutPermission(ctx context.Context, projectKey string, ...) (InlineResponse2005, *http.Response, error)
- func (a *ProjectApiService) GetWebhook(ctx context.Context, projectKey string, webhookId string, ...) (RestWebhook, *http.Response, error)
- func (a *ProjectApiService) HasAllUserPermission(ctx context.Context, projectKey string, permission string) (RestPermitted, *http.Response, error)
- func (a *ProjectApiService) ModifyAllUserPermission(ctx context.Context, projectKey string, permission string, ...) (*http.Response, error)
- func (a *ProjectApiService) RemoveConfiguration(ctx context.Context, projectKey string, scriptId string) (*http.Response, error)
- func (a *ProjectApiService) RetryCreateRepository(ctx context.Context, projectKey string, repositorySlug string) (RestRepository, *http.Response, error)
- func (a *ProjectApiService) RevokePermissions(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) RevokePermissionsForGroup1(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) RevokePermissionsForUser1(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) SearchPermissions(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) SetAutoDeclineSettings(ctx context.Context, projectKey string, ...) (RestAutoDeclineSettings, *http.Response, error)
- func (a *ProjectApiService) SetConfiguration(ctx context.Context, projectKey string, scriptId string, ...) (RestHookScriptConfig, *http.Response, error)
- func (a *ProjectApiService) SetDefaultBranch2(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *ProjectApiService) SetPermissionForGroups1(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) SetPermissionForUsers1(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (a *ProjectApiService) SetSettings(ctx context.Context, projectKey string, hookKey string, ...) (ExampleSettings, *http.Response, error)
- func (a *ProjectApiService) StreamContributing(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *ProjectApiService) StreamLicense(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *ProjectApiService) StreamReadme(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *ProjectApiService) UpdateProject(ctx context.Context, projectKey string, ...) (RestProject, *http.Response, error)
- func (a *ProjectApiService) UpdatePullRequestSettings(ctx context.Context, projectKey string, scmId string, ...) (RestPullRequestSettings, *http.Response, error)
- func (a *ProjectApiService) UpdateRepository(ctx context.Context, projectKey string, repositorySlug string, ...) (RestRepository, *http.Response, error)
- func (a *ProjectApiService) UpdateWebhook(ctx context.Context, projectKey string, webhookId string, ...) (RestWebhook, *http.Response, error)
- func (a *ProjectApiService) UploadAvatar(ctx context.Context, projectKey string, ...) (*http.Response, error)
- type ProjectApiSetAutoDeclineSettingsOpts
- type ProjectApiSetConfigurationOpts
- type ProjectApiSetDefaultBranch2Opts
- type ProjectApiSetPermissionForGroups1Opts
- type ProjectApiSetPermissionForUsers1Opts
- type ProjectApiSetSettingsOpts
- type ProjectApiStreamContributingOpts
- type ProjectApiStreamLicenseOpts
- type ProjectApiStreamReadmeOpts
- type ProjectApiUpdateProjectOpts
- type ProjectApiUpdatePullRequestSettingsOpts
- type ProjectApiUpdateRepositoryOpts
- type ProjectApiUpdateWebhookOpts
- type ProjectApiUploadAvatarOpts
- type PullRequestsApiApplySuggestionOpts
- type PullRequestsApiCreate1Opts
- type PullRequestsApiCreate2Opts
- type PullRequestsApiCreateComment1Opts
- type PullRequestsApiCreateComment2Opts
- type PullRequestsApiCreateOpts
- type PullRequestsApiCreatePullRequestCondition1Opts
- type PullRequestsApiCreatePullRequestConditionOpts
- type PullRequestsApiDeclineOpts
- type PullRequestsApiDelete3Opts
- type PullRequestsApiDeleteComment1Opts
- type PullRequestsApiDeleteComment2Opts
- type PullRequestsApiFinishReviewOpts
- type PullRequestsApiGetActivitiesOpts
- type PullRequestsApiGetComments1Opts
- type PullRequestsApiGetComments2Opts
- type PullRequestsApiGetCommits1Opts
- type PullRequestsApiGetPageOpts
- type PullRequestsApiGetPullRequestsOpts
- type PullRequestsApiGetReviewOpts
- type PullRequestsApiGetReviewerGroups1Opts
- type PullRequestsApiGetReviewerGroupsOpts
- type PullRequestsApiGetReviewersOpts
- type PullRequestsApiListParticipantsOpts
- type PullRequestsApiMergeOpts
- type PullRequestsApiRebaseOpts
- type PullRequestsApiReopenOpts
- type PullRequestsApiSearchOpts
- type PullRequestsApiService
- func (a *PullRequestsApiService) ApplySuggestion(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) Approve(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequestParticipant, *http.Response, error)
- func (a *PullRequestsApiService) AssignParticipantRole(ctx context.Context, body RestPullRequestAssignParticipantRoleRequest, ...) (RestPullRequestParticipant, *http.Response, error)
- func (a *PullRequestsApiService) CanMerge(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequestMergeability, *http.Response, error)
- func (a *PullRequestsApiService) CanRebase(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequestRebaseability, *http.Response, error)
- func (a *PullRequestsApiService) Create(ctx context.Context, projectKey string, repositorySlug string, ...) (RestPullRequest, *http.Response, error)
- func (a *PullRequestsApiService) Create1(ctx context.Context, projectKey string, ...) (RestReviewerGroup, *http.Response, error)
- func (a *PullRequestsApiService) Create2(ctx context.Context, projectKey string, repositorySlug string, ...) (RestReviewerGroup, *http.Response, error)
- func (a *PullRequestsApiService) CreateComment1(ctx context.Context, projectKey string, pullRequestId string, ...) (RestComment, *http.Response, error)
- func (a *PullRequestsApiService) CreateComment2(ctx context.Context, projectKey string, pullRequestId string, ...) (RestComment, *http.Response, error)
- func (a *PullRequestsApiService) CreatePullRequestCondition(ctx context.Context, projectKey string, ...) (RestPullRequestCondition, *http.Response, error)
- func (a *PullRequestsApiService) CreatePullRequestCondition1(ctx context.Context, projectKey string, repositorySlug string, ...) (RestPullRequestCondition, *http.Response, error)
- func (a *PullRequestsApiService) Decline(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequest, *http.Response, error)
- func (a *PullRequestsApiService) Delete3(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) Delete4(ctx context.Context, projectKey string, id string) (*http.Response, error)
- func (a *PullRequestsApiService) Delete5(ctx context.Context, projectKey string, id string, repositorySlug string) (*http.Response, error)
- func (a *PullRequestsApiService) DeleteComment1(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) DeleteComment2(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) DeletePullRequestCondition(ctx context.Context, projectKey string, id string) (*http.Response, error)
- func (a *PullRequestsApiService) DeletePullRequestCondition1(ctx context.Context, projectKey string, id int32, repositorySlug string) (*http.Response, error)
- func (a *PullRequestsApiService) DiscardReview(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) FinishReview(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) Get3(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequest, *http.Response, error)
- func (a *PullRequestsApiService) GetActivities(ctx context.Context, projectKey string, pullRequestId string, ...) (InlineResponse20039, *http.Response, error)
- func (a *PullRequestsApiService) GetComment1(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (RestComment, *http.Response, error)
- func (a *PullRequestsApiService) GetComment2(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (RestComment, *http.Response, error)
- func (a *PullRequestsApiService) GetComments1(ctx context.Context, projectKey string, pullRequestId string, ...) (InlineResponse20036, *http.Response, error)
- func (a *PullRequestsApiService) GetComments2(ctx context.Context, path string, projectKey string, pullRequestId string, ...) (InlineResponse20036, *http.Response, error)
- func (a *PullRequestsApiService) GetCommitMessageSuggestion(ctx context.Context, projectKey string, pullRequestId string, ...) (RestCommitMessageSuggestion, *http.Response, error)
- func (a *PullRequestsApiService) GetCommits1(ctx context.Context, projectKey string, pullRequestId string, ...) (InlineResponse20035, *http.Response, error)
- func (a *PullRequestsApiService) GetMergeConfig(ctx context.Context, scmId string) (RestPullRequestMergeConfig, *http.Response, error)
- func (a *PullRequestsApiService) GetPage(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20022, *http.Response, error)
- func (a *PullRequestsApiService) GetPullRequestConditions(ctx context.Context, projectKey string) ([]RestPullRequestCondition, *http.Response, error)
- func (a *PullRequestsApiService) GetPullRequestConditions1(ctx context.Context, projectKey string, repositorySlug string) ([]RestPullRequestCondition, *http.Response, error)
- func (a *PullRequestsApiService) GetPullRequests(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (InlineResponse20022, *http.Response, error)
- func (a *PullRequestsApiService) GetReview(ctx context.Context, projectKey string, pullRequestId string, ...) (InlineResponse20036, *http.Response, error)
- func (a *PullRequestsApiService) GetReviewerGroup(ctx context.Context, projectKey string, id string) (RestReviewerGroup, *http.Response, error)
- func (a *PullRequestsApiService) GetReviewerGroup1(ctx context.Context, projectKey string, id string, repositorySlug string) (RestReviewerGroup, *http.Response, error)
- func (a *PullRequestsApiService) GetReviewerGroups(ctx context.Context, projectKey string, ...) (InlineResponse20045, *http.Response, error)
- func (a *PullRequestsApiService) GetReviewerGroups1(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20045, *http.Response, error)
- func (a *PullRequestsApiService) GetReviewers(ctx context.Context, projectKey string, repositorySlug string, ...) ([]RestPullRequestCondition, *http.Response, error)
- func (a *PullRequestsApiService) GetUsers(ctx context.Context, projectKey string, id string, repositorySlug string) ([]RestApplicationUser, *http.Response, error)
- func (a *PullRequestsApiService) ListParticipants(ctx context.Context, projectKey string, pullRequestId string, ...) (InlineResponse20040, *http.Response, error)
- func (a *PullRequestsApiService) Merge(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequest, *http.Response, error)
- func (a *PullRequestsApiService) React1(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (RestUserReaction, *http.Response, error)
- func (a *PullRequestsApiService) Rebase(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequestRebaseResult, *http.Response, error)
- func (a *PullRequestsApiService) Reopen(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequest, *http.Response, error)
- func (a *PullRequestsApiService) Search(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse2005, *http.Response, error)
- func (a *PullRequestsApiService) SetMergeConfig(ctx context.Context, scmId string, ...) (RestPullRequestMergeConfig, *http.Response, error)
- func (a *PullRequestsApiService) StreamChanges1(ctx context.Context, projectKey string, pullRequestId string, ...) (RestChange, *http.Response, error)
- func (a *PullRequestsApiService) StreamDiff2(ctx context.Context, path string, projectKey string, pullRequestId string, ...) (InlineResponse20037, *http.Response, error)
- func (a *PullRequestsApiService) StreamPatch1(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) StreamRawDiff2(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) UnReact1(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) UnassignParticipantRole(ctx context.Context, projectKey string, userSlug string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) UnassignParticipantRole1(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) Unwatch1(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) Update(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequest, *http.Response, error)
- func (a *PullRequestsApiService) Update1(ctx context.Context, projectKey string, id string, ...) (RestReviewerGroup, *http.Response, error)
- func (a *PullRequestsApiService) Update2(ctx context.Context, projectKey string, id string, repositorySlug string, ...) (RestReviewerGroup, *http.Response, error)
- func (a *PullRequestsApiService) UpdateComment1(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (RestComment, *http.Response, error)
- func (a *PullRequestsApiService) UpdateComment2(ctx context.Context, projectKey string, commentId string, pullRequestId string, ...) (RestComment, *http.Response, error)
- func (a *PullRequestsApiService) UpdatePullRequestCondition(ctx context.Context, projectKey string, id string, ...) (RestPullRequestCondition, *http.Response, error)
- func (a *PullRequestsApiService) UpdatePullRequestCondition1(ctx context.Context, projectKey string, id string, repositorySlug string, ...) (RestPullRequestCondition, *http.Response, error)
- func (a *PullRequestsApiService) UpdateStatus(ctx context.Context, body RestPullRequestAssignStatusRequest, ...) (RestPullRequestParticipant, *http.Response, error)
- func (a *PullRequestsApiService) Watch1(ctx context.Context, projectKey string, pullRequestId string, ...) (*http.Response, error)
- func (a *PullRequestsApiService) WithdrawApproval(ctx context.Context, projectKey string, pullRequestId string, ...) (RestPullRequestParticipant, *http.Response, error)
- type PullRequestsApiSetMergeConfigOpts
- type PullRequestsApiStreamChanges1Opts
- type PullRequestsApiStreamDiff2Opts
- type PullRequestsApiStreamRawDiff2Opts
- type PullRequestsApiUnassignParticipantRole1Opts
- type PullRequestsApiUpdate1Opts
- type PullRequestsApiUpdate2Opts
- type PullRequestsApiUpdateComment1Opts
- type PullRequestsApiUpdateComment2Opts
- type PullRequestsApiUpdateOpts
- type PullRequestsApiUpdatePullRequestCondition1Opts
- type PullRequestsApiUpdatePullRequestConditionOpts
- type RepositoryApiAddLabelOpts
- type RepositoryApiCreateBranchForRepositoryOpts
- type RepositoryApiCreateCommentOpts
- type RepositoryApiCreateRestrictions1Opts
- type RepositoryApiCreateTagForRepositoryOpts
- type RepositoryApiCreateTagOpts
- type RepositoryApiCreateWebhook1Opts
- type RepositoryApiDeleteBranchOpts
- type RepositoryApiDeleteCommentOpts
- type RepositoryApiEditFileOpts
- type RepositoryApiEnableHook1Opts
- type RepositoryApiFindBranchesOpts
- type RepositoryApiFindByCommitOpts
- type RepositoryApiFindWebhooks1Opts
- type RepositoryApiGetArchiveOpts
- type RepositoryApiGetAttachmentOpts
- type RepositoryApiGetBranchesOpts
- type RepositoryApiGetChanges1Opts
- type RepositoryApiGetChangesOpts
- type RepositoryApiGetCommentsOpts
- type RepositoryApiGetCommitOpts
- type RepositoryApiGetCommitsOpts
- type RepositoryApiGetConfigurations1Opts
- type RepositoryApiGetContent1Opts
- type RepositoryApiGetContentOpts
- type RepositoryApiGetLatestInvocation1Opts
- type RepositoryApiGetRefChangeActivityOpts
- type RepositoryApiGetRepositories1Opts
- type RepositoryApiGetRepositoriesRecentlyAccessedOpts
- type RepositoryApiGetRepositoryHooks1Opts
- type RepositoryApiGetRestrictions1Opts
- type RepositoryApiGetStatusOpts
- type RepositoryApiGetTagsOpts
- type RepositoryApiGetWebhook1Opts
- type RepositoryApiSaveAttachmentMetadataOpts
- type RepositoryApiSearchWebhooksOpts
- type RepositoryApiService
- func (a *RepositoryApiService) AddLabel(ctx context.Context, projectKey string, repositorySlug string, ...) (RestLabel, *http.Response, error)
- func (a *RepositoryApiService) CreateBranch(ctx context.Context, body RestBranchCreateRequest, projectKey string, ...) (RestBranch, *http.Response, error)
- func (a *RepositoryApiService) CreateBranchForRepository(ctx context.Context, projectKey string, repositorySlug string, ...) (RestBranch, *http.Response, error)
- func (a *RepositoryApiService) CreateComment(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (RestComment, *http.Response, error)
- func (a *RepositoryApiService) CreateRestrictions1(ctx context.Context, projectKey string, repositorySlug string, ...) (RestRefRestriction, *http.Response, error)
- func (a *RepositoryApiService) CreateTag(ctx context.Context, projectKey string, repositorySlug string, ...) (RestTag, *http.Response, error)
- func (a *RepositoryApiService) CreateTagForRepository(ctx context.Context, projectKey string, repositorySlug string, ...) (RestTag, *http.Response, error)
- func (a *RepositoryApiService) CreateWebhook1(ctx context.Context, projectKey string, repositorySlug string, ...) (RestWebhook, *http.Response, error)
- func (a *RepositoryApiService) DeleteAttachment(ctx context.Context, projectKey string, attachmentId string, ...) (*http.Response, error)
- func (a *RepositoryApiService) DeleteAttachmentMetadata(ctx context.Context, projectKey string, attachmentId string, ...) (*http.Response, error)
- func (a *RepositoryApiService) DeleteAutoDeclineSettings1(ctx context.Context, projectKey string, repositorySlug string) (*http.Response, error)
- func (a *RepositoryApiService) DeleteBranch(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) DeleteComment(ctx context.Context, projectKey string, commentId string, commitId string, ...) (*http.Response, error)
- func (a *RepositoryApiService) DeleteRepositoryHook(ctx context.Context, projectKey string, hookKey string, repositorySlug string) (*http.Response, error)
- func (a *RepositoryApiService) DeleteRestriction1(ctx context.Context, projectKey string, id string, repositorySlug string) (*http.Response, error)
- func (a *RepositoryApiService) DeleteTag(ctx context.Context, projectKey string, name string, repositorySlug string) (*http.Response, error)
- func (a *RepositoryApiService) DeleteWebhook1(ctx context.Context, projectKey string, webhookId string, ...) (*http.Response, error)
- func (a *RepositoryApiService) DisableHook1(ctx context.Context, projectKey string, hookKey string, repositorySlug string) (RestRepositoryHook, *http.Response, error)
- func (a *RepositoryApiService) EditFile(ctx context.Context, path string, projectKey string, repositorySlug string, ...) (RestCommit, *http.Response, error)
- func (a *RepositoryApiService) EnableHook1(ctx context.Context, projectKey string, hookKey string, repositorySlug string, ...) (RestRepositoryHook, *http.Response, error)
- func (a *RepositoryApiService) FindBranches(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse2003, *http.Response, error)
- func (a *RepositoryApiService) FindByCommit(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (InlineResponse2003, *http.Response, error)
- func (a *RepositoryApiService) FindWebhooks1(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) GetAllLabelsForRepository(ctx context.Context, projectKey string, repositorySlug string) (RestLabel, *http.Response, error)
- func (a *RepositoryApiService) GetArchive(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) GetAttachment(ctx context.Context, projectKey string, attachmentId string, ...) (*http.Response, error)
- func (a *RepositoryApiService) GetAttachmentMetadata(ctx context.Context, projectKey string, attachmentId string, ...) (RestAttachmentMetadata, *http.Response, error)
- func (a *RepositoryApiService) GetAutoDeclineSettings1(ctx context.Context, projectKey string, repositorySlug string) (RestAutoDeclineSettings, *http.Response, error)
- func (a *RepositoryApiService) GetBranches(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20033, *http.Response, error)
- func (a *RepositoryApiService) GetChanges(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (InlineResponse20034, *http.Response, error)
- func (a *RepositoryApiService) GetChanges1(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20034, *http.Response, error)
- func (a *RepositoryApiService) GetComment(ctx context.Context, projectKey string, commentId string, commitId string, ...) (RestComment, *http.Response, error)
- func (a *RepositoryApiService) GetComments(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (InlineResponse20036, *http.Response, error)
- func (a *RepositoryApiService) GetCommit(ctx context.Context, projectKey string, commitId string, repositorySlug string, ...) (RestCommit, *http.Response, error)
- func (a *RepositoryApiService) GetCommits(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20035, *http.Response, error)
- func (a *RepositoryApiService) GetConfigurations1(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20031, *http.Response, error)
- func (a *RepositoryApiService) GetContent(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) GetContent1(ctx context.Context, path string, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) GetDefaultBranch1(ctx context.Context, projectKey string, repositorySlug string) (RestBranch, *http.Response, error)
- func (a *RepositoryApiService) GetLatestInvocation1(ctx context.Context, projectKey string, webhookId string, ...) (RestDetailedInvocation, *http.Response, error)
- func (a *RepositoryApiService) GetPullRequestSettings1(ctx context.Context, projectKey string, repositorySlug string) (RestRepositoryPullRequestSettings, *http.Response, error)
- func (a *RepositoryApiService) GetRefChangeActivity(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20041, *http.Response, error)
- func (a *RepositoryApiService) GetRepositories1(ctx context.Context, localVarOptionals *RepositoryApiGetRepositories1Opts) (InlineResponse20029, *http.Response, error)
- func (a *RepositoryApiService) GetRepositoriesRecentlyAccessed(ctx context.Context, ...) (InlineResponse20029, *http.Response, error)
- func (a *RepositoryApiService) GetRepositoryHook1(ctx context.Context, projectKey string, hookKey string, repositorySlug string) (RestRepositoryHook, *http.Response, error)
- func (a *RepositoryApiService) GetRepositoryHooks1(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20044, *http.Response, error)
- func (a *RepositoryApiService) GetRestriction1(ctx context.Context, projectKey string, id string, repositorySlug string) (RestRefRestriction, *http.Response, error)
- func (a *RepositoryApiService) GetRestrictions1(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20013, *http.Response, error)
- func (a *RepositoryApiService) GetSettings1(ctx context.Context, projectKey string, hookKey string, repositorySlug string) (ExampleSettings, *http.Response, error)
- func (a *RepositoryApiService) GetStatus(ctx context.Context, projectKey string, repositorySlug string, ...) (RestRefSyncStatus, *http.Response, error)
- func (a *RepositoryApiService) GetTag(ctx context.Context, projectKey string, name string, repositorySlug string) (RestTag, *http.Response, error)
- func (a *RepositoryApiService) GetTags(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20046, *http.Response, error)
- func (a *RepositoryApiService) GetWebhook1(ctx context.Context, projectKey string, webhookId string, ...) (RestWebhook, *http.Response, error)
- func (a *RepositoryApiService) React(ctx context.Context, projectKey string, commentId string, commitId string, ...) (RestUserReaction, *http.Response, error)
- func (a *RepositoryApiService) RemoveConfiguration1(ctx context.Context, projectKey string, scriptId string, repositorySlug string) (*http.Response, error)
- func (a *RepositoryApiService) RemoveLabel(ctx context.Context, projectKey string, labelName string, ...) (*http.Response, error)
- func (a *RepositoryApiService) SaveAttachmentMetadata(ctx context.Context, projectKey string, attachmentId string, ...) (*http.Response, error)
- func (a *RepositoryApiService) SearchWebhooks(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) SetAutoDeclineSettings1(ctx context.Context, projectKey string, repositorySlug string, ...) (RestAutoDeclineSettings, *http.Response, error)
- func (a *RepositoryApiService) SetConfiguration1(ctx context.Context, projectKey string, scriptId string, repositorySlug string, ...) (RestHookScriptConfig, *http.Response, error)
- func (a *RepositoryApiService) SetDefaultBranch1(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) SetEnabled(ctx context.Context, projectKey string, repositorySlug string, ...) (RestRefSyncStatus, *http.Response, error)
- func (a *RepositoryApiService) SetSettings1(ctx context.Context, projectKey string, hookKey string, repositorySlug string, ...) (ExampleSettings, *http.Response, error)
- func (a *RepositoryApiService) Stream(ctx context.Context, projectKey string, repositorySlug string, ...) (ExampleFiles, *http.Response, error)
- func (a *RepositoryApiService) Stream1(ctx context.Context, path string, projectKey string, repositorySlug string, ...) (ExampleFiles, *http.Response, error)
- func (a *RepositoryApiService) StreamChanges(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20034, *http.Response, error)
- func (a *RepositoryApiService) StreamCommits(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20035, *http.Response, error)
- func (a *RepositoryApiService) StreamDiff(ctx context.Context, commitId string, repositorySlug string, path string, ...) (RestDiff, *http.Response, error)
- func (a *RepositoryApiService) StreamDiff1(ctx context.Context, path string, projectKey string, repositorySlug string, ...) (InlineResponse20037, *http.Response, error)
- func (a *RepositoryApiService) StreamFiles(ctx context.Context, path string, projectKey string, repositorySlug string, ...) (InlineResponse20038, *http.Response, error)
- func (a *RepositoryApiService) StreamFiles1(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20038, *http.Response, error)
- func (a *RepositoryApiService) StreamPatch(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) StreamRaw(ctx context.Context, path string, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) StreamRawDiff(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) StreamRawDiff1(ctx context.Context, path string, projectKey string, repositorySlug string, ...) (*http.Response, error)
- func (a *RepositoryApiService) Synchronize(ctx context.Context, projectKey string, repositorySlug string, ...) (RestRejectedRef, *http.Response, error)
- func (a *RepositoryApiService) UnReact(ctx context.Context, projectKey string, commentId string, commitId string, ...) (*http.Response, error)
- func (a *RepositoryApiService) Unwatch(ctx context.Context, projectKey string, commitId string, repositorySlug string) (*http.Response, error)
- func (a *RepositoryApiService) Unwatch2(ctx context.Context, projectKey string, repositorySlug string) (*http.Response, error)
- func (a *RepositoryApiService) UpdateComment(ctx context.Context, projectKey string, commentId string, commitId string, ...) (RestComment, *http.Response, error)
- func (a *RepositoryApiService) UpdatePullRequestSettings1(ctx context.Context, projectKey string, repositorySlug string, ...) (RestRepositoryPullRequestSettings, *http.Response, error)
- func (a *RepositoryApiService) UpdateWebhook1(ctx context.Context, projectKey string, webhookId string, ...) (RestWebhook, *http.Response, error)
- func (a *RepositoryApiService) Watch(ctx context.Context, projectKey string, commitId string, repositorySlug string) (*http.Response, error)
- func (a *RepositoryApiService) Watch2(ctx context.Context, projectKey string, repositorySlug string, ...) (*http.Response, error)
- type RepositoryApiSetAutoDeclineSettings1Opts
- type RepositoryApiSetConfiguration1Opts
- type RepositoryApiSetDefaultBranch1Opts
- type RepositoryApiSetEnabledOpts
- type RepositoryApiSetSettings1Opts
- type RepositoryApiStream1Opts
- type RepositoryApiStreamChangesOpts
- type RepositoryApiStreamCommitsOpts
- type RepositoryApiStreamDiff1Opts
- type RepositoryApiStreamDiffOpts
- type RepositoryApiStreamFiles1Opts
- type RepositoryApiStreamFilesOpts
- type RepositoryApiStreamOpts
- type RepositoryApiStreamPatchOpts
- type RepositoryApiStreamRawDiff1Opts
- type RepositoryApiStreamRawDiffOpts
- type RepositoryApiStreamRawOpts
- type RepositoryApiSynchronizeOpts
- type RepositoryApiUpdateCommentOpts
- type RepositoryApiUpdatePullRequestSettings1Opts
- type RepositoryApiUpdateWebhook1Opts
- type RepositoryApiWatch2Opts
- type RepositoryHookDetails
- type RestAccessToken
- type RestAccessTokenRequest
- type RestAggregateRejectCounter
- type RestAnalyticsSettings
- type RestAnnouncementBanner
- type RestApplicationProperties
- type RestApplicationUser
- type RestApplicationUserWithPermissions
- type RestApplySuggestionRequest
- type RestApplySuggestionRequestCommentVersion
- type RestApplySuggestionRequestPullRequestVersion
- type RestApplySuggestionRequestSuggestionIndex
- type RestAttachmentMetadata
- type RestAuthenticationRequest
- type RestAutoDeclineSettings
- type RestAutoDeclineSettingsRequest
- type RestAutoDeclineSettingsScope
- type RestBearerTokenCredentials
- type RestBitbucketLicense
- type RestBitbucketLicenseStatus
- type RestBranch
- type RestBranchCreateRequest
- type RestBranchDeleteRequest
- type RestBuildCapabilities
- type RestBuildStats
- type RestBuildStatus
- type RestBuildStatusSetRequest
- type RestBuildStatusSetRequestTestResults
- type RestBuildStatusTestResults
- type RestBulkAddInsightAnnotationRequest
- type RestBulkUserRateLimitSettingsUpdateRequest
- type RestBulkUserRateLimitSettingsUpdateRequestSettings
- type RestChange
- type RestChangeConflict
- type RestChangeConflictTheirChange
- type RestChangeset
- type RestChangesetChanges
- type RestChangesetFromCommit
- type RestChangesetToCommit
- type RestChangesetToCommitCommitter
- type RestClusterInformation
- type RestClusterInformationLocalNode
- type RestClusterNode
- type RestClusterNodeAddress
- type RestComment
- type RestCommentJiraIssue
- type RestCommentThreadDiffAnchor
- type RestCommentThreadDiffAnchorPath
- type RestCommentThreadDiffAnchorPullRequest
- type RestCommit
- type RestCommitMessageSuggestion
- type RestConflict
- type RestConflictChange
- type RestConnectivitySummary
- type RestCreateBranchRequest
- type RestCreateTagRequest
- type RestDefaultBranch
- type RestDefaultReviewersRequest
- type RestDeployment
- type RestDeploymentEnvironment
- type RestDeploymentSetRequest
- type RestDetailedGroup
- type RestDetailedInvocation
- type RestDetailedInvocationEventScope
- type RestDetailedUser
- type RestDiff
- type RestDiffHunk
- type RestDiffLine
- type RestDiffSegment
- type RestEmoticon
- type RestEnhancedEntityLink
- type RestErasedUser
- type RestErrorMessage
- type RestErrors
- type RestExportRequest
- type RestExportRequestRepositoriesRequest
- type RestFarmSynchronizationRequest
- type RestGitTagCreateRequest
- type RestGpgKey
- type RestGpgSubKey
- type RestHookScript
- type RestHookScriptConfig
- type RestHookScriptConfigScript
- type RestHookScriptTriggers
- type RestImportRequest
- type RestInsightAnnotation
- type RestInsightAnnotationsResponse
- type RestInsightReport
- type RestInsightReportData
- type RestJiraIssue
- type RestJob
- type RestJobMessage
- type RestJobProgress
- type RestLabel
- type RestLabelable
- type RestLogLevel
- type RestMailConfiguration
- type RestMarkup
- type RestMeshConnectivityReport
- type RestMeshMigrationRequest
- type RestMeshMigrationSummary
- type RestMeshNode
- type RestMigrationRepository
- type RestMinimalCommit
- type RestMinimalRef
- type RestMirrorHashes
- type RestMirrorRepositorySynchronizationStatus
- type RestMirrorRepositorySynchronizationStatusHashes
- type RestMirrorServer
- type RestMirrorUpgradeRequest
- type RestMirroredRepository
- type RestMirroredRepositoryDescriptor
- type RestMirroredRepositoryDescriptorMirrorServer
- type RestMirroringRequest
- type RestNamedLink
- type RestNode
- type RestNodeConnectivityReport
- type RestNodeConnectivityReportNode
- type RestNodeConnectivitySummary
- type RestNodeConnectivitySummarySummary
- type RestPageRestChange
- type RestPath
- type RestPermitted
- type RestPermittedGroup
- type RestPermittedGroupGroup
- type RestPermittedUser
- type RestPerson
- type RestProgress
- type RestProject
- type RestProjectSettingsRestriction
- type RestProjectSettingsRestrictionRequest
- type RestProperties
- type RestPullRequest
- type RestPullRequestActivity
- type RestPullRequestAssignParticipantRoleRequest
- type RestPullRequestAssignParticipantRoleRequestUser
- type RestPullRequestAssignStatusRequest
- type RestPullRequestAutoMergeRequest
- type RestPullRequestCommitMessageTemplate
- type RestPullRequestCondition
- type RestPullRequestConditionScope
- type RestPullRequestDeclineRequest
- type RestPullRequestDeleteRequest
- type RestPullRequestFinishReviewRequest
- type RestPullRequestFromRef
- type RestPullRequestFromRefRepository
- type RestPullRequestFromRefRepositoryOrigin
- type RestPullRequestFromRefRepositoryProject
- type RestPullRequestMergeConfig
- type RestPullRequestMergeConfigCommitMessageTemplate
- type RestPullRequestMergeConfigDefaultStrategy
- type RestPullRequestMergeRequest
- type RestPullRequestMergeStrategy
- type RestPullRequestMergeability
- type RestPullRequestParticipant
- type RestPullRequestParticipantUser
- type RestPullRequestRebaseRequest
- type RestPullRequestRebaseResult
- type RestPullRequestRebaseResultRefChange
- type RestPullRequestRebaseResultRefChangeRef
- type RestPullRequestRebaseability
- type RestPullRequestRef
- type RestPullRequestReopenRequest
- type RestPullRequestSettings
- type RestPullRequestSettingsMergeConfig
- type RestPullRequestSuggestion
- type RestPushRefChange
- type RestRateLimitSettings
- type RestRawAccessToken
- type RestRefChange
- type RestRefMatcher
- type RestRefMatcherType
- type RestRefRestriction
- type RestRefSyncQueue
- type RestRefSyncRequest
- type RestRefSyncStatus
- type RestRefSyncStatusOrphanedRefs
- type RestRejectedRef
- type RestRepositoriesExportRequest
- type RestRepository
- type RestRepositoryHook
- type RestRepositoryHookVeto
- type RestRepositoryMirrorEvent
- type RestRepositoryPolicy
- type RestRepositoryPullRequestSettings
- type RestRepositoryPullRequestSettingsRequiredSuccessfulBuilds
- type RestRepositoryRefChangeActivity
- type RestRepositoryRefChangeActivityRefChange
- type RestRepositorySelector
- type RestRequiredBuildCondition
- type RestRequiredBuildConditionRefMatcher
- type RestRequiredBuildConditionSetRequest
- type RestRestrictionRequest
- type RestRestrictionRequestScope
- type RestReviewerGroup
- type RestScope
- type RestScopesExample
- type RestSecretScanningAllowlistRule
- type RestSecretScanningAllowlistRuleSetRequest
- type RestSecretScanningRule
- type RestSecretScanningRuleScope
- type RestSecretScanningRuleSetRequest
- type RestSetInsightReportRequest
- type RestSingleAddInsightAnnotationRequest
- type RestSshAccessKey
- type RestSshAccessKeyKey
- type RestSshAccessKeyLocations
- type RestSshCredentials
- type RestSshKey
- type RestSshKeySettings
- type RestSshKeySettingsMaxExpiryDays
- type RestSshKeyTypeRestriction
- type RestSshKeyTypeRestrictionMinKeyLength
- type RestSshSettings
- type RestSyncProgress
- type RestTag
- type RestTestResults
- type RestTokenBucketSettings
- type RestUpstreamServer
- type RestUpstreamSettings
- type RestUserDirectory
- type RestUserRateLimitSettings
- type RestUserRateLimitSettingsUpdateRequest
- type RestUserReaction
- type RestUserReactionComment
- type RestUserReactionCommentParent
- type RestUserReactionCommentParentAnchor
- type RestUserReactionCommentParentThreadResolver
- type RestUserReactionEmoticon
- type RestUsernamePasswordCredentials
- type RestWebhook
- type RestWebhookCredentials
- type RestWebhookScope
- type SecurityApiAddKeyOpts
- type SecurityApiBulkAddExemptRepositoriesOpts
- type SecurityApiDeleteForUserOpts
- type SecurityApiFindExemptReposByScopeOpts
- type SecurityApiGetKeysForUserOpts
- type SecurityApiSearch1Opts
- type SecurityApiSearch2Opts
- type SecurityApiSearch3Opts
- type SecurityApiSearch4Opts
- type SecurityApiSearchAllowlistRuleOpts
- type SecurityApiService
- func (a *SecurityApiService) AddKey(ctx context.Context, localVarOptionals *SecurityApiAddKeyOpts) (RestGpgKey, *http.Response, error)
- func (a *SecurityApiService) BulkAddExemptRepositories(ctx context.Context, ...) (*http.Response, error)
- func (a *SecurityApiService) CreateAllowlistRule(ctx context.Context, body RestSecretScanningAllowlistRuleSetRequest, ...) (RestSecretScanningAllowlistRule, *http.Response, error)
- func (a *SecurityApiService) CreateAllowlistRule1(ctx context.Context, body RestSecretScanningAllowlistRuleSetRequest, ...) (RestSecretScanningAllowlistRule, *http.Response, error)
- func (a *SecurityApiService) CreateRule(ctx context.Context, body RestSecretScanningRuleSetRequest, projectKey string) (RestSecretScanningRule, *http.Response, error)
- func (a *SecurityApiService) CreateRule1(ctx context.Context, body RestSecretScanningRuleSetRequest, projectKey string, ...) (RestSecretScanningRule, *http.Response, error)
- func (a *SecurityApiService) CreateRule2(ctx context.Context, body RestSecretScanningRuleSetRequest) (RestSecretScanningRule, *http.Response, error)
- func (a *SecurityApiService) DeleteAllowlistRule(ctx context.Context, projectKey string, id string) (*http.Response, error)
- func (a *SecurityApiService) DeleteAllowlistRule1(ctx context.Context, projectKey string, id string, repositorySlug string) (*http.Response, error)
- func (a *SecurityApiService) DeleteForUser(ctx context.Context, localVarOptionals *SecurityApiDeleteForUserOpts) (*http.Response, error)
- func (a *SecurityApiService) DeleteKey(ctx context.Context, fingerprintOrId string) (*http.Response, error)
- func (a *SecurityApiService) DeleteRule(ctx context.Context, projectKey string, id string) (*http.Response, error)
- func (a *SecurityApiService) DeleteRule1(ctx context.Context, projectKey string, id string, repositorySlug string) (*http.Response, error)
- func (a *SecurityApiService) DeleteRule2(ctx context.Context, id string) (*http.Response, error)
- func (a *SecurityApiService) EditAllowlistRule(ctx context.Context, body RestSecretScanningAllowlistRuleSetRequest, ...) (RestSecretScanningAllowlistRule, *http.Response, error)
- func (a *SecurityApiService) EditAllowlistRule1(ctx context.Context, body RestSecretScanningAllowlistRuleSetRequest, ...) (RestSecretScanningAllowlistRule, *http.Response, error)
- func (a *SecurityApiService) EditRule(ctx context.Context, body RestSecretScanningRuleSetRequest, projectKey string, ...) (RestSecretScanningRule, *http.Response, error)
- func (a *SecurityApiService) EditRule1(ctx context.Context, body RestSecretScanningRuleSetRequest, projectKey string, ...) (RestSecretScanningRule, *http.Response, error)
- func (a *SecurityApiService) EditRule2(ctx context.Context, body RestSecretScanningRuleSetRequest, id string) (RestSecretScanningRule, *http.Response, error)
- func (a *SecurityApiService) FindExemptReposByScope(ctx context.Context, localVarOptionals *SecurityApiFindExemptReposByScopeOpts) (InlineResponse20029, *http.Response, error)
- func (a *SecurityApiService) GetAllowlistRule(ctx context.Context, projectKey string, id string) (RestSecretScanningAllowlistRule, *http.Response, error)
- func (a *SecurityApiService) GetAllowlistRule1(ctx context.Context, projectKey string, id string, repositorySlug string) (RestSecretScanningAllowlistRule, *http.Response, error)
- func (a *SecurityApiService) GetKeysForUser(ctx context.Context, localVarOptionals *SecurityApiGetKeysForUserOpts) (InlineResponse2007, *http.Response, error)
- func (a *SecurityApiService) GetRule(ctx context.Context, projectKey string, id string) (RestSecretScanningRule, *http.Response, error)
- func (a *SecurityApiService) GetRule1(ctx context.Context, projectKey string, id string, repositorySlug string) (RestSecretScanningRule, *http.Response, error)
- func (a *SecurityApiService) GetRule2(ctx context.Context, id string) (RestSecretScanningRule, *http.Response, error)
- func (a *SecurityApiService) Search1(ctx context.Context, projectKey string, ...) (InlineResponse20043, *http.Response, error)
- func (a *SecurityApiService) Search2(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20042, *http.Response, error)
- func (a *SecurityApiService) Search3(ctx context.Context, projectKey string, repositorySlug string, ...) (InlineResponse20043, *http.Response, error)
- func (a *SecurityApiService) Search4(ctx context.Context, localVarOptionals *SecurityApiSearch4Opts) (InlineResponse20043, *http.Response, error)
- func (a *SecurityApiService) SearchAllowlistRule(ctx context.Context, projectKey string, ...) (InlineResponse20042, *http.Response, error)
- type SimpleSshKeyFingerprint
- type SshKeyIdBody
- type SystemMaintenanceApiCreateHookScriptOpts
- type SystemMaintenanceApiDelete2Opts
- type SystemMaintenanceApiGetAllMeshMigrationSummariesOpts
- type SystemMaintenanceApiGetAllRateLimitSettingsOpts
- type SystemMaintenanceApiGetExportJobMessagesOpts
- type SystemMaintenanceApiGetHistoryOpts
- type SystemMaintenanceApiGetImportJobMessagesOpts
- type SystemMaintenanceApiGetLabelablesOpts
- type SystemMaintenanceApiGetLabelsOpts
- type SystemMaintenanceApiGetMeshMigrationJobMessagesOpts
- type SystemMaintenanceApiGetUsers2Opts
- type SystemMaintenanceApiPreviewExportOpts
- type SystemMaintenanceApiPreviewMeshMigrationOpts
- type SystemMaintenanceApiRegisterNewMeshNodeOpts
- type SystemMaintenanceApiSearchMeshMigrationReposOpts
- type SystemMaintenanceApiService
- func (a *SystemMaintenanceApiService) CancelExportJob(ctx context.Context, jobId string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) CancelImportJob(ctx context.Context, jobId string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) CancelMeshMigrationJob(ctx context.Context, jobId string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) ClearDefaultBranch(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) ClearSenderAddress(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) Connectivity(ctx context.Context) (RestMeshConnectivityReport, *http.Response, error)
- func (a *SystemMaintenanceApiService) CreateHookScript(ctx context.Context, ...) (RestHookScript, *http.Response, error)
- func (a *SystemMaintenanceApiService) Delete2(ctx context.Context, id int64, ...) (*http.Response, error)
- func (a *SystemMaintenanceApiService) Delete6(ctx context.Context, userSlug string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) DeleteAvatar(ctx context.Context, userSlug string) (RestNamedLink, *http.Response, error)
- func (a *SystemMaintenanceApiService) DeleteBanner(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) DeleteHookScript(ctx context.Context, scriptId string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) DeleteMailConfig(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) DismissRetentionConfigReviewNotification(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) Get2(ctx context.Context) (RestBitbucketLicense, *http.Response, error)
- func (a *SystemMaintenanceApiService) Get4(ctx context.Context, userSlug string) (RestUserRateLimitSettings, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetActiveMeshMigrationSummary(ctx context.Context) (RestMeshMigrationSummary, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetAllMeshMigrationSummaries(ctx context.Context, ...) (InlineResponse20028, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetAllRateLimitSettings(ctx context.Context, ...) (InlineResponse20020, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetAllRegisteredMeshNodes(ctx context.Context) (RestMeshNode, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetApplicationProperties(ctx context.Context) (RestApplicationProperties, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetBanner(ctx context.Context) (RestAnnouncementBanner, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetControlPlanePublicKey(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) GetDefaultBranch(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) GetExportJob(ctx context.Context, jobId string) (RestJob, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetExportJobMessages(ctx context.Context, jobId string, ...) (InlineResponse20026, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetGlobalSettings(ctx context.Context) (RestSshKeySettings, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetHistory(ctx context.Context, localVarOptionals *SystemMaintenanceApiGetHistoryOpts) (InlineResponse20019, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetHookScript(ctx context.Context, scriptId string) (RestHookScript, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetImportJob(ctx context.Context, jobId string) (RestJob, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetImportJobMessages(ctx context.Context, jobId string, ...) (InlineResponse20026, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetInformation(ctx context.Context) (RestClusterInformation, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetLabel(ctx context.Context, labelName string) (RestLabel, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetLabelables(ctx context.Context, labelName string, ...) (InlineResponse20025, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetLabels(ctx context.Context, localVarOptionals *SystemMaintenanceApiGetLabelsOpts) (InlineResponse20024, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetLevel(ctx context.Context, loggerName string) (RestLogLevel, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetMailConfig(ctx context.Context) (RestMailConfiguration, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetMeshMigrationJob(ctx context.Context, jobId string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) GetMeshMigrationJobMessages(ctx context.Context, jobId string, ...) (InlineResponse20026, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetMeshMigrationJobSummary(ctx context.Context, jobId string) (RestMeshMigrationSummary, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetRegisteredMeshNodeById(ctx context.Context, id string) (RestMeshNode, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetRepositoryArchivePolicy(ctx context.Context) (RestRepositoryPolicy, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetRepositoryDeletePolicy(ctx context.Context) (RestRepositoryPolicy, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetRootLevel(ctx context.Context) (RestLogLevel, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetSenderAddress(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) GetSettings2(ctx context.Context) (RestRateLimitSettings, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetSupportZip(ctx context.Context, id string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) GetSupportZips(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) GetSupportedKeyTypes(ctx context.Context) (*http.Response, error)
- func (a *SystemMaintenanceApiService) GetUser(ctx context.Context, userSlug string) (RestApplicationUser, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetUserSettings(ctx context.Context, userSlug string) (ExampleSettingsMap, *http.Response, error)
- func (a *SystemMaintenanceApiService) GetUsers2(ctx context.Context, localVarOptionals *SystemMaintenanceApiGetUsers2Opts) (RestApplicationUser, *http.Response, error)
- func (a *SystemMaintenanceApiService) PreviewExport(ctx context.Context, localVarOptionals *SystemMaintenanceApiPreviewExportOpts) (RestScopesExample, *http.Response, error)
- func (a *SystemMaintenanceApiService) PreviewMeshMigration(ctx context.Context, ...) (ExamplePreviewMigration, *http.Response, error)
- func (a *SystemMaintenanceApiService) Read(ctx context.Context, scriptId string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) RegisterNewMeshNode(ctx context.Context, ...) (RestMeshNode, *http.Response, error)
- func (a *SystemMaintenanceApiService) SearchMeshMigrationRepos(ctx context.Context, ...) (InlineResponse20027, *http.Response, error)
- func (a *SystemMaintenanceApiService) Set(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetOpts) (RestUserRateLimitSettings, *http.Response, error)
- func (a *SystemMaintenanceApiService) Set1(ctx context.Context, userSlug string, ...) (RestUserRateLimitSettings, *http.Response, error)
- func (a *SystemMaintenanceApiService) SetBanner(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetBannerOpts) (*http.Response, error)
- func (a *SystemMaintenanceApiService) SetDefaultBranch(ctx context.Context, ...) (*http.Response, error)
- func (a *SystemMaintenanceApiService) SetLevel(ctx context.Context, levelName string, loggerName string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) SetMailConfig(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetMailConfigOpts) (RestMailConfiguration, *http.Response, error)
- func (a *SystemMaintenanceApiService) SetRepositoryArchivePolicy(ctx context.Context, ...) (RestRepositoryPolicy, *http.Response, error)
- func (a *SystemMaintenanceApiService) SetRepositoryDeletePolicy(ctx context.Context, ...) (RestRepositoryPolicy, *http.Response, error)
- func (a *SystemMaintenanceApiService) SetRootLevel(ctx context.Context, levelName string) (*http.Response, error)
- func (a *SystemMaintenanceApiService) SetSenderAddress(ctx context.Context, ...) (*http.Response, error)
- func (a *SystemMaintenanceApiService) SetSettings2(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetSettings2Opts) (RestRateLimitSettings, *http.Response, error)
- func (a *SystemMaintenanceApiService) StartExport(ctx context.Context, localVarOptionals *SystemMaintenanceApiStartExportOpts) (RestJob, *http.Response, error)
- func (a *SystemMaintenanceApiService) StartImport(ctx context.Context, localVarOptionals *SystemMaintenanceApiStartImportOpts) (RestJob, *http.Response, error)
- func (a *SystemMaintenanceApiService) StartMeshMigration(ctx context.Context, ...) (RestJob, *http.Response, error)
- func (a *SystemMaintenanceApiService) UpdateGlobalSettings(ctx context.Context, ...) (*http.Response, error)
- func (a *SystemMaintenanceApiService) UpdateHookScript(ctx context.Context, scriptId string, ...) (RestHookScript, *http.Response, error)
- func (a *SystemMaintenanceApiService) UpdateLicense(ctx context.Context, localVarOptionals *SystemMaintenanceApiUpdateLicenseOpts) (RestBitbucketLicense, *http.Response, error)
- func (a *SystemMaintenanceApiService) UpdateMeshNode(ctx context.Context, id string, ...) (RestMeshNode, *http.Response, error)
- func (a *SystemMaintenanceApiService) UpdateSettings(ctx context.Context, userSlug string, ...) (*http.Response, error)
- func (a *SystemMaintenanceApiService) UpdateUserDetails1(ctx context.Context, ...) (RestApplicationUser, *http.Response, error)
- func (a *SystemMaintenanceApiService) UpdateUserPassword1(ctx context.Context, ...) (*http.Response, error)
- func (a *SystemMaintenanceApiService) UploadAvatar1(ctx context.Context, userSlug string, ...) (*http.Response, error)
- type SystemMaintenanceApiSet1Opts
- type SystemMaintenanceApiSetBannerOpts
- type SystemMaintenanceApiSetDefaultBranchOpts
- type SystemMaintenanceApiSetMailConfigOpts
- type SystemMaintenanceApiSetOpts
- type SystemMaintenanceApiSetRepositoryArchivePolicyOpts
- type SystemMaintenanceApiSetRepositoryDeletePolicyOpts
- type SystemMaintenanceApiSetSenderAddressOpts
- type SystemMaintenanceApiSetSettings2Opts
- type SystemMaintenanceApiStartExportOpts
- type SystemMaintenanceApiStartImportOpts
- type SystemMaintenanceApiStartMeshMigrationOpts
- type SystemMaintenanceApiUpdateGlobalSettingsOpts
- type SystemMaintenanceApiUpdateHookScriptOpts
- type SystemMaintenanceApiUpdateLicenseOpts
- type SystemMaintenanceApiUpdateMeshNodeOpts
- type SystemMaintenanceApiUpdateSettingsOpts
- type SystemMaintenanceApiUpdateUserDetails1Opts
- type SystemMaintenanceApiUpdateUserPassword1Opts
- type SystemMaintenanceApiUploadAvatar1Opts
- type UserAndGroups
- type UserPasswordUpdate
- type UserPickerContext
- type UserRename
- type UserUpdate
Constants ¶
This section is empty.
Variables ¶
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 ¶
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(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 ¶
Change base path to allow switching to mocks
type APIKey ¶
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 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 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 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 (a *AuthenticationApiService) AddSshKey(ctx context.Context, localVarOptionals *AuthenticationApiAddSshKeyOpts) (RestSshKey, *http.Response, error)
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 ¶
func (a *AuthenticationApiService) GetSshKey(ctx context.Context, keyId string) (RestSshKey, *http.Response, error)
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 (a *AuthenticationApiService) GetSshKeys(ctx context.Context, localVarOptionals *AuthenticationApiGetSshKeysOpts) (InlineResponse20015, *http.Response, error)
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 ¶
func (a *AuthenticationApiService) SshSettings(ctx context.Context) (RestSshSettings, *http.Response, error)
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 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 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 (*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 (*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 (a *BuildsAndDeploymentsApiService) GetBuildStatusStats(ctx context.Context, commitId string, localVarOptionals *BuildsAndDeploymentsApiGetBuildStatusStatsOpts) (RestBuildStats, *http.Response, error)
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 (*BuildsAndDeploymentsApiService) UpdateRequiredBuildsMergeCheck ¶
func (a *BuildsAndDeploymentsApiService) UpdateRequiredBuildsMergeCheck(ctx context.Context, projectKey string, id int64, repositorySlug string, localVarOptionals *BuildsAndDeploymentsApiUpdateRequiredBuildsMergeCheckOpts) (RestRequiredBuildCondition, *http.Response, error)
type CapabilitiesApiService ¶
type CapabilitiesApiService service
func (*CapabilitiesApiService) GetCapabilities ¶
func (a *CapabilitiesApiService) GetCapabilities(ctx context.Context) (RestBuildCapabilities, *http.Response, error)
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 ¶
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)
type Credentials ¶
type Credentials struct { RestUsernamePasswordCredentials RestBearerTokenCredentials RestSshCredentials }
type DashboardApiService ¶
type DashboardApiService service
func (*DashboardApiService) GetPullRequestSuggestions ¶
func (a *DashboardApiService) GetPullRequestSuggestions(ctx context.Context, localVarOptionals *DashboardApiGetPullRequestSuggestionsOpts) (InlineResponse20021, *http.Response, error)
func (*DashboardApiService) GetPullRequests1 ¶
func (a *DashboardApiService) GetPullRequests1(ctx context.Context, localVarOptionals *DashboardApiGetPullRequests1Opts) (InlineResponse20022, *http.Response, error)
type DefaultApiService ¶
type DefaultApiService service
func (*DefaultApiService) GetPullRequestCount ¶
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 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 ¶
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) GetDefaultBranch1 ¶
func (a *DeprecatedApiService) GetDefaultBranch1(ctx context.Context, projectKey string, repositorySlug string) (RestBranch, *http.Response, error)
DeprecatedApiService Get default branch Retrieves the repository's default branch, if it has been created. If the repository is empty, 204 No Content will be returned. For non-empty repositories, if the configured default branch has not yet been created a 404 Not Found will be returned. This URL is deprecated. Callers should use <code>GET /projects/{key}/repos/{slug}/default-branch</code> instead, which allows retrieving the <i>configured</i> default branch even if the ref has not been created yet. The authenticated user must have <strong>REPO_READ</strong> 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 RestBranch
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)
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 ¶
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 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 EntityHolderRestPullRequestAutoMergeRequest ¶
type EntityHolderRestPullRequestAutoMergeRequest struct {
Entity *EntityHolderRestPullRequestAutoMergeRequestEntity `json:"entity,omitempty"`
}
type EntityHolderRestPullRequestDeclineRequest ¶
type EntityHolderRestPullRequestDeclineRequest struct {
Entity *EntityHolderRestPullRequestDeclineRequestEntity `json:"entity,omitempty"`
}
type EntityHolderRestPullRequestReopenRequest ¶
type EntityHolderRestPullRequestReopenRequest struct {
Entity *EntityHolderRestPullRequestReopenRequestEntity `json:"entity,omitempty"`
}
type EntityHolderRestPullRequestReopenRequestEntity ¶
type EntityHolderRestPullRequestReopenRequestEntity struct {
Version int32 `json:"version,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 ExampleSettings ¶
type ExampleSettingsMap ¶
type ExampleSocketAddress ¶
type ExampleStatus ¶
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 GroupAndUsers ¶
type GroupPickerContext ¶
type InlineResponse200 ¶
type InlineResponse2001 ¶
type InlineResponse20010 ¶
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 InlineResponse20015 ¶
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 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 InlineResponse20023 ¶
type InlineResponse20024 ¶
type InlineResponse20025 ¶
type InlineResponse20026 ¶
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 InlineResponse2003 ¶
type InlineResponse20030 ¶
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 InlineResponse20033 ¶
type InlineResponse20034 ¶
type InlineResponse20035 ¶
type InlineResponse20036 ¶
type InlineResponse20037 ¶
type InlineResponse20038 ¶
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 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 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 InlineResponse2007 ¶
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 JiraIntegrationApiService ¶
type JiraIntegrationApiService service
func (*JiraIntegrationApiService) CreateIssue ¶
func (a *JiraIntegrationApiService) CreateIssue(ctx context.Context, commentId string, localVarOptionals *JiraIntegrationApiCreateIssueOpts) (RestCommentJiraIssue, *http.Response, error)
func (*JiraIntegrationApiService) GetCommitsByIssueKey ¶
func (a *JiraIntegrationApiService) GetCommitsByIssueKey(ctx context.Context, issueKey string, localVarOptionals *JiraIntegrationApiGetCommitsByIssueKeyOpts) (InlineResponse2006, *http.Response, error)
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 <strong>PROJECT_READ</strong> 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 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 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 ¶
func (a *MirroringMirrorApiService) GetRefChangesQueue(ctx context.Context) (RestRefSyncQueue, *http.Response, error)
MirroringMirrorApiService Get items in ref changes queue Retrieves a list of up to <code>plugin.mirroring.farm.max.ref.change.queue.dump.size</code> 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 (a *MirroringMirrorApiService) GetRepoSyncStatus(ctx context.Context, localVarOptionals *MirroringMirrorApiGetRepoSyncStatusOpts) (InlineResponse2008, *http.Response, error)
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's no progress to report, this resource will return <pre><code> {\"discovering\":false,\"syncedRepos\":0,\"totalRepos\":0}</code></pre> If there are repositories in the process of synchronizing, but the precise number hasn't been discovered yet, this resource will return: <pre><code> {\"discovering\":true,\"syncedRepos\":3,\"totalRepos\":100}</code></pre> If there is progress to report and the total number of repositories is known, this resource will return: <pre> <code> {\"discovering\":false,\"syncedRepos\":242,\"totalRepos\":1071}</code> </pre> * @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 (a *MirroringMirrorApiService) ListUpstreamServers(ctx context.Context, localVarOptionals *MirroringMirrorApiListUpstreamServersOpts) (InlineResponse2009, *http.Response, error)
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 <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 (*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 <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 (*MirroringMirrorApiService) SetMirrorMode ¶
func (a *MirroringMirrorApiService) SetMirrorMode(ctx context.Context, upstreamId string, localVarOptionals *MirroringMirrorApiSetMirrorModeOpts) (*http.Response, error)
func (*MirroringMirrorApiService) SetMirrorSettings ¶
func (a *MirroringMirrorApiService) SetMirrorSettings(ctx context.Context, upstreamId string, localVarOptionals *MirroringMirrorApiSetMirrorSettingsOpts) (RestUpstreamSettings, *http.Response, error)
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 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 ¶
func (a *MirroringUpstreamApiService) AnalyticsSettings(ctx context.Context) (RestAnalyticsSettings, *http.Response, error)
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 (a *MirroringUpstreamApiService) Authenticate(ctx context.Context, localVarOptionals *MirroringUpstreamApiAuthenticateOpts) (RestApplicationUserWithPermissions, *http.Response, error)
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'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 (a *MirroringUpstreamApiService) GetAllContentHashes(ctx context.Context, localVarOptionals *MirroringUpstreamApiGetAllContentHashesOpts) (EnrichedRepository, *http.Response, error)
func (*MirroringUpstreamApiService) GetAllReposForProject ¶
func (a *MirroringUpstreamApiService) GetAllReposForProject(ctx context.Context, projectId string, localVarOptionals *MirroringUpstreamApiGetAllReposForProjectOpts) (InlineResponse20011, *http.Response, error)
func (*MirroringUpstreamApiService) GetContentHashById ¶
func (a *MirroringUpstreamApiService) GetContentHashById(ctx context.Context, repoId string, localVarOptionals *MirroringUpstreamApiGetContentHashByIdOpts) (EnrichedRepository, *http.Response, error)
func (*MirroringUpstreamApiService) GetMirror ¶
func (a *MirroringUpstreamApiService) GetMirror(ctx context.Context, mirrorId string) (RestMirrorServer, *http.Response, error)
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 ¶
func (a *MirroringUpstreamApiService) GetPreferredMirrorId(ctx context.Context) (RestMirrorServer, *http.Response, error)
MirroringUpstreamApiService Get preferred mirror Retrieves the current user'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.<br> 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 ¶
func (a *MirroringUpstreamApiService) GetRepositoryMirrors(ctx context.Context, repoId string) (RestMirroredRepositoryDescriptor, *http.Response, error)
MirroringUpstreamApiService Get mirrors for repository Returns a page of mirrors for a repository. This resource will return <strong>all mirrors</strong> along with authorized links to the mirror'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 (a *MirroringUpstreamApiService) ListMirrors(ctx context.Context, localVarOptionals *MirroringUpstreamApiListMirrorsOpts) (InlineResponse20010, *http.Response, error)
func (*MirroringUpstreamApiService) ListRequests ¶
func (a *MirroringUpstreamApiService) ListRequests(ctx context.Context, localVarOptionals *MirroringUpstreamApiListRequestsOpts) (InlineResponse20012, *http.Response, error)
func (*MirroringUpstreamApiService) PublishEvent ¶
func (a *MirroringUpstreamApiService) PublishEvent(ctx context.Context, mirrorId string, localVarOptionals *MirroringUpstreamApiPublishEventOpts) (*http.Response, error)
func (*MirroringUpstreamApiService) Register ¶
func (a *MirroringUpstreamApiService) Register(ctx context.Context, localVarOptionals *MirroringUpstreamApiRegisterOpts) (RestMirroringRequest, *http.Response, error)
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 ¶
func (a *MirroringUpstreamApiService) Upgrade(ctx context.Context, mirrorId string, localVarOptionals *MirroringUpstreamApiUpgradeOpts) (RestMirrorServer, *http.Response, error)
type PermissionManagementApiService ¶
type PermissionManagementApiService service
func (*PermissionManagementApiService) AddGroupToUser ¶
func (a *PermissionManagementApiService) AddGroupToUser(ctx context.Context, localVarOptionals *PermissionManagementApiAddGroupToUserOpts) (*http.Response, error)
func (*PermissionManagementApiService) AddUserToGroup ¶
func (a *PermissionManagementApiService) AddUserToGroup(ctx context.Context, localVarOptionals *PermissionManagementApiAddUserToGroupOpts) (*http.Response, error)
func (*PermissionManagementApiService) AddUserToGroups ¶
func (a *PermissionManagementApiService) AddUserToGroups(ctx context.Context, localVarOptionals *PermissionManagementApiAddUserToGroupsOpts) (*http.Response, error)
func (*PermissionManagementApiService) AddUsersToGroup ¶
func (a *PermissionManagementApiService) AddUsersToGroup(ctx context.Context, localVarOptionals *PermissionManagementApiAddUsersToGroupOpts) (*http.Response, error)
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 <strong>ADMIN</strong> 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 ¶
func (a *PermissionManagementApiService) CreateGroup(ctx context.Context, name string) (RestDetailedGroup, *http.Response, error)
PermissionManagementApiService Create group Create a new group. The authenticated user must have <strong>ADMIN</strong> 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 ¶
func (a *PermissionManagementApiService) DeleteGroup(ctx context.Context, name string) (RestDetailedGroup, *http.Response, error)
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 <strong>ADMIN</strong> 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 ¶
func (a *PermissionManagementApiService) DeleteUser(ctx context.Context, name string) (RestDetailedUser, *http.Response, error)
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 <strong>ADMIN</strong> permissions may not delete a user with <strong>SYS_ADMIN</strong>permissions. The authenticated user must have the <strong>ADMIN</strong> 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 ¶
func (a *PermissionManagementApiService) EraseUser(ctx context.Context, name string) (RestErasedUser, *http.Response, error)
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 <a href=\"https://confluence.atlassian.com/gdpr/bitbucket-right-to-erasure-949770560.html\">support guide</a> for details about what data is and isn'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 <strong>irreversible</strong> 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 <code>&lt;user-erasure-handler&gt;</code> module. If one or more plugin modules fail, an error summary of the failing modules is returned. The authenticated user must have the <strong>ADMIN</strong> 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 (a *PermissionManagementApiService) FindGroupsForUser(ctx context.Context, context string, localVarOptionals *PermissionManagementApiFindGroupsForUserOpts) (InlineResponse20017, *http.Response, error)
func (*PermissionManagementApiService) FindOtherGroupsForUser ¶
func (a *PermissionManagementApiService) FindOtherGroupsForUser(ctx context.Context, context string, localVarOptionals *PermissionManagementApiFindOtherGroupsForUserOpts) (InlineResponse20016, *http.Response, error)
func (*PermissionManagementApiService) FindUsersInGroup ¶
func (a *PermissionManagementApiService) FindUsersInGroup(ctx context.Context, context string, localVarOptionals *PermissionManagementApiFindUsersInGroupOpts) (InlineResponse20017, *http.Response, error)
func (*PermissionManagementApiService) FindUsersNotInGroup ¶
func (a *PermissionManagementApiService) FindUsersNotInGroup(ctx context.Context, context string, localVarOptionals *PermissionManagementApiFindUsersNotInGroupOpts) (InlineResponse20017, *http.Response, error)
func (*PermissionManagementApiService) GetGroups ¶
func (a *PermissionManagementApiService) GetGroups(ctx context.Context, localVarOptionals *PermissionManagementApiGetGroupsOpts) (InlineResponse20023, *http.Response, error)
func (*PermissionManagementApiService) GetGroups1 ¶
func (a *PermissionManagementApiService) GetGroups1(ctx context.Context, localVarOptionals *PermissionManagementApiGetGroups1Opts) (InlineResponse20016, *http.Response, error)
func (*PermissionManagementApiService) GetGroupsWithAnyPermission ¶
func (a *PermissionManagementApiService) GetGroupsWithAnyPermission(ctx context.Context, localVarOptionals *PermissionManagementApiGetGroupsWithAnyPermissionOpts) (InlineResponse20018, *http.Response, error)
func (*PermissionManagementApiService) GetGroupsWithAnyPermission2 ¶
func (a *PermissionManagementApiService) GetGroupsWithAnyPermission2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiGetGroupsWithAnyPermission2Opts) (InlineResponse20018, *http.Response, error)
func (*PermissionManagementApiService) GetGroupsWithoutAnyPermission ¶
func (a *PermissionManagementApiService) GetGroupsWithoutAnyPermission(ctx context.Context, localVarOptionals *PermissionManagementApiGetGroupsWithoutAnyPermissionOpts) (InlineResponse20016, *http.Response, error)
func (*PermissionManagementApiService) GetGroupsWithoutAnyPermission2 ¶
func (a *PermissionManagementApiService) GetGroupsWithoutAnyPermission2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiGetGroupsWithoutAnyPermission2Opts) (InlineResponse20016, *http.Response, error)
func (*PermissionManagementApiService) GetUserDirectories ¶
func (a *PermissionManagementApiService) GetUserDirectories(ctx context.Context, localVarOptionals *PermissionManagementApiGetUserDirectoriesOpts) (RestUserDirectory, *http.Response, error)
func (*PermissionManagementApiService) GetUsers1 ¶
func (a *PermissionManagementApiService) GetUsers1(ctx context.Context, localVarOptionals *PermissionManagementApiGetUsers1Opts) (InlineResponse20017, *http.Response, error)
func (*PermissionManagementApiService) GetUsersWithAnyPermission ¶
func (a *PermissionManagementApiService) GetUsersWithAnyPermission(ctx context.Context, localVarOptionals *PermissionManagementApiGetUsersWithAnyPermissionOpts) (InlineResponse20018, *http.Response, error)
func (*PermissionManagementApiService) GetUsersWithAnyPermission2 ¶
func (a *PermissionManagementApiService) GetUsersWithAnyPermission2(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiGetUsersWithAnyPermission2Opts) (InlineResponse20032, *http.Response, error)
func (*PermissionManagementApiService) GetUsersWithoutAnyPermission ¶
func (a *PermissionManagementApiService) GetUsersWithoutAnyPermission(ctx context.Context, localVarOptionals *PermissionManagementApiGetUsersWithoutAnyPermissionOpts) (InlineResponse2005, *http.Response, error)
func (*PermissionManagementApiService) GetUsersWithoutPermission1 ¶
func (a *PermissionManagementApiService) GetUsersWithoutPermission1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *PermissionManagementApiGetUsersWithoutPermission1Opts) (InlineResponse2005, *http.Response, error)
func (*PermissionManagementApiService) RemoveGroupFromUser ¶
func (a *PermissionManagementApiService) RemoveGroupFromUser(ctx context.Context, localVarOptionals *PermissionManagementApiRemoveGroupFromUserOpts) (*http.Response, error)
func (*PermissionManagementApiService) RemoveUserFromGroup ¶
func (a *PermissionManagementApiService) RemoveUserFromGroup(ctx context.Context, localVarOptionals *PermissionManagementApiRemoveUserFromGroupOpts) (*http.Response, error)
func (*PermissionManagementApiService) RenameUser ¶
func (a *PermissionManagementApiService) RenameUser(ctx context.Context, localVarOptionals *PermissionManagementApiRenameUserOpts) (RestDetailedUser, *http.Response, error)
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: - <strong>ADMIN</strong> 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'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 <strong>REPO_ADMIN</strong> 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'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: - <strong>ADMIN</strong> 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 <strong>REPO_ADMIN</strong> 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's permission level for the specified repository. Available repository permissions are: - REPO_READ - REPO_WRITE - REPO_ADMIN See the <a href=\"https://confluence.atlassian.com/display/BitbucketServer/Using+repository+permissions\">Bitbucket Server documentation</a> for a detailed explanation of what each permission entails. The authenticated user must have <strong>REPO_ADMIN</strong> 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'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's global permission level. Available global permissions are: - LICENSED_USER - PROJECT_CREATE - ADMIN - SYS_ADMIN See the <a href=\"https://confluence.atlassian.com/display/BitbucketServer/Global+permissions\">Bitbucket Server documentation</a> for a detailed explanation of what each permission entails. The authenticated user must have: - <strong>ADMIN</strong> 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'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's permission level for the specified repository. Available repository permissions are: - REPO_READ</li>- REPO_WRITE</li>- REPO_ADMIN</li></ul>See the <a href=\"https://confluence.atlassian.com/display/BitbucketServer/Using+repository+permissions\">Bitbucket Server documentation</a> for a detailed explanation of what each permission entails. The authenticated user must have <strong>REPO_ADMIN</strong> 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 <a href=\"https://confluence.atlassian.com/display/BitbucketServer/Global+permissions\">Bitbucket Server documentation</a> for a detailed explanation of what each permission entails. The authenticated user must have: - <strong>ADMIN</strong> 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 (a *PermissionManagementApiService) UpdateUserDetails(ctx context.Context, localVarOptionals *PermissionManagementApiUpdateUserDetailsOpts) (RestDetailedUser, *http.Response, error)
func (*PermissionManagementApiService) UpdateUserPassword ¶
func (a *PermissionManagementApiService) UpdateUserPassword(ctx context.Context, localVarOptionals *PermissionManagementApiUpdateUserPasswordOpts) (*http.Response, error)
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 <strong>not</strong> perform the actual user erasure, and will not modify the application in any way. The authenticated user must have the <strong>ADMIN</strong> 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 ProjectApiDelete7Opts ¶
type ProjectApiGet5Opts ¶
type ProjectApiGetAllOpts ¶
type ProjectApiGetAvatarOpts ¶
type ProjectApiService ¶
type ProjectApiService service
func (*ProjectApiService) Create3 ¶
func (a *ProjectApiService) Create3(ctx context.Context, body RestProjectSettingsRestrictionRequest, projectKey string) (RestProjectSettingsRestriction, *http.Response, error)
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 <strong>PROJECT_ADMIN</strong> 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 <strong>projectKey</strong>. The authenticated user must have <strong>PROJECT_ADMIN</strong> 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 <strong>projectKey</strong> and <strong>repositorySlug</strong> 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 <strong>REPO_ADMIN</strong> 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 <strong>PROJECT_ADMIN</strong> 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 <strong>PROJECT_ADMIN</strong> 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 <strong>PROJECT_ADMIN</strong> 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's <i>configured</i> default branch. Every repository has a <i>configured</i> default branch, but that branch may not actually <i>exist</i> 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 <strong>REPO_READ</strong> 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 <strong>projectKey</strong>. The authenticated user must have <strong>PROJECT_VIEW</strong> 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 (a *ProjectApiService) GetProjects(ctx context.Context, localVarOptionals *ProjectApiGetProjectsOpts) (InlineResponse20030, *http.Response, error)
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 <strong>PROJECT_READ</strong> 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 <strong>projectKey</strong> and <strong>repositorySlug</strong>. The authenticated user must have <strong>REPO_READ</strong> 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 <strong>PROJECT_READ</strong> 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 <strong>PROJECT_ADMIN</strong> 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 <strong>PROJECT_READ</strong> 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 <strong>PROJECT_ADMIN</strong> 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 <strong>PROJECT_ADMIN</strong> 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 PullRequestsApiService ¶
type PullRequestsApiService service
func (*PullRequestsApiService) ApplySuggestion ¶
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 <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 (*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 <strong>REPO_WRITE</strong> 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 <strong>REPO_READ</strong> 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's {@link PullRequest#getFromRef \"from\" ref} is a <i>branch</i> - In other words, the qualified ID for the \"from\" ref must start with <code>refs/heads/</code> - Tags, and other non-standard refs, cannot be rebased - The current user has an e-mail address - Pull requests cannot be rebased anonymously - `git rebase` records the current user as the committer for the rebased commits, which requires a name and e-mail address - The current user has <i>write</i> access to the {@link PullRequest#getFromRef \"from\" ref}'s repository - Note that in order to <i>view</i> a pull request a user is only required to have <i>read</i> access to the {@link PullRequest#getToRef toRef}'s repository, so just because a user can <i>see</i> 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 <strong>REPO_READ</strong> 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 <b>PROJECT_ADMIN</b> 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 <b>REPO_ADMIN</b> 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 (*PullRequestsApiService) DeleteComment2 ¶
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 <strong>REPO_READ</strong> 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 <strong>REPO_READ</strong> 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 <strong>REPO_READ</strong> 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 <strong>REPO_READ</strong> 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 ¶
func (a *PullRequestsApiService) GetMergeConfig(ctx context.Context, scmId string) (RestPullRequestMergeConfig, *http.Response, error)
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 <b>PROJECT_READ</b> 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 <b>REPO_READ</b> 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 <b>REPO_READ</b> permission for the specified repository. The authenticated user must have <b>REPO_READ</b> 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 (a *PullRequestsApiService) SetMergeConfig(ctx context.Context, scmId string, localVarOptionals *PullRequestsApiSetMergeConfigOpts) (RestPullRequestMergeConfig, *http.Response, error)
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 <strong>REPO_READ</strong> 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 <strong>REPO_WRITE</strong> 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 <strong>REPO_READ</strong> 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'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 <strong>UNAPPROVED</strong>, <strong>NEEDS_WORK</strong> (which is referred to as \"Requested changes\" in the frontend from 8.10 onward), or <strong>APPROVED</strong>. If the new {@code status} is <strong>NEEDS_WORK</strong> or <strong>APPROVED</strong> 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 <strong>REPO_READ</strong> 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 <strong>REPO_READ</strong> 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 <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 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 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 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) CreateBranch ¶
func (a *RepositoryApiService) CreateBranch(ctx context.Context, body RestBranchCreateRequest, projectKey string, repositorySlug string) (RestBranch, *http.Response, error)
RepositoryApiService Create branch
Creates a branch in the specified repository. The authenticated user must have an effective <strong>REPO_WRITE</strong> permission to call this resource. If branch permissions are set up in the repository, the authenticated user must also have access to the branch name that is to be created. * @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 repositorySlug The repository slug.
@return RestBranch
func (*RepositoryApiService) CreateBranchForRepository ¶
func (a *RepositoryApiService) CreateBranchForRepository(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiCreateBranchForRepositoryOpts) (RestBranch, *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 <strong>REPO_ADMIN</strong> 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 <strong>REPO_ADMIN</strong> 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 <strong>REPO_ADMIN</strong> 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 (*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 <strong>hookKey</strong> and <strong>repositorySlug</strong> The authenticated user must have <strong>REPO_ADMIN</strong> 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 <strong>REPO_ADMIN</strong> 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 <strong>REPO_WRITE</strong> 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 <strong>REPO_ADMIN</strong> 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 <strong>REPO_ADMIN</strong> 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 <strong>REPO_READ</strong> 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 <strong>REPO_READ</strong> 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 <strong>REPO_READ</strong> 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) GetBranches ¶
func (a *RepositoryApiService) GetBranches(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiGetBranchesOpts) (InlineResponse20033, *http.Response, error)
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 <strong>REPO_READ</strong> 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 <i>full ID</i> 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) GetDefaultBranch1 ¶
func (a *RepositoryApiService) GetDefaultBranch1(ctx context.Context, projectKey string, repositorySlug string) (RestBranch, *http.Response, error)
RepositoryApiService Get default branch Retrieves the repository's default branch, if it has been created. If the repository is empty, 204 No Content will be returned. For non-empty repositories, if the configured default branch has not yet been created a 404 Not Found will be returned. This URL is deprecated. Callers should use <code>GET /projects/{key}/repos/{slug}/default-branch</code> instead, which allows retrieving the <i>configured</i> default branch even if the ref has not been created yet. The authenticated user must have <strong>REPO_READ</strong> 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 RestBranch
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 <strong>REPO_READ</strong> permission for the context repository to call this resource. This resource will call all RestFragments that are registered with the key <strong>bitbucket.repository.settings.pullRequests</strong>. 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 (a *RepositoryApiService) GetRepositories1(ctx context.Context, localVarOptionals *RepositoryApiGetRepositories1Opts) (InlineResponse20029, *http.Response, error)
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 <strong>REPO_ADMIN</strong> 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 <strong>REPO_ADMIN</strong> 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 <strong>REPO_ADMIN</strong> 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 <strong>REPO_READ</strong> 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 <strong>REPO_ADMIN</strong> 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 (*RepositoryApiService) StreamDiff1 ¶
func (a *RepositoryApiService) StreamDiff1(ctx context.Context, path string, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamDiff1Opts) (InlineResponse20037, *http.Response, error)
func (*RepositoryApiService) StreamFiles ¶
func (a *RepositoryApiService) StreamFiles(ctx context.Context, path string, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamFilesOpts) (InlineResponse20038, *http.Response, error)
func (*RepositoryApiService) StreamFiles1 ¶
func (a *RepositoryApiService) StreamFiles1(ctx context.Context, projectKey string, repositorySlug string, localVarOptionals *RepositoryApiStreamFiles1Opts) (InlineResponse20038, *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 <strong>REPO_READ</strong> 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 <i>full ID</i> 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 <strong>REPO_READ</strong> 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 <strong>REPO_READ</strong> 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 <i>full ID</i> of the commit within the repository
- @param repositorySlug The repository slug
type RepositoryApiStreamOpts ¶
type RepositoryApiWatch2Opts ¶
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 RestAccessTokenRequest ¶
type RestAggregateRejectCounter ¶
type RestAggregateRejectCounter struct { LastRejectTime float64 `json:"lastRejectTime,omitempty"` RejectCount int64 `json:"rejectCount,omitempty"` User *RestPullRequestParticipantUser `json:"user,omitempty"` }
type RestAnalyticsSettings ¶
type RestAnnouncementBanner ¶
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 RestAttachmentMetadata ¶
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 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 RestBranch ¶
type RestBranchCreateRequest ¶
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 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 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 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 RestChangesetFromCommit ¶
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 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 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 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 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 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 RestCreateBranchRequest ¶
type RestCreateTagRequest ¶
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 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 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 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 RestEnhancedEntityLink ¶
type RestErasedUser ¶
type RestErasedUser struct {
NewIdentifier string `json:"newIdentifier,omitempty"`
}
type RestErrorMessage ¶
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 RestGitTagCreateRequest ¶
type RestGpgKey ¶
type RestGpgSubKey ¶
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 RestJiraIssue ¶
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 RestJobProgress ¶
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 RestMinimalRef ¶
type RestMirrorHashes ¶
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 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 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 ¶
type RestNodeConnectivityReport ¶
type RestNodeConnectivityReport struct { Node *RestNodeConnectivityReportNode `json:"node,omitempty"` Summaries []RestNodeConnectivitySummary `json:"summaries,omitempty"` }
type RestNodeConnectivitySummary ¶
type RestNodeConnectivitySummary struct { Node *RestNodeConnectivityReportNode `json:"node,omitempty"` Summary *RestNodeConnectivitySummarySummary `json:"summary,omitempty"` }
type RestPageRestChange ¶
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 RestProgress ¶
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 RestProperties ¶
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 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 RestPullRequestDeleteRequest ¶
type RestPullRequestDeleteRequest struct {
Version int32 `json:"version,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 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 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 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 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 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 RestRejectedRef ¶
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 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 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 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 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 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 RestSshKeyTypeRestriction ¶
type RestSshKeyTypeRestriction struct { Algorithm string `json:"algorithm,omitempty"` Allowed bool `json:"allowed,omitempty"` MinKeyLength *RestSshKeyTypeRestrictionMinKeyLength `json:"minKeyLength,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 RestTestResults ¶
type RestTokenBucketSettings ¶
type RestUpstreamServer ¶
type RestUpstreamSettings ¶
type RestUserDirectory ¶
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 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 RestWebhookScope ¶
type SecurityApiAddKeyOpts ¶
type SecurityApiSearch1Opts ¶
type SecurityApiSearch2Opts ¶
type SecurityApiSearch3Opts ¶
type SecurityApiSearch4Opts ¶
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 ¶
func (a *SecurityApiService) CreateAllowlistRule(ctx context.Context, body RestSecretScanningAllowlistRuleSetRequest, projectKey string) (RestSecretScanningAllowlistRule, *http.Response, error)
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 ¶
func (a *SecurityApiService) CreateAllowlistRule1(ctx context.Context, body RestSecretScanningAllowlistRuleSetRequest, projectKey string, repositorySlug string) (RestSecretScanningAllowlistRule, *http.Response, error)
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 ¶
func (a *SecurityApiService) CreateRule(ctx context.Context, body RestSecretScanningRuleSetRequest, projectKey string) (RestSecretScanningRule, *http.Response, error)
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 ¶
func (a *SecurityApiService) CreateRule2(ctx context.Context, body RestSecretScanningRuleSetRequest) (RestSecretScanningRule, *http.Response, error)
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 ¶
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 ¶
func (a *SecurityApiService) EditAllowlistRule(ctx context.Context, body RestSecretScanningAllowlistRuleSetRequest, projectKey string, id string) (RestSecretScanningAllowlistRule, *http.Response, error)
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 ¶
func (a *SecurityApiService) EditAllowlistRule1(ctx context.Context, body RestSecretScanningAllowlistRuleSetRequest, projectKey string, id string, repositorySlug string) (RestSecretScanningAllowlistRule, *http.Response, error)
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 ¶
func (a *SecurityApiService) EditRule(ctx context.Context, body RestSecretScanningRuleSetRequest, projectKey string, id string) (RestSecretScanningRule, *http.Response, error)
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 ¶
func (a *SecurityApiService) EditRule1(ctx context.Context, body RestSecretScanningRuleSetRequest, projectKey string, id string, repositorySlug string) (RestSecretScanningRule, *http.Response, error)
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 ¶
func (a *SecurityApiService) EditRule2(ctx context.Context, body RestSecretScanningRuleSetRequest, id string) (RestSecretScanningRule, *http.Response, error)
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 ¶
func (a *SecurityApiService) GetRule(ctx context.Context, projectKey string, id string) (RestSecretScanningRule, *http.Response, error)
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 ¶
func (a *SecurityApiService) GetRule2(ctx context.Context, id string) (RestSecretScanningRule, *http.Response, error)
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 (a *SecurityApiService) Search4(ctx context.Context, localVarOptionals *SecurityApiSearch4Opts) (InlineResponse20043, *http.Response, error)
func (*SecurityApiService) SearchAllowlistRule ¶
func (a *SecurityApiService) SearchAllowlistRule(ctx context.Context, projectKey string, localVarOptionals *SecurityApiSearchAllowlistRuleOpts) (InlineResponse20042, *http.Response, error)
type SimpleSshKeyFingerprint ¶
type SshKeyIdBody ¶
type SshKeyIdBody struct { Projects *RestProject `json:"projects,omitempty"` Repositories *RestRepository `json:"repositories,omitempty"` }
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 <strong>ADMIN</strong> 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 <strong>ADMIN</strong> 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 ¶
func (a *SystemMaintenanceApiService) Connectivity(ctx context.Context) (RestMeshConnectivityReport, *http.Response, error)
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 (a *SystemMaintenanceApiService) CreateHookScript(ctx context.Context, localVarOptionals *SystemMaintenanceApiCreateHookScriptOpts) (RestHookScript, *http.Response, error)
func (*SystemMaintenanceApiService) Delete2 ¶
func (a *SystemMaintenanceApiService) Delete2(ctx context.Context, id int64, localVarOptionals *SystemMaintenanceApiDelete2Opts) (*http.Response, error)
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 <strong>ADMIN</strong> 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's avatar the authenticated user must have global <strong>ADMIN</strong> permission, or global <strong>SYS_ADMIN</strong> permission to update a <strong>SYS_ADMIN</strong> user'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 ¶
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 ¶
SystemMaintenanceApiService Delete mail configuration Deletes the current mail configuration. The authenticated user must have the <strong>SYS_ADMIN</strong> 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'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 ¶
func (a *SystemMaintenanceApiService) Get2(ctx context.Context) (RestBitbucketLicense, *http.Response, error)
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 <b>ADMIN</b> 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 ¶
func (a *SystemMaintenanceApiService) Get4(ctx context.Context, userSlug string) (RestUserRateLimitSettings, *http.Response, error)
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 <strong>ADMIN</strong> permission or be the same user as the one whose settings are requested. A user with <strong>ADMIN</strong> permission cannot get the settings of a user with <strong>SYS_ADMIN</strong> 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 (a *SystemMaintenanceApiService) GetAllMeshMigrationSummaries(ctx context.Context, localVarOptionals *SystemMaintenanceApiGetAllMeshMigrationSummariesOpts) (InlineResponse20028, *http.Response, error)
func (*SystemMaintenanceApiService) GetAllRateLimitSettings ¶
func (a *SystemMaintenanceApiService) GetAllRateLimitSettings(ctx context.Context, localVarOptionals *SystemMaintenanceApiGetAllRateLimitSettingsOpts) (InlineResponse20020, *http.Response, error)
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 ¶
func (a *SystemMaintenanceApiService) GetApplicationProperties(ctx context.Context) (RestApplicationProperties, *http.Response, error)
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 ¶
func (a *SystemMaintenanceApiService) GetBanner(ctx context.Context) (RestAnnouncementBanner, *http.Response, error)
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 ¶
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 (a *SystemMaintenanceApiService) GetExportJobMessages(ctx context.Context, jobId string, localVarOptionals *SystemMaintenanceApiGetExportJobMessagesOpts) (InlineResponse20026, *http.Response, error)
func (*SystemMaintenanceApiService) GetGlobalSettings ¶
func (a *SystemMaintenanceApiService) GetGlobalSettings(ctx context.Context) (RestSshKeySettings, *http.Response, error)
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 (a *SystemMaintenanceApiService) GetHistory(ctx context.Context, localVarOptionals *SystemMaintenanceApiGetHistoryOpts) (InlineResponse20019, *http.Response, error)
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 (a *SystemMaintenanceApiService) GetImportJobMessages(ctx context.Context, jobId string, localVarOptionals *SystemMaintenanceApiGetImportJobMessagesOpts) (InlineResponse20026, *http.Response, error)
func (*SystemMaintenanceApiService) GetInformation ¶
func (a *SystemMaintenanceApiService) GetInformation(ctx context.Context) (RestClusterInformation, *http.Response, error)
SystemMaintenanceApiService Get cluster node information Gets information about the nodes that currently make up the stash cluster. The authenticated user must have the <strong>SYS_ADMIN</strong> 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 (a *SystemMaintenanceApiService) GetLabelables(ctx context.Context, labelName string, localVarOptionals *SystemMaintenanceApiGetLabelablesOpts) (InlineResponse20025, *http.Response, error)
func (*SystemMaintenanceApiService) GetLabels ¶
func (a *SystemMaintenanceApiService) GetLabels(ctx context.Context, localVarOptionals *SystemMaintenanceApiGetLabelsOpts) (InlineResponse20024, *http.Response, error)
func (*SystemMaintenanceApiService) GetLevel ¶
func (a *SystemMaintenanceApiService) GetLevel(ctx context.Context, loggerName string) (RestLogLevel, *http.Response, error)
SystemMaintenanceApiService Get current log level Retrieve the current log level for a given logger. The authenticated user must have <strong>ADMIN</strong> 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 ¶
func (a *SystemMaintenanceApiService) GetMailConfig(ctx context.Context) (RestMailConfiguration, *http.Response, error)
SystemMaintenanceApiService Get mail configuration Retrieves the current mail configuration. The authenticated user must have the <strong>SYS_ADMIN</strong> 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 (a *SystemMaintenanceApiService) GetMeshMigrationJobMessages(ctx context.Context, jobId string, localVarOptionals *SystemMaintenanceApiGetMeshMigrationJobMessagesOpts) (InlineResponse20026, *http.Response, error)
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 ¶
func (a *SystemMaintenanceApiService) GetRootLevel(ctx context.Context) (RestLogLevel, *http.Response, error)
SystemMaintenanceApiService Get root log level
Retrieve the current log level for the root logger. The authenticated user must have <strong>ADMIN</strong> 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 ¶
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 ¶
func (a *SystemMaintenanceApiService) GetSettings2(ctx context.Context) (RestRateLimitSettings, *http.Response, error)
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 ¶
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 ¶
func (a *SystemMaintenanceApiService) GetUser(ctx context.Context, userSlug string) (RestApplicationUser, *http.Response, error)
SystemMaintenanceApiService Get user Retrieve the user matching the supplied <strong>userSlug</strong>.
- @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 (a *SystemMaintenanceApiService) GetUsers2(ctx context.Context, localVarOptionals *SystemMaintenanceApiGetUsers2Opts) (RestApplicationUser, *http.Response, error)
func (*SystemMaintenanceApiService) PreviewExport ¶
func (a *SystemMaintenanceApiService) PreviewExport(ctx context.Context, localVarOptionals *SystemMaintenanceApiPreviewExportOpts) (RestScopesExample, *http.Response, error)
func (*SystemMaintenanceApiService) PreviewMeshMigration ¶
func (a *SystemMaintenanceApiService) PreviewMeshMigration(ctx context.Context, localVarOptionals *SystemMaintenanceApiPreviewMeshMigrationOpts) (ExamplePreviewMigration, *http.Response, error)
func (*SystemMaintenanceApiService) Read ¶
func (a *SystemMaintenanceApiService) Read(ctx context.Context, scriptId string) (*http.Response, error)
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 (a *SystemMaintenanceApiService) RegisterNewMeshNode(ctx context.Context, localVarOptionals *SystemMaintenanceApiRegisterNewMeshNodeOpts) (RestMeshNode, *http.Response, error)
func (*SystemMaintenanceApiService) SearchMeshMigrationRepos ¶
func (a *SystemMaintenanceApiService) SearchMeshMigrationRepos(ctx context.Context, localVarOptionals *SystemMaintenanceApiSearchMeshMigrationReposOpts) (InlineResponse20027, *http.Response, error)
func (*SystemMaintenanceApiService) Set ¶
func (a *SystemMaintenanceApiService) Set(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetOpts) (RestUserRateLimitSettings, *http.Response, error)
func (*SystemMaintenanceApiService) Set1 ¶
func (a *SystemMaintenanceApiService) Set1(ctx context.Context, userSlug string, localVarOptionals *SystemMaintenanceApiSet1Opts) (RestUserRateLimitSettings, *http.Response, error)
func (*SystemMaintenanceApiService) SetBanner ¶
func (a *SystemMaintenanceApiService) SetBanner(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetBannerOpts) (*http.Response, error)
func (*SystemMaintenanceApiService) SetDefaultBranch ¶
func (a *SystemMaintenanceApiService) SetDefaultBranch(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetDefaultBranchOpts) (*http.Response, error)
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 <strong>ADMIN</strong> 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 (a *SystemMaintenanceApiService) SetMailConfig(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetMailConfigOpts) (RestMailConfiguration, *http.Response, error)
func (*SystemMaintenanceApiService) SetRepositoryArchivePolicy ¶
func (a *SystemMaintenanceApiService) SetRepositoryArchivePolicy(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetRepositoryArchivePolicyOpts) (RestRepositoryPolicy, *http.Response, error)
func (*SystemMaintenanceApiService) SetRepositoryDeletePolicy ¶
func (a *SystemMaintenanceApiService) SetRepositoryDeletePolicy(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetRepositoryDeletePolicyOpts) (RestRepositoryPolicy, *http.Response, error)
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 <strong>ADMIN</strong> 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 (a *SystemMaintenanceApiService) SetSenderAddress(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetSenderAddressOpts) (*http.Response, error)
func (*SystemMaintenanceApiService) SetSettings2 ¶
func (a *SystemMaintenanceApiService) SetSettings2(ctx context.Context, localVarOptionals *SystemMaintenanceApiSetSettings2Opts) (RestRateLimitSettings, *http.Response, error)
func (*SystemMaintenanceApiService) StartExport ¶
func (a *SystemMaintenanceApiService) StartExport(ctx context.Context, localVarOptionals *SystemMaintenanceApiStartExportOpts) (RestJob, *http.Response, error)
func (*SystemMaintenanceApiService) StartImport ¶
func (a *SystemMaintenanceApiService) StartImport(ctx context.Context, localVarOptionals *SystemMaintenanceApiStartImportOpts) (RestJob, *http.Response, error)
func (*SystemMaintenanceApiService) StartMeshMigration ¶
func (a *SystemMaintenanceApiService) StartMeshMigration(ctx context.Context, localVarOptionals *SystemMaintenanceApiStartMeshMigrationOpts) (RestJob, *http.Response, error)
func (*SystemMaintenanceApiService) UpdateGlobalSettings ¶
func (a *SystemMaintenanceApiService) UpdateGlobalSettings(ctx context.Context, localVarOptionals *SystemMaintenanceApiUpdateGlobalSettingsOpts) (*http.Response, error)
func (*SystemMaintenanceApiService) UpdateHookScript ¶
func (a *SystemMaintenanceApiService) UpdateHookScript(ctx context.Context, scriptId string, localVarOptionals *SystemMaintenanceApiUpdateHookScriptOpts) (RestHookScript, *http.Response, error)
func (*SystemMaintenanceApiService) UpdateLicense ¶
func (a *SystemMaintenanceApiService) UpdateLicense(ctx context.Context, localVarOptionals *SystemMaintenanceApiUpdateLicenseOpts) (RestBitbucketLicense, *http.Response, error)
func (*SystemMaintenanceApiService) UpdateMeshNode ¶
func (a *SystemMaintenanceApiService) UpdateMeshNode(ctx context.Context, id string, localVarOptionals *SystemMaintenanceApiUpdateMeshNodeOpts) (RestMeshNode, *http.Response, error)
func (*SystemMaintenanceApiService) UpdateSettings ¶
func (a *SystemMaintenanceApiService) UpdateSettings(ctx context.Context, userSlug string, localVarOptionals *SystemMaintenanceApiUpdateSettingsOpts) (*http.Response, error)
func (*SystemMaintenanceApiService) UpdateUserDetails1 ¶
func (a *SystemMaintenanceApiService) UpdateUserDetails1(ctx context.Context, localVarOptionals *SystemMaintenanceApiUpdateUserDetails1Opts) (RestApplicationUser, *http.Response, error)
func (*SystemMaintenanceApiService) UpdateUserPassword1 ¶
func (a *SystemMaintenanceApiService) UpdateUserPassword1(ctx context.Context, localVarOptionals *SystemMaintenanceApiUpdateUserPassword1Opts) (*http.Response, error)
func (*SystemMaintenanceApiService) UploadAvatar1 ¶
func (a *SystemMaintenanceApiService) UploadAvatar1(ctx context.Context, userSlug string, localVarOptionals *SystemMaintenanceApiUploadAvatar1Opts) (*http.Response, error)
type UserAndGroups ¶
type UserPasswordUpdate ¶
type UserPickerContext ¶
type UserRename ¶
type UserUpdate ¶
Source Files ¶
- api_authentication.go
- api_builds_and_deployments.go
- api_capabilities.go
- api_dashboard.go
- api_default.go
- api_deprecated.go
- api_jira_integration.go
- api_markup.go
- api_mirroring_mirror.go
- api_mirroring_upstream.go
- api_permission_management.go
- api_project.go
- api_pull_requests.go
- api_repository.go
- api_security.go
- api_system_maintenance.go
- client.go
- configuration.go
- models.go
- response.go