feat(libs): create library by name only; root_path derived server-side as BOOKS_DIR/SafeName(name), validated at creation; drop root_path input from admin UI; align changelogs to bilingual template; trim AGENTS.md to rules not derivable from repo layout
This commit is contained in:
@@ -77,7 +77,7 @@ POST /api/users ★ {username,password,role}
|
||||
DELETE /api/users/{id} ★
|
||||
|
||||
GET /api/libraries
|
||||
POST /api/libraries ★ {name,root_path}
|
||||
POST /api/libraries ★ {name} → root_path 由服务端生成(BooksDir/清洗后的库名)
|
||||
POST /api/libraries/{id}/scan ★ → 202 异步
|
||||
POST /api/libraries/{id}/upload multipart ★ → 202
|
||||
|
||||
|
||||
Reference in New Issue
Block a user