From 09d076847cf4abcd295ddef8be8a7348ae471ba8 Mon Sep 17 00:00:00 2001 From: John Glover Date: Wed, 14 Dec 2011 14:53:27 +0000 Subject: [PATCH] [docs] add search by modification date example --- doc/apiv3.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/apiv3.rst b/doc/apiv3.rst index 4a4485d1700..db82aaf6c71 100644 --- a/doc/apiv3.rst +++ b/doc/apiv3.rst @@ -426,6 +426,16 @@ These parameters are all the standard SOLR syntax (in contrast to the syntax use | | | | included in the results. | +-----------------------+---------------+-----------------------------------------------------+----------------------------------+ +Search Examples +--------------- + +Sorting by modified date: + +:: + + $ curl http://thedatahub.org/api/action/package_search -d '{"q": "groups:lodcloud", sort": "metadata_modified asc"}' + + Status Codes ~~~~~~~~~~~~