0.2.0 • Published 2 years ago
@managed-api/bitbucket-on-premise-v1-stitch-it v0.2.0
Stitch It Managed API for Bitbucket On-Premise
Managed API for Bitbucket On-Premise is an API Client for Bitbucket On-Premise by Adaptavist. You can read more about Managed APIs here.
This is Stitch It runtime specific version of the Managed API (with stitch-it suffix). If you want to use Managed API in any other runtime, have a look at the runtime agnostic version.
Supported API calls
- fetch
- Project
- Repository
- createRepository
- deleteRepository
- getRepositories
- getRepository
- Commit
- Pull Request
- User
Constructing Managed API
In Stitch It a Managed API is constructed for you, but if you need to construct it manually, here's how you can do it:
import { BitbucketOnPremiseApi } from '@managed-api/bitbucket-on-premise-v1-stitch-it';
export default async function() {
const api = new BitbucketOnPremiseApi('API_CONNECTION_ID');
}Contact
Feel free to drop ideas, suggestions or improvements into our Slack community channel.
Changelog
- Added Paged API
limit,startparameters for the following methods with paged response:Repository.Commit.getRepositoryCommitsRepository.getRepositoriesRepository.PullRequest.getPullRequestsRepository.PullRequest.getActivitiesRepository.PullRequest.Comment.getCommentsRepository.PullRequest.Commit.getCommitsProject.getProjects
- Added the following
Repository.Commitmethods:
Copyright Adaptavist 2022 (c) All rights reserved