Test Distribution Api
Functions
PUT api/test-distribution/agent-pools/{poolId} Create or update an Agent Pool. Create a new Agent Pool in Develocity or update the configuration of an existing one. The orderIndex element is optional and can be used to specify the priority order in which the Agent Pool is considered. When not specified, the Agent Pool will be either added last on creation, or will not change position on update. When specified, the Agent Pool will be added at/moved to the specified index and all other Agent Pools will be moved down. If the specified index is out of bounds, the Agent Pool will be added last with the orderIndex adjusted accordingly. Responses:
POST api/test-distribution/agent-pools Create an Agent Pool. Create a new Agent Pool in Develocity. The orderIndex element is optional and can be used to specify the priority order in which the Agent Pool is considered. When not specified, the Agent Pool will be added last. When specified, the Agent Pool will be added at the specified index and all other Agent Pools will be moved down. If the specified index is out of bounds, the Agent Pool will be added last with the orderIndex adjusted accordingly. Responses:
DELETE api/test-distribution/agent-pools/{poolId} Delete an Agent Pool. Delete an existing Agent Pool. Responses:
POST api/test-distribution/agent-pools/{poolId}/registration-keys Generate a new Test Distribution pool-specific agent registration key. Generate a new Test Distribution pool-specific agent registration key to connect agents and query the agent pool API. Responses:
GET api/test-distribution/agent-pools/{poolId} View the properties of an Agent Pool View the identifier, capabilities and size of an Agent Pool. Responses:
GET api/test-distribution/agent-pools/{poolId}/registration-keys/{keyPrefix} Get a Test Distribution pool-specific agent registration keyPrefix information. Returns information about a Test Distribution pool-specific agent registration keyPrefix. Responses:
GET api/test-distribution/agent-pools/{poolId}/status View the status of an Agent Pool View the status of an Agent Pool, such as its current size. To access this endpoint the user requires the `Test Distribution` permission. Responses:
PUT api/test-distribution/agent-pools/{poolId}/registration-keys/{keyPrefix} Insert a specific Test Distribution pool-specific agent registration key. Inserts a specific Test Distribution pool-specific agent registration key to connect agents and query the agent pool API. If a key with the same prefix but different key already exists (regardless of which pool it belongs to), it will return 400. Responses:
GET api/test-distribution/agent-pools/{poolId}/registration-keys Lists Test Distribution pool-specific agent registration keys. Returns a list of all Test Distribution pool-specific agent registration key prefixes. Responses:
GET api/test-distribution/agent-pools Lists Agent Pools. Returns a list of all Agent Pools. Responses:
DELETE api/test-distribution/agent-pools/{poolId}/registration-keys/{keyPrefix} Revoke a Test Distribution pool-specific agent registration key. Revoke the Test Distribution pool-specific agent registration key for the given prefix which uniquely identifies a Test Distribution pool-specific agent registration key. A revoked key can no longer be used to connect agents, but it will still be queryable and returned in the list. Responses: