Skip to content

Enriched branches/tags

GET
/v1/datasets/branches
curl --request GET \
--url 'https://example.com/v1/datasets/branches?path=example'

Branches/tags with default flag, the commit each points at, and ahead/behind vs the default branch. Sourced from QDS.

path
required

Dataset path (org/name)

string
<= 300 characters

Dataset path (org/name)

x-api-key
string | null

Branches: default, last commit, ahead/behind

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": {}
}
]
}