WebService::BitbucketServer::DefaultReviewers::V1 - Bindings for a Bitbucket Server REST API
version 0.605
my $stash = WebService::BitbucketServer->new( base_url => 'https://stash.example.com/', username => 'bob', password => 'secret', ); my $api = $stash->default_reviewers;
This is a Bitbucket Server REST API for DefaultReviewers::V1.
Original API documentation created by and copyright Atlassian.
Get the instance of WebService::BitbucketServer passed to "new".
$api = WebService::BitbucketServer::DefaultReviewers::V1->new(context => $webservice_bitbucketserver_obj);
Create a new API.
Normally you would use $webservice_bitbucketserver_obj->default_reviewers instead.
$webservice_bitbucketserver_obj->default_reviewers
Create a default reviewer pull request condition for the given project.
POST default-reviewers/1.0/projects/{projectKey}/condition
Responses:
200 - data, type: application/json
200
The default reviewer pull request condition that was created.
400 - data, type: application/json
400
The request was malformed
Delete the default reviewer pull request condition associated with the given ID.
DELETE default-reviewers/1.0/projects/{projectKey}/condition/{id}
Parameters:
id - int, default: none
id
The ID of the pull request condition
204 - data, type: unknown
204
An empty response indicating that the pull request condition was deleted
404 - data, type: unknown
404
An empty response indicating a pull request condition with the given ID could not be found
Update the default reviewer pull request condition for the given ID.
PUT default-reviewers/1.0/projects/{projectKey}/condition/{id}
The updated default reviewer pull request condition.
Return a page of default reviewer pull request conditions that have been configured for this project.
GET default-reviewers/1.0/projects/{projectKey}/conditions
The default reviewer pull request conditions associated with the given project
Create a default reviewer pull request condition for the given repository.
POST default-reviewers/1.0/projects/{projectKey}/repos/{repositorySlug}/condition
DELETE default-reviewers/1.0/projects/{projectKey}/repos/{repositorySlug}/condition/{id}
PUT default-reviewers/1.0/projects/{projectKey}/repos/{repositorySlug}/condition/{id}
Return a page of default reviewer pull request conditions that have been configured for this repository.
GET default-reviewers/1.0/projects/{projectKey}/repos/{repositorySlug}/conditions
The default reviewer pull request conditions associated with the given repository
Return a set of users who are required reviewers for pull requests created from the given source repository and ref to the given target ref in this repository.
GET default-reviewers/1.0/projects/{projectKey}/repos/{repositorySlug}/reviewers
sourceRepoId - int, default: none
sourceRepoId
The ID of the repository in which the source ref exists
targetRepoId - int, default: none
targetRepoId
The ID of the repository in which the target ref exists
sourceRefId - string, default: none
sourceRefId
The ID of the source ref
targetRefId - string, default: none
targetRefId
The ID of the target ref
The default reviewer pull request conditions associated with the given repository and refs
WebService::BitbucketServer
https://developer.atlassian.com/bitbucket/server/docs/latest/
Please report any bugs or feature requests on the bugtracker website https://github.com/chazmcgarvey/WebService-BitbucketServer/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Charles McGarvey <chazmcgarvey@brokenzipper.com>
This software is copyright (c) 2018 by Charles McGarvey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebService::BitbucketServer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::BitbucketServer
CPAN shell
perl -MCPAN -e shell install WebService::BitbucketServer
For more information on module installation, please visit the detailed CPAN module installation guide.