File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
tests/functional/001_records Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ GET /records/events/1?columns=visitors
2
+ ===
3
+ 200
4
+ Content-Type: application/json
5
+ Content-Length: 14
6
+
7
+ {"visitors":0}
8
+ ===
9
+ PATCH /records/events/1
10
+
11
+ {"visitors":1}
12
+ ===
13
+ 200
14
+ Content-Type: application/json
15
+ Content-Length: 1
16
+
17
+ 1
18
+ ===
19
+ PATCH /records/events/1,1
20
+
21
+ [{"visitors":1},{"visitors":1}]
22
+ ===
23
+ 200
24
+ Content-Type: application/json
25
+ Content-Length: 5
26
+
27
+ [1,1]
28
+ ===
29
+ GET /records/events/1?columns=visitors
30
+ ===
31
+ 200
32
+ Content-Type: application/json
33
+ Content-Length: 14
34
+
35
+ {"visitors":3}
36
+ ===
37
+ PATCH /records/events/1
38
+
39
+ {"visitors":-3}
40
+ ===
41
+ 200
42
+ Content-Type: application/json
43
+ Content-Length: 1
44
+
45
+ 1
46
+ ===
47
+ GET /records/events/1?columns=visitors
48
+ ===
49
+ 200
50
+ Content-Type: application/json
51
+ Content-Length: 14
52
+
53
+ {"visitors":0}
You can’t perform that action at this time.
0 commit comments