@digipair/skill-webcam 0.96.0 → 0.97.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 +39 -5
- package/schema.json +39 -5
package/package.json
CHANGED
package/schema.fr.json
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"paths": {
|
|
11
11
|
"/capture": {
|
|
12
12
|
"post": {
|
|
13
|
-
"tags": [
|
|
13
|
+
"tags": [
|
|
14
|
+
"service"
|
|
15
|
+
],
|
|
14
16
|
"summary": "Capture de la webcam",
|
|
15
17
|
"description": "Capture une image de la webcam",
|
|
16
18
|
"parameters": [
|
|
@@ -69,20 +71,52 @@
|
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
],
|
|
72
|
-
"x-events": []
|
|
74
|
+
"x-events": [],
|
|
75
|
+
"responses": {
|
|
76
|
+
"200": {
|
|
77
|
+
"description": "Image capturée avec succès depuis la webcam",
|
|
78
|
+
"content": {
|
|
79
|
+
"application/json": {
|
|
80
|
+
"schema": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "Image encodée en base64 capturée depuis la webcam",
|
|
83
|
+
"example": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg=="
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
73
89
|
}
|
|
74
90
|
},
|
|
75
91
|
"/list": {
|
|
76
92
|
"post": {
|
|
77
|
-
"tags": [
|
|
93
|
+
"tags": [
|
|
94
|
+
"service"
|
|
95
|
+
],
|
|
78
96
|
"summary": "Liste des webcams",
|
|
79
97
|
"description": "Retourne la liste des webcams présentent sur le système",
|
|
80
98
|
"parameters": [],
|
|
81
|
-
"x-events": []
|
|
99
|
+
"x-events": [],
|
|
100
|
+
"responses": {
|
|
101
|
+
"200": {
|
|
102
|
+
"description": "Liste des webcams récupérée avec succès",
|
|
103
|
+
"content": {
|
|
104
|
+
"application/json": {
|
|
105
|
+
"schema": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "Nom ou identifiant d'un périphérique webcam"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
82
116
|
}
|
|
83
117
|
}
|
|
84
118
|
},
|
|
85
119
|
"components": {
|
|
86
120
|
"schemas": {}
|
|
87
121
|
}
|
|
88
|
-
}
|
|
122
|
+
}
|
package/schema.json
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"paths": {
|
|
11
11
|
"/capture": {
|
|
12
12
|
"post": {
|
|
13
|
-
"tags": [
|
|
13
|
+
"tags": [
|
|
14
|
+
"service"
|
|
15
|
+
],
|
|
14
16
|
"summary": "Webcam Capture",
|
|
15
17
|
"description": "Captures an image from the webcam",
|
|
16
18
|
"parameters": [
|
|
@@ -69,20 +71,52 @@
|
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
],
|
|
72
|
-
"x-events": []
|
|
74
|
+
"x-events": [],
|
|
75
|
+
"responses": {
|
|
76
|
+
"200": {
|
|
77
|
+
"description": "Image captured successfully from webcam",
|
|
78
|
+
"content": {
|
|
79
|
+
"application/json": {
|
|
80
|
+
"schema": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "Base64 encoded image captured from the webcam",
|
|
83
|
+
"example": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg=="
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
73
89
|
}
|
|
74
90
|
},
|
|
75
91
|
"/list": {
|
|
76
92
|
"post": {
|
|
77
|
-
"tags": [
|
|
93
|
+
"tags": [
|
|
94
|
+
"service"
|
|
95
|
+
],
|
|
78
96
|
"summary": "List of Webcams",
|
|
79
97
|
"description": "Returns the list of webcams present on the system",
|
|
80
98
|
"parameters": [],
|
|
81
|
-
"x-events": []
|
|
99
|
+
"x-events": [],
|
|
100
|
+
"responses": {
|
|
101
|
+
"200": {
|
|
102
|
+
"description": "List of webcams retrieved successfully",
|
|
103
|
+
"content": {
|
|
104
|
+
"application/json": {
|
|
105
|
+
"schema": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "Name or identifier of a webcam device"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
82
116
|
}
|
|
83
117
|
}
|
|
84
118
|
},
|
|
85
119
|
"components": {
|
|
86
120
|
"schemas": {}
|
|
87
121
|
}
|
|
88
|
-
}
|
|
122
|
+
}
|