Module
x/windmill/windmill-api/services/SettingsService.ts
Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Extremely Popular
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859/* istanbul ignore file *//* tslint:disable *//* eslint-disable */import type { CancelablePromise } from '../core/CancelablePromise.ts';import { OpenAPI } from '../core/OpenAPI.ts';import { request as __request } from '../core/request.ts';
export class SettingsService {
/** * get backend version * @returns string git version of backend * @throws ApiError */ public static backendVersion(): CancelablePromise<string> { return __request(OpenAPI, { method: 'GET', url: '/version', }); }
/** * is backend up to date * @returns string is backend up to date * @throws ApiError */ public static backendUptodate(): CancelablePromise<string> { return __request(OpenAPI, { method: 'GET', url: '/uptodate', }); }
/** * get license id * @returns string get license id (empty if not ee) * @throws ApiError */ public static getLicenseId(): CancelablePromise<string> { return __request(OpenAPI, { method: 'GET', url: '/ee_license', }); }
/** * get openapi yaml spec * @returns string openapi yaml file content * @throws ApiError */ public static getOpenApiYaml(): CancelablePromise<string> { return __request(OpenAPI, { method: 'GET', url: '/openapi.yaml', }); }
}