@application.route('/availability', methods=['GET'])
def availability():
    return jsonify(server.availability.as_dict())
@application.route('/availability', methods=['GET'])
def availability():
    return jsonify(server.availability.as_dict())