Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

404 Error when calling REST API

Hi

when trying to call the REST API of Bitbucket-Server with the following URL

<host>/rest/api/1.0/projects/<project-key>/repos/<repo-key>/raw/<path-to-file>?at=develop

to retrieve a raw .py file I receive a 404 Error. Currently I am using Bitbucket Server v4.9.1.

Is this functionality not yet included in the version I am using or is there a workaround?

 

Would be awesome if anyone could help me here, thank you!

1 answer

1 accepted

0 votes
Answer accepted

Hi Lukas,

Yes indeed, that REST API endpoint does not yet exist in version 4.9.1, which is a very old version of Bitbucket Server. You can find the REST API reference for that version at https://docs.atlassian.com/bitbucket-server/rest/4.9.1/bitbucket-rest.html.

Cheers,

Christian

Premier Support Engineer

Atlassian

Thanks a lot Christian!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

167 views 0 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you