@digipair/skill-webcam 0.28.14 → 0.29.4
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/package.json +1 -1
- package/schema.en.json +88 -0
package/package.json
CHANGED
package/schema.en.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-webcam",
|
|
5
|
+
"summary": "Webcam Management",
|
|
6
|
+
"description": "This skill allows access to webcam images.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "📷"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/capture": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Webcam Capture",
|
|
15
|
+
"description": "Captures an image from the webcam",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "width",
|
|
19
|
+
"summary": "Width",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "Width of the image",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "number"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "height",
|
|
28
|
+
"summary": "Height",
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "Height of the image",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "quality",
|
|
37
|
+
"summary": "Quality",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Quality of the image",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "number"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "output",
|
|
46
|
+
"summary": "Output Type",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Output type of the image (jpeg, png)",
|
|
49
|
+
"schema": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "device",
|
|
55
|
+
"summary": "Camera",
|
|
56
|
+
"required": false,
|
|
57
|
+
"description": "Name of the camera to use",
|
|
58
|
+
"schema": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "verbose",
|
|
64
|
+
"summary": "Verbose",
|
|
65
|
+
"required": false,
|
|
66
|
+
"description": "Displays additional information",
|
|
67
|
+
"schema": {
|
|
68
|
+
"type": "boolean"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"x-events": []
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"/list": {
|
|
76
|
+
"post": {
|
|
77
|
+
"tags": ["service"],
|
|
78
|
+
"summary": "List of Webcams",
|
|
79
|
+
"description": "Returns the list of webcams present on the system",
|
|
80
|
+
"parameters": [],
|
|
81
|
+
"x-events": []
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"components": {
|
|
86
|
+
"schemas": {}
|
|
87
|
+
}
|
|
88
|
+
}
|