I'm trying to use the bitbucket API to grab some information about my repos piplines, and while the other endpoints I've been using work fine the pipelines endpoint returns a 404. I've inspected the bitbucket piplines page network requests and it looks like I'm making the request correctly. I'm having trouble understanding why the request on the bitbucket frontend succeeds while mine 404s.
I've tried using basic auth as well as bearer token auth like the BB frontend uses, same results.
Turns out I was missing the / at the end of the URL. I was calling "https://api.bitbucket.org/2.0/repositories/{user}/{repo}/pipelines", calling "https://api.bitbucket.org/2.0/repositories/{user}/{repo}/pipelines/" instead has resolved the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.