@golemio/waze-ccp 1.1.8-dev.1086028547 → 1.1.8-dev.1087364707
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/openapi-output.yaml +29 -0
- package/package.json +1 -1
package/docs/openapi-output.yaml
CHANGED
|
@@ -38,6 +38,23 @@ paths:
|
|
|
38
38
|
schema:
|
|
39
39
|
type: string
|
|
40
40
|
example: "2020-05-18T04:27:58.000Z"
|
|
41
|
+
- name: limit
|
|
42
|
+
in: query
|
|
43
|
+
description: >-
|
|
44
|
+
Limits number of retrieved items.
|
|
45
|
+
required: false
|
|
46
|
+
schema:
|
|
47
|
+
type: integer
|
|
48
|
+
format: int64
|
|
49
|
+
example: 10
|
|
50
|
+
- name: offset
|
|
51
|
+
in: query
|
|
52
|
+
description: Number of the first items that are skipped
|
|
53
|
+
required: false
|
|
54
|
+
schema:
|
|
55
|
+
type: integer
|
|
56
|
+
format: int64
|
|
57
|
+
example: 0
|
|
41
58
|
responses:
|
|
42
59
|
"200":
|
|
43
60
|
description: successful operation
|
|
@@ -74,6 +91,7 @@ components:
|
|
|
74
91
|
properties:
|
|
75
92
|
geometry:
|
|
76
93
|
type: object
|
|
94
|
+
description: incident location
|
|
77
95
|
properties:
|
|
78
96
|
coordinates:
|
|
79
97
|
type: array
|
|
@@ -88,36 +106,47 @@ components:
|
|
|
88
106
|
properties:
|
|
89
107
|
uuid:
|
|
90
108
|
type: string
|
|
109
|
+
description: incident location
|
|
91
110
|
example: "a6771712-9256-b870-c6d3-e232d9bc7b1a"
|
|
92
111
|
city:
|
|
93
112
|
type: string
|
|
113
|
+
description: city
|
|
94
114
|
example: "Praha"
|
|
95
115
|
street:
|
|
96
116
|
type: string
|
|
117
|
+
description: street
|
|
97
118
|
example: "Liberecká"
|
|
98
119
|
road_type:
|
|
99
120
|
type: integer
|
|
121
|
+
description: road type/class/level
|
|
100
122
|
example: 3
|
|
101
123
|
event_direction:
|
|
102
124
|
type: integer
|
|
125
|
+
description: driving angle in degrees according to the reporting driver (0-359, 0=North)
|
|
103
126
|
example: 41
|
|
104
127
|
published_at:
|
|
105
128
|
type: string
|
|
129
|
+
description: uuid publication date and time from Waze
|
|
106
130
|
example: "2023-11-20 15:38:04.105+01"
|
|
107
131
|
valid_from:
|
|
108
132
|
type: string
|
|
133
|
+
description: recording date and time to database
|
|
109
134
|
example: "2023-11-20 15:38:04.105+01"
|
|
110
135
|
last_reported_at:
|
|
111
136
|
type: string
|
|
137
|
+
description: date and time of last received incident to database
|
|
112
138
|
example: "2023-11-20 15:38:04.105+01"
|
|
113
139
|
reliability:
|
|
114
140
|
type: integer
|
|
141
|
+
description: reliability score based on other user’s reactions ('Thumbs up' etc.) and the level of the reporter; range 0-10, 10=max.
|
|
115
142
|
example: 5
|
|
116
143
|
confidence:
|
|
117
144
|
type: integer
|
|
145
|
+
description: confidence score based only on other user’s reactions ('Thumbs up' etc.); range 0-10, 10=max.
|
|
118
146
|
example: 0
|
|
119
147
|
duplicate_count:
|
|
120
148
|
type: integer
|
|
149
|
+
description: how many of one, two or more identical incidents with the same 'uuid' was dumped (0=origin, 1=the first duplicate appeared)
|
|
121
150
|
example: 1
|
|
122
151
|
type:
|
|
123
152
|
type: string
|