You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Team,
We're trying to pull repos list with cloud API and not able to get it.
https://api.bitbucket.org/2.0/repositories/workspaceID
Hello @puru kovvuri
Thank you for reaching out to Atlassian Community!
Could you please ensure the App password created has the necessary permissions? It also expects the username, not the email ID.
Reference: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
Alternatively, you may try using CURL and see if the issue persists?
curl -X GET -u username:AppPassword "https://api.bitbucket.org/2.0/repositories/{workspace-id}"
I hope this helps.
Kind regards,
Karthick S
Excellent, it has worked. Thank you so much !!
Is there a way to get last code committed user details and timestamp?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @puru kovvuri
Glad to know it helped! You may use this API which would return commits for the specific repository. I have provided a sample CURL query that returns the results based on the recent update. The first response is the last code committed.
curl -X GET -u username:AppPassword "https://api.bitbucket.org/2.0/repositories/workspace_id/repo_slug/commits?sort=updated_on"
I hope this helps.
Kind regards,
Karthick S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.