Portman/portainer/endpoints.py
2024-11-14 14:47:53 +03:30

8 lines
176 B
Python

from .base import ApiBase
class EndpointApi(ApiBase):
def list_endpoints(self):
url = f"{self.base_url}/endpoints"
return self.request("GET", url).json()