@digipair/skill-http 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 +277 -0
- package/schema.json +54 -54
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-http",
|
|
5
|
+
"summary": "Communication avec les services HTTP",
|
|
6
|
+
"description": "Cette compétence permet d'utiliser les services HTTP",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "🌐"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/request": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service", "web", "spatial"],
|
|
14
|
+
"summary": "Exécute un service HTTP",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "path",
|
|
18
|
+
"summary": "Adresse du service",
|
|
19
|
+
"required": true,
|
|
20
|
+
"description": "Adresse du service à exécuter",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "method",
|
|
27
|
+
"summary": "Méthode HTTP",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Méthode HTTP à utiliser",
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "body",
|
|
36
|
+
"summary": "Valeur",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Valeur à envoyer",
|
|
39
|
+
"schema": {
|
|
40
|
+
"type": "object"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "headers",
|
|
45
|
+
"summary": "En-têtes",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "En-têtes à envoyer",
|
|
48
|
+
"schema": {
|
|
49
|
+
"type": "object"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "IS_JSON",
|
|
54
|
+
"summary": "API JSON",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "Indique si l'API est en JSON",
|
|
57
|
+
"schema": {
|
|
58
|
+
"type": "boolean"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"x-events": []
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"/create": {
|
|
66
|
+
"post": {
|
|
67
|
+
"tags": ["service", "web", "spatial"],
|
|
68
|
+
"summary": "Ajoute une ressource HTTP",
|
|
69
|
+
"parameters": [
|
|
70
|
+
{
|
|
71
|
+
"name": "path",
|
|
72
|
+
"summary": "Adresse du service",
|
|
73
|
+
"required": true,
|
|
74
|
+
"description": "Adresse du service à exécuter",
|
|
75
|
+
"schema": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "body",
|
|
81
|
+
"summary": "Valeur",
|
|
82
|
+
"required": false,
|
|
83
|
+
"description": "Valeur à envoyer",
|
|
84
|
+
"schema": {
|
|
85
|
+
"type": "object"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "headers",
|
|
90
|
+
"summary": "En-têtes",
|
|
91
|
+
"required": false,
|
|
92
|
+
"description": "En-têtes à envoyer",
|
|
93
|
+
"schema": {
|
|
94
|
+
"type": "object"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "IS_JSON",
|
|
99
|
+
"summary": "API JSON",
|
|
100
|
+
"required": false,
|
|
101
|
+
"description": "Indique si l'API est en JSON",
|
|
102
|
+
"schema": {
|
|
103
|
+
"type": "boolean"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"x-events": []
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"/read": {
|
|
111
|
+
"post": {
|
|
112
|
+
"tags": ["service", "web", "spatial"],
|
|
113
|
+
"summary": "Lit une ressource HTTP",
|
|
114
|
+
"parameters": [
|
|
115
|
+
{
|
|
116
|
+
"name": "path",
|
|
117
|
+
"summary": "Adresse du service",
|
|
118
|
+
"required": true,
|
|
119
|
+
"description": "Adresse du service à exécuter",
|
|
120
|
+
"schema": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "headers",
|
|
126
|
+
"summary": "En-têtes",
|
|
127
|
+
"required": false,
|
|
128
|
+
"description": "En-têtes à envoyer",
|
|
129
|
+
"schema": {
|
|
130
|
+
"type": "object"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "IS_JSON",
|
|
135
|
+
"summary": "API JSON",
|
|
136
|
+
"required": false,
|
|
137
|
+
"description": "Indique si l'API est en JSON",
|
|
138
|
+
"schema": {
|
|
139
|
+
"type": "boolean"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"x-events": []
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"/update": {
|
|
147
|
+
"post": {
|
|
148
|
+
"tags": ["service", "web", "spatial"],
|
|
149
|
+
"summary": "Modifie une ressource HTTP",
|
|
150
|
+
"parameters": [
|
|
151
|
+
{
|
|
152
|
+
"name": "path",
|
|
153
|
+
"summary": "Adresse du service",
|
|
154
|
+
"required": true,
|
|
155
|
+
"description": "Adresse du service à exécuter",
|
|
156
|
+
"schema": {
|
|
157
|
+
"type": "string"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "body",
|
|
162
|
+
"summary": "Valeur",
|
|
163
|
+
"required": false,
|
|
164
|
+
"description": "Valeur à envoyer",
|
|
165
|
+
"schema": {
|
|
166
|
+
"type": "object"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "headers",
|
|
171
|
+
"summary": "En-têtes",
|
|
172
|
+
"required": false,
|
|
173
|
+
"description": "En-têtes à envoyer",
|
|
174
|
+
"schema": {
|
|
175
|
+
"type": "object"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "IS_JSON",
|
|
180
|
+
"summary": "API JSON",
|
|
181
|
+
"required": false,
|
|
182
|
+
"description": "Indique si l'API est en JSON",
|
|
183
|
+
"schema": {
|
|
184
|
+
"type": "boolean"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"x-events": []
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"/partialUpdate": {
|
|
192
|
+
"post": {
|
|
193
|
+
"tags": ["service", "web", "spatial"],
|
|
194
|
+
"summary": "Modifie une partie d'une ressource HTTP",
|
|
195
|
+
"parameters": [
|
|
196
|
+
{
|
|
197
|
+
"name": "path",
|
|
198
|
+
"summary": "Adresse du service",
|
|
199
|
+
"required": true,
|
|
200
|
+
"description": "Adresse du service à exécuter",
|
|
201
|
+
"schema": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "body",
|
|
207
|
+
"summary": "Valeur",
|
|
208
|
+
"required": false,
|
|
209
|
+
"description": "Valeur à envoyer",
|
|
210
|
+
"schema": {
|
|
211
|
+
"type": "object"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "headers",
|
|
216
|
+
"summary": "En-têtes",
|
|
217
|
+
"required": false,
|
|
218
|
+
"description": "En-têtes à envoyer",
|
|
219
|
+
"schema": {
|
|
220
|
+
"type": "object"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "IS_JSON",
|
|
225
|
+
"summary": "API JSON",
|
|
226
|
+
"required": false,
|
|
227
|
+
"description": "Indique si l'API est en JSON",
|
|
228
|
+
"schema": {
|
|
229
|
+
"type": "boolean"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"x-events": []
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"/remove": {
|
|
237
|
+
"post": {
|
|
238
|
+
"tags": ["service", "web", "spatial"],
|
|
239
|
+
"summary": "Supprime une ressource HTTP",
|
|
240
|
+
"parameters": [
|
|
241
|
+
{
|
|
242
|
+
"name": "path",
|
|
243
|
+
"summary": "Adresse du service",
|
|
244
|
+
"required": true,
|
|
245
|
+
"description": "Adresse du service à exécuter",
|
|
246
|
+
"schema": {
|
|
247
|
+
"type": "string"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "headers",
|
|
252
|
+
"summary": "En-têtes",
|
|
253
|
+
"required": false,
|
|
254
|
+
"description": "En-têtes à envoyer",
|
|
255
|
+
"schema": {
|
|
256
|
+
"type": "object"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "IS_JSON",
|
|
261
|
+
"summary": "API JSON",
|
|
262
|
+
"required": false,
|
|
263
|
+
"description": "Indique si l'API est en JSON",
|
|
264
|
+
"schema": {
|
|
265
|
+
"type": "boolean"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"x-events": []
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"components": {
|
|
274
|
+
"schemas": {}
|
|
275
|
+
},
|
|
276
|
+
"x-scene-blocks": {}
|
|
277
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-http",
|
|
5
|
-
"summary": "Communication
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "Communication with HTTP services",
|
|
6
|
+
"description": "This skill allows the use of HTTP services",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "🌐"
|
|
9
9
|
},
|
|
@@ -11,49 +11,49 @@
|
|
|
11
11
|
"/request": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["service", "web", "spatial"],
|
|
14
|
-
"summary": "
|
|
14
|
+
"summary": "Executes an HTTP service",
|
|
15
15
|
"parameters": [
|
|
16
16
|
{
|
|
17
17
|
"name": "path",
|
|
18
|
-
"summary": "
|
|
18
|
+
"summary": "Service address",
|
|
19
19
|
"required": true,
|
|
20
|
-
"description": "
|
|
20
|
+
"description": "Address of the service to execute",
|
|
21
21
|
"schema": {
|
|
22
22
|
"type": "string"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "method",
|
|
27
|
-
"summary": "
|
|
27
|
+
"summary": "HTTP method",
|
|
28
28
|
"required": false,
|
|
29
|
-
"description": "
|
|
29
|
+
"description": "HTTP method to use",
|
|
30
30
|
"schema": {
|
|
31
31
|
"type": "string"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"name": "body",
|
|
36
|
-
"summary": "
|
|
36
|
+
"summary": "Value",
|
|
37
37
|
"required": false,
|
|
38
|
-
"description": "
|
|
38
|
+
"description": "Value to send",
|
|
39
39
|
"schema": {
|
|
40
40
|
"type": "object"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"name": "headers",
|
|
45
|
-
"summary": "
|
|
45
|
+
"summary": "Headers",
|
|
46
46
|
"required": false,
|
|
47
|
-
"description": "
|
|
47
|
+
"description": "Headers to send",
|
|
48
48
|
"schema": {
|
|
49
49
|
"type": "object"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"name": "IS_JSON",
|
|
54
|
-
"summary": "API
|
|
54
|
+
"summary": "JSON API",
|
|
55
55
|
"required": false,
|
|
56
|
-
"description": "
|
|
56
|
+
"description": "Indicates if the API is in JSON",
|
|
57
57
|
"schema": {
|
|
58
58
|
"type": "boolean"
|
|
59
59
|
}
|
|
@@ -65,40 +65,40 @@
|
|
|
65
65
|
"/create": {
|
|
66
66
|
"post": {
|
|
67
67
|
"tags": ["service", "web", "spatial"],
|
|
68
|
-
"summary": "
|
|
68
|
+
"summary": "Adds an HTTP resource",
|
|
69
69
|
"parameters": [
|
|
70
70
|
{
|
|
71
71
|
"name": "path",
|
|
72
|
-
"summary": "
|
|
72
|
+
"summary": "Service address",
|
|
73
73
|
"required": true,
|
|
74
|
-
"description": "
|
|
74
|
+
"description": "Address of the service to execute",
|
|
75
75
|
"schema": {
|
|
76
76
|
"type": "string"
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"name": "body",
|
|
81
|
-
"summary": "
|
|
81
|
+
"summary": "Value",
|
|
82
82
|
"required": false,
|
|
83
|
-
"description": "
|
|
83
|
+
"description": "Value to send",
|
|
84
84
|
"schema": {
|
|
85
85
|
"type": "object"
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "headers",
|
|
90
|
-
"summary": "
|
|
90
|
+
"summary": "Headers",
|
|
91
91
|
"required": false,
|
|
92
|
-
"description": "
|
|
92
|
+
"description": "Headers to send",
|
|
93
93
|
"schema": {
|
|
94
94
|
"type": "object"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
"name": "IS_JSON",
|
|
99
|
-
"summary": "API
|
|
99
|
+
"summary": "JSON API",
|
|
100
100
|
"required": false,
|
|
101
|
-
"description": "
|
|
101
|
+
"description": "Indicates if the API is in JSON",
|
|
102
102
|
"schema": {
|
|
103
103
|
"type": "boolean"
|
|
104
104
|
}
|
|
@@ -110,31 +110,31 @@
|
|
|
110
110
|
"/read": {
|
|
111
111
|
"post": {
|
|
112
112
|
"tags": ["service", "web", "spatial"],
|
|
113
|
-
"summary": "
|
|
113
|
+
"summary": "Reads an HTTP resource",
|
|
114
114
|
"parameters": [
|
|
115
115
|
{
|
|
116
116
|
"name": "path",
|
|
117
|
-
"summary": "
|
|
117
|
+
"summary": "Service address",
|
|
118
118
|
"required": true,
|
|
119
|
-
"description": "
|
|
119
|
+
"description": "Address of the service to execute",
|
|
120
120
|
"schema": {
|
|
121
121
|
"type": "string"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"name": "headers",
|
|
126
|
-
"summary": "
|
|
126
|
+
"summary": "Headers",
|
|
127
127
|
"required": false,
|
|
128
|
-
"description": "
|
|
128
|
+
"description": "Headers to send",
|
|
129
129
|
"schema": {
|
|
130
130
|
"type": "object"
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"name": "IS_JSON",
|
|
135
|
-
"summary": "API
|
|
135
|
+
"summary": "JSON API",
|
|
136
136
|
"required": false,
|
|
137
|
-
"description": "
|
|
137
|
+
"description": "Indicates if the API is in JSON",
|
|
138
138
|
"schema": {
|
|
139
139
|
"type": "boolean"
|
|
140
140
|
}
|
|
@@ -146,40 +146,40 @@
|
|
|
146
146
|
"/update": {
|
|
147
147
|
"post": {
|
|
148
148
|
"tags": ["service", "web", "spatial"],
|
|
149
|
-
"summary": "
|
|
149
|
+
"summary": "Modifies an HTTP resource",
|
|
150
150
|
"parameters": [
|
|
151
151
|
{
|
|
152
152
|
"name": "path",
|
|
153
|
-
"summary": "
|
|
153
|
+
"summary": "Service address",
|
|
154
154
|
"required": true,
|
|
155
|
-
"description": "
|
|
155
|
+
"description": "Address of the service to execute",
|
|
156
156
|
"schema": {
|
|
157
157
|
"type": "string"
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"name": "body",
|
|
162
|
-
"summary": "
|
|
162
|
+
"summary": "Value",
|
|
163
163
|
"required": false,
|
|
164
|
-
"description": "
|
|
164
|
+
"description": "Value to send",
|
|
165
165
|
"schema": {
|
|
166
166
|
"type": "object"
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
"name": "headers",
|
|
171
|
-
"summary": "
|
|
171
|
+
"summary": "Headers",
|
|
172
172
|
"required": false,
|
|
173
|
-
"description": "
|
|
173
|
+
"description": "Headers to send",
|
|
174
174
|
"schema": {
|
|
175
175
|
"type": "object"
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"name": "IS_JSON",
|
|
180
|
-
"summary": "API
|
|
180
|
+
"summary": "JSON API",
|
|
181
181
|
"required": false,
|
|
182
|
-
"description": "
|
|
182
|
+
"description": "Indicates if the API is in JSON",
|
|
183
183
|
"schema": {
|
|
184
184
|
"type": "boolean"
|
|
185
185
|
}
|
|
@@ -191,40 +191,40 @@
|
|
|
191
191
|
"/partialUpdate": {
|
|
192
192
|
"post": {
|
|
193
193
|
"tags": ["service", "web", "spatial"],
|
|
194
|
-
"summary": "
|
|
194
|
+
"summary": "Modifies part of an HTTP resource",
|
|
195
195
|
"parameters": [
|
|
196
196
|
{
|
|
197
197
|
"name": "path",
|
|
198
|
-
"summary": "
|
|
198
|
+
"summary": "Service address",
|
|
199
199
|
"required": true,
|
|
200
|
-
"description": "
|
|
200
|
+
"description": "Address of the service to execute",
|
|
201
201
|
"schema": {
|
|
202
202
|
"type": "string"
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
"name": "body",
|
|
207
|
-
"summary": "
|
|
207
|
+
"summary": "Value",
|
|
208
208
|
"required": false,
|
|
209
|
-
"description": "
|
|
209
|
+
"description": "Value to send",
|
|
210
210
|
"schema": {
|
|
211
211
|
"type": "object"
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
"name": "headers",
|
|
216
|
-
"summary": "
|
|
216
|
+
"summary": "Headers",
|
|
217
217
|
"required": false,
|
|
218
|
-
"description": "
|
|
218
|
+
"description": "Headers to send",
|
|
219
219
|
"schema": {
|
|
220
220
|
"type": "object"
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"name": "IS_JSON",
|
|
225
|
-
"summary": "API
|
|
225
|
+
"summary": "JSON API",
|
|
226
226
|
"required": false,
|
|
227
|
-
"description": "
|
|
227
|
+
"description": "Indicates if the API is in JSON",
|
|
228
228
|
"schema": {
|
|
229
229
|
"type": "boolean"
|
|
230
230
|
}
|
|
@@ -236,31 +236,31 @@
|
|
|
236
236
|
"/remove": {
|
|
237
237
|
"post": {
|
|
238
238
|
"tags": ["service", "web", "spatial"],
|
|
239
|
-
"summary": "
|
|
239
|
+
"summary": "Deletes an HTTP resource",
|
|
240
240
|
"parameters": [
|
|
241
241
|
{
|
|
242
242
|
"name": "path",
|
|
243
|
-
"summary": "
|
|
243
|
+
"summary": "Service address",
|
|
244
244
|
"required": true,
|
|
245
|
-
"description": "
|
|
245
|
+
"description": "Address of the service to execute",
|
|
246
246
|
"schema": {
|
|
247
247
|
"type": "string"
|
|
248
248
|
}
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
"name": "headers",
|
|
252
|
-
"summary": "
|
|
252
|
+
"summary": "Headers",
|
|
253
253
|
"required": false,
|
|
254
|
-
"description": "
|
|
254
|
+
"description": "Headers to send",
|
|
255
255
|
"schema": {
|
|
256
256
|
"type": "object"
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
"name": "IS_JSON",
|
|
261
|
-
"summary": "API
|
|
261
|
+
"summary": "JSON API",
|
|
262
262
|
"required": false,
|
|
263
|
-
"description": "
|
|
263
|
+
"description": "Indicates if the API is in JSON",
|
|
264
264
|
"schema": {
|
|
265
265
|
"type": "boolean"
|
|
266
266
|
}
|