docs/ProjectsApi.md in phrase-2.0.0 vs docs/ProjectsApi.md in phrase-2.1.0
- old
+ new
@@ -283,11 +283,14 @@
api_instance = Phrase::ProjectsApi.new
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example', # String | Two-Factor-Authentication token (optional)
page: 1, # Integer | Page number
- per_page: 25 # Integer | allows you to specify a page size up to 100 items, 25 by default
+ per_page: 25, # Integer | allows you to specify a page size up to 100 items, 25 by default
+ account_id: 'account_id_example', # String | Filter by Account ID
+ sort_by: 'sort_by_example', # String | Sort projects. Valid options are \"name_asc\", \"name_desc\", \"updated_at_asc\", \"updated_at_desc\", \"space_asc\" and \"space_desc\".
+ filters: ['favorites'] # Array<String> | Filter projects. Valid options are [\"favorites\"].
}
begin
#List projects
result = api_instance.projects_list(opts)
@@ -303,9 +306,12 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
**page** | **Integer**| Page number | [optional]
**per_page** | **Integer**| allows you to specify a page size up to 100 items, 25 by default | [optional]
+ **account_id** | **String**| Filter by Account ID | [optional]
+ **sort_by** | **String**| Sort projects. Valid options are \"name_asc\", \"name_desc\", \"updated_at_asc\", \"updated_at_desc\", \"space_asc\" and \"space_desc\". | [optional]
+ **filters** | [**Array<String>**](String.md)| Filter projects. Valid options are [\"favorites\"]. | [optional]
### Return type
Response<([**Array<Project>**](Project.md))>