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

how to use the bitbucket API with ruby and access token

I am trying to use the bitbucket API. I have successfully got the flow working where I am able to retrieve the access token and access token secret. After that, I have not been able to get anything to work. I can't find any example on to get this…
user1130176
  • 1,772
  • 1
  • 23
  • 33
0
votes
2 answers

Download a bitbucket git repository via api

I am trying to make a script which get the repository from bitbucket and upload it to my ftp server. My first problem is that i dont know how to get the repository.. Is there a way to download it with the official Bitbucket API? Or should i make a…
thmspl
  • 2,437
  • 3
  • 22
  • 48
0
votes
1 answer

BitBucket API - 'NoneType' object has no attribute 'pk'

I am using BitBucket's PHP Lib to create a repository: $repo = new \Bitbucket\API\Repositories\Repository(); $repo->setCredentials( new \Bitbucket\API\Authentication\Basic( $this->username, $this->password ) ); $slug = self::generateSlug(…
Luke Snowden
  • 4,056
  • 2
  • 37
  • 70
0
votes
1 answer

Issue with oauth1.0a access token on bitbucket

I am really confused that I can successfully get the request token using the oauth1.0a.js API, but not the access token. Always get 'Could not verify OAuth request.' even with the token verifier provided in the form for the POST request. Anyone has…
Min.G
  • 1
  • 1
0
votes
1 answer

How clone a specific branch in bitbucket

I have a remote repository hosted in bitbucket, but when I want clone this repository to my pc Bitbucket clones the master branch I want clone another branch called static_pages_exercises hosted too in the same remote project. Is that…
user3678471
  • 2,373
  • 2
  • 17
  • 18
0
votes
1 answer

Bitbucket POST Pull Request not working [kirchbergerknorr]

as stated here for public repository - https://bitbucket.org/kirchbergerknorr/test i setted up hook for Pull Request POST: then i created pull request and here is dump for GET and POST vars: GET: Array ( [type] => pullrequest [project] =>…
Aleksey Razbakov
  • 624
  • 8
  • 29
0
votes
0 answers

How to perform push with Mercurial.net?

Is there any sample to show how to use Mercurial.net library to push to a remote mercurial repository at Bitbucket? var workingDir = @"E:\testrepo"; var repository = new Mercurial.Repository(workingDir); repository.Clone(repourl, new…
Gábor Domonkos
  • 1,081
  • 1
  • 17
  • 33
0
votes
0 answers

Push with Mercurial.NET to Bitbucket repository

I would like to create a sample application which can clones the user's repository, add some files in it, and push back to the remote repository. I used Mercurial.NET C# API to create this application. string repoUrl =…
Gábor Domonkos
  • 1,081
  • 1
  • 17
  • 33
0
votes
1 answer

How do you escape round brackets in passwords for bitbucket-api in node.js

I am trying to access a particular repository on BitBucket using bitbucket-api in node.js and my password contains funny characters (round brackets and spaces). It doesn't throw any useful errors or let me get the data. I happen to like my password…
Luke Machowski
  • 3,983
  • 2
  • 31
  • 28
0
votes
2 answers

Use Bitbucket Resources in another application

I am software engineering student and I have to create a new project for one of my courses. I've designed my application solution which needs to use git as a backend service. it needs git basics operations such as create a user, grant accesses,…
0
votes
2 answers

Bitbucket API OAuth not redirecting properly

I'm trying to set up Bitbucket OAuth for my site but for some reason Bitbucket is not properly redirecting back to my site. I've created an OAuth key and secret and I'm using the Guzzle OAuth plugin in my Silex application. First I request a…
kielabokkie
  • 398
  • 1
  • 10
0
votes
2 answers

Bitbucket API: Using the API Issue and filter to get only requested data back

I am using the BB API and in particular the issues division. At the moment i am using the following to get all issue then looping through to get what i require but i noticed that we can add a filter option to get just the required issues back. …
Simon Davies
  • 3,668
  • 9
  • 41
  • 69
0
votes
1 answer

create bitbucket repository and service in one curl request

Is it possible to create the repository and post service in one request. Here's what I currently have. I'm worried that the 2nd call might happen before the 1st is finished and fail. curl -u$BB_USER:$BB_PASS -X POST…
drrobotnik
  • 739
  • 1
  • 11
  • 25
0
votes
1 answer

DotNetOpenAuth Post Issue - Bitbucket Deploy Keys

I'm definitely banging my head against Oauth signed requests so am unsure if it's my code, DotNetOpenAuth or Bitbucket. I'm trying to add a new deploy key as per https://confluence.atlassian.com/display/BITBUCKET/deploy-keys+Resource I'm getting a…
Doug
  • 6,460
  • 5
  • 59
  • 83
0
votes
1 answer

Bitbucket post management service hooks

I want to get commit messages to my web app. I am doing following: In my git repository, added a POST service with post url as http:/ /localhost:9000/myGitHook/ or http ://167.34.56.13:9000/myGitHook/. in my urls.py I have : URLS = [r'/', Main, …
Somesh
  • 1,235
  • 2
  • 13
  • 29
1 2 3
28
29