Hello
Since 2 days (25.04.2108) I have an issue in my CI pipeline, when I trigger a build on bitrise via the API it returns a 301 redirect code instead of a success 200 I was receiving before.
curl command:
curl https://www.bitrise.io/app/d58332ab30c627d9/build/start.json --data '{"hook_info":{"type":"bitrise","api_token":""$CI_API_TOKEN""},"build_params":{"branch":"'"$GIT_BRANCH"'","commit_hash":"'"$CI_COMMIT_SHA"'"},"triggered_by":"curl"}'
The response I had (and expect) is:
{"status":"ok","message":"webhook processed","slug":"d58332ab30c627d9","service":"bitrise","build_slug":"8f91d4ff4369aaec","build_number":944,"build_url":"https://www.bitrise.io/build/8f91d4ff4369aaec","triggered_workflow":"dev"}Job succeeded
The response I am getting now is
<html><body>You are being <a href="https://app.bitrise.io/app/d58332ab30c627d9/build/start.json">redirected</a>.</body></html>Job succeeded
What could be the issue - was there a new deployment on bitrise that changed the API or endpoints?