Download frontend/src/api/activity.js from shak3008/DocWeave: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/spaces/shak3008/DocWeave/resolve/main/frontend/src/api/activity.js
- Command line
-
hf download hf://spaces/shak3008/DocWeave/frontend/src/api/activity.js
-
curl -L -o activity.js https://huggingface.co/spaces/shak3008/DocWeave/resolve/main/frontend/src/api/activity.js
301 Bytes
| import { apiRequest } from "./client"; | |
| export async function listActivity(workspaceId, limit = 50, cursor = null) { | |
| let url = `/activity?workspace_id=${encodeURIComponent(workspaceId)}&limit=${limit}`; | |
| if (cursor) url += `&cursor=${encodeURIComponent(cursor)}`; | |
| return apiRequest(url); | |
| } | |