36 lines
487 B
Plaintext
Executable File
36 lines
487 B
Plaintext
Executable File
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)
|
|
}
|