WebService::BitbucketServer::Audit::V1 - Bindings for a Bitbucket Server REST API
version 0.600
my $stash = WebService::BitbucketServer->new( base_url => 'https://stash.example.com/', username => 'bob', password => 'secret', ); my $api = $stash->audit;
This is a Bitbucket Server REST API for Audit::V1.
Original API documentation created by and copyright Atlassian.
Get the instance of WebService::BitbucketServer passed to "new".
$api = WebService::BitbucketServer::Audit::V1->new(context => $webservice_bitbucketserver_obj);
Create a new API.
Normally you would use $webservice_bitbucketserver_obj->audit instead.
$webservice_bitbucketserver_obj->audit
Retrieve the audit events for this project. The list of events will match those shown in the UI, for a complete list of events please check the audit log file.
The authenticated user must have PROJECT_ADMIN permission for the specified project to call this resource.
GET audit/1.0/projects/{projectKey}/events
Responses:
200 - page, type: application/json
200
The audit events for this project
401 - errors, type: application/json
401
The currently authenticated user has insufficient permissions to administer the project.
404 - errors, type: application/json
404
The specified project does not exist.
Retrieve the subset of audit events stored for this repository. The list of events will match those shown in the UI, for a complete list of events please check the audit log file.
The authenticated user must have REPO_ADMIN permission for the specified repository to call this resource.
GET audit/1.0/projects/{projectKey}/repos/{repositorySlug}/events
The audit events for this repository
The currently authenticated user has insufficient permissions to administer the repository.
The specified repository does not exist.
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 <ccm@cpan.org>
This software is copyright (c) 2017 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.