Sha256: 95d3c3687fc0240717d6ed29a68933877d14eb1522242ffd838f06c9f36e55fb
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 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** > Object 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 result = api_instance.ping p result rescue Vantage::ApiError => e puts "Exception when calling PingApi->ping: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type **Object** ### Authorization [oauth2](../README.md#oauth2) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vantage-client-0.0.8 | docs/PingApi.md |