Bitbucket API - 读取共享存储库
Bitbucket API - read shared repositories
我如何读取当前登录用户的所有存储库(在当前用户下,我了解使用 acess_token 进行身份验证的用户 - 我们在 API 端)。
“/repositories”端点 return 我们所有 public 存储库。
“/repositories/{username}”return 是所有用户(由用户名标识)的存储库。这个端点很好,但是从原始逻辑我们不知道用户的用户名(与当前用户共享存储库的用户)。
所以我正在寻找端点 return 为我所有的(当前用户)存储库以及与我共享的所有存储库。
从 BitBucket 收到 - [Bitbucket 云支持]
I have went though the documentations and below are my findings.
The API(s) that are currently used to return the repositories result,
are based on the username. This means that the results are only
returning owned repositories. As of now, there is no endpoint that can
return shared repositories owned by other users. I hope this
clarifies. Please let me know if you require further clarification.
我如何读取当前登录用户的所有存储库(在当前用户下,我了解使用 acess_token 进行身份验证的用户 - 我们在 API 端)。 “/repositories”端点 return 我们所有 public 存储库。 “/repositories/{username}”return 是所有用户(由用户名标识)的存储库。这个端点很好,但是从原始逻辑我们不知道用户的用户名(与当前用户共享存储库的用户)。
所以我正在寻找端点 return 为我所有的(当前用户)存储库以及与我共享的所有存储库。
从 BitBucket 收到 - [Bitbucket 云支持]
I have went though the documentations and below are my findings.
The API(s) that are currently used to return the repositories result, are based on the username. This means that the results are only returning owned repositories. As of now, there is no endpoint that can return shared repositories owned by other users. I hope this clarifies. Please let me know if you require further clarification.