Revize b5525aef
Přidáno uživatelem Jakub Hlaváč před více než 3 roky(ů)
src/app/shared/api/openapi.yaml | ||
---|---|---|
88 | 88 |
schema: |
89 | 89 |
$ref: '#/components/schemas/UserInfo' |
90 | 90 |
|
91 |
/senslog1/SensorService?Operation=GetSensors: |
|
91 |
/senslog15/SensorService?Operation=GetSensors:
|
|
92 | 92 |
get: |
93 | 93 |
tags: |
94 | 94 |
- sensors |
... | ... | |
111 | 111 |
$ref: '#/components/schemas/Sensor' |
112 | 112 |
|
113 | 113 |
|
114 |
/senslog1/SensorService?Operation=GetObservations: |
|
114 |
/senslog15/SensorService?Operation=GetObservations:
|
|
115 | 115 |
get: |
116 | 116 |
tags: |
117 | 117 |
- observation |
... | ... | |
148 | 148 |
500: |
149 | 149 |
description: Internal server error |
150 | 150 |
|
151 |
/senslog1/GroupService: |
|
151 |
/senslog15/GroupService:
|
|
152 | 152 |
get: |
153 | 153 |
tags: |
154 | 154 |
- group |
... | ... | |
180 | 180 |
items: |
181 | 181 |
$ref: '#/components/schemas/Group' |
182 | 182 |
|
183 |
/senslog1/DataService?Operation=GetUnits: |
|
183 |
/senslog15/DataService?Operation=GetUnits:
|
|
184 | 184 |
get: |
185 | 185 |
tags: |
186 | 186 |
- data |
... | ... | |
367 | 367 |
items: |
368 | 368 |
$ref: '#/components/schemas/Phenomenon' |
369 | 369 |
|
370 |
/senslog15/SensorService?Operation=GetAllSensorTypes: |
|
371 |
get: |
|
372 |
tags: |
|
373 |
- sensors |
|
374 |
summary: Get sensor types |
|
375 |
operationId: getSensorTypes |
|
376 |
responses: |
|
377 |
200: |
|
378 |
description: Getting all Sensor types |
|
379 |
content: |
|
380 |
application/json: |
|
381 |
schema: |
|
382 |
type: array |
|
383 |
items: |
|
384 |
$ref: '#/components/schemas/SensorType' |
|
385 |
|
|
370 | 386 |
/senslog15/ManagementService?Operation=UpdateUnit: |
371 | 387 |
put: |
372 | 388 |
tags: |
... | ... | |
523 | 539 |
items: |
524 | 540 |
$ref: '#/components/schemas/Right' |
525 | 541 |
|
542 |
/senslog15/FeederServlet?Operation=InsertPosition: |
|
543 |
get: |
|
544 |
tags: |
|
545 |
- sensors |
|
546 |
parameters: |
|
547 |
- in: query |
|
548 |
name: lat |
|
549 |
required: true |
|
550 |
schema: |
|
551 |
type: number |
|
552 |
- in: query |
|
553 |
name: lon |
|
554 |
required: true |
|
555 |
schema: |
|
556 |
type: number |
|
557 |
- in: query |
|
558 |
name: unit_id |
|
559 |
required: true |
|
560 |
schema: |
|
561 |
type: integer |
|
562 |
- in: query |
|
563 |
name: date |
|
564 |
required: true |
|
565 |
schema: |
|
566 |
type: string |
|
567 |
- in: query |
|
568 |
name: alt |
|
569 |
required: false |
|
570 |
schema: |
|
571 |
type: string |
|
572 |
- in: query |
|
573 |
name: speed |
|
574 |
required: false |
|
575 |
schema: |
|
576 |
type: number |
|
577 |
- in: query |
|
578 |
name: dop |
|
579 |
required: false |
|
580 |
schema: |
|
581 |
type: number |
|
582 |
summary: Insert position to unit |
|
583 |
operationId: insertPosition |
|
584 |
responses: |
|
585 |
200: |
|
586 |
description: success |
|
526 | 587 |
|
527 | 588 |
components: |
528 | 589 |
schemas: |
... | ... | |
672 | 733 |
type: boolean |
673 | 734 |
is_moving: |
674 | 735 |
type: boolean |
675 |
#TODO |
|
736 |
|
|
676 | 737 |
AlertEvents: |
677 | 738 |
type: array |
678 | 739 |
|
... | ... | |
685 | 746 |
$ref: '#/components/schemas/Attributes' |
686 | 747 |
position: |
687 | 748 |
$ref: '#/components/schemas/Position' |
688 |
#TODO |
|
749 |
|
|
689 | 750 |
GeneralInfo: |
690 | 751 |
type: array |
691 |
#TODO |
|
752 |
|
|
692 | 753 |
Drivers: |
693 | 754 |
type: array |
694 | 755 |
|
... | ... | |
752 | 813 |
value: |
753 | 814 |
type: number |
754 | 815 |
|
816 |
SensorType: |
|
817 |
type: object |
|
818 |
properties: |
|
819 |
phenomenon: |
|
820 |
$ref: '#/components/schemas/Phenomenon' |
|
821 |
sensorId: |
|
822 |
type: integer |
|
823 |
sensorName: |
|
824 |
type: string |
|
825 |
sensorType: |
|
826 |
type: string |
|
827 |
|
|
755 | 828 |
|
756 | 829 |
|
757 | 830 |
|
Také k dispozici: Unified diff
Re #8850 - Ověření funkčnosti - implementované enpointy
+ new use case add position to unit+ adding sensor type enum from backend endpoint
+ some form validation :)
- removing all endpoints from /senslog1