docs/RoutesApi.md in fn_ruby-0.2.0 vs docs/RoutesApi.md in fn_ruby-0.2.1
- old
+ new
@@ -11,29 +11,34 @@
[**apps_app_routes_route_patch**](RoutesApi.md#apps_app_routes_route_patch) | **PATCH** /apps/{app}/routes/{route} | Update a Route, Fails if the route or app does not exist. Accepts partial updates / skips validation of zero values.
[**apps_app_routes_route_put**](RoutesApi.md#apps_app_routes_route_put) | **PUT** /apps/{app}/routes/{route} | Create a Route if it does not exist. Update if it does. Will also create app if it does not exist. Put does not skip validation of zero values
# **apps_app_routes_get**
-> RoutesWrapper apps_app_routes_get(app)
+> RoutesWrapper apps_app_routes_get(app, opts)
Get route list by app name.
-This will list routes for a particular app.
+This will list routes for a particular app, returned in alphabetical order.
### Example
```ruby
# load the gem
require 'fn_ruby'
api_instance = Fn::RoutesApi.new
app = "app_example" # String | Name of app for this set of routes.
+opts = {
+ image: "image_example", # String | Route image to match, exact.
+ cursor: "cursor_example", # String | Cursor from previous response.next_cursor to begin results after, if any.
+ per_page: 56 # Integer | Number of results to return, defaults to 30. Max of 100.
+}
begin
#Get route list by app name.
- result = api_instance.apps_app_routes_get(app)
+ result = api_instance.apps_app_routes_get(app, opts)
p result
rescue Fn::ApiError => e
puts "Exception when calling RoutesApi->apps_app_routes_get: #{e}"
end
```
@@ -41,9 +46,12 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**app** | **String**| Name of app for this set of routes. |
+ **image** | **String**| Route image to match, exact. | [optional]
+ **cursor** | **String**| Cursor from previous response.next_cursor to begin results after, if any. | [optional]
+ **per_page** | **Integer**| Number of results to return, defaults to 30. Max of 100. | [optional]
### Return type
[**RoutesWrapper**](RoutesWrapper.md)