docs/ScreenshotsApi.md in phrase-1.0.1 vs docs/ScreenshotsApi.md in phrase-1.0.2

- old
+ new

@@ -12,11 +12,11 @@ ## screenshot_create -> screenshot_create(project_id, screenshot_create_parameters, opts) +> Screenshot screenshot_create(project_id, screenshot_create_parameters, opts) Create a screenshot Create a new screenshot. @@ -31,12 +31,11 @@ config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' # Configure API key authorization: Token config.api_key['Authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['Authorization'] = 'Bearer' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ScreenshotsApi.new project_id = 'project_id_example' # String | Project ID screenshot_create_parameters = Phrase::ScreenshotCreateParameters.new # ScreenshotCreateParameters | @@ -44,11 +43,12 @@ x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional) } begin #Create a screenshot - api_instance.screenshot_create(project_id, screenshot_create_parameters, opts) + result = api_instance.screenshot_create(project_id, screenshot_create_parameters, opts) + pp result rescue Phrase::ApiError => e puts "Exception when calling ScreenshotsApi->screenshot_create: #{e}" end ``` @@ -61,20 +61,20 @@ **screenshot_create_parameters** | [**ScreenshotCreateParameters**](ScreenshotCreateParameters.md)| | **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional] ### Return type -Response<(nil (empty response body))> +Response<([**Screenshot**](Screenshot.md))> ### Authorization [Basic](../README.md#Basic), [Token](../README.md#Token) ### HTTP request headers - **Content-Type**: application/json -- **Accept**: Not defined +- **Accept**: application/json ## screenshot_delete > screenshot_delete(project_id, id, opts) @@ -94,12 +94,11 @@ config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' # Configure API key authorization: Token config.api_key['Authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['Authorization'] = 'Bearer' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ScreenshotsApi.new project_id = 'project_id_example' # String | Project ID id = 'id_example' # String | ID @@ -157,12 +156,11 @@ config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' # Configure API key authorization: Token config.api_key['Authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['Authorization'] = 'Bearer' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ScreenshotsApi.new project_id = 'project_id_example' # String | Project ID id = 'id_example' # String | ID @@ -221,12 +219,11 @@ config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' # Configure API key authorization: Token config.api_key['Authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['Authorization'] = 'Bearer' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ScreenshotsApi.new project_id = 'project_id_example' # String | Project ID id = 'id_example' # String | ID @@ -287,11 +284,10 @@ config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' # Configure API key authorization: Token config.api_key['Authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['Authorization'] = 'Bearer' + config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ScreenshotsApi.new project_id = 'project_id_example' # String | Project ID opts = {