Skip to content

Commit

Permalink
Update legacy.py
Browse files Browse the repository at this point in the history
Add get_disconnected_agents
  • Loading branch information
swistov authored May 6, 2019
1 parent abdf3cc commit 988ad20
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyteamcity/legacy/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,12 @@ def get_agents(self):
Gets all agents in the TeamCity server pointed to by this instance of
the Client.
"""

@GET('agents?locator=connected:false')
def get_disconnected_agents(self):
"""
Get all disconnected agents
"""

@GET('agents/id:{agent_id}')
def get_agent_by_agent_id(self, agent_id):
Expand Down

0 comments on commit 988ad20

Please sign in to comment.