List a dataset's files
POST
/v1/datasets/download/begin
const url = 'https://example.com/v1/datasets/download/begin';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","commit_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","snapshot_digest":"example","after_path":"example","limit":128}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/datasets/download/begin \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "commit_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "snapshot_digest": "example", "after_path": "example", "limit": 128 }'Return one bounded page from an immutable paired Git snapshot.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” x-api-key
string | null
Request Body required
Section titled “Request Body required ” Media type application/json
DownloadBeginBody
object
name
required
string
commit_id
string | null format: uuid
snapshot_digest
string | null
after_path
string | null
limit
integer
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
exampleValidation Error
Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationErrorobject
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}