Add files to a project
The unique identifier of the project
Request with file IDs to add
Response with added files status
401 - Not authenticated
404 - Project or file not found
import { addFilesToProject } from "@cpod/sdk";const result = await addFilesToProject("project-123", { file_ids: ["file-1", "file-2", "file-3"],});console.log(`Added ${result.added_count} files`); Copy
import { addFilesToProject } from "@cpod/sdk";const result = await addFilesToProject("project-123", { file_ids: ["file-1", "file-2", "file-3"],});console.log(`Added ${result.added_count} files`);
Add files to a project