Skip to content

Variable ancestors

GET
/v1/variable/ancestors/{node}

Fetch ancestor variable groups for a statistical variable.

node
required
string
/.+/

DCID of a stat var (group)

A successful response.

object
ancestors

A list of ancestor stat var (group) DCIDs from the queried stat var to the root of stat var hierarchy.

This is one of many combinations in the hierarchy. When there are multiple ancestor stat var (groups) to select at a level, the first one in alphabetical sorted order is selected.

Array<string>

An unexpected error response.

object
code
integer format: int32
message
string
details
Array<object>
object
@type
string
key
additional properties