lib/phrase/api/locales_api.rb in phrase-2.15.0 vs lib/phrase/api/locales_api.rb in phrase-2.16.0

- old
+ new

@@ -154,11 +154,11 @@ end # Delete a locale # Delete an existing locale. # @param project_id [String] Project ID - # @param id [String] ID + # @param id [String] Locale ID or locale name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :branch specify the branch to use # @return [nil] def locale_delete(project_id, id, opts = {}) @@ -167,11 +167,11 @@ end # Delete a locale # Delete an existing locale. # @param project_id [String] Project ID - # @param id [String] ID + # @param id [String] Locale ID or locale name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :branch specify the branch to use # @return [Array<(Response, Integer, Hash)>] Response<(nil, response status code and response headers def locale_delete_with_http_info(project_id, id, opts = {}) @@ -227,11 +227,11 @@ end # Download a locale # Download a locale in a specific file format. # @param project_id [String] Project ID - # @param id [String] ID + # @param id [String] Locale ID or locale name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :if_modified_since Last modified condition, see &lt;a href&#x3D;\&quot;#overview--conditional-get-requests--http-caching\&quot;&gt;Conditional GET requests / HTTP Caching&lt;/a&gt; (optional) # @option opts [String] :if_none_match ETag condition, see &lt;a href&#x3D;\&quot;#overview--conditional-get-requests--http-caching\&quot;&gt;Conditional GET requests / HTTP Caching&lt;/a&gt; (optional) # @option opts [String] :branch specify the branch to use @@ -257,11 +257,11 @@ end # Download a locale # Download a locale in a specific file format. # @param project_id [String] Project ID - # @param id [String] ID + # @param id [String] Locale ID or locale name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :if_modified_since Last modified condition, see &lt;a href&#x3D;\&quot;#overview--conditional-get-requests--http-caching\&quot;&gt;Conditional GET requests / HTTP Caching&lt;/a&gt; (optional) # @option opts [String] :if_none_match ETag condition, see &lt;a href&#x3D;\&quot;#overview--conditional-get-requests--http-caching\&quot;&gt;Conditional GET requests / HTTP Caching&lt;/a&gt; (optional) # @option opts [String] :branch specify the branch to use @@ -353,11 +353,11 @@ end # Get a single locale # Get details on a single locale for a given project. # @param project_id [String] Project ID - # @param id [String] ID + # @param id [String] Locale ID or locale name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :branch specify the branch to use # @return [LocaleDetails] def locale_show(project_id, id, opts = {}) @@ -366,11 +366,11 @@ end # Get a single locale # Get details on a single locale for a given project. # @param project_id [String] Project ID - # @param id [String] ID + # @param id [String] Locale ID or locale name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :branch specify the branch to use # @return [Array<(Response<(LocaleDetails)>, Integer, Hash)>] Response<(LocaleDetails)> data, response status code and response headers def locale_show_with_http_info(project_id, id, opts = {}) @@ -428,11 +428,11 @@ end # Update a locale # Update an existing locale. # @param project_id [String] Project ID - # @param id [String] ID + # @param id [String] Locale ID or locale name # @param locale_update_parameters [LocaleUpdateParameters] # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [LocaleDetails] def locale_update(project_id, id, locale_update_parameters, opts = {}) @@ -441,10 +441,10 @@ end # Update a locale # Update an existing locale. # @param project_id [String] Project ID - # @param id [String] ID + # @param id [String] Locale ID or locale name # @param locale_update_parameters [LocaleUpdateParameters] # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [Array<(Response<(LocaleDetails)>, Integer, Hash)>] Response<(LocaleDetails)> data, response status code and response headers def locale_update_with_http_info(project_id, id, locale_update_parameters, opts = {})