From 085047c2bf3e821318546fba70b730a67ae33b63 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Wed, 10 Jun 2015 13:15:41 +0300 Subject: [PATCH] API: Help page in /api/help --- SE_API/API.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SE_API/API.py b/SE_API/API.py index 7f3690e..3006b58 100644 --- a/SE_API/API.py +++ b/SE_API/API.py @@ -41,7 +41,7 @@ def page_not_found(e): def wellcomePage(): return app.send_static_file('index.html') -@app.route('/api/documentation') +@app.route('/api/help') def documentation(): return auto.html() @@ -125,7 +125,9 @@ def get_campuses(token): :param token: user seToken :return: code 200: - [{'title': 'JCE', + [ + { + 'title': 'JCE', 'email_ending': '@post.jce.ac.il', 'master_user_id': 123453433341, (User that created the campus) 'avatar_url': 'http://some.domain.com/imagefile.jpg'