Seems there are two differetn api's and differetn response format for onprem and cloud versions
Onprem APIhttps://bitbucket.test.net/rest/api/1.0/projects/{projectname}/repos/{reponame}/commits/{commitid}
saas(cloud) APIhttps://api.bitbucket.org/2.0/repositories/{workspaceID}/{reponame}/commit/{commitid}
any alternate solutions for it?
Hi @Ramya RaviWelcome 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
It looks like you're new here. Sign in or register to get started.