{{tag>atlassian bamboo api}} ====== Atlassian Bamboo API ====== Example for Atlassian Bamboo, running on port 8085. ===== Get list of all plans ===== curl -s -H "Content-Type:application/json" -H "Accept:application/json" -u user:pass -X GET http://localhost:8085/rest/api/latest/plan | jq ===== Get plan info ===== curl -s -H "Content-Type:application/json" -H "Accept:application/json" -u user:pass -X GET http://localhost:8085/rest/api/latest/plan/PLAN | jq ===== Get list of all branches inside of plan ===== curl -s -H "Content-Type:application/json" -H "Accept:application/json" -u user:pass -X GET http://localhost:8085/rest/api/latest/plan/PLAN/branch | jq ===== Get server status ===== curl -s -H "Content-Type:application/json" -H "Accept:application/json" -u user:pass -X GET http://localhost:8085/rest/api/latest/server | jq ====== See also ====== * [[wiki:bitbucket_cloud_api_steps|Bitbucket Cloud API steps]] * [[wiki:bitbucket_server_api_steps|Bitbucket Server API steps]] ====== References ====== https://docs.atlassian.com/atlassian-bamboo/REST/6.10.3