MunifTanjim / node-bitbucket

Bitbucket API client for Browser and Node.js
https://bitbucketjs.netlify.app
MIT License
106 stars 28 forks source link

{workspace} in routes.json needs to be {username} #48

Closed folofse closed 4 years ago

folofse commented 4 years ago

Hi @MunifTanjim

Thank you for all your great work!!

I found that {workspace} in routes.json needs to be replaced with {username} in the urls, in order to work properly.

The methods effected are:

MunifTanjim commented 4 years ago

:sweat_smile: the specification file is so inconsistent.

Eventually all the urls with {username} will be converted to {workspace} because of the recent GDPR changes.

I found that {workspace} in routes.json needs to be replaced with {username} in the urls, in order to work properly.

The urls come from the specification file. And they forgot to change the parameter names. So instead of changing the url, I fixed the parameter names.

MunifTanjim commented 4 years ago

Published v1.17.1 :tada:

But npm is experiencing issues. It might take a while before it is available.