|
|
@@ -224,6 +224,18 @@ class ApiClient {
|
|
|
return $this->sendRequest('GET', $url);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Return users quota
|
|
|
+ *
|
|
|
+ * @param username: The username under which the domain is deployed
|
|
|
+ *
|
|
|
+ * @return a json with ['status' => $httpCode,'response' => $response'];
|
|
|
+ */
|
|
|
+ public function getQuota($username) {
|
|
|
+ $url = "$this->apiUrl/getquota/$username";
|
|
|
+ return $this->sendRequest('GET', $url);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Disables the prod webpage
|
|
|
*
|