aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/data_entry.py
blob: e69a6cb07ed7ef7fb89a34835bf920536e40f0d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""Endpoints used for data entry"""
from flask import Blueprint
from flask import jsonify


data_entry = Blueprint("data_entry", __name__)


@data_entry.route("/phenotype", methods=["POST"],
                  strict_slashes=False)
def load_phenotype():
    return jsonify("Pass")


@data_entry.route("/genotype", methods=["POST"],
                  strict_slashes=False)
def load_genotype():
    return jsonify("Pass")