Authentification

Upload avatar custom (utilisé après crop côté client).

Upload avatar custom (utilisé après crop côté client).

Body : multipart/form-data avec champ 'file'. Le client peut envoyer
soit le fichier original, soit un blob de crop (canvas .toBlob()).
Le serveur stocke tel quel et n'applique pas de re-resize côté
backend — confiance dans le crop client (cohérent avec MAX 2 Mo).
post/api/v1/auth/me/avatar

Request

  • Base URL: https://erp.eyeot.fr/api/v1
  • URL: https://erp.eyeot.fr/api/v1/api/v1/auth/me/avatar
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Response

Succès — payload {data, meta} (cf. API-GUIDE §3.1)

Changes

No recorded changes to this operation across all 1 revision of this API.