mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-04-11 19:58:05 -05:00
update docs
This commit is contained in:
parent
37ffa8d403
commit
b90c42df47
@ -16,7 +16,7 @@ This API client was generated by the [swagger-codegen](https://github.com/swagge
|
||||
All URIs are relative to *http://example.com/rest/*
|
||||
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
------------ |-------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------| -------------
|
||||
*DefaultApi* | [**AddGroupToUser**](docs/DefaultApi.md#addgrouptouser) | **Post** /api/1.0/admin/users/add-group |
|
||||
*DefaultApi* | [**AddUserToGroup**](docs/DefaultApi.md#addusertogroup) | **Post** /api/1.0/admin/groups/add-user |
|
||||
*DefaultApi* | [**AddUserToGroups**](docs/DefaultApi.md#addusertogroups) | **Post** /api/1.0/admin/users/add-groups |
|
||||
@ -192,6 +192,7 @@ Class | Method | HTTP request | Description
|
||||
*DefaultApi* | [**UpdateComment_0**](docs/DefaultApi.md#updatecomment_0) | **Put** /api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} |
|
||||
*DefaultApi* | [**UpdateProject**](docs/DefaultApi.md#updateproject) | **Put** /api/1.0/projects/{projectKey} |
|
||||
*DefaultApi* | [**UpdatePullRequestSettings**](docs/DefaultApi.md#updatepullrequestsettings) | **Post** /api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests |
|
||||
*DefaultApi* | [**UpdatePullRequest**](docs/DefaultApi.md#updatepullrequest) | **Put** /api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId} |
|
||||
*DefaultApi* | [**UpdatePullRequestSettings_0**](docs/DefaultApi.md#updatepullrequestsettings_0) | **Post** /api/1.0/projects/{projectKey}/settings/pull-requests/{scmId} |
|
||||
*DefaultApi* | [**UpdateRepository**](docs/DefaultApi.md#updaterepository) | **Put** /api/1.0/projects/{projectKey}/repos/{repositorySlug} |
|
||||
*DefaultApi* | [**UpdateSettings**](docs/DefaultApi.md#updatesettings) | **Post** /api/1.0/users/{userSlug}/settings |
|
||||
|
@ -5754,6 +5754,35 @@ No authorization required
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
# **UpdatePullRequest**
|
||||
> UpdatePullRequest(ctx, &EditPullRequestOptions{} )
|
||||
|
||||
|
||||
Update the title, description, reviewers or destination branch of an existing pull request.. <p> The authenticated user must have <strong>REPO_ADMIN</strong> permission for the context repository to call this resource. <p> This resource will call all RestFragments that are registered with the key <strong>bitbucket.repository.settings.pullRequests</strong>.<ul>
|
||||
|
||||
### Required Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for logging, tracing, authentication, etc.
|
||||
**projectKey** | **string**| The project key |
|
||||
**pullRequestId** | **string**| The ID of the pull request within the repository |
|
||||
**repositorySlug** | **string**| The repository slug. |
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
RestPullRequest
|
||||
|
||||
### Authorization
|
||||
|
||||
Authorization is required.
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: Not defined
|
||||
|
||||
# **UpdatePullRequestSettings**
|
||||
> UpdatePullRequestSettings(ctx, )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user