API: Help page in /api/help

This commit is contained in:
Sagi Dayan 2015-06-10 13:15:41 +03:00
parent a37ef482ca
commit 085047c2bf

View file

@ -41,7 +41,7 @@ def page_not_found(e):
def wellcomePage(): def wellcomePage():
return app.send_static_file('index.html') return app.send_static_file('index.html')
@app.route('/api/documentation') @app.route('/api/help')
def documentation(): def documentation():
return auto.html() return auto.html()
@ -125,7 +125,9 @@ def get_campuses(token):
:param token: user seToken :param token: user seToken
:return: :return:
code 200: code 200:
[{'title': 'JCE', [
{
'title': 'JCE',
'email_ending': '@post.jce.ac.il', 'email_ending': '@post.jce.ac.il',
'master_user_id': 123453433341, (User that created the campus) 'master_user_id': 123453433341, (User that created the campus)
'avatar_url': 'http://some.domain.com/imagefile.jpg' 'avatar_url': 'http://some.domain.com/imagefile.jpg'