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