Seems there are two differetn api's and differetn response format for onprem and cloud versions
Onprem API
https://bitbucket.test.net/rest/api/1.0/projects/{projectname}/repos/{reponame}/commits/{commitid}
saas(cloud) API
https://api.bitbucket.org/2.0/repositories/{workspaceID}/{reponame}/commit/{commitid}
any alternate solutions for it?
Hi @Ramya Ravi
Welcome to the community.
I'm afraid Bitbucket Cloud's API schema is different from Bitbucket Server.
For the Bitbucket Cloud commit's API endpoint, you can check out this documentation for the complete details of the API response.
Right now, you will have to parse Bitbucket Cloud APIs differently from Bitbucket Server.
Regards,
Mark C
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.