Example #1
0
def get_user_survey(user_survey_id):
    response = jsonapi.get_resource(db.session, request.args, 'user-surveys', user_survey_id)
    return jsonify(response.document), response.status
Example #2
0
def get_post(post_id):
    response = jsonapi.get_resource(db.session, request.args, 'core-posts', post_id)
    return jsonify(response.document), response.status
Example #3
0
def get_post(post_id):
    response = jsonapi.get_resource(db.session, request.args, 'core-posts',
                                    post_id)
    return jsonify(response.document), response.status
Example #4
0
def get_variant(variant_id):
    response = jsonapi.get_resource(db, request.args, 'variants', variant_id)
    return jsonify(response.document), response.status
Example #5
0
File: users.py Project: zabano/dx
def get_user(user_id):
    response = jsonapi.get_resource(db, request.args, 'users', user_id)
    return jsonify(response.document), response.status
Example #6
0
def get_disease(disease_id):
    response = jsonapi.get_resource(db, request.args, 'diseases', disease_id)
    return jsonify(response.document), response.status
Example #7
0
def get_gene_target(target_id):
    response = jsonapi.get_resource(db, request.args, 'gene-targets', target_id)
    return jsonify(response.document), response.status
Example #8
0
def get_user(user_id):
    response = jsonapi.get_resource(db.session, request.args, 'users', user_id)
    return jsonify(response.document), response.status
Example #9
0
def get_subject(subject_id):
    response = jsonapi.get_resource(db, request.args, 'subjects', subject_id)
    return jsonify(response.document), response.status
Example #10
0
def get_section(section_id):
    response = jsonapi.get_resource(db, request.args, 'sections', section_id)
    return jsonify(response.document), response.status
Example #11
0
File: vcfs.py Project: zabano/dx
def get_vcf(vcf_id):
    response = jsonapi.get_resource(db, request.args, 'vcfs', vcf_id)
    return jsonify(response.document), response.status
Example #12
0
File: calls.py Project: zabano/dx
def get_call(call_id):
    response = jsonapi.get_resource(db, request.args, 'calls', call_id)
    return jsonify(response.document), response.status
Example #13
0
File: reports.py Project: zabano/dx
def get_report(report_id):
    response = jsonapi.get_resource(db, request.args, 'reports', report_id)
    return jsonify(response.document), response.status
Example #14
0
def get_core(core_id):
    response = jsonapi.get_resource(db.session, request.args, 'cores', core_id)
    return jsonify(response.document), response.status
Example #15
0
def get_symptom(symptom_id):
    response = jsonapi.get_resource(db, request.args, 'symptoms', symptom_id)
    return jsonify(response.document), response.status
Example #16
0
def get_survey_question(question_id):
    response = jsonapi.get_resource(db.session, request.args, 'survey-questions', question_id)
    return jsonify(response.document), response.status