lib/phrase/api/translations_api.rb in phrase-1.0.2 vs lib/phrase/api/translations_api.rb in phrase-1.0.3
- old
+ new
@@ -641,11 +641,11 @@
# @param project_id [String] Project ID
# @param key_id [String] Translation Key ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
# @option opts [String] :branch specify the branch to use
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
# @option opts [String] :q Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
# @return [Array<Translation>]
@@ -659,11 +659,11 @@
# @param project_id [String] Project ID
# @param key_id [String] Translation Key ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
# @option opts [String] :branch specify the branch to use
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
# @option opts [String] :q Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
# @return [Array<(Response<(Array<Translation>)>, Integer, Hash)>] Response<(Array<Translation>)> data, response status code and response headers
@@ -731,11 +731,11 @@
# @param project_id [String] Project ID
# @param locale_id [String] Locale ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
# @option opts [String] :branch specify the branch to use
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
# @option opts [String] :q Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
# @return [Array<Translation>]
@@ -749,11 +749,11 @@
# @param project_id [String] Project ID
# @param locale_id [String] Locale ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
# @option opts [String] :branch specify the branch to use
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
# @option opts [String] :q Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
# @return [Array<(Response<(Array<Translation>)>, Integer, Hash)>] Response<(Array<Translation>)> data, response status code and response headers
@@ -968,11 +968,11 @@
# List translations for the given project. If you want to download all translations for one locale we recommend to use the <code>locales#download</code> endpoint.
# @param project_id [String] Project ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
# @option opts [String] :branch specify the branch to use
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
# @option opts [String] :q Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
# @return [Array<Translation>]
@@ -985,11 +985,11 @@
# List translations for the given project. If you want to download all translations for one locale we recommend to use the <code>locales#download</code> endpoint.
# @param project_id [String] Project ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
# @option opts [String] :branch specify the branch to use
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
# @option opts [String] :q Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
# @return [Array<(Response<(Array<Translation>)>, Integer, Hash)>] Response<(Array<Translation>)> data, response status code and response headers
@@ -1127,11 +1127,11 @@
# @param project_id [String] Project ID
# @param translations_search_parameters [TranslationsSearchParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
# @return [Array<Translation>]
def translations_search(project_id, translations_search_parameters, opts = {})
data, _status_code, _headers = translations_search_with_http_info(project_id, translations_search_parameters, opts)
data
end
@@ -1141,10 +1141,10 @@
# @param project_id [String] Project ID
# @param translations_search_parameters [TranslationsSearchParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
# @return [Array<(Response<(Array<Translation>)>, Integer, Hash)>] Response<(Array<Translation>)> data, response status code and response headers
def translations_search_with_http_info(project_id, translations_search_parameters, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: TranslationsApi.translations_search ...'
end