refactor: move backend in apps/backend

This commit is contained in:
Giovanni committed 2026-10-03 18:35:36 +02:00
1 parent cf529278bd
commit e2b471312c
178 files changed
+210 -193

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
meta {
name: Update profile photo
type: http
seq: 2
}
post {
url: {{url}}/api/profile-photo
body: multipartForm
auth: inherit
}
body:multipart-form {
photo: @file(photo.jpg)
}
assert {
res.status: eq 200
res.body.profile_photo_path: isDefined
}
settings {
encodeUrl: true
timeout: 0
}
docs {
# /profile-photo -- POST
Met à jour la photo de profil de l'utilisateur connecté.
L'ancienne photo est supprimée si elle existe.
Authentification requise.
Entrée: photo (fichier image jpeg/png/jpg/gif, max 2MB)
}