@apteva/integrations 0.15.9 → 0.15.10
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/src/apps/apify.json +168 -0
- package/src/apps/bookvault.json +309 -0
- package/src/apps/brightdata.json +22 -1
- package/src/apps/browse-ai.json +243 -5
- package/src/apps/browserbase.json +41 -11
- package/src/apps/browserless.json +101 -0
- package/src/apps/digitalocean.json +53 -0
- package/src/apps/elevenlabs.json +283 -0
- package/src/apps/firecrawl.json +111 -0
- package/src/apps/ingram-coresource.json +119 -0
- package/src/apps/lulu-print.json +266 -0
- package/src/apps/publishdrive.json +132 -0
- package/src/apps/streetlib.json +60 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apteva/integrations",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.10",
|
|
4
4
|
"description": "Local integrations, connections, and webhooks for Apteva. Self-contained app templates, OAuth engine, and trigger provider.",
|
|
5
5
|
"author": "Apteva <hello@apteva.com>",
|
|
6
6
|
"license": "Elastic-2.0",
|
package/src/apps/apify.json
CHANGED
|
@@ -399,6 +399,68 @@
|
|
|
399
399
|
]
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
|
+
{
|
|
403
|
+
"name": "run_actor_sync",
|
|
404
|
+
"description": "Run an Apify actor synchronously and return the actor's OUTPUT record from its default key-value store. Use this when the actor writes its final result to OUTPUT instead of a dataset.",
|
|
405
|
+
"method": "POST",
|
|
406
|
+
"path": "/actors/{actorId}/run-sync",
|
|
407
|
+
"query_params": [
|
|
408
|
+
"timeout",
|
|
409
|
+
"memory",
|
|
410
|
+
"maxItems",
|
|
411
|
+
"maxTotalChargeUsd",
|
|
412
|
+
"restartOnError",
|
|
413
|
+
"build",
|
|
414
|
+
"webhooks"
|
|
415
|
+
],
|
|
416
|
+
"body_root_param": "input",
|
|
417
|
+
"timeout_ms": 305000,
|
|
418
|
+
"input_schema": {
|
|
419
|
+
"type": "object",
|
|
420
|
+
"properties": {
|
|
421
|
+
"actorId": {
|
|
422
|
+
"type": "string",
|
|
423
|
+
"description": "Actor ID or tilde-separated owner/name, e.g. 'apify~web-scraper'."
|
|
424
|
+
},
|
|
425
|
+
"input": {
|
|
426
|
+
"type": "object",
|
|
427
|
+
"description": "JSON input passed directly to the actor. Pass {} for actors with no input."
|
|
428
|
+
},
|
|
429
|
+
"timeout": {
|
|
430
|
+
"type": "number",
|
|
431
|
+
"description": "Optional actor run timeout in seconds."
|
|
432
|
+
},
|
|
433
|
+
"memory": {
|
|
434
|
+
"type": "number",
|
|
435
|
+
"description": "Optional memory limit in MB."
|
|
436
|
+
},
|
|
437
|
+
"maxItems": {
|
|
438
|
+
"type": "number",
|
|
439
|
+
"description": "Maximum charged dataset items for pay-per-result actors."
|
|
440
|
+
},
|
|
441
|
+
"maxTotalChargeUsd": {
|
|
442
|
+
"type": "number",
|
|
443
|
+
"description": "Maximum total charge in USD for pay-per-event actors."
|
|
444
|
+
},
|
|
445
|
+
"restartOnError": {
|
|
446
|
+
"type": "boolean",
|
|
447
|
+
"description": "Restart the actor run automatically if it fails."
|
|
448
|
+
},
|
|
449
|
+
"build": {
|
|
450
|
+
"type": "string",
|
|
451
|
+
"description": "Actor build tag or build number."
|
|
452
|
+
},
|
|
453
|
+
"webhooks": {
|
|
454
|
+
"type": "string",
|
|
455
|
+
"description": "Base64-encoded JSON array of Apify webhook definitions for this run."
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"required": [
|
|
459
|
+
"actorId",
|
|
460
|
+
"input"
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
},
|
|
402
464
|
{
|
|
403
465
|
"name": "get_run",
|
|
404
466
|
"description": "Get one actor run by runId. Use waitForFinish up to 60 seconds to poll until a terminal status is reached. The response includes defaultDatasetId for get_dataset_items.",
|
|
@@ -424,6 +486,31 @@
|
|
|
424
486
|
]
|
|
425
487
|
}
|
|
426
488
|
},
|
|
489
|
+
{
|
|
490
|
+
"name": "abort_run",
|
|
491
|
+
"description": "Abort a starting or running Apify actor run. Set gracefully=true to give the actor a short window to persist state before aborting.",
|
|
492
|
+
"method": "POST",
|
|
493
|
+
"path": "/actor-runs/{runId}/abort",
|
|
494
|
+
"query_params": [
|
|
495
|
+
"gracefully"
|
|
496
|
+
],
|
|
497
|
+
"input_schema": {
|
|
498
|
+
"type": "object",
|
|
499
|
+
"properties": {
|
|
500
|
+
"runId": {
|
|
501
|
+
"type": "string",
|
|
502
|
+
"description": "Actor run ID."
|
|
503
|
+
},
|
|
504
|
+
"gracefully": {
|
|
505
|
+
"type": "boolean",
|
|
506
|
+
"description": "Abort gracefully instead of killing immediately."
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
"required": [
|
|
510
|
+
"runId"
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
},
|
|
427
514
|
{
|
|
428
515
|
"name": "list_runs",
|
|
429
516
|
"description": "List runs for a specific actor. actorId must be an Apify actor ID or tilde-separated owner/name.",
|
|
@@ -568,6 +655,87 @@
|
|
|
568
655
|
]
|
|
569
656
|
}
|
|
570
657
|
},
|
|
658
|
+
{
|
|
659
|
+
"name": "list_key_value_stores",
|
|
660
|
+
"description": "List key-value stores owned by the authenticated user. Useful for finding actor OUTPUT records and files stored outside datasets.",
|
|
661
|
+
"method": "GET",
|
|
662
|
+
"path": "/key-value-stores",
|
|
663
|
+
"query_params": [
|
|
664
|
+
"offset",
|
|
665
|
+
"limit",
|
|
666
|
+
"desc",
|
|
667
|
+
"unnamed"
|
|
668
|
+
],
|
|
669
|
+
"input_schema": {
|
|
670
|
+
"type": "object",
|
|
671
|
+
"properties": {
|
|
672
|
+
"offset": {
|
|
673
|
+
"type": "integer",
|
|
674
|
+
"description": "Number of stores to skip."
|
|
675
|
+
},
|
|
676
|
+
"limit": {
|
|
677
|
+
"type": "integer",
|
|
678
|
+
"description": "Maximum stores to return. Default and maximum are 1000."
|
|
679
|
+
},
|
|
680
|
+
"desc": {
|
|
681
|
+
"type": "boolean",
|
|
682
|
+
"description": "Sort newest first when true."
|
|
683
|
+
},
|
|
684
|
+
"unnamed": {
|
|
685
|
+
"type": "boolean",
|
|
686
|
+
"description": "Include unnamed stores."
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "get_key_value_store",
|
|
693
|
+
"description": "Get metadata for an Apify key-value store.",
|
|
694
|
+
"method": "GET",
|
|
695
|
+
"path": "/key-value-stores/{storeId}",
|
|
696
|
+
"input_schema": {
|
|
697
|
+
"type": "object",
|
|
698
|
+
"properties": {
|
|
699
|
+
"storeId": {
|
|
700
|
+
"type": "string",
|
|
701
|
+
"description": "Key-value store ID or name."
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"required": [
|
|
705
|
+
"storeId"
|
|
706
|
+
]
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "get_key_value_store_record",
|
|
711
|
+
"description": "Get a record value from an Apify key-value store. Use defaultKeyValueStoreId from a run and key='OUTPUT' for actors that store final output outside datasets.",
|
|
712
|
+
"method": "GET",
|
|
713
|
+
"path": "/key-value-stores/{storeId}/records/{recordKey}",
|
|
714
|
+
"query_params": [
|
|
715
|
+
"disableRedirect"
|
|
716
|
+
],
|
|
717
|
+
"input_schema": {
|
|
718
|
+
"type": "object",
|
|
719
|
+
"properties": {
|
|
720
|
+
"storeId": {
|
|
721
|
+
"type": "string",
|
|
722
|
+
"description": "Key-value store ID or name."
|
|
723
|
+
},
|
|
724
|
+
"recordKey": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "Record key, e.g. OUTPUT."
|
|
727
|
+
},
|
|
728
|
+
"disableRedirect": {
|
|
729
|
+
"type": "boolean",
|
|
730
|
+
"description": "When true, return metadata instead of redirecting to large binary values where supported."
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"required": [
|
|
734
|
+
"storeId",
|
|
735
|
+
"recordKey"
|
|
736
|
+
]
|
|
737
|
+
}
|
|
738
|
+
},
|
|
571
739
|
{
|
|
572
740
|
"name": "get_dataset_items",
|
|
573
741
|
"description": "Retrieve items from an Apify dataset. Use defaultDatasetId from run_actor/get_run, or use run_actor_sync_get_dataset_items for one-call execution and results.",
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "bookvault",
|
|
3
|
+
"name": "BookVault",
|
|
4
|
+
"description": "BookVault API for print-on-demand titles, files, ISBNs, orders, proofs, retailers, publishing, and reporting.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=bookvault.app&sz=128",
|
|
6
|
+
"categories": ["books", "print-on-demand", "publishing", "fulfillment", "orders"],
|
|
7
|
+
"base_url": "https://api.bookvault.app/v3",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["basic"],
|
|
10
|
+
"headers": {
|
|
11
|
+
"Authorization": "Basic {{basic}}",
|
|
12
|
+
"Accept": "application/json"
|
|
13
|
+
},
|
|
14
|
+
"credential_fields": [
|
|
15
|
+
{
|
|
16
|
+
"name": "basic",
|
|
17
|
+
"label": "Basic auth value",
|
|
18
|
+
"description": "Base64-encoded BookVault API credentials from the BookVault API setup page."
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"health_check": {
|
|
23
|
+
"tool": "get_account_lite"
|
|
24
|
+
},
|
|
25
|
+
"tools": [
|
|
26
|
+
{
|
|
27
|
+
"name": "get_account_lite",
|
|
28
|
+
"description": "Load the BookVault account summary.",
|
|
29
|
+
"method": "GET",
|
|
30
|
+
"path": "/AccountLite",
|
|
31
|
+
"input_schema": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "list_titles",
|
|
38
|
+
"description": "Load BookVault titles.",
|
|
39
|
+
"method": "GET",
|
|
40
|
+
"path": "/Titles",
|
|
41
|
+
"query_params": ["page", "limit", "search", "status"],
|
|
42
|
+
"input_schema": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {
|
|
45
|
+
"page": { "type": "integer" },
|
|
46
|
+
"limit": { "type": "integer" },
|
|
47
|
+
"search": { "type": "string" },
|
|
48
|
+
"status": { "type": "string" }
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "get_title",
|
|
54
|
+
"description": "Load one BookVault title/product.",
|
|
55
|
+
"method": "GET",
|
|
56
|
+
"path": "/Title",
|
|
57
|
+
"query_params": ["id"],
|
|
58
|
+
"input_schema": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"id": { "type": "string" }
|
|
62
|
+
},
|
|
63
|
+
"required": ["id"]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "create_title",
|
|
68
|
+
"description": "Create a BookVault title/product.",
|
|
69
|
+
"method": "POST",
|
|
70
|
+
"path": "/Title",
|
|
71
|
+
"body_root_param": "body",
|
|
72
|
+
"timeout_ms": 120000,
|
|
73
|
+
"input_schema": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"body": { "type": "object", "description": "BookVault Create product payload." }
|
|
77
|
+
},
|
|
78
|
+
"required": ["body"]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "update_title",
|
|
83
|
+
"description": "Update a BookVault title/product.",
|
|
84
|
+
"method": "PUT",
|
|
85
|
+
"path": "/Title",
|
|
86
|
+
"body_root_param": "body",
|
|
87
|
+
"timeout_ms": 120000,
|
|
88
|
+
"input_schema": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"body": { "type": "object", "description": "BookVault Update product payload." }
|
|
92
|
+
},
|
|
93
|
+
"required": ["body"]
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "calculate_title",
|
|
98
|
+
"description": "Calculate title specs/pricing using BookVault's CalculateTitle endpoint.",
|
|
99
|
+
"method": "POST",
|
|
100
|
+
"path": "/CalculateTitle",
|
|
101
|
+
"body_root_param": "body",
|
|
102
|
+
"input_schema": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"properties": {
|
|
105
|
+
"body": { "type": "object", "description": "BookVault CalculateTitle payload." }
|
|
106
|
+
},
|
|
107
|
+
"required": ["body"]
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "list_files",
|
|
112
|
+
"description": "Load BookVault uploaded files.",
|
|
113
|
+
"method": "GET",
|
|
114
|
+
"path": "/FileDrops",
|
|
115
|
+
"query_params": ["page", "limit", "title_id"],
|
|
116
|
+
"input_schema": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"properties": {
|
|
119
|
+
"page": { "type": "integer" },
|
|
120
|
+
"limit": { "type": "integer" },
|
|
121
|
+
"title_id": { "type": "string" }
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "get_file_upload_url",
|
|
127
|
+
"description": "Request a BookVault file upload URL.",
|
|
128
|
+
"method": "GET",
|
|
129
|
+
"path": "/FileDropRequest",
|
|
130
|
+
"query_params": ["filename", "content_type"],
|
|
131
|
+
"input_schema": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"filename": { "type": "string" },
|
|
135
|
+
"content_type": { "type": "string" }
|
|
136
|
+
},
|
|
137
|
+
"required": ["filename"]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "create_file",
|
|
142
|
+
"description": "Register/upload a file record in BookVault.",
|
|
143
|
+
"method": "POST",
|
|
144
|
+
"path": "/FileDrop",
|
|
145
|
+
"body_root_param": "body",
|
|
146
|
+
"timeout_ms": 120000,
|
|
147
|
+
"input_schema": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"properties": {
|
|
150
|
+
"body": { "type": "object", "description": "BookVault FileDrop payload." }
|
|
151
|
+
},
|
|
152
|
+
"required": ["body"]
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "generate_isbn",
|
|
157
|
+
"description": "Generate or request an ISBN through BookVault when enabled for the account.",
|
|
158
|
+
"method": "POST",
|
|
159
|
+
"path": "/ISBN",
|
|
160
|
+
"body_root_param": "body",
|
|
161
|
+
"input_schema": {
|
|
162
|
+
"type": "object",
|
|
163
|
+
"properties": {
|
|
164
|
+
"body": { "type": "object", "description": "BookVault ISBN payload." }
|
|
165
|
+
},
|
|
166
|
+
"required": ["body"]
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "list_retailers",
|
|
171
|
+
"description": "Load BookVault retailers.",
|
|
172
|
+
"method": "GET",
|
|
173
|
+
"path": "/Retailers",
|
|
174
|
+
"input_schema": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "update_publishing",
|
|
181
|
+
"description": "Update BookVault publishing/distribution settings for a product.",
|
|
182
|
+
"method": "PUT",
|
|
183
|
+
"path": "/Publishing",
|
|
184
|
+
"body_root_param": "body",
|
|
185
|
+
"timeout_ms": 120000,
|
|
186
|
+
"input_schema": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"properties": {
|
|
189
|
+
"body": { "type": "object", "description": "BookVault Publishing payload." }
|
|
190
|
+
},
|
|
191
|
+
"required": ["body"]
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "list_orders",
|
|
196
|
+
"description": "Load BookVault orders.",
|
|
197
|
+
"method": "GET",
|
|
198
|
+
"path": "/Orders",
|
|
199
|
+
"query_params": ["page", "limit", "status", "from", "to"],
|
|
200
|
+
"input_schema": {
|
|
201
|
+
"type": "object",
|
|
202
|
+
"properties": {
|
|
203
|
+
"page": { "type": "integer" },
|
|
204
|
+
"limit": { "type": "integer" },
|
|
205
|
+
"status": { "type": "string" },
|
|
206
|
+
"from": { "type": "string" },
|
|
207
|
+
"to": { "type": "string" }
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "create_order",
|
|
213
|
+
"description": "Create a BookVault order.",
|
|
214
|
+
"method": "POST",
|
|
215
|
+
"path": "/Order",
|
|
216
|
+
"body_root_param": "body",
|
|
217
|
+
"timeout_ms": 120000,
|
|
218
|
+
"input_schema": {
|
|
219
|
+
"type": "object",
|
|
220
|
+
"properties": {
|
|
221
|
+
"body": { "type": "object", "description": "BookVault order payload." }
|
|
222
|
+
},
|
|
223
|
+
"required": ["body"]
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "validate_order",
|
|
228
|
+
"description": "Validate a BookVault order without placing it.",
|
|
229
|
+
"method": "POST",
|
|
230
|
+
"path": "/ValidateOrder",
|
|
231
|
+
"body_root_param": "body",
|
|
232
|
+
"input_schema": {
|
|
233
|
+
"type": "object",
|
|
234
|
+
"properties": {
|
|
235
|
+
"body": { "type": "object", "description": "BookVault order payload to validate." }
|
|
236
|
+
},
|
|
237
|
+
"required": ["body"]
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "create_proof",
|
|
242
|
+
"description": "Create a BookVault proof order.",
|
|
243
|
+
"method": "POST",
|
|
244
|
+
"path": "/Proof",
|
|
245
|
+
"body_root_param": "body",
|
|
246
|
+
"timeout_ms": 120000,
|
|
247
|
+
"input_schema": {
|
|
248
|
+
"type": "object",
|
|
249
|
+
"properties": {
|
|
250
|
+
"body": { "type": "object", "description": "BookVault proof order payload." }
|
|
251
|
+
},
|
|
252
|
+
"required": ["body"]
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "get_tracking",
|
|
257
|
+
"description": "Get BookVault tracking information.",
|
|
258
|
+
"method": "POST",
|
|
259
|
+
"path": "/Tracking",
|
|
260
|
+
"body_root_param": "body",
|
|
261
|
+
"input_schema": {
|
|
262
|
+
"type": "object",
|
|
263
|
+
"properties": {
|
|
264
|
+
"body": { "type": "object", "description": "BookVault tracking lookup payload." }
|
|
265
|
+
},
|
|
266
|
+
"required": ["body"]
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "list_reporting_types",
|
|
271
|
+
"description": "Load BookVault reporting types.",
|
|
272
|
+
"method": "GET",
|
|
273
|
+
"path": "/ReportingTypes",
|
|
274
|
+
"input_schema": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"properties": {}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "create_report",
|
|
281
|
+
"description": "Create a BookVault report.",
|
|
282
|
+
"method": "POST",
|
|
283
|
+
"path": "/Reporting",
|
|
284
|
+
"body_root_param": "body",
|
|
285
|
+
"input_schema": {
|
|
286
|
+
"type": "object",
|
|
287
|
+
"properties": {
|
|
288
|
+
"body": { "type": "object", "description": "BookVault report payload." }
|
|
289
|
+
},
|
|
290
|
+
"required": ["body"]
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "export_report",
|
|
295
|
+
"description": "Download/export a BookVault report.",
|
|
296
|
+
"method": "GET",
|
|
297
|
+
"path": "/ReportingExport",
|
|
298
|
+
"query_params": ["id", "format"],
|
|
299
|
+
"input_schema": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"id": { "type": "string" },
|
|
303
|
+
"format": { "type": "string" }
|
|
304
|
+
},
|
|
305
|
+
"required": ["id"]
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
}
|
package/src/apps/brightdata.json
CHANGED
|
@@ -58,16 +58,30 @@
|
|
|
58
58
|
"method": "POST",
|
|
59
59
|
"path": "/datasets/v3/trigger",
|
|
60
60
|
"query_params": ["dataset_id", "include_errors"],
|
|
61
|
+
"body_root_param": "input",
|
|
61
62
|
"input_schema": {
|
|
62
63
|
"type": "object",
|
|
63
64
|
"properties": {
|
|
64
65
|
"dataset_id": { "type": "string", "description": "Dataset/collector id, e.g. 'gd_l1viktl72bvl7bjuj0' for LinkedIn profiles" },
|
|
65
66
|
"include_errors": { "type": "string", "enum": ["true", "false"], "default": "true" },
|
|
66
|
-
"input": { "type": "array", "items": { "type": "object" }, "description": "Array of input rows. Schema varies per dataset — most accept { url } or { name, location } objects." }
|
|
67
|
+
"input": { "type": "array", "items": { "type": "object" }, "description": "Array of input rows sent as the raw JSON request body. Schema varies per dataset — most accept { url } or { name, location } objects." }
|
|
67
68
|
},
|
|
68
69
|
"required": ["dataset_id", "input"]
|
|
69
70
|
}
|
|
70
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"name": "dataset_progress",
|
|
74
|
+
"description": "Check progress/status for a Bright Data dataset snapshot or job. Use before downloading a snapshot when a trigger is still running.",
|
|
75
|
+
"method": "GET",
|
|
76
|
+
"path": "/datasets/v3/progress/{snapshot_id}",
|
|
77
|
+
"input_schema": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"properties": {
|
|
80
|
+
"snapshot_id": { "type": "string" }
|
|
81
|
+
},
|
|
82
|
+
"required": ["snapshot_id"]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
71
85
|
{
|
|
72
86
|
"name": "dataset_snapshot",
|
|
73
87
|
"description": "Poll a dataset trigger by snapshot_id. Returns status + records once ready.",
|
|
@@ -83,6 +97,13 @@
|
|
|
83
97
|
"required": ["snapshot_id"]
|
|
84
98
|
}
|
|
85
99
|
},
|
|
100
|
+
{
|
|
101
|
+
"name": "list_snapshots",
|
|
102
|
+
"description": "List recent Bright Data Web Scraper API snapshots/jobs for the account.",
|
|
103
|
+
"method": "GET",
|
|
104
|
+
"path": "/datasets/v3/snapshots",
|
|
105
|
+
"input_schema": { "type": "object", "properties": {} }
|
|
106
|
+
},
|
|
86
107
|
{
|
|
87
108
|
"name": "list_datasets",
|
|
88
109
|
"description": "List all available pre-built datasets/collectors.",
|