-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathapi-v4-timers.http
More file actions
25 lines (20 loc) · 877 Bytes
/
api-v4-timers.http
File metadata and controls
25 lines (20 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Use TalkId=7000 for PublicTalk or 1000 for OpeningComments
### Get Timer Information
# Should return 200 with json body containing info for all talks
GET {{baseUrl}}/api/{{apiVersion}}/timers
x-api-code: {{apiCode}}
### Get Timer Information for talk 1000
# Should return 200 with json body containing info for all talks
GET {{baseUrl}}/api/{{apiVersion}}/timers/1000
x-api-code: {{apiCode}}
### Start Timer (POST) for the first talk ("1000")
# should return 200 with json body showing talk 1000 and
# containing success flag to indicate if the timer was
# stopped successfully
POST {{baseUrl}}/api/{{apiVersion}}/timers/7000
x-api-code: {{apiCode}}
### Stop the above Timer (DELETE)
# Should return 200 with json body containing success flag to indicate if
# the timer was stopped successfully
DELETE {{baseUrl}}/api/{{apiVersion}}/timers/1000
x-api-code: {{apiCode}}