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

This widget could not be displayed.

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,312 views 8 11
Read article

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