Skip to content

Diff two commits (compare)

GET
/v1/datasets/diff
curl --request GET \
--url 'https://example.com/v1/datasets/diff?path=example&from_commit=example&to_commit=example'

Compare two commits/refs — the changed files between them and the download/removable byte deltas. Sourced from QDS.

path
required

Dataset path (org/name)

string
<= 300 characters

Dataset path (org/name)

from_commit
required
string
<= 64 characters
to_commit
required
string
<= 64 characters
x-api-key
string | null

VersionDiff: changed files + byte deltas

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationError
object
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": {}
}
]
}