30 lines
384 B
Plaintext
30 lines
384 B
Plaintext
meta {
|
|
name: Get profile photo
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: {{url}}/api/profile-photo
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
res.body.profile_photo_path: isDefined
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
# /profile-photo -- GET
|
|
|
|
Retourne le chemin de la photo de profil de l'utilisateur connecté.
|
|
|
|
Authentification requise.
|
|
}
|