diff --git a/openproject/client.py b/openproject/client.py index 18d38a0..1c81120 100644 --- a/openproject/client.py +++ b/openproject/client.py @@ -133,6 +133,9 @@ def update(self, id: int, **kwargs): def delete(self, id: int): return self.client._send_request("DELETE", f"projects/{id}") + def list_types(self, id: int): + return self.client._send_request("GET", f"projects/{id}/types") + class Statuses(SubClient): def list(self):