Sha256: 6fead60dc4855d9504ee3927824b81f84b02532de38f44562ee1ca099261c15b
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
# Vantage::PingApi All URIs are relative to *https://api.vantage.sh* Method | HTTP request | Description ------------- | ------------- | ------------- [**ping**](PingApi.md#ping) | **GET** /v1/ping | # **ping** > ping This is a health check endpoint that can be used to determine Vantage API healthiness. It will return a 200 success with the raw text of \"pong\" if everything is running smoothly. ### Example ```ruby # load the gem require 'vantage-client' # setup authorization Vantage.configure do |config| # Configure OAuth2 access token for authorization: oauth2 config.access_token = 'YOUR ACCESS TOKEN' end api_instance = Vantage::PingApi.new begin api_instance.ping rescue Vantage::ApiError => e puts "Exception when calling PingApi->ping: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type nil (empty response body) ### Authorization [oauth2](../README.md#oauth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vantage-client-0.0.6 | docs/PingApi.md |
vantage-client-0.0.5 | docs/PingApi.md |
vantage-client-0.0.1.beta.1 | docs/PingApi.md |