- * Gets A1 Mediator client version details
- * @returns Observable that should yield a SuccessTransport object
+ * Gets version details
+ * @returns Observable that should yield a String
+ */
+ getVersion(): Observable<string> {
+ const url = this.buildPath('version');
+ return this.httpClient.get<DashboardSuccessTransport>(url).pipe(
+ // Extract the string here
+ map(res => res['data'])
+ );
+ }
+
+ /**
+ * Gets admission control policy.
+ * @returns Observable that should yield an ACAdmissionIntervalControl