MCPcopy
hub / github.com/Zleap-AI/SAG / updateProject

Function updateProject

web/src/lib/api.ts:64–69  ·  view source on GitHub ↗
(projectId: string, input: { name?: string; description?: string | null })

Source from the content-addressed store, hash-verified

62 },
63
64 async updateProject(projectId: string, input: { name?: string; description?: string | null }) {
65 return request<{ project: SourceRecord }>(`/api/projects/${projectId}`, {
66 method: "PATCH",
67 body: JSON.stringify(input)
68 });
69 },
70
71 async archiveProject(projectId: string) {
72 return request<{ project: SourceRecord }>(`/api/projects/${projectId}/archive`, {

Callers

nothing calls this directly

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected