2 Commits
Author SHA1 Message Date
nyeki 8dbdc23e52 Release 1.1.0 version 2025-07-13 16:11:25 -03:00
nyeki 446dc4b47f Add healthcheck endpoint 2025-07-13 19:07:12 +00:00
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "api"
version = "1.0.0"
version = "1.1.0"
edition = "2024"
[dependencies]
+7
View File
@@ -31,6 +31,9 @@ async fn docs() -> &'static str {
The current endpoints are:
GET /healthcheck
Returns OK when the API is running.
GET /v1/profile
Return's the user's profile (username, name, avatar, banner, and URL).
@@ -113,3 +116,7 @@ async fn docs() -> &'static str {
"
)
}
async fn healthcheck() -> &'static str {
"OK"
}