Updagre tests

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2026-03-25 14:31:54 +01:00
parent 138077fa75
commit 12440232da
36 changed files with 449 additions and 20 deletions
+35
View File
@@ -0,0 +1,35 @@
meta {
name: Get user task by task id
type: http
seq: 15
}
get {
url: {{url}}/api/users/tasks/{{taskId}}
body: none
auth: inherit
}
vars:pre-request {
taskId: 1
}
assert {
res.status: eq 200
res.body.data: isDefined
}
settings {
encodeUrl: true
timeout: 0
}
docs {
# /users/tasks/{idTask} -- GET
Retourne une tâche spécifique de l'utilisateur connecté par l'ID de la tâche.
Authentification requise.
Entrée: taskId (identifiant de la tâche)
}