Sha256: 8205dc56c5dd2a79a56ff14cb5251208778baca701f41a2d1b9d4fe5ccf4d76d
Contents?: true
Size: 1.73 KB
Versions: 3
Compression:
Stored size: 1.73 KB
Contents
# Allq::AdminApi All URIs are relative to *http://localhost:8090* Method | HTTP request | Description ------------- | ------------- | ------------- [**stats_get**](AdminApi.md#stats_get) | **GET** /stats | Stats [**update_servers_put**](AdminApi.md#update_servers_put) | **PUT** /update_servers | Reset Server Urls # **stats_get** > Array<StatsResults> stats_get Stats Get Stats ### Example ```ruby # load the gem require 'allq_client' api_instance = Allq::AdminApi.new begin #Stats result = api_instance.stats_get p result rescue Allq::ApiError => e puts "Exception when calling AdminApi->stats_get: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type [**Array<StatsResults>**](StatsResults.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **update_servers_put** > BasicResponse update_servers_put(server_urls) Reset Server Urls Change server URLs ### Example ```ruby # load the gem require 'allq_client' api_instance = Allq::AdminApi.new server_urls = "server_urls_example" # String | Comma Separated List URL String begin #Reset Server Urls result = api_instance.update_servers_put(server_urls) p result rescue Allq::ApiError => e puts "Exception when calling AdminApi->update_servers_put: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **server_urls** | **String**| Comma Separated List URL String | ### Return type [**BasicResponse**](BasicResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
allq_rest-1.2.0 | docs/AdminApi.md |
allq_client-1.1.1 | docs/AdminApi.md |
allq_client-1.0.0 | docs/AdminApi.md |