2022-02-21 18:47:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
curl -X 'POST' \
|
2022-07-05 09:53:37 +00:00
|
|
|
'http://localhost:8080/api/v3/jobs' \
|
2022-02-21 18:47:44 +00:00
|
|
|
-H 'accept: application/json' \
|
|
|
|
-H 'Content-Type: application/json' \
|
|
|
|
-d '{
|
|
|
|
"metadata": {
|
2022-02-21 18:58:29 +00:00
|
|
|
"project": "Debugging Flamenco",
|
2022-05-12 09:04:05 +00:00
|
|
|
"user.name": "dr. Sybren",
|
|
|
|
"duration": "long"
|
2022-02-21 18:47:44 +00:00
|
|
|
},
|
2022-05-12 09:04:05 +00:00
|
|
|
"name": "Talk & Sleep longer",
|
|
|
|
"priority": 3,
|
2022-02-21 18:47:44 +00:00
|
|
|
"settings": {
|
2022-05-12 09:04:05 +00:00
|
|
|
"sleep_duration_seconds": 20,
|
2022-07-07 08:26:18 +00:00
|
|
|
"sleep_repeats": 1,
|
2022-05-12 09:04:05 +00:00
|
|
|
"message": "Blender is {blender}"
|
2022-02-21 18:47:44 +00:00
|
|
|
},
|
2022-07-21 14:41:40 +00:00
|
|
|
"type": "echo-sleep-test",
|
|
|
|
"submitter_platform": "manager"
|
2022-02-21 18:47:44 +00:00
|
|
|
}'
|