OSDN Git Service

add signature.py
[bytom/bytom-kit.git] / app / api / __init__.py
1 from flask import Blueprint
2 from flask_restful import Api
3
4 from app.api.resources import Hello
5 from app.api.resources import Sign
6
7 blueprint = Blueprint('api', __name__, url_prefix='/api/v1')
8 api = Api(blueprint)
9
10 api.add_resource(Hello, '/hello/<string:content>')
11 api.add_resource(Sign, '/sign')