We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8066dad commit 6c0f88cCopy full SHA for 6c0f88c
Sources/Appwrite/Services/Health.swift
@@ -644,7 +644,7 @@ open class Health: Service {
644
/// @throws Exception
645
/// @return array
646
///
647
- open func getQueueUsage(
+ open func getQueueUsageDump(
648
threshold: Int? = nil
649
) async throws -> AppwriteModels.HealthQueue {
650
let apiPath: String = "/health/queue/usage-dump"
docs/examples/health/get-queue-usage-dump.md
@@ -0,0 +1,13 @@
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
0 commit comments