Questions tagged [bitbucket-api]

The Bitbucket REST API allows third-party application developers the means for writing applications for the Bitbucket service.

The Bitbucket REST API allows third-party application developers the means for writing applications that integrate with the Bitbucket service. The API includes ways to manage the repository changesets, issues on the issue tracker, permissions etc.

See also

430 questions
0
votes
1 answer

Could not GET api.bitbucket.org/1.0/repository. when building my react-native project for android

I got an old running project that when built shows dependency error. FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring project ':app'. Could not resolve all dependencies for configuration ':app:_debugApk'. …
Deep
  • 123
  • 1
  • 3
  • 16
0
votes
1 answer

Hook event for git tag created / tag pushed

I am looking at the bitbucket API v2: https://developer.atlassian.com/bitbucket/api/2/reference/resource/hook_events it says the hook events…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
0
votes
2 answers

How to download a file from Bitbucket using commitId through RestAPI?

I have a commit ID. I want to download the file from Bitbucket using commitID through REST API curl --user myuser@mydomain.com:password "https://api.bitbucket.org/2.0/repositories/MyCompany/myrepo/src/master/path/to/file.txt" This looks like it…
user3603360
  • 123
  • 1
  • 3
  • 10
0
votes
1 answer

Searching comments in Bitbucket repository in commit details

We are trying to search specific text in Bitbucket Commits from our JAVA Code. We need to use REST web service for it We tried to use APT /2.0/repositories/{username}/{repo_slug}/commits but it return all commits of this repository We only need…
ved
  • 1
  • 4
0
votes
1 answer

For changing Bitbucket IPs (incoming/outgoing) is there a URL I can hit to discover changes?

This document is helpful: https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html but only really readable by a human. I want to update our firewalls…
user5047085
0
votes
4 answers

how to get all the files present for a particular commit id in bitbucket using rest API?

I want to get all the files present for a particular commit Id in bitbucket server using rest API. Is there any api to get the complete data ?
Mayank Jain
  • 95
  • 1
  • 9
0
votes
1 answer

How to delete or modify hooks with Bitbucket API? I only see GET and POST

https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/hooks I only see GET and POST verbs for hook events on Bitbucket. Is there a way to delete or modify them somehow?
user7898461
0
votes
1 answer

Is there any way to find out the information about the owner of a repository in BitBucket using REST API?

I'm trying to get the information about the owners of a list of repositories in BitBucket using REST API calls. I'm able to access the commit details of the repositories and listing out the users but I'm focused on retrieving the owner…
Pralay Das
  • 1
  • 1
  • 3
0
votes
1 answer

What provides PageUtils and PagedIterable for the Bitbucket API?

I am trying to find what provides the packages: com.atlassian.bitbucket.util.PageUtils; com.atlassian.bitbucket.util.PagedIterable; I have looked in: Bitbucket API Bitbucket SCM Common Bitbucket SPI
eeijlar
  • 1,232
  • 3
  • 20
  • 53
0
votes
1 answer

Example for BitBucket Java API

I'm looking for some example code for BitBucket Java API. https://developer.atlassian.com/server/bitbucket/reference/java-api/ My requirement is to commit a file into a BitBucket cloud repo. Please help. Thanks, Srikanth.
0
votes
0 answers

Getting 400: Bitbucket API command to grant Access on Branch

I am trying to automate the process to provide the user access on Bitbucket branches on the cloud via bitbucket API using curl command. Please help me with the command as I have visit link. But no luck. I have run the below command but getting 400.…
SteveScm
  • 545
  • 1
  • 7
  • 15
0
votes
1 answer

BitBucket API get repository admins

I'm having a team in BitBucket which has around 200+ members & 500 repositories. I wanted do some auditing of all repos & using BitBucket API for most of my work. I came across a requirement where I need to find out Admin members of each repos (…
vasco.debian
  • 111
  • 1
0
votes
2 answers

How can I detect if a GIT server is active?

Server: Atlassian Bitbucket v4.14.3 (aka Stash) Client: git version 2.17.1 (on Linux Ubuntu 18LTS) What is the best way to detect whether the GIT server is alive and providing service? Use case1: On a daily basis, the Bitbucket server goes down to…
freeAR
  • 943
  • 3
  • 18
  • 32
0
votes
1 answer

How to commit and push code in bitbucket/GitHub through programming

I am planning to create static basic CMS using nodeJs and static JSON where (on runtime) on click of submit button changes gets committed in the repository. Use case: end user can perform CRUD operation using static UI and all the changes should get…
Sandeep Soni
  • 85
  • 1
  • 7
0
votes
1 answer

How to get the access level of a user for a bitbucket repo using REST API?

Hey I am using REST API for bit-bucket cloud for my application. I have to check whether the user(with token, which is passed through header) has access to a particular repo or not? If yes what access level is provided? What url should I hit for…
aravindkanna
  • 663
  • 1
  • 7
  • 25