跳转到主要内容
GET
/
datasets
/
v3
/
snapshot
/
{snapshot_id}
/
parts
cURL
curl --request GET \
  --url https://api.brightdata.com/datasets/v3/snapshot/{snapshot_id}/parts \
  --header 'Authorization: Bearer <token>'
{
  "parts": 123
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

snapshot_id
string
必填

The ID that was returned when the collection was triggered

示例:

"s_m4x7enmven8djfqak"

查询参数

format
enum<string>

Format of the data to be received

可用选项:
json,
ndjson,
jsonl,
csv
compress
boolean

Whether the result should be compressed or not

batch_size
integer

Divide into batches of X records

必填范围: x >= 1000

响应

200 - application/json

OK

parts
integer

Number of parts that were created