MCPcopy Create free account
hub / github.com/SecureAI-Tools/SecureAI-Tools / postDocumentApiPath

Function postDocumentApiPath

apps/web/lib/fe/api-paths.ts:63–67  ·  view source on GitHub ↗
(
  documentCollectionId: Id<DocumentCollectionResponse>,
)

Source from the content-addressed store, hash-verified

61};
62
63export const postDocumentApiPath = (
64 documentCollectionId: Id<DocumentCollectionResponse>,
65): string => {
66 return `/api/document-collections/${documentCollectionId}/documents`;
67};
68
69
70export const getDocumentCollectionDocumentsApiPath = ({

Callers 1

createDocumentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected