Support multi-size photo avatar uploads and crop endpoint

FeatureSecurityService
Shipped
2026年3月23日 20:15 UTC
Author
Kamo
Commit
5015273

Update uploadPhotoAvatar to accept optional sized variants (fileSm, fileMd, fileLg) stored with suffix naming ({hash}_sm.png, etc). Add PUT /{id}/crop endpoint for re-cropping existing photos. GET endpoints now return url pointing to _sm variant and urlOriginal for the full image. Delete removes all 4 file variants.

All changes

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る