docs/DefaultApi.md in dkron-ruby-1.0.0 vs docs/DefaultApi.md in dkron-ruby-3.0.0
- old
+ new
@@ -2,12 +2,93 @@
All URIs are relative to *http://localhost:8080/v1*
Method | HTTP request | Description
------------- | ------------- | -------------
+[**busy**](DefaultApi.md#busy) | **GET** /busy |
+[**get_is_leader**](DefaultApi.md#get_is_leader) | **GET** /isleader |
[**get_leader**](DefaultApi.md#get_leader) | **GET** /leader |
[**leave**](DefaultApi.md#leave) | **POST** /leave |
[**status**](DefaultApi.md#status) | **GET** / |
+
+
+# **busy**
+> Array<Execution> busy
+
+
+
+Returns the running executions.
+
+### Example
+```ruby
+# load the gem
+require 'dkron-ruby'
+
+api_instance = Dkron::DefaultApi.new
+
+begin
+ result = api_instance.busy
+ p result
+rescue Dkron::ApiError => e
+ puts "Exception when calling DefaultApi->busy: #{e}"
+end
+```
+
+### Parameters
+This endpoint does not need any parameter.
+
+### Return type
+
+[**Array<Execution>**](Execution.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+# **get_is_leader**
+> get_is_leader
+
+
+
+Check if node is a leader or follower.
+
+### Example
+```ruby
+# load the gem
+require 'dkron-ruby'
+
+api_instance = Dkron::DefaultApi.new
+
+begin
+ api_instance.get_is_leader
+rescue Dkron::ApiError => e
+ puts "Exception when calling DefaultApi->get_is_leader: #{e}"
+end
+```
+
+### Parameters
+This endpoint does not need any parameter.
+
+### Return type
+
+nil (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
# **get_leader**
> Member get_leader