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

Method post

apps/folders/views/folder.py:58–63  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str, source: str)

Source from the content-addressed store, hash-verified

56
57 )
58 def post(self, request: Request, workspace_id: str, source: str):
59 return result.success(FolderSerializer.Create(
60 data={'user_id': request.user.id,
61 'source': source,
62 'workspace_id': workspace_id}
63 ).insert(request.data))
64
65 @extend_schema(
66 methods=['GET'],

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected