@zeyos/client 0.1.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/CHANGELOG.md +31 -0
- package/LICENSE +21 -0
- package/README.md +458 -0
- package/agents/README.md +66 -0
- package/agents/shared/business-app-benchmarks.md +111 -0
- package/agents/shared/zeyos-entity-map.md +142 -0
- package/agents/shared/zeyos-entity-reference.md +570 -0
- package/agents/shared/zeyos-query-patterns.md +89 -0
- package/agents/zeyos-account-intelligence/SKILL.md +34 -0
- package/agents/zeyos-account-intelligence/agents/openai.yaml +4 -0
- package/agents/zeyos-account-intelligence/references/workflows.md +84 -0
- package/agents/zeyos-billing-insights/SKILL.md +41 -0
- package/agents/zeyos-billing-insights/agents/openai.yaml +4 -0
- package/agents/zeyos-billing-insights/references/workflows.md +106 -0
- package/agents/zeyos-campaign-and-outreach/SKILL.md +44 -0
- package/agents/zeyos-campaign-and-outreach/agents/openai.yaml +4 -0
- package/agents/zeyos-campaign-and-outreach/references/workflows.md +100 -0
- package/agents/zeyos-collaboration-and-activity/SKILL.md +37 -0
- package/agents/zeyos-collaboration-and-activity/agents/openai.yaml +4 -0
- package/agents/zeyos-collaboration-and-activity/references/workflows.md +104 -0
- package/agents/zeyos-collections-and-dunning/SKILL.md +46 -0
- package/agents/zeyos-collections-and-dunning/agents/openai.yaml +4 -0
- package/agents/zeyos-collections-and-dunning/references/workflows.md +132 -0
- package/agents/zeyos-commerce-and-inventory/SKILL.md +38 -0
- package/agents/zeyos-commerce-and-inventory/agents/openai.yaml +4 -0
- package/agents/zeyos-commerce-and-inventory/references/workflows.md +101 -0
- package/agents/zeyos-mail-operations/SKILL.md +35 -0
- package/agents/zeyos-mail-operations/agents/openai.yaml +4 -0
- package/agents/zeyos-mail-operations/references/workflows.md +110 -0
- package/agents/zeyos-notes-and-sops/SKILL.md +31 -0
- package/agents/zeyos-notes-and-sops/agents/openai.yaml +4 -0
- package/agents/zeyos-notes-and-sops/references/workflows.md +85 -0
- package/agents/zeyos-platform-and-schema/SKILL.md +37 -0
- package/agents/zeyos-platform-and-schema/agents/openai.yaml +4 -0
- package/agents/zeyos-platform-and-schema/references/workflows.md +97 -0
- package/agents/zeyos-work-management/SKILL.md +45 -0
- package/agents/zeyos-work-management/agents/openai.yaml +4 -0
- package/agents/zeyos-work-management/references/workflows.md +148 -0
- package/docs/01-api-reference/01-data-retrieval.md +601 -0
- package/docs/01-api-reference/02-authentication.md +288 -0
- package/docs/01-api-reference/03-resources.md +270 -0
- package/docs/01-api-reference/04-schema.md +539 -0
- package/docs/01-api-reference/_category_.json +9 -0
- package/docs/02-javascript-client/01-getting-started.md +146 -0
- package/docs/02-javascript-client/02-authentication.md +287 -0
- package/docs/02-javascript-client/03-making-requests.md +572 -0
- package/docs/02-javascript-client/04-practical-guide.md +348 -0
- package/docs/02-javascript-client/_category_.json +9 -0
- package/docs/03-cli/01-getting-started.md +219 -0
- package/docs/03-cli/02-commands.md +407 -0
- package/docs/03-cli/03-configuration.md +220 -0
- package/docs/03-cli/_category_.json +9 -0
- package/docs/04-agent-workflows/00-coding-agents.md +35 -0
- package/docs/04-agent-workflows/01-agent-quickstart.md +147 -0
- package/docs/04-agent-workflows/02-agent-recipes.md +109 -0
- package/docs/04-agent-workflows/03-cli-coverage-and-escalation.md +65 -0
- package/docs/04-agent-workflows/_category_.json +9 -0
- package/docs/04-sample-apps/01-kanban.md +89 -0
- package/docs/04-sample-apps/02-crm.md +81 -0
- package/docs/04-sample-apps/03-dashboard.md +80 -0
- package/docs/04-sample-apps/_category_.json +9 -0
- package/docs/05-tutorials/00-application-developers.md +43 -0
- package/docs/05-tutorials/01-integration-architecture.md +60 -0
- package/docs/05-tutorials/02-build-your-own-zeyos-frontend.md +517 -0
- package/docs/05-tutorials/03-server-side-integrations.md +185 -0
- package/docs/05-tutorials/_category_.json +9 -0
- package/docs/intro.md +197 -0
- package/openapi/api.json +24308 -0
- package/openapi/auth.json +415 -0
- package/openapi/dbref.json +56223 -0
- package/openapi/oauth2.json +781 -0
- package/openapi/sdk.json +949 -0
- package/openapi/views.txt +642 -0
- package/package.json +49 -0
- package/samples/crm/README.md +28 -0
- package/samples/crm/index.html +327 -0
- package/samples/crm/js/api.js +208 -0
- package/samples/crm/js/auth.js +61 -0
- package/samples/crm/js/main.js +545 -0
- package/samples/crm/js/state.js +90 -0
- package/samples/crm/js/ui.js +51 -0
- package/samples/dashboard/README.md +28 -0
- package/samples/dashboard/index.html +280 -0
- package/samples/dashboard/js/api.js +197 -0
- package/samples/dashboard/js/auth.js +59 -0
- package/samples/dashboard/js/main.js +382 -0
- package/samples/dashboard/js/state.js +81 -0
- package/samples/dashboard/js/ui.js +48 -0
- package/samples/kanban/README.md +28 -0
- package/samples/kanban/index.html +263 -0
- package/samples/kanban/js/api.js +152 -0
- package/samples/kanban/js/auth.js +59 -0
- package/samples/kanban/js/constants.js +40 -0
- package/samples/kanban/js/kanban.js +246 -0
- package/samples/kanban/js/main.js +362 -0
- package/samples/kanban/js/modals.js +474 -0
- package/samples/kanban/js/settings.js +82 -0
- package/samples/kanban/js/state.js +118 -0
- package/samples/kanban/js/ui.js +49 -0
- package/scripts/generate-client.mjs +344 -0
- package/src/generated/operations.js +9772 -0
- package/src/generated/schema.js +8982 -0
- package/src/index.js +85 -0
- package/src/runtime/client.js +1208 -0
- package/src/runtime/error.js +29 -0
- package/src/runtime/http.js +174 -0
- package/src/runtime/request-shape.js +35 -0
- package/src/runtime/schema.js +206 -0
- package/src/runtime/suggest.js +74 -0
- package/src/runtime/token-store.js +105 -0
package/openapi/sdk.json
ADDED
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "ZeyOS SDK API",
|
|
5
|
+
"termsOfService": "https://www.zeyos.com/termsofservice",
|
|
6
|
+
"contact": {
|
|
7
|
+
"name": "ZeyOS GmbH & Co. KG",
|
|
8
|
+
"url": "https://www.zeyos.com",
|
|
9
|
+
"email": "info@zeyos.com"
|
|
10
|
+
},
|
|
11
|
+
"version": "v1"
|
|
12
|
+
},
|
|
13
|
+
"externalDocs": {
|
|
14
|
+
"description": "ZeyOS Developer Center",
|
|
15
|
+
"url": "https://developers.zeyos.com"
|
|
16
|
+
},
|
|
17
|
+
"servers": [
|
|
18
|
+
{
|
|
19
|
+
"url": "https://cloud.zeyos.com/{INSTANCE}/sdk/v1",
|
|
20
|
+
"description": "ZeyOS Cloud",
|
|
21
|
+
"variables": {
|
|
22
|
+
"INSTANCE": {
|
|
23
|
+
"default": "demo"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"security": [
|
|
29
|
+
{
|
|
30
|
+
"token": []
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"tags": [
|
|
34
|
+
{
|
|
35
|
+
"name": "sync",
|
|
36
|
+
"description": "Synchronization"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "console",
|
|
40
|
+
"description": "Console"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "info",
|
|
44
|
+
"description": "Information"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"components": {
|
|
48
|
+
"securitySchemes": {
|
|
49
|
+
"token": {
|
|
50
|
+
"type": "http",
|
|
51
|
+
"scheme": "bearer",
|
|
52
|
+
"description": "HTTP Bearer Authentication ([RFC 6750](https://tools.ietf.org/html/rfc6750))"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"schemas": {
|
|
56
|
+
"applications": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"lastmodified": {
|
|
60
|
+
"type": "integer",
|
|
61
|
+
"format": "int64",
|
|
62
|
+
"description": "Last modification date and time as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) (auto-reset on modification)",
|
|
63
|
+
"example": 872838840
|
|
64
|
+
},
|
|
65
|
+
"name": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1,
|
|
68
|
+
"description": "Name",
|
|
69
|
+
"example": "My Application"
|
|
70
|
+
},
|
|
71
|
+
"vendor": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"description": "Vendor (developer or company name)",
|
|
74
|
+
"example": "ZeyOS"
|
|
75
|
+
},
|
|
76
|
+
"defaultsettings": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"format": "json",
|
|
79
|
+
"nullable": true,
|
|
80
|
+
"default": null,
|
|
81
|
+
"description": "[JSON](https://tools.ietf.org/html/rfc7159)-encoded default settings (object) ([MD5](https://tools.ietf.org/html/rfc1321) hash for `GET /sync` and actual content for `PATCH /sync`)",
|
|
82
|
+
"example": "{...}"
|
|
83
|
+
},
|
|
84
|
+
"settings": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"format": "json",
|
|
87
|
+
"nullable": true,
|
|
88
|
+
"default": null,
|
|
89
|
+
"description": "[JSON](https://tools.ietf.org/html/rfc7159)-encoded settings (object) ([MD5](https://tools.ietf.org/html/rfc1321) hash for `GET /sync` and actual content for `PATCH /sync`)",
|
|
90
|
+
"example": "{...}"
|
|
91
|
+
},
|
|
92
|
+
"readme": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"description": "README [markdown](https://en.wikipedia.org/wiki/Markdown) text ([MD5](https://tools.ietf.org/html/rfc1321) hash for `GET /sync` and actual content for `PATCH /sync`)"
|
|
95
|
+
},
|
|
96
|
+
"settingscode": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"description": "Settings form code ([MD5](https://tools.ietf.org/html/rfc1321) hash for `GET /sync` and actual content for `PATCH /sync`)"
|
|
99
|
+
},
|
|
100
|
+
"usersettingscode": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "User settings form code ([MD5](https://tools.ietf.org/html/rfc1321) hash for `GET /sync` and actual content for `PATCH /sync`)"
|
|
103
|
+
},
|
|
104
|
+
"assets": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"description": "Assets; use asset filename as object key",
|
|
107
|
+
"example": {
|
|
108
|
+
"my_asset1": {},
|
|
109
|
+
"my_asset2": {}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"services": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"description": "Services; use partial service identifier as object key",
|
|
115
|
+
"example": {
|
|
116
|
+
"my_service1": {},
|
|
117
|
+
"my_service2": {}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"resources": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"description": "Resources; use partial resource identifier as object key",
|
|
123
|
+
"example": {
|
|
124
|
+
"my_resource1": {},
|
|
125
|
+
"my_resource2": {}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"weblets": {
|
|
129
|
+
"type": "object",
|
|
130
|
+
"description": "Weblets; use partial weblet identifier as object key",
|
|
131
|
+
"example": {
|
|
132
|
+
"my_weblet1": {},
|
|
133
|
+
"my_weblet2": {}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"GET": {
|
|
137
|
+
"type": "boolean",
|
|
138
|
+
"default": false,
|
|
139
|
+
"description": "Return this application; only for `PATCH /sync`"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"assets": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"properties": {
|
|
146
|
+
"lastmodified": {
|
|
147
|
+
"type": "integer",
|
|
148
|
+
"format": "int64",
|
|
149
|
+
"description": "Last modification date and time as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) (auto-reset on modification)",
|
|
150
|
+
"example": 872838840
|
|
151
|
+
},
|
|
152
|
+
"mimetype": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"pattern": "^[a-z]+/[^ \\t\\v\\r\\n]+$",
|
|
155
|
+
"default": "application/octet-stream",
|
|
156
|
+
"description": "[MIME type](https://en.wikipedia.org/wiki/Media_type) ([RFC 2045](https://tools.ietf.org/html/rfc2045))",
|
|
157
|
+
"example": "text/plain"
|
|
158
|
+
},
|
|
159
|
+
"content": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"description": "Content ([MD5](https://tools.ietf.org/html/rfc1321) hash for `GET /sync` and actual content for `PATCH /sync`); must always be [Base64](https://tools.ietf.org/html/rfc2045)-encoded"
|
|
162
|
+
},
|
|
163
|
+
"GET": {
|
|
164
|
+
"type": "boolean",
|
|
165
|
+
"default": false,
|
|
166
|
+
"description": "Return this asset; only for `PATCH /sync`"
|
|
167
|
+
},
|
|
168
|
+
"DELETE": {
|
|
169
|
+
"type": "boolean",
|
|
170
|
+
"default": false,
|
|
171
|
+
"description": "Permanently delete this asset; only for `PATCH /sync`"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"services": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"properties": {
|
|
178
|
+
"lastmodified": {
|
|
179
|
+
"type": "integer",
|
|
180
|
+
"format": "int64",
|
|
181
|
+
"description": "Last modification date and time as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) (auto-reset on modification)",
|
|
182
|
+
"example": 872838840
|
|
183
|
+
},
|
|
184
|
+
"name": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"minLength": 1,
|
|
187
|
+
"description": "Name",
|
|
188
|
+
"example": "My Service"
|
|
189
|
+
},
|
|
190
|
+
"type": {
|
|
191
|
+
"type": "integer",
|
|
192
|
+
"enum": [0, 1, 2, 3, 4, 5, 6, 7],
|
|
193
|
+
"nullable": true,
|
|
194
|
+
"default": null,
|
|
195
|
+
"description": "Service type (`0`=TIMING, `1`=REMOTECALL, `2`=AFTER_CREATION, `3`=BEFORE_MODIFICATION, `4`=AFTER_MODIFICATION, `5`=AFTER_CREATION_MODIFICATION, `6`=BEFORE_DELETION, `7`=AFTER_DELETION)",
|
|
196
|
+
"example": 5
|
|
197
|
+
},
|
|
198
|
+
"entity": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"description": "Canonical entity; only for AFTER_CREATION, BEFORE_MODIFICATION, AFTER_MODIFICATION, AFTER_CREATION_MODIFICATION, BEFORE_DELETION or AFTER_DELETION",
|
|
201
|
+
"example": "notes"
|
|
202
|
+
},
|
|
203
|
+
"schedule": {
|
|
204
|
+
"type": "integer",
|
|
205
|
+
"format": "int32",
|
|
206
|
+
"minimum": 0,
|
|
207
|
+
"default": 0,
|
|
208
|
+
"description": "Schedule as a minute of each day; only for TIMING"
|
|
209
|
+
},
|
|
210
|
+
"interval": {
|
|
211
|
+
"type": "integer",
|
|
212
|
+
"minimum": 1,
|
|
213
|
+
"maximum": 1440,
|
|
214
|
+
"default": 1,
|
|
215
|
+
"description": "Interval in minutes; only for TIMING"
|
|
216
|
+
},
|
|
217
|
+
"url": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"format": "uri",
|
|
220
|
+
"description": "Request URL (alternative to `code`)"
|
|
221
|
+
},
|
|
222
|
+
"mimetype": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"enum": ["application/ixml+xml", "text/x-zymba"],
|
|
225
|
+
"description": "[MIME type](https://en.wikipedia.org/wiki/Media_type) ([RFC 2045](https://tools.ietf.org/html/rfc2045))",
|
|
226
|
+
"example": "text/x-zymba"
|
|
227
|
+
},
|
|
228
|
+
"code": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"description": "Code ([MD5](https://tools.ietf.org/html/rfc1321) hash for `GET /sync` and actual content for `PATCH /sync`); binary data must be [Base64](https://tools.ietf.org/html/rfc2045)-encoded"
|
|
231
|
+
},
|
|
232
|
+
"GET": {
|
|
233
|
+
"type": "boolean",
|
|
234
|
+
"default": false,
|
|
235
|
+
"description": "Return this service; only for `PATCH /sync`"
|
|
236
|
+
},
|
|
237
|
+
"DELETE": {
|
|
238
|
+
"type": "boolean",
|
|
239
|
+
"default": false,
|
|
240
|
+
"description": "Permanently delete this service; only for `PATCH /sync`"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"resources": {
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"lastmodified": {
|
|
248
|
+
"type": "integer",
|
|
249
|
+
"format": "int64",
|
|
250
|
+
"description": "Last modification date and time as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) (auto-reset on modification)",
|
|
251
|
+
"example": 872838840
|
|
252
|
+
},
|
|
253
|
+
"name": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"minLength": 1,
|
|
256
|
+
"description": "Name",
|
|
257
|
+
"example": "My Resource"
|
|
258
|
+
},
|
|
259
|
+
"mimetype": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"pattern": "^[a-z]+/[^ \\t\\v\\r\\n]+$",
|
|
262
|
+
"description": "[MIME type](https://en.wikipedia.org/wiki/Media_type) ([RFC 2045](https://tools.ietf.org/html/rfc2045))",
|
|
263
|
+
"example": "text/x-zymba"
|
|
264
|
+
},
|
|
265
|
+
"public": {
|
|
266
|
+
"type": "integer",
|
|
267
|
+
"enum": [0, 1],
|
|
268
|
+
"default": 0,
|
|
269
|
+
"description": "Publicly accessible"
|
|
270
|
+
},
|
|
271
|
+
"code": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"description": "Code ([MD5](https://tools.ietf.org/html/rfc1321) hash for `GET /sync` and actual content for `PATCH /sync`); binary data must be [Base64](https://tools.ietf.org/html/rfc2045)-encoded"
|
|
274
|
+
},
|
|
275
|
+
"GET": {
|
|
276
|
+
"type": "boolean",
|
|
277
|
+
"default": false,
|
|
278
|
+
"description": "Return this resource; only for `PATCH /sync`"
|
|
279
|
+
},
|
|
280
|
+
"DELETE": {
|
|
281
|
+
"type": "boolean",
|
|
282
|
+
"default": false,
|
|
283
|
+
"description": "Permanently delete this resource; only for `PATCH /sync`"
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"weblets": {
|
|
288
|
+
"type": "object",
|
|
289
|
+
"properties": {
|
|
290
|
+
"lastmodified": {
|
|
291
|
+
"type": "integer",
|
|
292
|
+
"format": "int64",
|
|
293
|
+
"description": "Last modification date and time as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time) (auto-reset on modification)",
|
|
294
|
+
"example": 872838840
|
|
295
|
+
},
|
|
296
|
+
"name": {
|
|
297
|
+
"type": "string",
|
|
298
|
+
"minLength": 1,
|
|
299
|
+
"description": "Name",
|
|
300
|
+
"example": "My Weblet"
|
|
301
|
+
},
|
|
302
|
+
"view": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"description": "Canonical view",
|
|
305
|
+
"example": "notes.index"
|
|
306
|
+
},
|
|
307
|
+
"type": {
|
|
308
|
+
"type": "integer",
|
|
309
|
+
"enum": [0, 1, 2, 3, 4, 5, 6, 7],
|
|
310
|
+
"default": 0,
|
|
311
|
+
"description": "Weblet type (`0`=INTEGRATED, `1`=STANDALONE, `2`=DETACHED, `3`=POPUP_FRAMED, `4`=POPUP_PLAIN, `5`=EMBEDDED_FRAMED, `6`=EMBEDDED_COLLAPSED, `7`=EMBEDDED_PLAIN)"
|
|
312
|
+
},
|
|
313
|
+
"width": {
|
|
314
|
+
"type": "integer",
|
|
315
|
+
"minimum": 0,
|
|
316
|
+
"maximum": 32767,
|
|
317
|
+
"default": 0,
|
|
318
|
+
"description": "Width in pixels (`0`=100%)"
|
|
319
|
+
},
|
|
320
|
+
"height": {
|
|
321
|
+
"type": "integer",
|
|
322
|
+
"minimum": 0,
|
|
323
|
+
"maximum": 32767,
|
|
324
|
+
"default": 0,
|
|
325
|
+
"description": "Height in pixels (`0`=100%)"
|
|
326
|
+
},
|
|
327
|
+
"url": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"format": "uri",
|
|
330
|
+
"description": "Request URL (alternative to `code`)"
|
|
331
|
+
},
|
|
332
|
+
"svgpath": {
|
|
333
|
+
"type": "string",
|
|
334
|
+
"description": "[SVG path](https://www.w3.org/TR/SVG11/paths.html) for icon (square)"
|
|
335
|
+
},
|
|
336
|
+
"color": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"pattern": "^([A-F0-9]{3}){0,2}$",
|
|
339
|
+
"description": "Color code (CSS-style hexadecimal without `#`)"
|
|
340
|
+
},
|
|
341
|
+
"mimetype": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"enum": ["application/ixml+xml", "text/x-zymba"],
|
|
344
|
+
"description": "[MIME type](https://en.wikipedia.org/wiki/Media_type) ([RFC 2045](https://tools.ietf.org/html/rfc2045))",
|
|
345
|
+
"example": "text/x-zymba"
|
|
346
|
+
},
|
|
347
|
+
"langaliases": {
|
|
348
|
+
"type": "object",
|
|
349
|
+
"nullable": true,
|
|
350
|
+
"default": null,
|
|
351
|
+
"description": "Language-specific aliases; use language code as object key",
|
|
352
|
+
"example": {
|
|
353
|
+
"en_US": "My new Weblet",
|
|
354
|
+
"de_DE": "Mein neues Weblet"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"code": {
|
|
358
|
+
"type": "string",
|
|
359
|
+
"description": "Code ([MD5](https://tools.ietf.org/html/rfc1321) hash for `GET /sync` and actual content for `PATCH /sync`); binary data must be [Base64](https://tools.ietf.org/html/rfc2045)-encoded"
|
|
360
|
+
},
|
|
361
|
+
"GET": {
|
|
362
|
+
"type": "boolean",
|
|
363
|
+
"default": false,
|
|
364
|
+
"description": "Return this weblet; only for `PATCH /sync`"
|
|
365
|
+
},
|
|
366
|
+
"DELETE": {
|
|
367
|
+
"type": "boolean",
|
|
368
|
+
"default": false,
|
|
369
|
+
"description": "Permanently delete this weblet; only for `PATCH /sync`"
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"parameters": {
|
|
375
|
+
"APP": {
|
|
376
|
+
"name": "APP",
|
|
377
|
+
"in": "path",
|
|
378
|
+
"required": true,
|
|
379
|
+
"description": "Unique application identifier",
|
|
380
|
+
"schema": {
|
|
381
|
+
"type": "string",
|
|
382
|
+
"maxLength": 200,
|
|
383
|
+
"pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_.-]*[a-zA-Z0-9])?$",
|
|
384
|
+
"example": "my_application"
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"requestBodies": {
|
|
389
|
+
"sync": {
|
|
390
|
+
"content": {
|
|
391
|
+
"application/x-www-form-urlencoded": {
|
|
392
|
+
"schema": {
|
|
393
|
+
"$ref": "#/components/schemas/applications"
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"application/json": {
|
|
397
|
+
"schema": {
|
|
398
|
+
"$ref": "#/components/schemas/applications"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"responses": {
|
|
405
|
+
"401": {
|
|
406
|
+
"description": "Unauthorized",
|
|
407
|
+
"headers": {
|
|
408
|
+
"WWW-Authenticate": {
|
|
409
|
+
"description": "Preferred authentication scheme ([RFC 7235](https://tools.ietf.org/html/rfc7235#section-4.1))",
|
|
410
|
+
"schema": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"example": "Bearer realm=\"{INSTANCE}\" error=\"invalid_token\""
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"content": {
|
|
417
|
+
"text/plain": {
|
|
418
|
+
"schema": {
|
|
419
|
+
"type": "string",
|
|
420
|
+
"example": "Unauthorized: Invalid bearer token"
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"403": {
|
|
426
|
+
"description": "Forbidden",
|
|
427
|
+
"content": {
|
|
428
|
+
"text/plain": {
|
|
429
|
+
"schema": {
|
|
430
|
+
"type": "string",
|
|
431
|
+
"example": "Forbidden: Lacking developer permission"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"500": {
|
|
437
|
+
"description": "Runtime Error (Internal Server Error)",
|
|
438
|
+
"content": {
|
|
439
|
+
"text/plain": {
|
|
440
|
+
"schema": {
|
|
441
|
+
"type": "string",
|
|
442
|
+
"example": "I am afraid I can't do that Dave!"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"paths": {
|
|
450
|
+
"/sync/{APP}": {
|
|
451
|
+
"get": {
|
|
452
|
+
"tags": ["sync"],
|
|
453
|
+
"summary": "Get application",
|
|
454
|
+
"description": "Return all data and enhancements of an existing application by **`APP`** identifier.",
|
|
455
|
+
"operationId": "getApplication",
|
|
456
|
+
"parameters": [
|
|
457
|
+
{
|
|
458
|
+
"$ref": "#/components/parameters/APP"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"responses": {
|
|
462
|
+
"200": {
|
|
463
|
+
"description": "OK",
|
|
464
|
+
"content": {
|
|
465
|
+
"application/json": {
|
|
466
|
+
"schema": {
|
|
467
|
+
"$ref": "#/components/schemas/applications"
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"401": {
|
|
473
|
+
"$ref": "#/components/responses/401"
|
|
474
|
+
},
|
|
475
|
+
"403": {
|
|
476
|
+
"$ref": "#/components/responses/403"
|
|
477
|
+
},
|
|
478
|
+
"404": {
|
|
479
|
+
"description": "Not Found"
|
|
480
|
+
},
|
|
481
|
+
"500": {
|
|
482
|
+
"$ref": "#/components/responses/500"
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"put": {
|
|
487
|
+
"tags": ["sync"],
|
|
488
|
+
"summary": "Create new application",
|
|
489
|
+
"description": "Create a new application with **`APP`** identifier and return its persistent data.",
|
|
490
|
+
"operationId": "createApplication",
|
|
491
|
+
"parameters": [
|
|
492
|
+
{
|
|
493
|
+
"$ref": "#/components/parameters/APP"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"requestBody": {
|
|
497
|
+
"$ref": "#/components/requestBodies/sync"
|
|
498
|
+
},
|
|
499
|
+
"responses": {
|
|
500
|
+
"201": {
|
|
501
|
+
"description": "Successful Creation (Created)",
|
|
502
|
+
"content": {
|
|
503
|
+
"application/json": {
|
|
504
|
+
"schema": {
|
|
505
|
+
"$ref": "#/components/schemas/applications"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"401": {
|
|
511
|
+
"$ref": "#/components/responses/401"
|
|
512
|
+
},
|
|
513
|
+
"403": {
|
|
514
|
+
"$ref": "#/components/responses/403"
|
|
515
|
+
},
|
|
516
|
+
"410": {
|
|
517
|
+
"description": "Gone"
|
|
518
|
+
},
|
|
519
|
+
"500": {
|
|
520
|
+
"$ref": "#/components/responses/500"
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"patch": {
|
|
525
|
+
"tags": ["sync"],
|
|
526
|
+
"summary": "Update existing application",
|
|
527
|
+
"description": "Update an existing application by **`APP`** identifier and optionally return its persistent data.",
|
|
528
|
+
"operationId": "updateApplication",
|
|
529
|
+
"parameters": [
|
|
530
|
+
{
|
|
531
|
+
"$ref": "#/components/parameters/APP"
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
"requestBody": {
|
|
535
|
+
"$ref": "#/components/requestBodies/sync"
|
|
536
|
+
},
|
|
537
|
+
"responses": {
|
|
538
|
+
"200": {
|
|
539
|
+
"description": "Successful Update (OK)",
|
|
540
|
+
"content": {
|
|
541
|
+
"application/json": {
|
|
542
|
+
"schema": {
|
|
543
|
+
"$ref": "#/components/schemas/applications"
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"401": {
|
|
549
|
+
"$ref": "#/components/responses/401"
|
|
550
|
+
},
|
|
551
|
+
"403": {
|
|
552
|
+
"$ref": "#/components/responses/403"
|
|
553
|
+
},
|
|
554
|
+
"404": {
|
|
555
|
+
"description": "Not Found"
|
|
556
|
+
},
|
|
557
|
+
"410": {
|
|
558
|
+
"description": "Gone"
|
|
559
|
+
},
|
|
560
|
+
"500": {
|
|
561
|
+
"$ref": "#/components/responses/500"
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"post": {
|
|
566
|
+
"tags": ["sync"],
|
|
567
|
+
"summary": "Set application activity",
|
|
568
|
+
"description": "Set the activity state of an existing application by **`APP`** identifier.",
|
|
569
|
+
"operationId": "setApplicationActivity",
|
|
570
|
+
"parameters": [
|
|
571
|
+
{
|
|
572
|
+
"$ref": "#/components/parameters/APP"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"name": "activity",
|
|
576
|
+
"in": "query",
|
|
577
|
+
"description": "Activity (`0`=ACTIVE, `1`=DEACTIVATED, `2`=DELETED)",
|
|
578
|
+
"schema": {
|
|
579
|
+
"type": "integer",
|
|
580
|
+
"enum": [0, 1, 2],
|
|
581
|
+
"default": 0
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
],
|
|
585
|
+
"responses": {
|
|
586
|
+
"204": {
|
|
587
|
+
"description": "Successful Update (No Content)"
|
|
588
|
+
},
|
|
589
|
+
"401": {
|
|
590
|
+
"$ref": "#/components/responses/401"
|
|
591
|
+
},
|
|
592
|
+
"403": {
|
|
593
|
+
"$ref": "#/components/responses/403"
|
|
594
|
+
},
|
|
595
|
+
"404": {
|
|
596
|
+
"description": "Not Found"
|
|
597
|
+
},
|
|
598
|
+
"409": {
|
|
599
|
+
"description": "Not Updatable (Conflict)"
|
|
600
|
+
},
|
|
601
|
+
"410": {
|
|
602
|
+
"description": "Gone"
|
|
603
|
+
},
|
|
604
|
+
"500": {
|
|
605
|
+
"$ref": "#/components/responses/500"
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"delete": {
|
|
610
|
+
"tags": ["sync"],
|
|
611
|
+
"summary": "Delete application",
|
|
612
|
+
"description": "Permanently delete an existing application by **`APP`** identifier.",
|
|
613
|
+
"operationId": "deleteApplication",
|
|
614
|
+
"parameters": [
|
|
615
|
+
{
|
|
616
|
+
"$ref": "#/components/parameters/APP"
|
|
617
|
+
}
|
|
618
|
+
],
|
|
619
|
+
"responses": {
|
|
620
|
+
"204": {
|
|
621
|
+
"description": "Successful Deletion (No Content)"
|
|
622
|
+
},
|
|
623
|
+
"401": {
|
|
624
|
+
"$ref": "#/components/responses/401"
|
|
625
|
+
},
|
|
626
|
+
"403": {
|
|
627
|
+
"$ref": "#/components/responses/403"
|
|
628
|
+
},
|
|
629
|
+
"404": {
|
|
630
|
+
"description": "Not Found"
|
|
631
|
+
},
|
|
632
|
+
"409": {
|
|
633
|
+
"description": "Not Deletable (Conflict)"
|
|
634
|
+
},
|
|
635
|
+
"500": {
|
|
636
|
+
"$ref": "#/components/responses/500"
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"/compile": {
|
|
642
|
+
"put": {
|
|
643
|
+
"tags": ["console"],
|
|
644
|
+
"summary": "Compile console",
|
|
645
|
+
"description": "Compile arbitrary [Zymba](https://developers.zeyos.com/zymba) or [iXML](https://developers.zeyos.com/ixml) code via the runtime console and return compilation info.",
|
|
646
|
+
"operationId": "compile",
|
|
647
|
+
"parameters": [
|
|
648
|
+
{
|
|
649
|
+
"name": "intermediate",
|
|
650
|
+
"in": "query",
|
|
651
|
+
"description": "Return intermediate code",
|
|
652
|
+
"schema": {
|
|
653
|
+
"type": "integer",
|
|
654
|
+
"enum": [0, 1],
|
|
655
|
+
"default": 0
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"requestBody": {
|
|
660
|
+
"required": true,
|
|
661
|
+
"content": {
|
|
662
|
+
"application/ixml+xml": {},
|
|
663
|
+
"text/x-zymba": {}
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"responses": {
|
|
667
|
+
"200": {
|
|
668
|
+
"description": "OK",
|
|
669
|
+
"content": {
|
|
670
|
+
"application/json": {
|
|
671
|
+
"schema": {
|
|
672
|
+
"type": "object",
|
|
673
|
+
"properties": {
|
|
674
|
+
"engine": {
|
|
675
|
+
"type": "string",
|
|
676
|
+
"enum": ["Zymba", "iXML"],
|
|
677
|
+
"description": "Engine"
|
|
678
|
+
},
|
|
679
|
+
"version": {
|
|
680
|
+
"type": "integer",
|
|
681
|
+
"format": "int32",
|
|
682
|
+
"minimum": 10000,
|
|
683
|
+
"description": "Engine version number (formatted as 1.00-00)",
|
|
684
|
+
"example": 10000
|
|
685
|
+
},
|
|
686
|
+
"error": {
|
|
687
|
+
"type": "string",
|
|
688
|
+
"description": "Error message",
|
|
689
|
+
"example": "I am afraid I can't do that Dave!"
|
|
690
|
+
},
|
|
691
|
+
"zcode": {
|
|
692
|
+
"type": "array",
|
|
693
|
+
"nullable": true,
|
|
694
|
+
"description": "Z code (Zmyba intermediate code)",
|
|
695
|
+
"items": {
|
|
696
|
+
"type": "object"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"phpcode": {
|
|
700
|
+
"type": "string",
|
|
701
|
+
"description": "Native PHP code of compilation unit"
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
"401": {
|
|
709
|
+
"$ref": "#/components/responses/401"
|
|
710
|
+
},
|
|
711
|
+
"403": {
|
|
712
|
+
"$ref": "#/components/responses/403"
|
|
713
|
+
},
|
|
714
|
+
"500": {
|
|
715
|
+
"$ref": "#/components/responses/500"
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"/run": {
|
|
721
|
+
"put": {
|
|
722
|
+
"tags": ["console"],
|
|
723
|
+
"summary": "Run console",
|
|
724
|
+
"description": "Run arbitrary [Zymba](https://developers.zeyos.com/zymba) or [iXML](https://developers.zeyos.com/ixml) code via the runtime console and return execution info and output.",
|
|
725
|
+
"operationId": "run",
|
|
726
|
+
"parameters": [
|
|
727
|
+
{
|
|
728
|
+
"name": "identifier",
|
|
729
|
+
"in": "query",
|
|
730
|
+
"description": "Enhancement identifier",
|
|
731
|
+
"schema": {
|
|
732
|
+
"type": "string",
|
|
733
|
+
"maxLength": 200,
|
|
734
|
+
"pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_.-]*[a-zA-Z0-9])?$",
|
|
735
|
+
"example": "my_enhancement"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "appidentifier",
|
|
740
|
+
"in": "query",
|
|
741
|
+
"description": "Application identifier",
|
|
742
|
+
"schema": {
|
|
743
|
+
"type": "string",
|
|
744
|
+
"maxLength": 200,
|
|
745
|
+
"pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_.-]*[a-zA-Z0-9])?$",
|
|
746
|
+
"example": "my_application"
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
],
|
|
750
|
+
"requestBody": {
|
|
751
|
+
"required": true,
|
|
752
|
+
"content": {
|
|
753
|
+
"application/ixml+xml": {},
|
|
754
|
+
"text/x-zymba": {}
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"responses": {
|
|
758
|
+
"200": {
|
|
759
|
+
"description": "OK",
|
|
760
|
+
"content": {
|
|
761
|
+
"application/json": {
|
|
762
|
+
"schema": {
|
|
763
|
+
"type": "object",
|
|
764
|
+
"properties": {
|
|
765
|
+
"load": {
|
|
766
|
+
"type": "number",
|
|
767
|
+
"format": "double",
|
|
768
|
+
"minimum": 0.0,
|
|
769
|
+
"description": "Load time duration in seconds (with nanoseconds in fractional part)",
|
|
770
|
+
"example": 0.021389961242676
|
|
771
|
+
},
|
|
772
|
+
"exec": {
|
|
773
|
+
"type": "number",
|
|
774
|
+
"format": "double",
|
|
775
|
+
"minimum": 0.0,
|
|
776
|
+
"description": "Execution time duration in seconds (with nanoseconds in fractional part)",
|
|
777
|
+
"example": 0.47201299667358
|
|
778
|
+
},
|
|
779
|
+
"memory": {
|
|
780
|
+
"type": "integer",
|
|
781
|
+
"format": "int64",
|
|
782
|
+
"minimum": 0,
|
|
783
|
+
"description": "Peak memory usage in bytes",
|
|
784
|
+
"example": 528640
|
|
785
|
+
},
|
|
786
|
+
"size": {
|
|
787
|
+
"type": "integer",
|
|
788
|
+
"format": "int64",
|
|
789
|
+
"minimum": 0,
|
|
790
|
+
"description": "Output size in bytes",
|
|
791
|
+
"example": 24
|
|
792
|
+
},
|
|
793
|
+
"engine": {
|
|
794
|
+
"type": "string",
|
|
795
|
+
"enum": ["Zymba", "iXML"],
|
|
796
|
+
"description": "Engine"
|
|
797
|
+
},
|
|
798
|
+
"version": {
|
|
799
|
+
"type": "integer",
|
|
800
|
+
"format": "int32",
|
|
801
|
+
"minimum": 10000,
|
|
802
|
+
"description": "Engine version number (formatted as 1.00-00)",
|
|
803
|
+
"example": 10000
|
|
804
|
+
},
|
|
805
|
+
"error": {
|
|
806
|
+
"type": "string",
|
|
807
|
+
"description": "Error message",
|
|
808
|
+
"example": "I am afraid I can't do that Dave!"
|
|
809
|
+
},
|
|
810
|
+
"status": {
|
|
811
|
+
"type": "integer",
|
|
812
|
+
"format": "int64",
|
|
813
|
+
"nullable": true,
|
|
814
|
+
"description": "HTTP response status code (if set)",
|
|
815
|
+
"example": 200
|
|
816
|
+
},
|
|
817
|
+
"headers": {
|
|
818
|
+
"type": "object",
|
|
819
|
+
"description": "HTTP response headers as name (lower-case) and value pairs",
|
|
820
|
+
"example": {
|
|
821
|
+
"content-type": "text/html",
|
|
822
|
+
"content-disposition": "attachment; filename=\"test.html\""
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"debug": {
|
|
826
|
+
"type": "string",
|
|
827
|
+
"description": "Debug output ([C-style escaped](https://en.wikipedia.org/wiki/Escape_sequences_in_C))",
|
|
828
|
+
"example": "ok"
|
|
829
|
+
},
|
|
830
|
+
"output": {
|
|
831
|
+
"type": "string",
|
|
832
|
+
"description": "Regular output ([C-style escaped](https://en.wikipedia.org/wiki/Escape_sequences_in_C))",
|
|
833
|
+
"example": "Simon says:\\nHello World!"
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
"401": {
|
|
841
|
+
"$ref": "#/components/responses/401"
|
|
842
|
+
},
|
|
843
|
+
"403": {
|
|
844
|
+
"$ref": "#/components/responses/403"
|
|
845
|
+
},
|
|
846
|
+
"500": {
|
|
847
|
+
"$ref": "#/components/responses/500"
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"/apps": {
|
|
853
|
+
"get": {
|
|
854
|
+
"tags": ["info"],
|
|
855
|
+
"summary": "List applications",
|
|
856
|
+
"description": "List all available applications.",
|
|
857
|
+
"operationId": "listApps",
|
|
858
|
+
"responses": {
|
|
859
|
+
"200": {
|
|
860
|
+
"description": "OK",
|
|
861
|
+
"content": {
|
|
862
|
+
"application/json": {
|
|
863
|
+
"schema": {
|
|
864
|
+
"type": "array",
|
|
865
|
+
"items": {
|
|
866
|
+
"type": "object",
|
|
867
|
+
"properties": {
|
|
868
|
+
"identifier": {
|
|
869
|
+
"type": "string",
|
|
870
|
+
"maxLength": 200,
|
|
871
|
+
"pattern": "^[a-zA-Z0-9]([a-zA-Z0-9_.-]*[a-zA-Z0-9])?$",
|
|
872
|
+
"description": "Unique application identifier",
|
|
873
|
+
"example": "my_application"
|
|
874
|
+
},
|
|
875
|
+
"lastmodified": {
|
|
876
|
+
"type": "integer",
|
|
877
|
+
"format": "int64",
|
|
878
|
+
"description": "Last modification date and time as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time)",
|
|
879
|
+
"example": 872838840
|
|
880
|
+
},
|
|
881
|
+
"activity": {
|
|
882
|
+
"type": "integer",
|
|
883
|
+
"enum": [0, 1, 2],
|
|
884
|
+
"default": 0,
|
|
885
|
+
"description": "Activity (`0`=ACTIVE, `1`=DEACTIVATED, `2`=DELETED)"
|
|
886
|
+
},
|
|
887
|
+
"name": {
|
|
888
|
+
"type": "string",
|
|
889
|
+
"minLength": 1,
|
|
890
|
+
"description": "Name",
|
|
891
|
+
"example": "My Application"
|
|
892
|
+
},
|
|
893
|
+
"vendor": {
|
|
894
|
+
"type": "string",
|
|
895
|
+
"description": "Vendor (developer or company name)",
|
|
896
|
+
"example": "ZeyOS"
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
"401": {
|
|
905
|
+
"$ref": "#/components/responses/401"
|
|
906
|
+
},
|
|
907
|
+
"403": {
|
|
908
|
+
"$ref": "#/components/responses/403"
|
|
909
|
+
},
|
|
910
|
+
"500": {
|
|
911
|
+
"$ref": "#/components/responses/500"
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
"/views": {
|
|
917
|
+
"get": {
|
|
918
|
+
"tags": ["info"],
|
|
919
|
+
"summary": "List views",
|
|
920
|
+
"description": "List all available view identifiers for weblets.",
|
|
921
|
+
"operationId": "listViews",
|
|
922
|
+
"responses": {
|
|
923
|
+
"200": {
|
|
924
|
+
"description": "OK",
|
|
925
|
+
"content": {
|
|
926
|
+
"application/json": {
|
|
927
|
+
"schema": {
|
|
928
|
+
"type": "array",
|
|
929
|
+
"items": {
|
|
930
|
+
"type": "string"
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
"401": {
|
|
937
|
+
"$ref": "#/components/responses/401"
|
|
938
|
+
},
|
|
939
|
+
"403": {
|
|
940
|
+
"$ref": "#/components/responses/403"
|
|
941
|
+
},
|
|
942
|
+
"500": {
|
|
943
|
+
"$ref": "#/components/responses/500"
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|