Skip to content

Variable ancestors (POST)

POST
/v1/variable/ancestors

Fetch ancestor variable groups for statistical variables.

object
node
DCID of a stat var (group)
string

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