37 lines
1.1 KiB
JavaScript
37 lines
1.1 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.StatusService = void 0;
|
|
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
const request_1 = require("../core/request");
|
|
class StatusService {
|
|
/**
|
|
* Get
|
|
* A very basic status/health endpoint that just checks if the database connection is available. <br> The available information depth will be expanded later.
|
|
* @result any Successful response
|
|
* @throws ApiError
|
|
*/
|
|
static async statusControllerGet() {
|
|
const result = await (0, request_1.request)({
|
|
method: 'GET',
|
|
path: `/api/status`,
|
|
});
|
|
return result.body;
|
|
}
|
|
/**
|
|
* Get version
|
|
* A very basic endpoint that just returns the curent package version.
|
|
* @result any Successful response
|
|
* @throws ApiError
|
|
*/
|
|
static async statusControllerGetVersion() {
|
|
const result = await (0, request_1.request)({
|
|
method: 'GET',
|
|
path: `/api/version`,
|
|
});
|
|
return result.body;
|
|
}
|
|
}
|
|
exports.StatusService = StatusService;
|