Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listPermissions question #40

Open
yuliabaron opened this issue Sep 4, 2019 · 2 comments
Open

listPermissions question #40

yuliabaron opened this issue Sep 4, 2019 · 2 comments

Comments

@yuliabaron
Copy link

Hi,
I've noticed that repositories.listPermissions endpoint returns much more values than https://api.bitbucket.org/2.0/user/permissions/repositories/. In my test listPermissions returned 45 repos, while /2.0/user/permissions/repositories only returned 10 (and I expected 10).
Could you check?

I'm using version 1.15.1

Thanks!

@MunifTanjim
Copy link
Owner

repositories.listPermissions is correctly sending request to the https://api.bitbucket.org/2.0/user/permissions/repositories url.

Your finding might be caused by your authentication method. Since you haven't mentioned details about your testing, I can't say anything for sure.

Set the following environment variable for getting details about the requests made by this library: DEBUG=bitbucket

@yuliabaron
Copy link
Author

Thanks. I've enabled debug and I indeed see the correct endpoint is called. I'll investigate more. Will update if further help is needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants