WebService-BitbucketServer

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


 any_ua

    Get the HTTP::AnyUA object.

 json

    Get the JSON::XS (or compatible) object used for encoding and decoding
    documents.

 no_security_warning

    Get whether or not a warning will be issued when an insecure action
    takes place (such as sending credentials unencrypted). Defaults to
    false (i.e. will issue warning).

METHODS

 new

        $api = WebService::BitbucketServer->new(base_url => $base_url, %other_attributes);

    Create a new API context object. Provide "ATTRIBUTES" to customize.

 core

    Get the WebService::BitbucketServer::Core::V1 api.

 access_tokens

    Get the WebService::BitbucketServer::AccessTokens::V1 api.

 audit

    Get the WebService::BitbucketServer::Audit::V1 api.

 ref_restriction

    Get the WebService::BitbucketServer::RefRestriction::V2 api.

 branch

    Get the WebService::BitbucketServer::Branch::V1 api.

 build

    Get the WebService::BitbucketServer::Build::V1 api.

 comment_likes

    Get the WebService::BitbucketServer::CommentLikes::V1 api.

 default_reviewers

    Get the WebService::BitbucketServer::DefaultReviewers::V1 api.

 git

    Get the WebService::BitbucketServer::Git::V1 api.

 gpg

    Get the WebService::BitbucketServer::GPG::V1 api.

 jira

    Get the WebService::BitbucketServer::JIRA::V1 api.

 ssh

    Get the WebService::BitbucketServer::SSH::V1 api.

 mirroring_upstream

    Get the WebService::BitbucketServer::MirroringUpstream::V1 api.

 repository_ref_sync

    Get the WebService::BitbucketServer::RepositoryRefSync::V1 api.

 url

        $url = $api->url;

    Get the URL of the APIs (a combination of "base_url" and "path").

 call

        $response = $api->call(method => $method, url => $url, %options);

    Make a request to an API and get a response (or Future if the user
    agent is non-blocking).

      * url - the endpoint URL, relative to "url"

      * method - the HTTP method

      * data - request data

      * data_type - type of request data, if any (defaults to
      "application/json")

      * raw - get a hashref response instead of a
      WebService::BitbucketServer::Response

 write_api_packages

        WebService::BitbucketServer->write_api_packages;
        WebService::BitbucketServer->write_api_packages(dir => 'lib');

    Download API specifications from https://developer.atlassian.com and
    generate packages for them, writing them to the specified directory.
    You normally don't need this because this module ships with pre-built
    APIs, but you can use this to generate other APIs or versions if
    needed.

    Requires XML::LibXML.

BUGS

    Please report any bugs or feature requests on the bugtracker website



( run in 1.448 second using v1.01-cache-2.11-cpan-df04353d9ac )