Sha256: e81c6af9244a24d01042a53b3d4f37a569d8fd951fd97d2404ee72b8e8e398a9
Contents?: true
Size: 1.41 KB
Versions: 3
Compression:
Stored size: 1.41 KB
Contents
# Athenian::VersionApi All URIs are relative to *https://api.athenian.co/v1* | Method | HTTP request | Description | | ------ | ------------ | ----------- | | [**get_versions**](VersionApi.md#get_versions) | **GET** /versions | Query the versions of the backend components. | ## get_versions > <Versions> get_versions Query the versions of the backend components. ### Examples ```ruby require 'time' require 'athenian' api_instance = Athenian::VersionApi.new begin # Query the versions of the backend components. result = api_instance.get_versions p result rescue Athenian::ApiError => e puts "Error when calling VersionApi->get_versions: #{e}" end ``` #### Using the get_versions_with_http_info variant This returns an Array which contains the response data, status code and headers. > <Array(<Versions>, Integer, Hash)> get_versions_with_http_info ```ruby begin # Query the versions of the backend components. data, status_code, headers = api_instance.get_versions_with_http_info p status_code # => 2xx p headers # => { ... } p data # => <Versions> rescue Athenian::ApiError => e puts "Error when calling VersionApi->get_versions_with_http_info: #{e}" end ``` ### Parameters This endpoint does not need any parameter. ### Return type [**Versions**](Versions.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
athenian-2.1.86 | docs/VersionApi.md |
athenian-2.1.85 | docs/VersionApi.md |
athenian-2.1.81 | docs/VersionApi.md |