Giter VIP home page Giter VIP logo

Comments (5)

ffMathy avatar ffMathy commented on September 6, 2024

I can't get it working anymore for some reason.

from sharpbucket.

ffMathy avatar ffMathy commented on September 6, 2024

@MitjaBezensek any ideas?

from sharpbucket.

MitjaBezensek avatar MitjaBezensek commented on September 6, 2024

@ffMathy what exactly seems to be the problem? Do you get some exception? You can try to clone the repo and use the console program in the repo to try to access your local repo.

I can't test it out since I don't have a local installation.

from sharpbucket.

rupreck avatar rupreck commented on September 6, 2024

Actually the code seems wrong. To access a local server and list the repositories using curl it requires.

curl -u userName:password9 -H "Content-Type: application/json" http://localhost:7990/rest/api/1.0/projects/

Use of the address incuding: "/rest/api/1.0/" is not found anywhere in the code so setting a base url of http://localhost:7990/ just never works.

from sharpbucket.

mnivet avatar mnivet commented on September 6, 2024

Did you try to set http://localhost:7990/rest/api/1.0/ as a base address ?

I've also fix a redirection code recently to respect the base address instead of using the API V1 or API V2 default base adresses constants, so maybe you can do a try with that ? (It's currently in the branch named "TestAPIThatAlterARepo" but it should be merge on master soon)

But for what I known the Bitbucket server API is totally different from the Bitbucket cloud API and the URL you give seems to be more a Bitbucket server API URL.

If I guess right, think that a project like that one: https://github.com/jlouros/StashApiCSharp should be more what you need

nb : I've no idea if it's possible to have a local installation of Bitbucket cloud

from sharpbucket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.