+ # HTML Renderer service
+ url(r'^render$', 'api.views.render'),
+
+ # Toolbar
+ url(r'^toolbar/buttons$', toolbar_buttons, {'emitter_format': 'json'},
+ name="toolbar_buttons"
+ ),
+
+ url(r'^toolbar/scriptlets$', scriptlets, {'emitter_format': 'json'},
+ name="toolbar_scriptlets"
+ ),
+
+ # Pull requests
+ url(r"^pull-requests$", pullrequest_collection,
+ {'emitter_format': 'json'} ),
+
+ url(r"^pull-requests/(?P<prq_id>\d+)$", pullrequest_rsrc,
+ {'emitter_format': 'json'}, name="pullrequest_view" ),
+