MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / createRecord

Function createRecord

frontend/src/axios/chunk.ts:22–25  ·  view source on GitHub ↗
(collectionId: string, params: object)

Source from the content-addressed store, hash-verified

20 return await request.get(`${project_base_url}/collections/${collectionId}/chunks?${str}`)
21}
22const createRecord = async (collectionId: string, params: object) => {
23 const project_base_url = `api/v1`
24 return await request.post(`${project_base_url}/collections/${collectionId}/chunks`, params)
25}
26const deleteRecord = async (collectionId: string, id: string) => {
27 const project_base_url = `api/v1`
28 return await request.delete(`${project_base_url}/collections/${collectionId}/chunks/${id}`)

Callers 2

handleConfirmFunction · 0.90
handleConfirmFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected