f57b5fb7ee
git-subtree-dir: module/api
git-subtree-split: c48b462866
7 lines
208 B
Python
7 lines
208 B
Python
from flask import Blueprint, jsonify
|
|
user_bp = Blueprint('user', __name__)
|
|
@user_bp.route('/')
|
|
def list_users(): return jsonify([])
|
|
@user_bp.route('/<int:id>')
|
|
def get_user(id): return jsonify({'id': id})
|