Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8dbdc23e52 | ||
|
|
446dc4b47f |
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "api"
|
||||
version = "1.0.0"
|
||||
version = "1.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user