MCPcopy
hub / github.com/makeplane/plane / create

Method create

packages/services/src/module/module.service.ts:29–35  ·  view source on GitHub ↗
(workspaceSlug: string, projectId: string, data: any)

Source from the content-addressed store, hash-verified

27 }
28
29 async create(workspaceSlug: string, projectId: string, data: any): Promise<IModule> {
30 return this.post(`/api/workspaces/${workspaceSlug}/projects/${projectId}/modules/`, data)
31 .then((response) => response?.data)
32 .catch((error) => {
33 throw error?.response?.data;
34 });
35 }
36
37 async retrieve(workspaceSlug: string, projectId: string, moduleId: string): Promise<IModule> {
38 return this.get(`/api/workspaces/${workspaceSlug}/projects/${projectId}/modules/${moduleId}/`)

Callers

nothing calls this directly

Calls 1

postMethod · 0.45

Tested by

no test coverage detected