diff --git a/data/resume.pdf b/data/resume.pdf index 93b6a4d..0230050 100644 Binary files a/data/resume.pdf and b/data/resume.pdf differ diff --git a/server.py b/server.py index 49a8235..01e742b 100644 --- a/server.py +++ b/server.py @@ -410,27 +410,33 @@ def donateAmountPost(amount): # region Other API routes @app.route("/api/version") +@app.route("/api/v1/version") def version(): return jsonify({"version": getVersion()}) - +@app.route("/api") +@app.route("/api/") +@app.route("/api/v1") +@app.route("/api/v1/") @app.route("/api/help") def help(): return jsonify({ "message": "Welcome to Nathan.Woodburn/ API! This is a personal website. For more information, visit https://nathan.woodburn.au", "endpoints": { - "/api/time": "Get the current time", - "/api/timezone": "Get the current timezone", - "/api/message": "Get the message from the config", - "/api/ip": "Get your IP address", + "/api/v1/time": "Get the current time", + "/api/v1/timezone": "Get the current timezone", + "/api/v1/message": "Get the message from the config", + "/api/v1/ip": "Get your IP address", "/api/v1/project": "Get the current project from git", - "/api/version": "Get the current version of the website" + "/api/v1/version": "Get the current version of the website", + "/api/v1/help": "Get this help message" }, "version": getVersion() }) @app.route("/api/time") +@app.route("/api/v1/time") def time(): timezone_offset = datetime.timedelta(hours=ncConfig["time-zone"]) timezone = datetime.timezone(offset=timezone_offset) @@ -444,11 +450,13 @@ def time(): @app.route("/api/timezone") +@app.route("/api/v1/timezone") def timezone(): return jsonify({"timezone": ncConfig["time-zone"]}) @app.route("/api/timezone", methods=["POST"]) +@app.route("/api/v1/timezone", methods=["POST"]) def timezonePost(): # Refresh config global ncConfig @@ -467,16 +475,19 @@ def timezonePost(): @app.route("/api/message") +@app.route("/api/v1/message") def nc(): return jsonify({"message": ncConfig["message"]}) @app.route("/api/ip") +@app.route("/api/v1/ip") def ip(): return jsonify({"ip": getClientIP(request)}) @app.route("/api/email", methods=["POST"]) +@app.route("/api/v1/email", methods=["POST"]) def email(): # Verify json if not request.is_json: @@ -1335,7 +1346,6 @@ def podsync(): # endregion - # region Error Catching # 404 catch all @app.errorhandler(404) diff --git a/templates/resume.html b/templates/resume.html index e6afe2c..a04765c 100644 --- a/templates/resume.html +++ b/templates/resume.html @@ -67,7 +67,7 @@
Cybersecurity-focused computing student with hands-on experience in DNS, Linux system administration, server infrastructure, and decentralized technologies. Skilled in providing technical support, resolving complex domain-related issues, and engaging in open-source blockchain communities. Experienced speaker and contributor at Handshake-related conferences. Passionate about building secure, resilient, and privacy-respecting systems from the ground up.
+Linux and server administration student with experience managing servers, DNS, virtualization, and networking. Skilled in deploying and maintaining self-hosted services, troubleshooting complex system issues, and building resilient, automated infrastructures. Passionate about open-source tools and practical system design.