@app.put('/dossier/v1/label/<cid1>/<cid2>/<annotator_id>')
def v1_label_put(request, response, visid_to_dbid, config, label_hooks,
                 label_store, cid1, cid2, annotator_id):
    coref_value = CorefValue(int(request.body.read()))
    lab = Label(visid_to_dbid(cid1), visid_to_dbid(cid2),
                annotator_id, coref_value,
                subtopic_id1=request.query.get('subtopic_id1'),
                subtopic_id2=request.query.get('subtopic_id2'))
    label_store.put(lab)
    response.status = 201
Store a single label.
dataset/ETHPy150Open dossier/dossier.web/dossier/web/routes.py/v1_label_put