Variable ancestors (POST)
POST /v1/variable/ancestors
POST
/v1/variable/ancestors
Fetch ancestor variable groups for statistical variables.
Request Body required
Section titled “Request Body required ”object
node
DCID of a stat var (group)
string
Responses
Section titled “ Responses ”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>
default
Section titled “default ”An unexpected error response.
object
code
integer format: int32
message
string
details
Array<object>
object
@type
string
key
additional properties