File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Sources/Appwrite/Services Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -644,7 +644,7 @@ open class Health: Service {
644644 /// @throws Exception
645645 /// @return array
646646 ///
647- open func getQueueUsage (
647+ open func getQueueUsageDump (
648648 threshold: Int ? = nil
649649 ) async throws -> AppwriteModels . HealthQueue {
650650 let apiPath : String = " /health/queue/usage-dump "
Original file line number Diff line number Diff line change 1+ import Appwrite
2+
3+ let client = Client()
4+ .setEndpoint("https://cloud.appwrite.io/v1 ") // Your API Endpoint
5+ .setProject("5df5acd0d48c2") // Your project ID
6+ .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key
7+
8+ let health = Health(client)
9+
10+ let healthQueue = try await health.getQueueUsageDump(
11+ threshold: 0 // optional
12+ )
13+
You can’t perform that action at this time.
0 commit comments