@app.route("<STR_LIT>", methods=["<STR_LIT:POST>"])<EOL>@crossdomain(origin="<STR_LIT:*>")<EOL>def tracking_event_post(node_id):
details = request_parameter(parameter="<STR_LIT>", optional=True)<EOL>if details:<EOL><INDENT>details = loads(details)<EOL><DEDENT>node = models.Node.query.get(node_id)<EOL>if node is None:<EOL><INDENT>return error_response(error_type="<STR_LIT>")<EOL><DEDENT>db.logger.debug(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>node_id,<EOL>)<EOL>q.enqueue(<EOL>worker_function, "<STR_LIT>", None, None, node_id=node_id, details=details<EOL>)<EOL>return success_response(details=details)<EOL>
Enqueue a TrackingEvent worker for the specified Node.