From e2b3cee69b3606cda9dae1b7780199f891cf2a6a Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 2 Jul 2014 14:11:39 -0400 Subject: [PATCH] Update API endpoint description --- mayan/apps/documents/registry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mayan/apps/documents/registry.py b/mayan/apps/documents/registry.py index 1d870f4b2e..bd75910c4a 100644 --- a/mayan/apps/documents/registry.py +++ b/mayan/apps/documents/registry.py @@ -17,6 +17,6 @@ bootstrap_models = [ cleanup_functions = [cleanup] version_0_api_services = [ - {'urlpattern': url(r'^document/(?P[0-9]+)/$', APIReadOnlyInstanceModelView.as_view(), name='document-detail'), 'description': 'Show document data', 'url': 'document/'}, - {'urlpattern': url(r'^document/(?P[0-9]+)/image/$', APIDocumentImageView.as_view(), name='document-image'), 'description': 'Return a base64 image of the document', 'url': 'document//image/?page&zoom&rotate'}, + {'urlpattern': url(r'^document/(?P[0-9]+)/$', APIReadOnlyInstanceModelView.as_view(), name='document-detail'), 'description': 'Show document data', 'url': 'document/'}, + {'urlpattern': url(r'^document/(?P[0-9]+)/image/$', APIDocumentImageView.as_view(), name='document-image'), 'description': 'Return a base64 image of the document', 'url': 'document//image/?page=&zoom=&rotate='}, ]