AgentTypes
Represents a paginated list of AgentType entities.
tip
Data type:
integer
Example:1
The current number of AgentType objects in this list.
tip
Data type:
string
Example:/app/rest/agentTypes?locator=count:200,start:250
If the list of returned entities exceeds the request count
value, TeamCity splits it into multiple batches. This property returns the endpoint that allows you to obtain the next batch.
tip
Data type:
string
Example:/app/rest/agentTypes?locator=count:50,start:0
If the list of returned entities exceeds the request count
value, TeamCity splits it into multiple batches. This property returns the endpoint that allows you to obtain the previous batch.
tip
Data type:
List<AgentType>
Example:
The list of AgentTypes owned by this collection.
tip
Data type:
string
Example:/app/rest/agentTypes
The relative link (without the server URL) used to retrieve this object.
Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET
and use the response as a base for the following POST
request.
A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.
<agentTypes count="1" href="/app/rest/agentTypes" nextHref="/app/rest/agentTypes?locator=count:200,start:250" prevHref="/app/rest/agentTypes?locator=count:50,start:0">
<agentType>agentType...</agentType>
</agentTypes>
{
"agentType" : [ "agentType..." ],
"count" : 1,
"prevHref" : "/app/rest/agentTypes?locator=count:50,start:0",
"href" : "/app/rest/agentTypes",
"nextHref" : "/app/rest/agentTypes?locator=count:200,start:250"
}
Thanks for your feedback!