From 781dd1ec9798cddf49916b9676a5fb9bb3942f75 Mon Sep 17 00:00:00 2001 From: technicaltitch Date: Mon, 30 Apr 2018 23:24:36 +0100 Subject: [PATCH] Document default `rows` limit when not specified By default the API returns results from the top 10 datasets only. This adds this note to the documentation. --- ckan/logic/action/get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/logic/action/get.py b/ckan/logic/action/get.py index 51d73d4bebf..4bde682b060 100644 --- a/ckan/logic/action/get.py +++ b/ckan/logic/action/get.py @@ -1689,7 +1689,7 @@ def package_search(context, data_dict): sort-orderings. :type sort: string :param rows: the number of matching rows to return. There is a hard limit - of 1000 datasets per query. + of 1000 datasets per query. Optional. Default is 10. :type rows: int :param start: the offset in the complete result for where the set of returned datasets should begin.