Armin Friedl
d45d2fa982
All checks were successful
continuous-integration/drone/push Build is passing
18 lines
387 B
HTTP
18 lines
387 B
HTTP
# Create a new countdown clock with
|
|
# 5000 seconds
|
|
POST http://localhost:5000/countdown/api/v1
|
|
Content-Type: application/json
|
|
|
|
{"total": "150"}
|
|
|
|
# Set id
|
|
:id = cddabcb5-9da1-4ecb-ad36-2ca468da68e1
|
|
|
|
# Start
|
|
PATCH http://localhost:5000/countdown/api/v1/start/:id
|
|
|
|
# Stop
|
|
PATCH http://localhost:5000/countdown/api/v1/stop/:id
|
|
|
|
# Reset
|
|
PATCH http://localhost:5000/countdown/api/v1/reset/:id
|