docs/FormatsApi.md in phrase-3.5.0 vs docs/FormatsApi.md in phrase-3.6.0
- old
+ new
@@ -8,11 +8,11 @@
## formats_list
-> Array<Format> formats_list(opts)
+> Array<Format> formats_list
List formats
Get a handy list of all localization file formats supported in Phrase.
@@ -31,28 +31,22 @@
config.api_key['Authorization'] = 'YOUR API KEY'
config.api_key_prefix['Authorization'] = 'token'
end
api_instance = Phrase::FormatsApi.new
-opts = {
- x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
-}
begin
#List formats
- result = api_instance.formats_list(opts)
+ result = api_instance.formats_list
pp result
rescue Phrase::ApiError => e
puts "Exception when calling FormatsApi->formats_list: #{e}"
end
```
### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
+This endpoint does not need any parameter.
### Return type
Response<([**Array<Format>**](Format.md))>