@plugin.route('/execution/<string:exec_uuid>/', methods=['GET'])
def execution_results(exec_uuid):
    try:
        execution_uuid = persistence.get('execution').get(exec_uuid).get('uuid')
    except AttributeError:
        return ('No execution found with that ID.', 404)
    results_zip_path = os.path.join(storage_path, execution_uuid, result_zip_file_name)
    if os.path.isfile(results_zip_path):
        return send_file(results_zip_path)
    else:
        return ('No results available (yet).', 404)
@plugin.route('/execution/<string:exec_uuid>/', methods=['GET'])
def execution_results(exec_uuid):
    try:
        execution_uuid = persistence.get('execution').get(exec_uuid).get('uuid')
    except AttributeError:
        return ('No execution found with that ID.', 404)
    results_zip_path = os.path.join(storage_path, execution_uuid, result_zip_file_name)
    if os.path.isfile(results_zip_path):
        return send_file(results_zip_path)
    else:
        return ('No results available (yet).', 404)