@app.route("<STR_LIT>", methods=["<STR_LIT:GET>"])<EOL>def get_info(node_id, info_id):
exp = Experiment(session)<EOL>node = models.Node.query.get(node_id)<EOL>if node is None:<EOL><INDENT>return error_response(error_type="<STR_LIT>")<EOL><DEDENT>info = models.Info.query.get(info_id)<EOL>if info is None:<EOL><INDENT>return error_response(<EOL>error_type="<STR_LIT>", participant=node.participant<EOL>)<EOL><DEDENT>elif info.origin_id != node.id and info.id not in [<EOL>t.info_id for t in node.transmissions(direction="<STR_LIT>", status="<STR_LIT>")<EOL>]:<EOL><INDENT>return error_response(<EOL>error_type="<STR_LIT>",<EOL>status=<NUM_LIT>,<EOL>participant=node.participant,<EOL>)<EOL><DEDENT>try:<EOL><INDENT>exp.info_get_request(node=node, infos=info)<EOL>session.commit()<EOL><DEDENT>except Exception:<EOL><INDENT>return error_response(<EOL>error_type="<STR_LIT>",<EOL>status=<NUM_LIT>,<EOL>participant=node.participant,<EOL>)<EOL><DEDENT>return success_response(info=info.__json__())<EOL>
Get a specific info.

    Both the node and info id must be specified in the url.