graphdb-workbench
Version:
The web application for GraphDB APIs
18 lines (17 loc) • 688 B
TypeScript
import { License } from '../../models/license';
import { HttpService } from '../http/http.service';
/**
* Service class for handling REST API calls related to license operations.
* Extends the HttpService to utilize its HTTP request capabilities.
*/
export declare class LicenseRestService extends HttpService {
/**
* Retrieves the current license information from the GraphDB settings.
*
* This method sends a GET request to the '/rest/graphdb-settings/license' endpoint
* to fetch the license details.
*
* @returns A Promise that resolves to a License object containing the current license information.
*/
getLicense(): Promise<License>;
}