Skip to content

Commit

Permalink
[#1431] Docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Jul 6, 2015
1 parent 0ae0573 commit 73cd88d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ckan/logic/action/get.py
Expand Up @@ -186,9 +186,16 @@ def current_package_list_with_resources(context, data_dict):


def revision_list(context, data_dict):
'''Return a list of the IDs of the site's revisions.
'''Return a list of the IDs of the site's revisions in chronological order.
:rtype: list of strings
Since the results are limited to 50 IDs, you can page through them using
parameter ``since_id``.
:param since_id: the revision ID after which you want the revisions
:type id: string
:param since_time: the timestamp after which you want the revisions
:type id: string
:rtype: list of revision IDs, limited to 50
'''
model = context['model']
Expand Down

0 comments on commit 73cd88d

Please sign in to comment.