fix(server): add registry size/duplicate validation; update database and API docs

This commit is contained in:
Jannis Braun
2026-04-01 18:25:24 +02:00
parent 839197d4b8
commit b8ab162570
3 changed files with 32 additions and 0 deletions
+2
View File
@@ -22,6 +22,8 @@ POST /users/@me/verify-password { password } → { valid }
POST /users/@me/change-password { currentPassword?, newPassword } → { token }
DELETE /users/@me { password, username } → { success }
PUT /users/@me/space-layout { items, folders, updatedAt? } → { items, folders, updatedAt }
GET /users/@me/federation-registry → { registry: FederationRegistryEntry[], updatedAt: number }
PUT /users/@me/federation-registry { registry, updatedAt } → { ok: true, updatedAt } (409 if not newer)
GET /users/:id → { user }
GET /users/:id/mutuals ?homeUserId= → { mutualFriends[], mutualSpaces[] }
```