docs/DefaultApi.md in endoflife_date-0.10.0 vs docs/DefaultApi.md in endoflife_date-1.0.0
- old
+ new
@@ -9,11 +9,11 @@
| [**get_api_product_json**](DefaultApi.md#get_api_product_json) | **GET** /api/{product}.json | Get All Details |
## get_api_all_json
-> Object get_api_all_json
+> Array<String> get_api_all_json
All Products
Return a list of all products. Each of these can be used for the other API endpoints.
@@ -36,19 +36,19 @@
#### Using the get_api_all_json_with_http_info variant
This returns an Array which contains the response data, status code and headers.
-> <Array(Object, Integer, Hash)> get_api_all_json_with_http_info
+> <Array(Array<String>, Integer, Hash)> get_api_all_json_with_http_info
```ruby
begin
# All Products
data, status_code, headers = api_instance.get_api_all_json_with_http_info
p status_code # => 2xx
p headers # => { ... }
- p data # => Object
+ p data # => Array<String>
rescue EndOfLifeDateApiClient::ApiError => e
puts "Error when calling DefaultApi->get_api_all_json_with_http_info: #{e}"
end
```
@@ -56,11 +56,11 @@
This endpoint does not need any parameter.
### Return type
-**Object**
+**Array<String>**
### Authorization
No authorization required
@@ -83,12 +83,12 @@
```ruby
require 'time'
require 'endoflife_date'
api_instance = EndOfLifeDateApiClient::DefaultApi.new
-product = TODO # Object | Product URL as per the canonical URL on the endofife.date website
-cycle = TODO # Object | Release Cycle for which the details must be fetched
+product = 'product_example' # String | Product URL as per the canonical URL on the endofife.date website
+cycle = 'cycle_example' # String | Release Cycle for which the details must be fetched
begin
# Single cycle details
result = api_instance.get_api_product_cycle_json(product, cycle)
p result
@@ -117,12 +117,12 @@
### Parameters
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
-| **product** | [**Object**](.md) | Product URL as per the canonical URL on the endofife.date website | |
-| **cycle** | [**Object**](.md) | Release Cycle for which the details must be fetched | |
+| **product** | **String** | Product URL as per the canonical URL on the endofife.date website | |
+| **cycle** | **String** | Release Cycle for which the details must be fetched | |
### Return type
[**Cycle**](Cycle.md)
@@ -136,11 +136,11 @@
- **Accept**: application/json
## get_api_product_json
-> Object get_api_product_json(product)
+> <Array<Cycle>> get_api_product_json(product)
Get All Details
Get EoL dates of all cycles of a given product.
@@ -149,11 +149,11 @@
```ruby
require 'time'
require 'endoflife_date'
api_instance = EndOfLifeDateApiClient::DefaultApi.new
-product = TODO # Object | Product URL as per the canonical URL on the endofife.date website
+product = 'product_example' # String | Product URL as per the canonical URL on the endofife.date website
begin
# Get All Details
result = api_instance.get_api_product_json(product)
p result
@@ -164,32 +164,32 @@
#### Using the get_api_product_json_with_http_info variant
This returns an Array which contains the response data, status code and headers.
-> <Array(Object, Integer, Hash)> get_api_product_json_with_http_info(product)
+> <Array(<Array<Cycle>>, Integer, Hash)> get_api_product_json_with_http_info(product)
```ruby
begin
# Get All Details
data, status_code, headers = api_instance.get_api_product_json_with_http_info(product)
p status_code # => 2xx
p headers # => { ... }
- p data # => Object
+ p data # => <Array<Cycle>>
rescue EndOfLifeDateApiClient::ApiError => e
puts "Error when calling DefaultApi->get_api_product_json_with_http_info: #{e}"
end
```
### Parameters
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
-| **product** | [**Object**](.md) | Product URL as per the canonical URL on the endofife.date website | |
+| **product** | **String** | Product URL as per the canonical URL on the endofife.date website | |
### Return type
-**Object**
+[**Array<Cycle>**](Cycle.md)
### Authorization
No authorization required