Folders
Add files to a folder
Changed onAdds up to 100 files to the folder. A file can be in several folders. Partial success: the response sorts every requested id into linked, already_linked or not_found (unknown or not owned by the caller), so one bad id does not lose the rest.
post/workspaces/{id}/files
Request
- Base URL: https://api.varg.ai/v2
- URL: https://api.varg.ai/v2/workspaces/{id}/files
- Auth: HTTP bearer
Path parameters
idstring required
Folder id (uuid) or slug.
Request body
Example request
{
"file_ids": [
"file_abc123",
"file_def456"
]
}Response
Result per file id
Changes
- info
endpoint added
- info