|
@@ -23,3 +23,21 @@ Content-Type: application/json
|
23
|
23
|
Content-Length: 56
|
24
|
24
|
|
25
|
25
|
{"id":1,"name":"Launch","datetime":null,"visitors":null}
|
|
26
|
+===
|
|
27
|
+PUT /records/events/1
|
|
28
|
+
|
|
29
|
+{"datetime":"2016-01-01 13:01:01","visitors":0}
|
|
30
|
+===
|
|
31
|
+200
|
|
32
|
+Content-Type: application/json
|
|
33
|
+Content-Length: 1
|
|
34
|
+
|
|
35
|
+1
|
|
36
|
+===
|
|
37
|
+GET /records/events/1
|
|
38
|
+===
|
|
39
|
+200
|
|
40
|
+Content-Type: application/json
|
|
41
|
+Content-Length: 70
|
|
42
|
+
|
|
43
|
+{"id":1,"name":"Launch","datetime":"2016-01-01 13:01:01","visitors":0}
|