github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/clients/python/docs/HealthApi.md (about) 1 # bacalhau_apiclient.HealthApi 2 3 All URIs are relative to *http://bootstrap.production.bacalhau.org:1234* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**api_serverdebug**](HealthApi.md#api_serverdebug) | **GET** /debug | Returns debug information on what the current node is doing. 8 [**debug**](HealthApi.md#debug) | **GET** /requester/debug | Returns debug information on what the current node is doing. 9 10 11 # **api_serverdebug** 12 > str api_serverdebug() 13 14 Returns debug information on what the current node is doing. 15 16 ### Example 17 ```python 18 from __future__ import print_function 19 import time 20 import bacalhau_apiclient 21 from bacalhau_apiclient.rest import ApiException 22 from pprint import pprint 23 24 # create an instance of the API class 25 api_instance = bacalhau_apiclient.HealthApi() 26 27 try: 28 # Returns debug information on what the current node is doing. 29 api_response = api_instance.api_serverdebug() 30 pprint(api_response) 31 except ApiException as e: 32 print("Exception when calling HealthApi->api_serverdebug: %s\n" % e) 33 ``` 34 35 ### Parameters 36 This endpoint does not need any parameter. 37 38 ### Return type 39 40 **str** 41 42 ### Authorization 43 44 No authorization required 45 46 ### HTTP request headers 47 48 - **Content-Type**: Not defined 49 - **Accept**: application/json 50 51 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 52 53 # **debug** 54 > str debug() 55 56 Returns debug information on what the current node is doing. 57 58 ### Example 59 ```python 60 from __future__ import print_function 61 import time 62 import bacalhau_apiclient 63 from bacalhau_apiclient.rest import ApiException 64 from pprint import pprint 65 66 # create an instance of the API class 67 api_instance = bacalhau_apiclient.HealthApi() 68 69 try: 70 # Returns debug information on what the current node is doing. 71 api_response = api_instance.debug() 72 pprint(api_response) 73 except ApiException as e: 74 print("Exception when calling HealthApi->debug: %s\n" % e) 75 ``` 76 77 ### Parameters 78 This endpoint does not need any parameter. 79 80 ### Return type 81 82 **str** 83 84 ### Authorization 85 86 No authorization required 87 88 ### HTTP request headers 89 90 - **Content-Type**: Not defined 91 - **Accept**: application/json 92 93 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 94