update: Dockerfile
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
| `parent_path` | 否 | 父目录相对路径,空字符串或缺省表示用户根目录 |
|
||||
|
||||
- **父目录存在性校验**: 必须在 `StorageObjects` 存在 `relative_path == scoped_prefix/{parent}` 的行,或 `relative_path` 以 `scoped_prefix/{parent}/` 开头。否则 **404**。
|
||||
- **同名冲突**: 已有 `relative_path` 完全相等的行(无论 file / directory) → **409**。`uk_storage_workspace_path(workspace_id, storage_backend, path_hash)` 唯一索引保证幂等。
|
||||
- **同名冲突**: 已有 `relative_path` 完全相等的行(无论 file / directory) → **409**。冲突判定由应用层 `SELECT ... FOR UPDATE` 完成;`idx_storage_workspace_path(workspace_id, storage_backend, path_hash)` 仅作为查找索引,不再提供 DB 级唯一性兜底。
|
||||
- **响应 201**:
|
||||
```json
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user