MCPcopy
hub / github.com/1Panel-dev/MaxKB / getDocumentDetail

Function getDocumentDetail

ui/src/api/shared-workspace.ts:76–82  ·  view source on GitHub ↗
(knowledge_id, document_id, loading)

Source from the content-addressed store, hash-verified

74 document_id: string,
75 loading?: Ref<boolean>,
76) => Promise<Result<any>> = (knowledge_id, document_id, loading) => {
77 return get(
78 `${prefix}/${prefix_workspace.value}/knowledge/${knowledge_id}/document/${document_id}`,
79 {},
80 loading,
81 )
82}
83
84/**
85 * 问题分页列表

Callers

nothing calls this directly

Calls 1

getFunction · 0.90

Tested by

no test coverage detected