Skip to content

Endpoints

Erin Germ edited this page Oct 14, 2017 · 2 revisions

As of now, these are the known endpoints:

$ grep -rnw . -e ".*_bp.route.*" | wc -l
      30

$ grep -rnw . -e ".*_bp.route.*"
./nomad/app/admin/views.py:34:@admin_bp.route('/admin/')
./nomad/app/admin/views.py:43:@admin_bp.route('/admin/users/<uuid>')
./nomad/app/admin/views.py:54:@admin_bp.route('/admin/users/<uuid>/purge', methods=['GET', 'POST'])
./nomad/app/admin/views.py:114:@admin_bp.route('/admin/users/<user_uuid>/role/<role_name>/toggle')
./nomad/app/admin/views.py:133:@admin_bp.route('/admin/users')
./nomad/app/admin/views.py:151:@admin_bp.route('/admin/users.csv')
./nomad/app/admin/views.py:169:@admin_bp.route('/admin/destinations')
./nomad/app/admin/views.py:187:@admin_bp.route('/admin/destinations/new', methods=['GET', 'POST'])
./nomad/app/admin/views.py:215:@admin_bp.route('/admin/destinations/<uuid>', methods=['GET', 'POST'])
./nomad/app/admin/views.py:250:@admin_bp.route('/admin/destinations/<uuid>/delete', methods=['GET', 'POST'])
./nomad/app/admin/views.py:306:@admin_bp.route('/admin/destinations/<uuid>/hide')
./nomad/app/admin/views.py:320:@admin_bp.route('/admin/destinations/<uuid>/unhide')
./nomad/app/auth/views.py:35:@auth_bp.route('/login')
./nomad/app/auth/views.py:44:@auth_bp.route('/logout', methods=['POST'])
./nomad/app/auth/views.py:50:@auth_bp.route('/authorize/<provider>')
./nomad/app/auth/views.py:58:@auth_bp.route('/callback/<provider>')
./nomad/app/auth/views.py:106:@auth_bp.route('/profile', methods=['GET', 'POST'])
./nomad/app/auth/views.py:141:@auth_bp.route('/profile/delete', methods=['GET', 'POST'])
./nomad/app/auth/views.py:188:@auth_bp.route('/safety.html')
./nomad/app/carpool/views.py:35:@pool_bp.route('/robots.txt')
./nomad/app/carpool/views.py:42:@pool_bp.route('/', methods=['GET', 'POST'])
./nomad/app/carpool/views.py:47:@pool_bp.route('/carpools/find')
./nomad/app/carpool/views.py:79:@pool_bp.route('/carpools/starts.geojson')
./nomad/app/carpool/views.py:168:@pool_bp.route('/carpools/mine', methods=['GET', 'POST'])
./nomad/app/carpool/views.py:176:@pool_bp.route('/carpools/new', methods=['GET', 'POST'])
./nomad/app/carpool/views.py:228:@pool_bp.route('/carpools/<uuid>', methods=['GET', 'POST'])
./nomad/app/carpool/views.py:235:@pool_bp.route('/carpools/<uuid>/edit', methods=['GET', 'POST'])
./nomad/app/carpool/views.py:295:@pool_bp.route('/carpools/<carpool_uuid>/newrider', methods=['GET', 'POST'])
./nomad/app/carpool/views.py:341:@pool_bp.route('/carpools/<carpool_uuid>/request/<request_uuid>/<action>',
./nomad/app/carpool/views.py:450:@pool_bp.route('/carpools/<uuid>/cancel', methods=['GET', 'POST'])
Clone this wiki locally