@dasch-swiss/dsp-js
Version:
JavaScript library that handles API requests to Knora
22 lines (21 loc) • 623 B
TypeScript
import { ListNodeV2 } from "../../../models/v2/lists/list-node-v2";
import { Endpoint } from "../../endpoint";
/**
* Handles requests to the lists route of the Knora API.
*
* @category Endpoint V2
*/
export declare class ListsEndpointV2 extends Endpoint {
/**
* Get a specific list node.
*
* @param nodeIri the Ir of the list node to be fetched.
*/
getNode(nodeIri: string): import("rxjs").Observable<ListNodeV2>;
/**
* Get an entire list.
*
* @param rootNodeIri the list's root node Iri.
*/
getList(rootNodeIri: string): import("rxjs").Observable<ListNodeV2>;
}