Add /health to rest client

discovered in #7299
This commit is contained in:
Matthias
2022-08-27 15:12:04 +02:00
parent 6686489c06
commit 59a723aec8
2 changed files with 15 additions and 0 deletions

View File

@@ -361,6 +361,13 @@ class FtRestClient():
"""
return self._get("sysinfo")
def health(self):
"""Provides a quick health check of the running bot.
:return: json object
"""
return self._get("health")
def add_arguments():
parser = argparse.ArgumentParser()