@digipair/skill-web-interact 0.25.6 → 0.26.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 +287 -0
- package/schema.json +59 -59
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-web-interact",
|
|
5
|
+
"summary": "Intéraction avec une page web",
|
|
6
|
+
"description": "Cette compétence permet aux utilisateurs de communiquer avec une page HTML coté navigateur.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "📲"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/dispatchEvent": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["web", "boost"],
|
|
14
|
+
"summary": "Emettre un évènement",
|
|
15
|
+
"description": "Emet un évènement sur un élément du DOM",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "name",
|
|
19
|
+
"summary": "Nom de l'évènement",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "Nom de l'évènement",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "selector",
|
|
28
|
+
"summary": "Sélecteur CSS de l'élément",
|
|
29
|
+
"required": true,
|
|
30
|
+
"description": "Sélecteur CSS de l'élément qui va recevoir l'évènement",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "detail",
|
|
37
|
+
"summary": "Détails de l'évènements",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Données transmises dans l'évènements",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "object"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"x-events": []
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"/setAttribute": {
|
|
49
|
+
"post": {
|
|
50
|
+
"tags": ["web", "boost"],
|
|
51
|
+
"summary": "Modifier un attribute",
|
|
52
|
+
"description": "Permet de modifier la valeur d'un attribut d'un élément du DOM",
|
|
53
|
+
"parameters": [
|
|
54
|
+
{
|
|
55
|
+
"name": "selector",
|
|
56
|
+
"summary": "Sélecteur CSS de l'élément",
|
|
57
|
+
"required": true,
|
|
58
|
+
"description": "Sélecteur CSS de l'élément",
|
|
59
|
+
"schema": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "attribute",
|
|
65
|
+
"summary": "Attribut",
|
|
66
|
+
"required": true,
|
|
67
|
+
"description": "Attribut à modifier",
|
|
68
|
+
"schema": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "value",
|
|
74
|
+
"summary": "Valeur",
|
|
75
|
+
"required": true,
|
|
76
|
+
"description": "Nouvelle valeur de l'attribut",
|
|
77
|
+
"schema": {
|
|
78
|
+
"type": "object"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"x-events": []
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"/getAttribute": {
|
|
86
|
+
"post": {
|
|
87
|
+
"tags": ["web"],
|
|
88
|
+
"summary": "Lire un attribute",
|
|
89
|
+
"description": "Permet de lire la valeur d'un attribut d'un élément du DOM",
|
|
90
|
+
"parameters": [
|
|
91
|
+
{
|
|
92
|
+
"name": "selector",
|
|
93
|
+
"summary": "Sélecteur CSS de l'élément",
|
|
94
|
+
"required": true,
|
|
95
|
+
"description": "Sélecteur CSS de l'élément",
|
|
96
|
+
"schema": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "attribute",
|
|
102
|
+
"summary": "Attribut",
|
|
103
|
+
"required": true,
|
|
104
|
+
"description": "Attribut à modifier",
|
|
105
|
+
"schema": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"x-events": []
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"/execute": {
|
|
114
|
+
"post": {
|
|
115
|
+
"tags": ["web", "boost"],
|
|
116
|
+
"summary": "Execute une méthode",
|
|
117
|
+
"description": "Execute une méthode sur un élément du DOM",
|
|
118
|
+
"parameters": [
|
|
119
|
+
{
|
|
120
|
+
"name": "name",
|
|
121
|
+
"summary": "Nom de la méthode",
|
|
122
|
+
"required": true,
|
|
123
|
+
"description": "Nom de l'évènement",
|
|
124
|
+
"schema": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "selector",
|
|
130
|
+
"summary": "Sélecteur CSS de l'élément",
|
|
131
|
+
"required": true,
|
|
132
|
+
"description": "Sélecteur CSS de l'élément qui va exécuter la méthode",
|
|
133
|
+
"schema": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "args",
|
|
139
|
+
"summary": "Arguments",
|
|
140
|
+
"required": false,
|
|
141
|
+
"description": "Liste des arguments de la méthode",
|
|
142
|
+
"schema": {
|
|
143
|
+
"type": "array",
|
|
144
|
+
"items": {
|
|
145
|
+
"type": "object"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"x-events": []
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"/goTo": {
|
|
154
|
+
"post": {
|
|
155
|
+
"tags": ["web", "boost"],
|
|
156
|
+
"summary": "Aller vers une page web",
|
|
157
|
+
"description": "Permet d'ouvrir une page web dans le navigateur",
|
|
158
|
+
"parameters": [
|
|
159
|
+
{
|
|
160
|
+
"name": "url",
|
|
161
|
+
"summary": "Adresse",
|
|
162
|
+
"required": true,
|
|
163
|
+
"description": "Adresse de la page web",
|
|
164
|
+
"schema": {
|
|
165
|
+
"type": "string"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "target",
|
|
170
|
+
"summary": "Fenêtre cible",
|
|
171
|
+
"required": true,
|
|
172
|
+
"description": "Fenêtre cible",
|
|
173
|
+
"schema": {
|
|
174
|
+
"type": "string"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"x-events": []
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"/reload": {
|
|
182
|
+
"post": {
|
|
183
|
+
"tags": ["web", "boost"],
|
|
184
|
+
"summary": "Recharger la page actuelle",
|
|
185
|
+
"description": "Permet de recharger la page actuelle",
|
|
186
|
+
"parameters": [],
|
|
187
|
+
"x-events": []
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"/upload": {
|
|
191
|
+
"post": {
|
|
192
|
+
"tags": ["web"],
|
|
193
|
+
"summary": "Uploader un fichier binaire",
|
|
194
|
+
"description": "Permet d'uploader un fichier binaire en base64",
|
|
195
|
+
"parameters": [
|
|
196
|
+
{
|
|
197
|
+
"name": "accept",
|
|
198
|
+
"summary": "Type de fichier",
|
|
199
|
+
"required": false,
|
|
200
|
+
"description": "Type de fichier accepté",
|
|
201
|
+
"schema": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"x-events": []
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"/uploadText": {
|
|
210
|
+
"post": {
|
|
211
|
+
"tags": ["web"],
|
|
212
|
+
"summary": "Uploader un fichier texte",
|
|
213
|
+
"description": "Permet d'uploader un fichier en texte",
|
|
214
|
+
"parameters": [
|
|
215
|
+
{
|
|
216
|
+
"name": "accept",
|
|
217
|
+
"summary": "Type de fichier",
|
|
218
|
+
"required": false,
|
|
219
|
+
"description": "Type de fichier accepté",
|
|
220
|
+
"schema": {
|
|
221
|
+
"type": "string"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"x-events": []
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"/capture": {
|
|
229
|
+
"post": {
|
|
230
|
+
"tags": ["web"],
|
|
231
|
+
"summary": "Capture une image de la webcam",
|
|
232
|
+
"description": "Permet de capturer une image de la webcam",
|
|
233
|
+
"parameters": [
|
|
234
|
+
{
|
|
235
|
+
"name": "deviceId",
|
|
236
|
+
"summary": "Identifiant du périphérique",
|
|
237
|
+
"required": false,
|
|
238
|
+
"description": "Identifiant du périphérique de capture",
|
|
239
|
+
"schema": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "width",
|
|
245
|
+
"summary": "Largeur de l'image",
|
|
246
|
+
"required": false,
|
|
247
|
+
"description": "Largeur de l'image capturée",
|
|
248
|
+
"schema": {
|
|
249
|
+
"type": "number"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "height",
|
|
254
|
+
"summary": "Hauteur de l'image",
|
|
255
|
+
"required": false,
|
|
256
|
+
"description": "Hauteur de l'image capturée",
|
|
257
|
+
"schema": {
|
|
258
|
+
"type": "number"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "facingMode",
|
|
263
|
+
"summary": "Mode de capture",
|
|
264
|
+
"required": false,
|
|
265
|
+
"description": "Mode de capture de l'image",
|
|
266
|
+
"schema": {
|
|
267
|
+
"type": "string"
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"x-events": []
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"/getMediaDevices": {
|
|
275
|
+
"post": {
|
|
276
|
+
"tags": ["web"],
|
|
277
|
+
"summary": "Liste des périphériques",
|
|
278
|
+
"description": "Liste les périphériques de capture disponibles",
|
|
279
|
+
"parameters": [],
|
|
280
|
+
"x-events": []
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"components": {
|
|
285
|
+
"schemas": {}
|
|
286
|
+
}
|
|
287
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-web-interact",
|
|
5
|
-
"summary": "
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "Interaction with a web page",
|
|
6
|
+
"description": "This skill allows users to communicate with an HTML page on the client side.",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "📲"
|
|
9
9
|
},
|
|
@@ -11,32 +11,32 @@
|
|
|
11
11
|
"/dispatchEvent": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["web", "boost"],
|
|
14
|
-
"summary": "
|
|
15
|
-
"description": "
|
|
14
|
+
"summary": "Emit an event",
|
|
15
|
+
"description": "Emits an event on a DOM element",
|
|
16
16
|
"parameters": [
|
|
17
17
|
{
|
|
18
18
|
"name": "name",
|
|
19
|
-
"summary": "
|
|
19
|
+
"summary": "Event name",
|
|
20
20
|
"required": true,
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "Name of the event",
|
|
22
22
|
"schema": {
|
|
23
23
|
"type": "string"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "selector",
|
|
28
|
-
"summary": "
|
|
28
|
+
"summary": "CSS selector of the element",
|
|
29
29
|
"required": true,
|
|
30
|
-
"description": "
|
|
30
|
+
"description": "CSS selector of the element that will receive the event",
|
|
31
31
|
"schema": {
|
|
32
32
|
"type": "string"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "detail",
|
|
37
|
-
"summary": "
|
|
37
|
+
"summary": "Event details",
|
|
38
38
|
"required": false,
|
|
39
|
-
"description": "
|
|
39
|
+
"description": "Data passed in the event",
|
|
40
40
|
"schema": {
|
|
41
41
|
"type": "object"
|
|
42
42
|
}
|
|
@@ -48,32 +48,32 @@
|
|
|
48
48
|
"/setAttribute": {
|
|
49
49
|
"post": {
|
|
50
50
|
"tags": ["web", "boost"],
|
|
51
|
-
"summary": "
|
|
52
|
-
"description": "
|
|
51
|
+
"summary": "Modify an attribute",
|
|
52
|
+
"description": "Allows modifying the value of an attribute of a DOM element",
|
|
53
53
|
"parameters": [
|
|
54
54
|
{
|
|
55
55
|
"name": "selector",
|
|
56
|
-
"summary": "
|
|
56
|
+
"summary": "CSS selector of the element",
|
|
57
57
|
"required": true,
|
|
58
|
-
"description": "
|
|
58
|
+
"description": "CSS selector of the element",
|
|
59
59
|
"schema": {
|
|
60
60
|
"type": "string"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "attribute",
|
|
65
|
-
"summary": "
|
|
65
|
+
"summary": "Attribute",
|
|
66
66
|
"required": true,
|
|
67
|
-
"description": "
|
|
67
|
+
"description": "Attribute to modify",
|
|
68
68
|
"schema": {
|
|
69
69
|
"type": "string"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "value",
|
|
74
|
-
"summary": "
|
|
74
|
+
"summary": "Value",
|
|
75
75
|
"required": true,
|
|
76
|
-
"description": "
|
|
76
|
+
"description": "New value of the attribute",
|
|
77
77
|
"schema": {
|
|
78
78
|
"type": "object"
|
|
79
79
|
}
|
|
@@ -85,23 +85,23 @@
|
|
|
85
85
|
"/getAttribute": {
|
|
86
86
|
"post": {
|
|
87
87
|
"tags": ["web"],
|
|
88
|
-
"summary": "
|
|
89
|
-
"description": "
|
|
88
|
+
"summary": "Read an attribute",
|
|
89
|
+
"description": "Allows reading the value of an attribute of a DOM element",
|
|
90
90
|
"parameters": [
|
|
91
91
|
{
|
|
92
92
|
"name": "selector",
|
|
93
|
-
"summary": "
|
|
93
|
+
"summary": "CSS selector of the element",
|
|
94
94
|
"required": true,
|
|
95
|
-
"description": "
|
|
95
|
+
"description": "CSS selector of the element",
|
|
96
96
|
"schema": {
|
|
97
97
|
"type": "string"
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
"name": "attribute",
|
|
102
|
-
"summary": "
|
|
102
|
+
"summary": "Attribute",
|
|
103
103
|
"required": true,
|
|
104
|
-
"description": "
|
|
104
|
+
"description": "Attribute to read",
|
|
105
105
|
"schema": {
|
|
106
106
|
"type": "string"
|
|
107
107
|
}
|
|
@@ -113,23 +113,23 @@
|
|
|
113
113
|
"/execute": {
|
|
114
114
|
"post": {
|
|
115
115
|
"tags": ["web", "boost"],
|
|
116
|
-
"summary": "Execute
|
|
117
|
-
"description": "
|
|
116
|
+
"summary": "Execute a method",
|
|
117
|
+
"description": "Executes a method on a DOM element",
|
|
118
118
|
"parameters": [
|
|
119
119
|
{
|
|
120
120
|
"name": "name",
|
|
121
|
-
"summary": "
|
|
121
|
+
"summary": "Method name",
|
|
122
122
|
"required": true,
|
|
123
|
-
"description": "
|
|
123
|
+
"description": "Name of the method",
|
|
124
124
|
"schema": {
|
|
125
125
|
"type": "string"
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"name": "selector",
|
|
130
|
-
"summary": "
|
|
130
|
+
"summary": "CSS selector of the element",
|
|
131
131
|
"required": true,
|
|
132
|
-
"description": "
|
|
132
|
+
"description": "CSS selector of the element that will execute the method",
|
|
133
133
|
"schema": {
|
|
134
134
|
"type": "string"
|
|
135
135
|
}
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"name": "args",
|
|
139
139
|
"summary": "Arguments",
|
|
140
140
|
"required": false,
|
|
141
|
-
"description": "
|
|
141
|
+
"description": "List of method arguments",
|
|
142
142
|
"schema": {
|
|
143
143
|
"type": "array",
|
|
144
144
|
"items": {
|
|
@@ -153,23 +153,23 @@
|
|
|
153
153
|
"/goTo": {
|
|
154
154
|
"post": {
|
|
155
155
|
"tags": ["web", "boost"],
|
|
156
|
-
"summary": "
|
|
157
|
-
"description": "
|
|
156
|
+
"summary": "Go to a web page",
|
|
157
|
+
"description": "Allows opening a web page in the browser",
|
|
158
158
|
"parameters": [
|
|
159
159
|
{
|
|
160
160
|
"name": "url",
|
|
161
|
-
"summary": "
|
|
161
|
+
"summary": "Address",
|
|
162
162
|
"required": true,
|
|
163
|
-
"description": "
|
|
163
|
+
"description": "Address of the web page",
|
|
164
164
|
"schema": {
|
|
165
165
|
"type": "string"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
"name": "target",
|
|
170
|
-
"summary": "
|
|
170
|
+
"summary": "Target window",
|
|
171
171
|
"required": true,
|
|
172
|
-
"description": "
|
|
172
|
+
"description": "Target window",
|
|
173
173
|
"schema": {
|
|
174
174
|
"type": "string"
|
|
175
175
|
}
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
"/reload": {
|
|
182
182
|
"post": {
|
|
183
183
|
"tags": ["web", "boost"],
|
|
184
|
-
"summary": "
|
|
185
|
-
"description": "
|
|
184
|
+
"summary": "Reload the current page",
|
|
185
|
+
"description": "Allows reloading the current page",
|
|
186
186
|
"parameters": [],
|
|
187
187
|
"x-events": []
|
|
188
188
|
}
|
|
@@ -190,14 +190,14 @@
|
|
|
190
190
|
"/upload": {
|
|
191
191
|
"post": {
|
|
192
192
|
"tags": ["web"],
|
|
193
|
-
"summary": "
|
|
194
|
-
"description": "
|
|
193
|
+
"summary": "Upload a binary file",
|
|
194
|
+
"description": "Allows uploading a binary file in base64",
|
|
195
195
|
"parameters": [
|
|
196
196
|
{
|
|
197
197
|
"name": "accept",
|
|
198
|
-
"summary": "
|
|
198
|
+
"summary": "File type",
|
|
199
199
|
"required": false,
|
|
200
|
-
"description": "
|
|
200
|
+
"description": "Accepted file type",
|
|
201
201
|
"schema": {
|
|
202
202
|
"type": "string"
|
|
203
203
|
}
|
|
@@ -209,14 +209,14 @@
|
|
|
209
209
|
"/uploadText": {
|
|
210
210
|
"post": {
|
|
211
211
|
"tags": ["web"],
|
|
212
|
-
"summary": "
|
|
213
|
-
"description": "
|
|
212
|
+
"summary": "Upload a text file",
|
|
213
|
+
"description": "Allows uploading a text file",
|
|
214
214
|
"parameters": [
|
|
215
215
|
{
|
|
216
216
|
"name": "accept",
|
|
217
|
-
"summary": "
|
|
217
|
+
"summary": "File type",
|
|
218
218
|
"required": false,
|
|
219
|
-
"description": "
|
|
219
|
+
"description": "Accepted file type",
|
|
220
220
|
"schema": {
|
|
221
221
|
"type": "string"
|
|
222
222
|
}
|
|
@@ -228,41 +228,41 @@
|
|
|
228
228
|
"/capture": {
|
|
229
229
|
"post": {
|
|
230
230
|
"tags": ["web"],
|
|
231
|
-
"summary": "Capture
|
|
232
|
-
"description": "
|
|
231
|
+
"summary": "Capture an image from the webcam",
|
|
232
|
+
"description": "Allows capturing an image from the webcam",
|
|
233
233
|
"parameters": [
|
|
234
234
|
{
|
|
235
235
|
"name": "deviceId",
|
|
236
|
-
"summary": "
|
|
236
|
+
"summary": "Device ID",
|
|
237
237
|
"required": false,
|
|
238
|
-
"description": "
|
|
238
|
+
"description": "ID of the capture device",
|
|
239
239
|
"schema": {
|
|
240
240
|
"type": "string"
|
|
241
241
|
}
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"name": "width",
|
|
245
|
-
"summary": "
|
|
245
|
+
"summary": "Image width",
|
|
246
246
|
"required": false,
|
|
247
|
-
"description": "
|
|
247
|
+
"description": "Width of the captured image",
|
|
248
248
|
"schema": {
|
|
249
249
|
"type": "number"
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
"name": "height",
|
|
254
|
-
"summary": "
|
|
254
|
+
"summary": "Image height",
|
|
255
255
|
"required": false,
|
|
256
|
-
"description": "
|
|
256
|
+
"description": "Height of the captured image",
|
|
257
257
|
"schema": {
|
|
258
258
|
"type": "number"
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
"name": "facingMode",
|
|
263
|
-
"summary": "
|
|
263
|
+
"summary": "Capture mode",
|
|
264
264
|
"required": false,
|
|
265
|
-
"description": "Mode
|
|
265
|
+
"description": "Mode of image capture",
|
|
266
266
|
"schema": {
|
|
267
267
|
"type": "string"
|
|
268
268
|
}
|
|
@@ -274,8 +274,8 @@
|
|
|
274
274
|
"/getMediaDevices": {
|
|
275
275
|
"post": {
|
|
276
276
|
"tags": ["web"],
|
|
277
|
-
"summary": "
|
|
278
|
-
"description": "
|
|
277
|
+
"summary": "List of devices",
|
|
278
|
+
"description": "Lists available capture devices",
|
|
279
279
|
"parameters": [],
|
|
280
280
|
"x-events": []
|
|
281
281
|
}
|