Appearance
Download folders and files
About 155 wordsLess than 1 minute
apiFiles
2025-03-13
MethodPOST
Request URL
/plugin/datafor-modeler/api/repo/files/downloadList
Authorization
The current user must have read access to the specified folder or file.
Content Typeapplication/json
Request Example
{
"pathList": ["/public/ivan.datafor"]
}
Params
Name | Location | Type | Required | Description |
---|---|---|---|---|
body | body | object | No | JSON payload containing file paths to download. |
pathList | body | array | No | List of file or folder paths to download. |
Response Examples
✅ Success Response
{
"success": true
}
HTTP Responses
HTTP Status Code | Meaning | Description |
---|---|---|
200 | OK | Request successful, file(s) ready for download. |
400 | Bad Request | Invalid input provided. |
401 | Unauthorized | Authentication required. |
403 | Forbidden | User lacks required permissions. |
404 | Not Found | File or folder not found. |
500 | Internal Server Error | Unexpected error occurred. |
Response Data Schema
Name | Type | Required | Description |
---|---|---|---|
success | boolean | Yes | true if the request was successful, otherwise false . |