Skip to content

Commit

Permalink
client sync
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdan committed Jun 24, 2024
1 parent 3ee1e6b commit f7fce0f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/main/python/fusionauth/fusionauth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3067,6 +3067,36 @@ def retrieve_system_configuration(self):
.get() \
.go()

def retrieve_system_health(self):
"""
Retrieves the FusionAuth system health. This API will return 200 if the system is healthy, and 500 if the system is un-healthy.
Attributes:
"""
return self.start_anonymous().uri('/api/health') \
.get() \
.go()

def retrieve_system_status(self):
"""
Retrieves the FusionAuth system status. This request is anonymous and does not require an API key. When an API key is not provided the response will contain a single value in the JSON response indicating the current health check.
Attributes:
"""
return self.start_anonymous().uri('/api/status') \
.get() \
.go()

def retrieve_system_status_using_api_key(self):
"""
Retrieves the FusionAuth system status using an API key. Using an API key will cause the response to include the product version, health checks and various runtime metrics.
Attributes:
"""
return self.start().uri('/api/status') \
.get() \
.go()

def retrieve_tenant(self, tenant_id):
"""
Retrieves the tenant for the given Id.
Expand Down

0 comments on commit f7fce0f

Please sign in to comment.