(collectionId: string, id: string)
| 33 | return await request.post(`${project_base_url}/collections/${collectionId}/chunks/${id}`, params) |
| 34 | } |
| 35 | const getRecord = async (collectionId: string, id: string) => { |
| 36 | const project_base_url = `api/v1` |
| 37 | return await request.get(`${project_base_url}/collections/${collectionId}/chunks/${id}`) |
| 38 | } |
| 39 | export { getRecordsList, createRecord, deleteRecord, updateRecord, getRecord } |