UNPKG

graphdb-workbench

Version:
16 lines (15 loc) 648 B
import { HttpService } from '../http/http.service'; import { NamespacesResponse } from '../../models/repositories/namespace/api/namespaces-response'; /** * Service for interacting with the RDF4J repository REST API. */ export declare class NamespacesRestService extends HttpService { private readonly REPOSITORIES_ENDPOINT; /** * Retrieves namespace information for a specific repository. * * @param repositoryId - The id of the repository. * @returns A Promise that resolves to a NamespacesResponse object containing namespace mappings. */ getNamespaces(repositoryId: string): Promise<NamespacesResponse>; }