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.

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,011 views 1 5
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