Cant specify endpoint in RESTBROWSER

e.g. on the url 
https://bitbucket.grundfos.com/plugins/servlet/restbrowser#/resource/branch-permissions-2-0-projects-projectkey-repos-repositoryslug-restrictions/POST

There's a field where I can specify my request object, and a "send" button. But when I click it, I get an error-response:

with  "message": "Project {projectKey} does not exist.".. This is okay.

But when I then try to specify the projectKey or the repositorySlug, by clicking the "https://bitbucket.grundfos.com/rest/branch-permissions/2.0/projects/{projectKey}/repos/{repositorySlug}/restrictions"-title, it turns into a text-input I cant edit?

 

Why is there a send-button if I can't specify the endpoint? Did you even test this?

There's also two-post tabs, but that's just a cosmetic thing.

It's this plugin:
https://marketplace.atlassian.com/plugins/com.atlassian.labs.rest-api-browser/server/overview

Also, you could've made it easier to access. I'm a developer, but not a bitbucket admin. So I can't access it through the admin-developer panel, so I have to reach the URL directly.. This is just not okay.. How am I supposed to guess that URL myself, it's _no where_ in the documentation for the plugin.

1 answer

0 vote

did you manage to solve this issue?

No, never. The thing was so utterly and completely broken, in the end it was "easier" to just bruteforce the API with a restclient from the command line..

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

30,770 views 26 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you