@golemio/parkings 1.4.15-dev.884898708 → 1.4.15-dev.889388337
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.yaml +81 -54
- package/docs/postmanCollectionGenerated.json +1177 -0
- package/package.json +4 -1
package/docs/openapi.yaml
CHANGED
|
@@ -73,19 +73,26 @@ paths:
|
|
|
73
73
|
schema:
|
|
74
74
|
type: number
|
|
75
75
|
example: 0
|
|
76
|
-
- name:
|
|
76
|
+
- name: timeCondition
|
|
77
77
|
in: query
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
example: 2022-07-25
|
|
82
|
-
- name: minutesBefore
|
|
83
|
-
in: query
|
|
84
|
-
description: Lists items updated since given number of minutes
|
|
78
|
+
required: true
|
|
79
|
+
style: form
|
|
80
|
+
explode: true
|
|
85
81
|
schema:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
82
|
+
type: object
|
|
83
|
+
properties:
|
|
84
|
+
minutesBefore:
|
|
85
|
+
type: number
|
|
86
|
+
example: 10
|
|
87
|
+
description: Lists items updated since given number of minutes
|
|
88
|
+
updatedSince:
|
|
89
|
+
type: string
|
|
90
|
+
example: 2022-07-25
|
|
91
|
+
description: Lists items updated after given date (ISO format expected)
|
|
92
|
+
additionalProperties: false
|
|
93
|
+
oneOf:
|
|
94
|
+
- required: [ minutesBefore ]
|
|
95
|
+
- required: [ updatedSince ]
|
|
89
96
|
responses:
|
|
90
97
|
200:
|
|
91
98
|
description: OK
|
|
@@ -118,7 +125,7 @@ paths:
|
|
|
118
125
|
required: true
|
|
119
126
|
schema:
|
|
120
127
|
type: string
|
|
121
|
-
example:
|
|
128
|
+
example: korid-20
|
|
122
129
|
responses:
|
|
123
130
|
200:
|
|
124
131
|
description: OK
|
|
@@ -185,18 +192,26 @@ paths:
|
|
|
185
192
|
schema:
|
|
186
193
|
type: number
|
|
187
194
|
example: 0
|
|
188
|
-
- name:
|
|
189
|
-
in: query
|
|
190
|
-
description: Lists items updated after given date (ISO format expected)
|
|
191
|
-
schema:
|
|
192
|
-
type: string
|
|
193
|
-
example: 2022-07-25
|
|
194
|
-
- name: minutesBefore
|
|
195
|
+
- name: timeCondition
|
|
195
196
|
in: query
|
|
196
|
-
|
|
197
|
+
required: true
|
|
198
|
+
style: form
|
|
199
|
+
explode: true
|
|
197
200
|
schema:
|
|
198
|
-
type:
|
|
199
|
-
|
|
201
|
+
type: object
|
|
202
|
+
properties:
|
|
203
|
+
minutesBefore:
|
|
204
|
+
type: number
|
|
205
|
+
example: 10
|
|
206
|
+
description: Lists items updated since given number of minutes
|
|
207
|
+
updatedSince:
|
|
208
|
+
type: string
|
|
209
|
+
example: 2022-07-25
|
|
210
|
+
description: Lists items updated after given date (ISO format expected)
|
|
211
|
+
additionalProperties: false
|
|
212
|
+
oneOf:
|
|
213
|
+
- required: [ minutesBefore ]
|
|
214
|
+
- required: [ updatedSince ]
|
|
200
215
|
- name: zoneType
|
|
201
216
|
in: query
|
|
202
217
|
description: Filter by parking zone. Use with square brackets `zoneType[]`,
|
|
@@ -252,7 +267,7 @@ paths:
|
|
|
252
267
|
required: true
|
|
253
268
|
schema:
|
|
254
269
|
type: string
|
|
255
|
-
example:
|
|
270
|
+
example: korid-20
|
|
256
271
|
responses:
|
|
257
272
|
200:
|
|
258
273
|
description: OK
|
|
@@ -287,9 +302,9 @@ paths:
|
|
|
287
302
|
in: query
|
|
288
303
|
description: Show only the latest measurement.
|
|
289
304
|
schema:
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
305
|
+
type: boolean
|
|
306
|
+
example: true
|
|
307
|
+
default: false
|
|
293
308
|
- name: from
|
|
294
309
|
in: query
|
|
295
310
|
description: Date in ISO8601, limits data measured from this datetime.
|
|
@@ -314,18 +329,26 @@ paths:
|
|
|
314
329
|
schema:
|
|
315
330
|
type: number
|
|
316
331
|
example: 0
|
|
317
|
-
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
332
|
+
- name: timeCondition
|
|
333
|
+
in: query
|
|
334
|
+
required: true
|
|
335
|
+
style: form
|
|
336
|
+
explode: true
|
|
337
|
+
schema:
|
|
338
|
+
type: object
|
|
339
|
+
properties:
|
|
340
|
+
minutesBefore:
|
|
341
|
+
type: number
|
|
342
|
+
example: 10
|
|
343
|
+
description: Lists items updated since given number of minutes
|
|
344
|
+
updatedSince:
|
|
345
|
+
type: string
|
|
346
|
+
example: 2022-07-25
|
|
347
|
+
description: Lists items updated after given date (ISO format expected)
|
|
348
|
+
additionalProperties: false
|
|
349
|
+
oneOf:
|
|
350
|
+
- required: [ minutesBefore ]
|
|
351
|
+
- required: [ updatedSince ]
|
|
329
352
|
responses:
|
|
330
353
|
200:
|
|
331
354
|
description: OK
|
|
@@ -447,10 +470,10 @@ components:
|
|
|
447
470
|
type: number
|
|
448
471
|
example:
|
|
449
472
|
[[
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
473
|
+
[14.50823156003554, 50.10498927328214],
|
|
474
|
+
[14.505782430390298, 50.1031042405622],
|
|
475
|
+
[14.509701037821998, 50.1029471511537],
|
|
476
|
+
[14.50823156003554, 50.10498927328214]
|
|
454
477
|
]]
|
|
455
478
|
description: Polygon
|
|
456
479
|
- type: array
|
|
@@ -464,18 +487,18 @@ components:
|
|
|
464
487
|
type: number
|
|
465
488
|
example:
|
|
466
489
|
[
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
490
|
+
[[
|
|
491
|
+
[14.50823156003554, 50.10498927328214],
|
|
492
|
+
[14.505782430390298, 50.1031042405622],
|
|
493
|
+
[14.509701037821998, 50.1029471511537],
|
|
494
|
+
[14.50823156003554, 50.10498927328214]
|
|
495
|
+
]],
|
|
496
|
+
[[
|
|
497
|
+
[14.50823156003554, 50.10498927328214],
|
|
498
|
+
[14.505782430390298, 50.1031042405622],
|
|
499
|
+
[14.509701037821998, 50.1029471511537],
|
|
500
|
+
[14.50823156003554, 50.10498927328214]
|
|
501
|
+
]]
|
|
479
502
|
]
|
|
480
503
|
description: MultiPolygon
|
|
481
504
|
type:
|
|
@@ -503,6 +526,7 @@ components:
|
|
|
503
526
|
name:
|
|
504
527
|
type: string
|
|
505
528
|
example: Holešovice
|
|
529
|
+
nullable: true
|
|
506
530
|
category:
|
|
507
531
|
type: string
|
|
508
532
|
nullable: true
|
|
@@ -510,6 +534,7 @@ components:
|
|
|
510
534
|
date_modified:
|
|
511
535
|
type: string
|
|
512
536
|
example: '2020-05-18T07:38:37.000Z'
|
|
537
|
+
nullable: true
|
|
513
538
|
address_formatted:
|
|
514
539
|
type: string
|
|
515
540
|
nullable: true
|
|
@@ -582,6 +607,7 @@ components:
|
|
|
582
607
|
- zone_visitors
|
|
583
608
|
- zone_other
|
|
584
609
|
- zone_free
|
|
610
|
+
- null
|
|
585
611
|
centroid:
|
|
586
612
|
type: object
|
|
587
613
|
properties:
|
|
@@ -633,6 +659,7 @@ components:
|
|
|
633
659
|
closed_spot_number:
|
|
634
660
|
type: number
|
|
635
661
|
example: 0
|
|
662
|
+
nullable: true
|
|
636
663
|
occupied_spot_number:
|
|
637
664
|
type: number
|
|
638
665
|
example: 12
|