aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/data_entry.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/gn3/api/data_entry.py b/gn3/api/data_entry.py
new file mode 100644
index 0000000..e69a6cb
--- /dev/null
+++ b/gn3/api/data_entry.py
@@ -0,0 +1,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")