Method
put
(self, request: Request, workspace_id: str, knowledge_id: str, document_id: str)
Source from the content-addressed store, hash-verified
| 349 | ), |
| 350 | ) |
| 351 | def put(self, request: Request, workspace_id: str, knowledge_id: str, document_id: str): |
| 352 | return result.success( |
| 353 | DocumentSerializers.Sync( |
| 354 | data={"document_id": document_id, "knowledge_id": knowledge_id, "workspace_id": workspace_id} |
| 355 | ).sync() |
| 356 | ) |
| 357 | |
| 358 | class Refresh(APIView): |
| 359 | authentication_classes = [TokenAuth] |
Callers
nothing calls this directly
Tested by
no test coverage detected