Updagre tests
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
meta {
|
||||
name: Export ICS
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/api/export/ics/{{userId}}
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
userId: 2398
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
res.headers.content-type: contains "text/calendar"
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
docs {
|
||||
# /export/ics/{userId} -- GET
|
||||
|
||||
Exporte les tâches d'un utilisateur au format iCalendar (.ics).
|
||||
|
||||
Retourne un fichier téléchargeable agenda_user_{id}.ics.
|
||||
|
||||
Entrée: userId (identifiant de l'utilisateur)
|
||||
}
|
||||
Reference in New Issue
Block a user