lib/phrase/api/documents_api.rb in phrase-2.8.2 vs lib/phrase/api/documents_api.rb in phrase-2.8.3
- old
+ new
@@ -81,11 +81,11 @@
# List all documents the current user has access to.
# @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, 25 by default
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
# @return [Array<Document>]
def documents_list(project_id, opts = {})
data, _status_code, _headers = documents_list_with_http_info(project_id, opts)
data
end
@@ -94,10 +94,10 @@
# List all documents the current user has access to.
# @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, 25 by default
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
# @return [Array<(Response<(Array<Document>)>, Integer, Hash)>] Response<(Array<Document>)> data, response status code and response headers
def documents_list_with_http_info(project_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: DocumentsApi.documents_list ...'
end