getQueueCertificates method
Get the number of certificates that are waiting to be issued against Letsencrypt in the Appwrite internal queue server.
Implementation
Future<models.HealthQueue> getQueueCertificates({int? threshold}) async {
final String apiPath = '/health/queue/certificates';
final Map<String, dynamic> apiParams = {'threshold': threshold};
final Map<String, String> apiHeaders = {};
final res = await client.call(
HttpMethod.get,
path: apiPath,
params: apiParams,
headers: apiHeaders,
);
return models.HealthQueue.fromMap(res.data);
}