36 lines
454 B
Plaintext
36 lines
454 B
Plaintext
meta {
|
|
name: Get user tasks by id
|
|
type: http
|
|
seq: 10
|
|
}
|
|
|
|
get {
|
|
url: {{url}}/api/users/{{id}}/tasks
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
vars:pre-request {
|
|
id: 2398
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
res.body.data: isDefined
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
# /users/{id}/tasks -- GET
|
|
|
|
Retourne les tâches d'un utilisateur spécifique par son ID.
|
|
|
|
Authentification requise.
|
|
|
|
Entrée: id (identifiant de l'utilisateur)
|
|
}
|