- changed status to resolved
API: Provide access to repo admins/writers/readers (BB-1406)
The djangopackages.com site currently only lists a single user as the owner of a repository because bitbucket's API doesn't seem to provide access to the admins/writers of a repo. Could you please extend the API with the full listing of users who have write access to the repo? Thanks!
Comments (5)
-
-
- changed status to new
Hi Dylan, unfortunately that API doesn't solve the problem because it can only be called by a repo owner/admin. The djangopackages.com site tries to access this information for (public) repositories that it doesn't have admin access to.
Note that on github it's possible to just get the list of collaborators without being the owner:
$ curl http://github.com/api/v2/json/repos/show/pypy/pypy/collaborators {"collaborators":["cfbolz","fijal","gutworth","tav","thepian"]}
We need the same non-authenticated API for public repositories (private repositories shouldn't be accessible, of course).
-
+1 API Access for project readers and admins and not only for the owner.
-
- changed component to API
-
- changed status to closed
This issue has been closed due to inactivity. If you continue to see problems, please reopen or create a new issue.
- Log in to comment
Hi,
We actually do have a way to access the readers/writers/admins of a repository. You can use the Privileges API to do so. The full details can be seen here, http://confluence.atlassian.com/display/BBDEV/Privileges
I hope this helps,
Dylan