@digipair/skill-http 0.32.7 → 0.33.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.en.json +0 -277
package/package.json
CHANGED
package/schema.en.json
DELETED
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.0.0",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "@digipair/skill-http",
|
|
5
|
-
"summary": "Communication with HTTP services",
|
|
6
|
-
"description": "This skill allows the use of HTTP services",
|
|
7
|
-
"version": "0.1.0",
|
|
8
|
-
"x-icon": "🌐"
|
|
9
|
-
},
|
|
10
|
-
"paths": {
|
|
11
|
-
"/request": {
|
|
12
|
-
"post": {
|
|
13
|
-
"tags": ["service", "web", "spatial"],
|
|
14
|
-
"summary": "Executes an HTTP service",
|
|
15
|
-
"parameters": [
|
|
16
|
-
{
|
|
17
|
-
"name": "path",
|
|
18
|
-
"summary": "Service address",
|
|
19
|
-
"required": true,
|
|
20
|
-
"description": "Address of the service to execute",
|
|
21
|
-
"schema": {
|
|
22
|
-
"type": "string"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "method",
|
|
27
|
-
"summary": "HTTP method",
|
|
28
|
-
"required": false,
|
|
29
|
-
"description": "HTTP method to use",
|
|
30
|
-
"schema": {
|
|
31
|
-
"type": "string"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"name": "body",
|
|
36
|
-
"summary": "Value",
|
|
37
|
-
"required": false,
|
|
38
|
-
"description": "Value to send",
|
|
39
|
-
"schema": {
|
|
40
|
-
"type": "object"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "headers",
|
|
45
|
-
"summary": "Headers",
|
|
46
|
-
"required": false,
|
|
47
|
-
"description": "Headers to send",
|
|
48
|
-
"schema": {
|
|
49
|
-
"type": "object"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "IS_JSON",
|
|
54
|
-
"summary": "JSON API",
|
|
55
|
-
"required": false,
|
|
56
|
-
"description": "Indicates if the API is in 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": "Adds an HTTP resource",
|
|
69
|
-
"parameters": [
|
|
70
|
-
{
|
|
71
|
-
"name": "path",
|
|
72
|
-
"summary": "Service address",
|
|
73
|
-
"required": true,
|
|
74
|
-
"description": "Address of the service to execute",
|
|
75
|
-
"schema": {
|
|
76
|
-
"type": "string"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "body",
|
|
81
|
-
"summary": "Value",
|
|
82
|
-
"required": false,
|
|
83
|
-
"description": "Value to send",
|
|
84
|
-
"schema": {
|
|
85
|
-
"type": "object"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"name": "headers",
|
|
90
|
-
"summary": "Headers",
|
|
91
|
-
"required": false,
|
|
92
|
-
"description": "Headers to send",
|
|
93
|
-
"schema": {
|
|
94
|
-
"type": "object"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "IS_JSON",
|
|
99
|
-
"summary": "JSON API",
|
|
100
|
-
"required": false,
|
|
101
|
-
"description": "Indicates if the API is in 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": "Reads an HTTP resource",
|
|
114
|
-
"parameters": [
|
|
115
|
-
{
|
|
116
|
-
"name": "path",
|
|
117
|
-
"summary": "Service address",
|
|
118
|
-
"required": true,
|
|
119
|
-
"description": "Address of the service to execute",
|
|
120
|
-
"schema": {
|
|
121
|
-
"type": "string"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"name": "headers",
|
|
126
|
-
"summary": "Headers",
|
|
127
|
-
"required": false,
|
|
128
|
-
"description": "Headers to send",
|
|
129
|
-
"schema": {
|
|
130
|
-
"type": "object"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "IS_JSON",
|
|
135
|
-
"summary": "JSON API",
|
|
136
|
-
"required": false,
|
|
137
|
-
"description": "Indicates if the API is in 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": "Modifies an HTTP resource",
|
|
150
|
-
"parameters": [
|
|
151
|
-
{
|
|
152
|
-
"name": "path",
|
|
153
|
-
"summary": "Service address",
|
|
154
|
-
"required": true,
|
|
155
|
-
"description": "Address of the service to execute",
|
|
156
|
-
"schema": {
|
|
157
|
-
"type": "string"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"name": "body",
|
|
162
|
-
"summary": "Value",
|
|
163
|
-
"required": false,
|
|
164
|
-
"description": "Value to send",
|
|
165
|
-
"schema": {
|
|
166
|
-
"type": "object"
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"name": "headers",
|
|
171
|
-
"summary": "Headers",
|
|
172
|
-
"required": false,
|
|
173
|
-
"description": "Headers to send",
|
|
174
|
-
"schema": {
|
|
175
|
-
"type": "object"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "IS_JSON",
|
|
180
|
-
"summary": "JSON API",
|
|
181
|
-
"required": false,
|
|
182
|
-
"description": "Indicates if the API is in 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": "Modifies part of an HTTP resource",
|
|
195
|
-
"parameters": [
|
|
196
|
-
{
|
|
197
|
-
"name": "path",
|
|
198
|
-
"summary": "Service address",
|
|
199
|
-
"required": true,
|
|
200
|
-
"description": "Address of the service to execute",
|
|
201
|
-
"schema": {
|
|
202
|
-
"type": "string"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"name": "body",
|
|
207
|
-
"summary": "Value",
|
|
208
|
-
"required": false,
|
|
209
|
-
"description": "Value to send",
|
|
210
|
-
"schema": {
|
|
211
|
-
"type": "object"
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"name": "headers",
|
|
216
|
-
"summary": "Headers",
|
|
217
|
-
"required": false,
|
|
218
|
-
"description": "Headers to send",
|
|
219
|
-
"schema": {
|
|
220
|
-
"type": "object"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"name": "IS_JSON",
|
|
225
|
-
"summary": "JSON API",
|
|
226
|
-
"required": false,
|
|
227
|
-
"description": "Indicates if the API is in 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": "Deletes an HTTP resource",
|
|
240
|
-
"parameters": [
|
|
241
|
-
{
|
|
242
|
-
"name": "path",
|
|
243
|
-
"summary": "Service address",
|
|
244
|
-
"required": true,
|
|
245
|
-
"description": "Address of the service to execute",
|
|
246
|
-
"schema": {
|
|
247
|
-
"type": "string"
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"name": "headers",
|
|
252
|
-
"summary": "Headers",
|
|
253
|
-
"required": false,
|
|
254
|
-
"description": "Headers to send",
|
|
255
|
-
"schema": {
|
|
256
|
-
"type": "object"
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"name": "IS_JSON",
|
|
261
|
-
"summary": "JSON API",
|
|
262
|
-
"required": false,
|
|
263
|
-
"description": "Indicates if the API is in 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
|
-
}
|