-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[API Part2] Bug fixes in OpenAPI control examples
- Loading branch information
Showing
12 changed files
with
70 additions
and
30 deletions.
There are no files selected for viewing
18 changes: 0 additions & 18 deletions
18
api/part2/openapi/examples/controlstreams/controlStream-ptz-create.json
This file was deleted.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
api/part2/openapi/examples/controlstreams/controlstream-ptz-create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "Garage Video Camera 001 - PTZ Control", | ||
"inputName": "ptz", | ||
"async": false, | ||
"schema": { | ||
"commandFormat": "application/json", | ||
"parametersSchema": { | ||
"type": "DataRecord", | ||
"fields": [ | ||
{ | ||
"name": "pan", | ||
"type": "Quantity", | ||
"definition": "http://sensorml.com/ont/swe/property/PanAngle", | ||
"label": "Pan Angle", | ||
"description": "Rotation of the camera around its vertical axis (i.e. causing the image to translate along its horizontal axis)", | ||
"uom": { | ||
"code": "deg" | ||
} | ||
}, | ||
{ | ||
"name": "tilt", | ||
"type": "Quantity", | ||
"definition": "http://sensorml.com/ont/swe/property/PanAngle", | ||
"label": "Pan Angle", | ||
"description": "Rotation of the camera around its horizontal axis (i.e. causing the image to translate along its vertical axis)", | ||
"uom": { | ||
"code": "deg" | ||
} | ||
}, | ||
{ | ||
"name": "zoom", | ||
"type": "Quantity", | ||
"definition": "http://sensorml.com/ont/swe/property/ZoomFactor", | ||
"label": "Zoom Factor", | ||
"description": "Amount of zoom, 0 being the highest FOV and 100 being the lowest", | ||
"uom": { | ||
"code": "%" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters