v1

latestSwagger 2.02026-07-13285166341.1 KB
Agents

Create an Agent

Creates an Agent. The body of the POST is the Agent to create. The AgentID will be assigned on creation of the Agent. When successful, the response is the AgentID. If unsuccessful, an appropriate ApiError is returned.

post/api/v2/agents

Request body

AgentIDinteger

The id of the Agent

UserIDinteger required

The UserID of the Agent

MachineNamestring required

The machine name of the computer the agent is running on

KeepAliveIntervalinteger required

The 'Heartbeat Interval' used by the Build Agent.

Response

OK

integer required