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

« Previous Version 2 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.builder.command.ssh",
    "value": "ssh"
  },
  {
    "key": "system.builder.mvn3.Maven 3.4",
    "value": "/opt/tools/Maven3.4/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