uptrakit_openapi_client/health.rs
1use crate::Result;
2use crate::UptrakitClient;
3
4impl UptrakitClient {
5 /// Check server health.
6 ///
7 /// This endpoint does not require authentication. Returns `"ok"` on success.
8 pub async fn healthz(&self) -> Result<String> {
9 self.get_text_unauth(crate::paths::health::HEALTHZ).await
10 }
11}