Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Security

All operations on this page require valid Access Tokens see Access Token Operations for more information on creating tokens.

Only agent specific Capabilities are includes. Those defined as shared/server capabilities are ignored.

View Agent Capabilities READ

reports the agents name, ID, build status and enabled/disabled state.

GET /rest/agents/1.0/{ID}/capabilities?uuid={tokenId}   
 Click here to expand...
Response
[ 
  {
	"key":"system.executable.command.ssh",
	"value": "ssh"
  },
  {
	"key":"system.builder.mvn Maven 3.0",
	"value": "/opt/Maven3/bin/mvn"
  }
]

 

Delete Agent Capabilities CHANGE

Removes all agent specific capabilities from the bamboo definitions.  

DELETE /rest/agents/1.0/{agentId}/capabilities?uuid={tokenId}
 Click here to expand response...
Response
[]
  • No labels