losant_rest 1.19.8 → 1.19.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/_schemas.md +3386 -964
- data/lib/platform_rest/client.rb +2 -2
- data/lib/platform_rest/version.rb +1 -1
- data/schemas/application.json +20 -4
- data/schemas/applicationCreationByTemplateResult.json +20 -4
- data/schemas/applicationTemplate.json +4 -0
- data/schemas/applicationTemplates.json +4 -0
- data/schemas/applications.json +20 -4
- data/schemas/credential.json +7 -1
- data/schemas/credentialLinkedResources.json +330 -18
- data/schemas/credentialPatch.json +11 -0
- data/schemas/credentialPost.json +16 -1
- data/schemas/credentials.json +7 -1
- data/schemas/experienceLinkedResources.json +330 -18
- data/schemas/flow.json +110 -6
- data/schemas/flowPatch.json +110 -6
- data/schemas/flowPost.json +110 -6
- data/schemas/flowVersion.json +220 -12
- data/schemas/flowVersionPost.json +110 -6
- data/schemas/flowVersions.json +220 -12
- data/schemas/flows.json +110 -6
- data/schemas/flowsImportPost.json +220 -12
- data/schemas/flowsImportResult.json +330 -18
- data/schemas/historicalSummaries.json +40 -8
- data/schemas/historicalSummary.json +40 -8
- data/schemas/instanceCustomNodePatch.json +8 -6
- data/schemas/instanceCustomNodePost.json +8 -6
- data/schemas/instanceOrg.json +20 -4
- data/schemas/instanceOrgs.json +20 -4
- data/schemas/instanceSandbox.json +20 -4
- data/schemas/instanceSandboxes.json +20 -4
- data/schemas/me.json +20 -4
- data/schemas/org.json +20 -4
- data/schemas/orgs.json +20 -4
- data/schemas/payloadStats.json +20 -4
- data/schemas/webhook.json +13 -0
- data/schemas/webhookPatch.json +13 -0
- data/schemas/webhookPost.json +13 -0
- data/schemas/webhooks.json +13 -0
- metadata +2 -2
data/lib/platform_rest/client.rb
CHANGED
@@ -27,7 +27,7 @@ module PlatformRest
|
|
27
27
|
#
|
28
28
|
# User API for accessing platform data
|
29
29
|
#
|
30
|
-
# Built For Version 1.26.
|
30
|
+
# Built For Version 1.26.9
|
31
31
|
class Client
|
32
32
|
attr_accessor :auth_token, :url
|
33
33
|
|
@@ -398,7 +398,7 @@ module PlatformRest
|
|
398
398
|
|
399
399
|
headers["Accept"] = "application/json"
|
400
400
|
headers["Content-Type"] = "application/json"
|
401
|
-
headers["Accept-Version"] = "^1.26.
|
401
|
+
headers["Accept-Version"] = "^1.26.9"
|
402
402
|
headers["Authorization"] = "Bearer #{self.auth_token}" if self.auth_token
|
403
403
|
path = self.url + options.fetch(:path, "")
|
404
404
|
|
data/schemas/application.json
CHANGED
@@ -181,6 +181,14 @@
|
|
181
181
|
"description": "Schema for the result of a payload stats request",
|
182
182
|
"type": "object",
|
183
183
|
"properties": {
|
184
|
+
"appFile": {
|
185
|
+
"type": "object",
|
186
|
+
"patternProperties": {
|
187
|
+
".*": {
|
188
|
+
"type": "number"
|
189
|
+
}
|
190
|
+
}
|
191
|
+
},
|
184
192
|
"dataTable": {
|
185
193
|
"type": "object",
|
186
194
|
"patternProperties": {
|
@@ -245,6 +253,14 @@
|
|
245
253
|
}
|
246
254
|
}
|
247
255
|
},
|
256
|
+
"inboundEmail": {
|
257
|
+
"type": "object",
|
258
|
+
"patternProperties": {
|
259
|
+
".*": {
|
260
|
+
"type": "number"
|
261
|
+
}
|
262
|
+
}
|
263
|
+
},
|
248
264
|
"integration": {
|
249
265
|
"type": "object",
|
250
266
|
"patternProperties": {
|
@@ -277,7 +293,7 @@
|
|
277
293
|
}
|
278
294
|
}
|
279
295
|
},
|
280
|
-
"
|
296
|
+
"resourceJob": {
|
281
297
|
"type": "object",
|
282
298
|
"patternProperties": {
|
283
299
|
".*": {
|
@@ -285,7 +301,7 @@
|
|
285
301
|
}
|
286
302
|
}
|
287
303
|
},
|
288
|
-
"
|
304
|
+
"timer": {
|
289
305
|
"type": "object",
|
290
306
|
"patternProperties": {
|
291
307
|
".*": {
|
@@ -293,7 +309,7 @@
|
|
293
309
|
}
|
294
310
|
}
|
295
311
|
},
|
296
|
-
"
|
312
|
+
"virtualButton": {
|
297
313
|
"type": "object",
|
298
314
|
"patternProperties": {
|
299
315
|
".*": {
|
@@ -301,7 +317,7 @@
|
|
301
317
|
}
|
302
318
|
}
|
303
319
|
},
|
304
|
-
"
|
320
|
+
"webhook": {
|
305
321
|
"type": "object",
|
306
322
|
"patternProperties": {
|
307
323
|
".*": {
|
@@ -186,6 +186,14 @@
|
|
186
186
|
"description": "Schema for the result of a payload stats request",
|
187
187
|
"type": "object",
|
188
188
|
"properties": {
|
189
|
+
"appFile": {
|
190
|
+
"type": "object",
|
191
|
+
"patternProperties": {
|
192
|
+
".*": {
|
193
|
+
"type": "number"
|
194
|
+
}
|
195
|
+
}
|
196
|
+
},
|
189
197
|
"dataTable": {
|
190
198
|
"type": "object",
|
191
199
|
"patternProperties": {
|
@@ -250,6 +258,14 @@
|
|
250
258
|
}
|
251
259
|
}
|
252
260
|
},
|
261
|
+
"inboundEmail": {
|
262
|
+
"type": "object",
|
263
|
+
"patternProperties": {
|
264
|
+
".*": {
|
265
|
+
"type": "number"
|
266
|
+
}
|
267
|
+
}
|
268
|
+
},
|
253
269
|
"integration": {
|
254
270
|
"type": "object",
|
255
271
|
"patternProperties": {
|
@@ -282,7 +298,7 @@
|
|
282
298
|
}
|
283
299
|
}
|
284
300
|
},
|
285
|
-
"
|
301
|
+
"resourceJob": {
|
286
302
|
"type": "object",
|
287
303
|
"patternProperties": {
|
288
304
|
".*": {
|
@@ -290,7 +306,7 @@
|
|
290
306
|
}
|
291
307
|
}
|
292
308
|
},
|
293
|
-
"
|
309
|
+
"timer": {
|
294
310
|
"type": "object",
|
295
311
|
"patternProperties": {
|
296
312
|
".*": {
|
@@ -298,7 +314,7 @@
|
|
298
314
|
}
|
299
315
|
}
|
300
316
|
},
|
301
|
-
"
|
317
|
+
"virtualButton": {
|
302
318
|
"type": "object",
|
303
319
|
"patternProperties": {
|
304
320
|
".*": {
|
@@ -306,7 +322,7 @@
|
|
306
322
|
}
|
307
323
|
}
|
308
324
|
},
|
309
|
-
"
|
325
|
+
"webhook": {
|
310
326
|
"type": "object",
|
311
327
|
"patternProperties": {
|
312
328
|
".*": {
|
data/schemas/applications.json
CHANGED
@@ -188,6 +188,14 @@
|
|
188
188
|
"description": "Schema for the result of a payload stats request",
|
189
189
|
"type": "object",
|
190
190
|
"properties": {
|
191
|
+
"appFile": {
|
192
|
+
"type": "object",
|
193
|
+
"patternProperties": {
|
194
|
+
".*": {
|
195
|
+
"type": "number"
|
196
|
+
}
|
197
|
+
}
|
198
|
+
},
|
191
199
|
"dataTable": {
|
192
200
|
"type": "object",
|
193
201
|
"patternProperties": {
|
@@ -252,6 +260,14 @@
|
|
252
260
|
}
|
253
261
|
}
|
254
262
|
},
|
263
|
+
"inboundEmail": {
|
264
|
+
"type": "object",
|
265
|
+
"patternProperties": {
|
266
|
+
".*": {
|
267
|
+
"type": "number"
|
268
|
+
}
|
269
|
+
}
|
270
|
+
},
|
255
271
|
"integration": {
|
256
272
|
"type": "object",
|
257
273
|
"patternProperties": {
|
@@ -284,7 +300,7 @@
|
|
284
300
|
}
|
285
301
|
}
|
286
302
|
},
|
287
|
-
"
|
303
|
+
"resourceJob": {
|
288
304
|
"type": "object",
|
289
305
|
"patternProperties": {
|
290
306
|
".*": {
|
@@ -292,7 +308,7 @@
|
|
292
308
|
}
|
293
309
|
}
|
294
310
|
},
|
295
|
-
"
|
311
|
+
"timer": {
|
296
312
|
"type": "object",
|
297
313
|
"patternProperties": {
|
298
314
|
".*": {
|
@@ -300,7 +316,7 @@
|
|
300
316
|
}
|
301
317
|
}
|
302
318
|
},
|
303
|
-
"
|
319
|
+
"virtualButton": {
|
304
320
|
"type": "object",
|
305
321
|
"patternProperties": {
|
306
322
|
".*": {
|
@@ -308,7 +324,7 @@
|
|
308
324
|
}
|
309
325
|
}
|
310
326
|
},
|
311
|
-
"
|
327
|
+
"webhook": {
|
312
328
|
"type": "object",
|
313
329
|
"patternProperties": {
|
314
330
|
".*": {
|
data/schemas/credential.json
CHANGED
@@ -67,7 +67,8 @@
|
|
67
67
|
"jwt",
|
68
68
|
"whatsapp",
|
69
69
|
"sql",
|
70
|
-
"mongodb"
|
70
|
+
"mongodb",
|
71
|
+
"mailgun"
|
71
72
|
]
|
72
73
|
},
|
73
74
|
"awsConfig": {
|
@@ -262,6 +263,11 @@
|
|
262
263
|
"type": "object",
|
263
264
|
"properties": {},
|
264
265
|
"additionalProperties": false
|
266
|
+
},
|
267
|
+
"mailgunConfig": {
|
268
|
+
"type": "object",
|
269
|
+
"properties": {},
|
270
|
+
"additionalProperties": false
|
265
271
|
}
|
266
272
|
},
|
267
273
|
"additionalProperties": false,
|