action agco_ats_agents_get_current_agent_async { label: "Get Agent associated with the current user" description: "Gets the Agent associated with the current user. When successful, the response is the requested Agent. If unsuccessful, \n an appropriate ApiError is returned." provider: agco_ats method: GET path: "/api/v2/agents/Current" encoding: json output: { type: "object" description: "A DTO for an IAgent" required: ["KeepAliveInterval", "MachineName", "Status", "UserID"] properties: { AgentID: { type: "integer" format: "int32" description: "The id of the Agent" } KeepAliveInterval: { type: "integer" format: "int32" description: "The 'Heartbeat Interval' used by the Build Agent." } MachineName: { type: "string" description: "The machine name of the computer the agent is running on" } Status: { type: "object" description: "A DTO for an IAgentStatus" required: ["Online"] properties: { LastStatusUpdate: { type: "string" format: "date-time" description: "ReadOnly. The UTC date and time of the last status update" } Online: { type: "boolean" description: "Indicates if the agent is online" } } } StepConfigurations: { type: "array" description: "The agent's step configurations" items: { type: "object" description: "Step Configuration" required: ["StepImplementationID"] properties: { Configurations: { type: "array" description: "The configuration names supported. The configurations collection is empty for steps which do not require configuration." items: { type: "string" } } StepImplementationID: { type: "string" description: "The Implementation ID of the step this configuration is for" } } } } UserID: { type: "integer" format: "int32" description: "The UserID of the Agent" } } } }