Sha256: 64a286fd0149e3b343c30d5a3bf871c89657acf5543315c5ede05d473897b7c1
Contents?: true
Size: 1.34 KB
Versions: 3
Compression:
Stored size: 1.34 KB
Contents
# Dkron::MainApi All URIs are relative to *http://localhost:8080/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_leader**](MainApi.md#get_leader) | **GET** /leader | [**status**](MainApi.md#status) | **GET** / | # **get_leader** > Member get_leader List members.\n ### Example ```ruby # load the gem require 'dkron-rb' api_instance = Dkron::MainApi.new begin result = api_instance.get_leader p result rescue Dkron::ApiError => e puts "Exception when calling MainApi->get_leader: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type [**Member**](Member.md) ### Authorization No authorization required ### HTTP reuqest headers - **Content-Type**: application/json - **Accept**: application/json # **status** > InlineResponse200 status Gets `Status` object.\n ### Example ```ruby # load the gem require 'dkron-rb' api_instance = Dkron::MainApi.new begin result = api_instance.status p result rescue Dkron::ApiError => e puts "Exception when calling MainApi->status: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type [**InlineResponse200**](InlineResponse200.md) ### Authorization No authorization required ### HTTP reuqest headers - **Content-Type**: application/json - **Accept**: application/json
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dkron-rb-0.11.2 | docs/MainApi.md |
dkron-rb-0.10.0 | docs/MainApi.md |
dkron-rb-0.9.2 | docs/MainApi.md |