wiki:atlassian_server_rest_api_examples
Table of Contents
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
References
wiki/atlassian_server_rest_api_examples.txt · Last modified: 2020/12/14 10:10 by antisa