Build Agents API
Build Agents API
Section titled “Build Agents API”List Agents
Section titled “List Agents”GET /buildagentReturns all agents accessible to the authenticated user.
Response:
[ { "id": "uuid", "name": "My-Agent", "platform": 1, "status": 0, "isOnline": true, "canBuildIOS": true, "canBuildAndroid": true, "canBuildWeb": true, "lastHeartbeatAt": "2024-01-01T00:00:00Z" }]Get Agent
Section titled “Get Agent”GET /buildagent/{id}Register Agent
Section titled “Register Agent”POST /buildagent/registerBody:
{ "name": "My-Agent", "platform": 1, "canBuildIOS": true, "canBuildAndroid": true, "canBuildWeb": true}Update Agent
Section titled “Update Agent”PUT /buildagent/{id}Delete Agent
Section titled “Delete Agent”DELETE /buildagent/{id}Poll for Job
Section titled “Poll for Job”GET /buildagent/{id}/pollUsed by agents to check for pending builds.