@algolia/n8n-nodes-algolia 0.6.0 → 0.7.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/README.md +66 -55
- package/dist/nodes/Algolia/Algolia.node.js +1918 -1996
- package/dist/nodes/Algolia/specs/abtesting-v3.json +43 -155
- package/dist/nodes/Algolia/specs/abtesting.json +35 -122
- package/dist/nodes/Algolia/specs/advanced-personalization.json +64 -238
- package/dist/nodes/Algolia/specs/analytics.json +107 -366
- package/dist/nodes/Algolia/specs/composition.json +237 -716
- package/dist/nodes/Algolia/specs/crawler.json +181 -536
- package/dist/nodes/Algolia/specs/ingestion.json +245 -992
- package/dist/nodes/Algolia/specs/insights.json +56 -222
- package/dist/nodes/Algolia/specs/monitoring.json +17 -57
- package/dist/nodes/Algolia/specs/personalization.json +24 -74
- package/dist/nodes/Algolia/specs/query-suggestions.json +26 -79
- package/dist/nodes/Algolia/specs/recommend.json +219 -688
- package/dist/nodes/Algolia/specs/search.json +459 -1428
- package/package.json +1 -1
|
@@ -10,10 +10,7 @@
|
|
|
10
10
|
"url": "https://analytics.{region}.algolia.com",
|
|
11
11
|
"variables": {
|
|
12
12
|
"region": {
|
|
13
|
-
"enum": [
|
|
14
|
-
"us",
|
|
15
|
-
"de"
|
|
16
|
-
],
|
|
13
|
+
"enum": ["us", "de"],
|
|
17
14
|
"default": "us"
|
|
18
15
|
}
|
|
19
16
|
}
|
|
@@ -36,8 +33,8 @@
|
|
|
36
33
|
}
|
|
37
34
|
],
|
|
38
35
|
"externalDocs": {
|
|
39
|
-
"url": "https://www.algolia.com/doc/guides/ab-testing/what-is-ab-testing
|
|
40
|
-
"description": "
|
|
36
|
+
"url": "https://www.algolia.com/doc/guides/ab-testing/what-is-ab-testing",
|
|
37
|
+
"description": "A/B testing."
|
|
41
38
|
},
|
|
42
39
|
"paths": {
|
|
43
40
|
"/{path}": {
|
|
@@ -212,13 +209,9 @@
|
|
|
212
209
|
},
|
|
213
210
|
"/3/abtests": {
|
|
214
211
|
"post": {
|
|
215
|
-
"tags": [
|
|
216
|
-
"abtest"
|
|
217
|
-
],
|
|
212
|
+
"tags": ["abtest"],
|
|
218
213
|
"operationId": "addABTests",
|
|
219
|
-
"x-acl": [
|
|
220
|
-
"editSettings"
|
|
221
|
-
],
|
|
214
|
+
"x-acl": ["editSettings"],
|
|
222
215
|
"summary": "Create an A/B test",
|
|
223
216
|
"description": "Creates a new A/B test.",
|
|
224
217
|
"requestBody": {
|
|
@@ -255,12 +248,7 @@
|
|
|
255
248
|
"$ref": "#/components/schemas/endAt"
|
|
256
249
|
}
|
|
257
250
|
},
|
|
258
|
-
"required": [
|
|
259
|
-
"name",
|
|
260
|
-
"variants",
|
|
261
|
-
"metrics",
|
|
262
|
-
"endAt"
|
|
263
|
-
]
|
|
251
|
+
"required": ["name", "variants", "metrics", "endAt"]
|
|
264
252
|
}
|
|
265
253
|
}
|
|
266
254
|
}
|
|
@@ -302,13 +290,9 @@
|
|
|
302
290
|
}
|
|
303
291
|
},
|
|
304
292
|
"get": {
|
|
305
|
-
"tags": [
|
|
306
|
-
"abtest"
|
|
307
|
-
],
|
|
293
|
+
"tags": ["abtest"],
|
|
308
294
|
"operationId": "listABTests",
|
|
309
|
-
"x-acl": [
|
|
310
|
-
"analytics"
|
|
311
|
-
],
|
|
295
|
+
"x-acl": ["analytics"],
|
|
312
296
|
"summary": "List all A/B tests",
|
|
313
297
|
"description": "Lists all A/B tests you configured for this application.",
|
|
314
298
|
"parameters": [
|
|
@@ -396,11 +380,7 @@
|
|
|
396
380
|
"example": 12
|
|
397
381
|
}
|
|
398
382
|
},
|
|
399
|
-
"required": [
|
|
400
|
-
"abtests",
|
|
401
|
-
"count",
|
|
402
|
-
"total"
|
|
403
|
-
]
|
|
383
|
+
"required": ["abtests", "count", "total"]
|
|
404
384
|
}
|
|
405
385
|
}
|
|
406
386
|
}
|
|
@@ -422,13 +402,9 @@
|
|
|
422
402
|
},
|
|
423
403
|
"/3/abtests/{id}": {
|
|
424
404
|
"get": {
|
|
425
|
-
"tags": [
|
|
426
|
-
"abtest"
|
|
427
|
-
],
|
|
405
|
+
"tags": ["abtest"],
|
|
428
406
|
"operationId": "getABTest",
|
|
429
|
-
"x-acl": [
|
|
430
|
-
"analytics"
|
|
431
|
-
],
|
|
407
|
+
"x-acl": ["analytics"],
|
|
432
408
|
"summary": "Retrieve A/B test details",
|
|
433
409
|
"description": "Retrieves the details for an A/B test by its ID.",
|
|
434
410
|
"parameters": [
|
|
@@ -473,13 +449,9 @@
|
|
|
473
449
|
}
|
|
474
450
|
},
|
|
475
451
|
"delete": {
|
|
476
|
-
"tags": [
|
|
477
|
-
"abtest"
|
|
478
|
-
],
|
|
452
|
+
"tags": ["abtest"],
|
|
479
453
|
"operationId": "deleteABTest",
|
|
480
|
-
"x-acl": [
|
|
481
|
-
"editSettings"
|
|
482
|
-
],
|
|
454
|
+
"x-acl": ["editSettings"],
|
|
483
455
|
"summary": "Delete an A/B test",
|
|
484
456
|
"description": "Deletes an A/B test by its ID.",
|
|
485
457
|
"parameters": [
|
|
@@ -526,13 +498,9 @@
|
|
|
526
498
|
},
|
|
527
499
|
"/3/abtests/{id}/stop": {
|
|
528
500
|
"post": {
|
|
529
|
-
"tags": [
|
|
530
|
-
"abtest"
|
|
531
|
-
],
|
|
501
|
+
"tags": ["abtest"],
|
|
532
502
|
"operationId": "stopABTest",
|
|
533
|
-
"x-acl": [
|
|
534
|
-
"editSettings"
|
|
535
|
-
],
|
|
503
|
+
"x-acl": ["editSettings"],
|
|
536
504
|
"summary": "Stop an A/B test",
|
|
537
505
|
"description": "Stops an A/B test by its ID.\n\nYou can't restart stopped A/B tests.\n",
|
|
538
506
|
"parameters": [
|
|
@@ -579,13 +547,9 @@
|
|
|
579
547
|
},
|
|
580
548
|
"/3/abtests/schedule": {
|
|
581
549
|
"post": {
|
|
582
|
-
"tags": [
|
|
583
|
-
"abtest"
|
|
584
|
-
],
|
|
550
|
+
"tags": ["abtest"],
|
|
585
551
|
"operationId": "scheduleABTest",
|
|
586
|
-
"x-acl": [
|
|
587
|
-
"editSettings"
|
|
588
|
-
],
|
|
552
|
+
"x-acl": ["editSettings"],
|
|
589
553
|
"summary": "Schedule an A/B test",
|
|
590
554
|
"description": "Schedule an A/B test to be started at a later time.\n",
|
|
591
555
|
"requestBody": {
|
|
@@ -625,13 +589,7 @@
|
|
|
625
589
|
"$ref": "#/components/schemas/endAt"
|
|
626
590
|
}
|
|
627
591
|
},
|
|
628
|
-
"required": [
|
|
629
|
-
"name",
|
|
630
|
-
"variants",
|
|
631
|
-
"metrics",
|
|
632
|
-
"scheduledAt",
|
|
633
|
-
"endAt"
|
|
634
|
-
]
|
|
592
|
+
"required": ["name", "variants", "metrics", "scheduledAt", "endAt"]
|
|
635
593
|
}
|
|
636
594
|
}
|
|
637
595
|
}
|
|
@@ -675,13 +633,9 @@
|
|
|
675
633
|
},
|
|
676
634
|
"/3/abtests/estimate": {
|
|
677
635
|
"post": {
|
|
678
|
-
"tags": [
|
|
679
|
-
"abtest"
|
|
680
|
-
],
|
|
636
|
+
"tags": ["abtest"],
|
|
681
637
|
"operationId": "estimateABTest",
|
|
682
|
-
"x-acl": [
|
|
683
|
-
"analytics"
|
|
684
|
-
],
|
|
638
|
+
"x-acl": ["analytics"],
|
|
685
639
|
"summary": "Estimate the sample size and duration of an A/B test",
|
|
686
640
|
"description": "Given the traffic percentage and the expected effect size, this endpoint estimates the sample size and duration of an A/B test based on historical traffic.",
|
|
687
641
|
"requestBody": {
|
|
@@ -705,9 +659,7 @@
|
|
|
705
659
|
"$ref": "#/components/schemas/MinimumDetectableEffect"
|
|
706
660
|
}
|
|
707
661
|
},
|
|
708
|
-
"required": [
|
|
709
|
-
"minimumDetectableEffect"
|
|
710
|
-
]
|
|
662
|
+
"required": ["minimumDetectableEffect"]
|
|
711
663
|
},
|
|
712
664
|
"variants": {
|
|
713
665
|
"type": "array",
|
|
@@ -718,10 +670,7 @@
|
|
|
718
670
|
}
|
|
719
671
|
}
|
|
720
672
|
},
|
|
721
|
-
"required": [
|
|
722
|
-
"configuration",
|
|
723
|
-
"variants"
|
|
724
|
-
]
|
|
673
|
+
"required": ["configuration", "variants"]
|
|
725
674
|
}
|
|
726
675
|
}
|
|
727
676
|
}
|
|
@@ -765,13 +714,9 @@
|
|
|
765
714
|
},
|
|
766
715
|
"/3/abtests/{id}/timeseries": {
|
|
767
716
|
"get": {
|
|
768
|
-
"tags": [
|
|
769
|
-
"abtest"
|
|
770
|
-
],
|
|
717
|
+
"tags": ["abtest"],
|
|
771
718
|
"operationId": "getTimeseries",
|
|
772
|
-
"x-acl": [
|
|
773
|
-
"analytics"
|
|
774
|
-
],
|
|
719
|
+
"x-acl": ["analytics"],
|
|
775
720
|
"summary": "Retrieve timeseries of an A/B test",
|
|
776
721
|
"description": "Retrieves timeseries for an A/B test by its ID.",
|
|
777
722
|
"parameters": [
|
|
@@ -840,9 +785,7 @@
|
|
|
840
785
|
"get": {
|
|
841
786
|
"x-helper": true,
|
|
842
787
|
"x-asynchronous-helper": false,
|
|
843
|
-
"tags": [
|
|
844
|
-
"Api Key"
|
|
845
|
-
],
|
|
788
|
+
"tags": ["Api Key"],
|
|
846
789
|
"operationId": "setClientApiKey",
|
|
847
790
|
"summary": "Switch the API key used to authenticate requests",
|
|
848
791
|
"description": "Switch the API key used to authenticate requests.\n",
|
|
@@ -944,10 +887,7 @@
|
|
|
944
887
|
"direction": {
|
|
945
888
|
"type": "string",
|
|
946
889
|
"description": "Sort order for A/B tests by start date.\nUse 'asc' for ascending or 'desc' for descending.\nActive A/B tests are always listed first.\n",
|
|
947
|
-
"enum": [
|
|
948
|
-
"asc",
|
|
949
|
-
"desc"
|
|
950
|
-
],
|
|
890
|
+
"enum": ["asc", "desc"],
|
|
951
891
|
"example": "desc"
|
|
952
892
|
},
|
|
953
893
|
"abTestID": {
|
|
@@ -985,12 +925,7 @@
|
|
|
985
925
|
"type": "string",
|
|
986
926
|
"description": "A/B test status.\n\n- `active`. The A/B test is live and search traffic is split between the two variants.\n- `stopped`. You stopped the A/B test. The A/B test data is still available for analysis.\n- `expired`. The A/B test was automatically stopped after reaching its end date.\n- `failed`. Creating the A/B test failed.\n",
|
|
987
927
|
"example": "active",
|
|
988
|
-
"enum": [
|
|
989
|
-
"active",
|
|
990
|
-
"stopped",
|
|
991
|
-
"expired",
|
|
992
|
-
"failed"
|
|
993
|
-
]
|
|
928
|
+
"enum": ["active", "stopped", "expired", "failed"]
|
|
994
929
|
},
|
|
995
930
|
"description": {
|
|
996
931
|
"type": "string",
|
|
@@ -1076,12 +1011,7 @@
|
|
|
1076
1011
|
"description": "Whether the pValue is significant or not based on the critical value and the error correction algorithm used.\n"
|
|
1077
1012
|
}
|
|
1078
1013
|
},
|
|
1079
|
-
"required": [
|
|
1080
|
-
"name",
|
|
1081
|
-
"updatedAt",
|
|
1082
|
-
"value",
|
|
1083
|
-
"pValue"
|
|
1084
|
-
],
|
|
1014
|
+
"required": ["name", "updatedAt", "value", "pValue"],
|
|
1085
1015
|
"example": [
|
|
1086
1016
|
{
|
|
1087
1017
|
"name": "addToCartCount",
|
|
@@ -1214,12 +1144,7 @@
|
|
|
1214
1144
|
}
|
|
1215
1145
|
}
|
|
1216
1146
|
},
|
|
1217
|
-
"required": [
|
|
1218
|
-
"index",
|
|
1219
|
-
"description",
|
|
1220
|
-
"trafficPercentage",
|
|
1221
|
-
"metrics"
|
|
1222
|
-
]
|
|
1147
|
+
"required": ["index", "description", "trafficPercentage", "metrics"]
|
|
1223
1148
|
},
|
|
1224
1149
|
"variants": {
|
|
1225
1150
|
"type": "array",
|
|
@@ -1254,10 +1179,7 @@
|
|
|
1254
1179
|
"$ref": "#/components/schemas/EffectMetric"
|
|
1255
1180
|
}
|
|
1256
1181
|
},
|
|
1257
|
-
"required": [
|
|
1258
|
-
"size",
|
|
1259
|
-
"metric"
|
|
1260
|
-
]
|
|
1182
|
+
"required": ["size", "metric"]
|
|
1261
1183
|
},
|
|
1262
1184
|
"MetricsFilter": {
|
|
1263
1185
|
"type": "object",
|
|
@@ -1283,10 +1205,7 @@
|
|
|
1283
1205
|
"description": "If true, keep items that match the filter; if false, exclude them."
|
|
1284
1206
|
}
|
|
1285
1207
|
},
|
|
1286
|
-
"required": [
|
|
1287
|
-
"domain",
|
|
1288
|
-
"name"
|
|
1289
|
-
]
|
|
1208
|
+
"required": ["domain", "name"]
|
|
1290
1209
|
},
|
|
1291
1210
|
"MetricsFilters": {
|
|
1292
1211
|
"type": "array",
|
|
@@ -1298,10 +1217,7 @@
|
|
|
1298
1217
|
"ErrorCorrectionType": {
|
|
1299
1218
|
"type": "string",
|
|
1300
1219
|
"description": "Multiple-testing correction method applied when evaluating metric significance.",
|
|
1301
|
-
"enum": [
|
|
1302
|
-
"bonferroni",
|
|
1303
|
-
"benjamini-hochberg"
|
|
1304
|
-
]
|
|
1220
|
+
"enum": ["bonferroni", "benjamini-hochberg"]
|
|
1305
1221
|
},
|
|
1306
1222
|
"ABTestConfiguration": {
|
|
1307
1223
|
"title": "configuration",
|
|
@@ -1359,15 +1275,7 @@
|
|
|
1359
1275
|
"$ref": "#/components/schemas/MigratedABTestId"
|
|
1360
1276
|
}
|
|
1361
1277
|
},
|
|
1362
|
-
"required": [
|
|
1363
|
-
"status",
|
|
1364
|
-
"name",
|
|
1365
|
-
"createdAt",
|
|
1366
|
-
"endAt",
|
|
1367
|
-
"updatedAt",
|
|
1368
|
-
"abTestID",
|
|
1369
|
-
"variants"
|
|
1370
|
-
]
|
|
1278
|
+
"required": ["status", "name", "createdAt", "endAt", "updatedAt", "abTestID", "variants"]
|
|
1371
1279
|
},
|
|
1372
1280
|
"ABTests": {
|
|
1373
1281
|
"oneOf": [
|
|
@@ -1397,10 +1305,7 @@
|
|
|
1397
1305
|
"$ref": "#/components/schemas/description"
|
|
1398
1306
|
}
|
|
1399
1307
|
},
|
|
1400
|
-
"required": [
|
|
1401
|
-
"index",
|
|
1402
|
-
"trafficPercentage"
|
|
1403
|
-
]
|
|
1308
|
+
"required": ["index", "trafficPercentage"]
|
|
1404
1309
|
},
|
|
1405
1310
|
"customSearchParams": {
|
|
1406
1311
|
"type": "object",
|
|
@@ -1415,12 +1320,8 @@
|
|
|
1415
1320
|
"type": "object"
|
|
1416
1321
|
}
|
|
1417
1322
|
},
|
|
1418
|
-
"required": [
|
|
1419
|
-
|
|
1420
|
-
],
|
|
1421
|
-
"x-discriminator-fields": [
|
|
1422
|
-
"customSearchParameters"
|
|
1423
|
-
]
|
|
1323
|
+
"required": ["customSearchParameters"],
|
|
1324
|
+
"x-discriminator-fields": ["customSearchParameters"]
|
|
1424
1325
|
},
|
|
1425
1326
|
"abTestsVariantSearchParams": {
|
|
1426
1327
|
"allOf": [
|
|
@@ -1455,9 +1356,7 @@
|
|
|
1455
1356
|
"description": "Dimension of the metric, for example, in case of a revenue metric it could be USD, EUR..."
|
|
1456
1357
|
}
|
|
1457
1358
|
},
|
|
1458
|
-
"required": [
|
|
1459
|
-
"name"
|
|
1460
|
-
],
|
|
1359
|
+
"required": ["name"],
|
|
1461
1360
|
"example": [
|
|
1462
1361
|
{
|
|
1463
1362
|
"name": "revenue",
|
|
@@ -1478,7 +1377,7 @@
|
|
|
1478
1377
|
"type": "integer",
|
|
1479
1378
|
"format": "int64",
|
|
1480
1379
|
"example": 1514562690001,
|
|
1481
|
-
"description": "Unique identifier of a task.\n\nA successful API response means that a task was added to a queue
|
|
1380
|
+
"description": "Unique identifier of a task.\n\nA successful API response means that a task was added to a queue.\nIt might not run immediately.\nYou can check the task's progress with the [`task` operation](https://www.algolia.com/doc/rest-api/search/get-task) and this task ID.\n"
|
|
1482
1381
|
},
|
|
1483
1382
|
"ABTestResponse": {
|
|
1484
1383
|
"type": "object",
|
|
@@ -1494,11 +1393,7 @@
|
|
|
1494
1393
|
"$ref": "#/components/schemas/taskID"
|
|
1495
1394
|
}
|
|
1496
1395
|
},
|
|
1497
|
-
"required": [
|
|
1498
|
-
"abTestID",
|
|
1499
|
-
"index",
|
|
1500
|
-
"taskID"
|
|
1501
|
-
]
|
|
1396
|
+
"required": ["abTestID", "index", "taskID"]
|
|
1502
1397
|
},
|
|
1503
1398
|
"scheduledAt": {
|
|
1504
1399
|
"type": "string",
|
|
@@ -1518,9 +1413,7 @@
|
|
|
1518
1413
|
"$ref": "#/components/schemas/abTestScheduleID"
|
|
1519
1414
|
}
|
|
1520
1415
|
},
|
|
1521
|
-
"required": [
|
|
1522
|
-
"abTestScheduleID"
|
|
1523
|
-
]
|
|
1416
|
+
"required": ["abTestScheduleID"]
|
|
1524
1417
|
},
|
|
1525
1418
|
"EstimateABTestResponse": {
|
|
1526
1419
|
"type": "object",
|
|
@@ -1608,10 +1501,7 @@
|
|
|
1608
1501
|
"$ref": "#/components/schemas/timeseriesVariants"
|
|
1609
1502
|
}
|
|
1610
1503
|
},
|
|
1611
|
-
"required": [
|
|
1612
|
-
"abTestID",
|
|
1613
|
-
"variants"
|
|
1614
|
-
]
|
|
1504
|
+
"required": ["abTestID", "variants"]
|
|
1615
1505
|
}
|
|
1616
1506
|
},
|
|
1617
1507
|
"responses": {
|
|
@@ -1693,9 +1583,7 @@
|
|
|
1693
1583
|
"x-tagGroups": [
|
|
1694
1584
|
{
|
|
1695
1585
|
"name": "General",
|
|
1696
|
-
"tags": [
|
|
1697
|
-
"abtest"
|
|
1698
|
-
]
|
|
1586
|
+
"tags": ["abtest"]
|
|
1699
1587
|
}
|
|
1700
1588
|
]
|
|
1701
|
-
}
|
|
1589
|
+
}
|