Get subject hierarchy
Retrieve the hierarchy for the specified subject using its id or absolute path.
Path parameters
The id or absolute path of the root subject to retrieve.
Query parameters
The number of hierarchy levels to include (0 for all, 1 for just children, 2 for children and grandchildren, etc.).
Comma-separated list of aspect names to include/exclude. For example, ?aspect=FOO,BAR will only return subjects in the hierarchy with samples for those two aspects (and all those subjects' ancestors up to the specified root of the requested hierarchy). Prefix each of the aspect name with a negative sign to indicate that a sample with that aspect should be excluded. For example, ?aspect=-BAZ,-FOO will return only the subjects (and its hierarchy) that have samples with aspect name not equal to BAZ or FOO. Subjects without samples are not included in the result set
Comma-separated list of sample status to include/exclude. For example, ?status=OK,CRITICAL will only return subjects in the hierarchy with samples that are in those statuses (and all those subjects' ancestors up to the specified root of the requested hierarchy). Prefix each of the status with a negative sign to indicate that a sample with that status should be excluded. For example, ?status=-OK,-CRITICAL will return only the subjects (and its hierarchy) that have samples not in OK or CRITICAL status. Subjects without samples are not included in the result set
Comma-separated list of tags names to include/exclude. For example, ?aspectTags=TAG1,TAG2 will only return subjects in the hierarchy with samples having aspect with tags matching TAG1 and TAG2 (and all those subjects' ancestors up to the specified root of the requested hierarchy). Prefix each of the tag names with a negative sign to indicate that a sample having aspect with those tag names will be excluded. For example, ?aspectTags=-TAG3,-TAG4 will return the subject hierarchy without aspects having tags - TAG3 and TAG4. Subjects without samples are not included in the result set
Comma-separated list of tags names to include/exclude. For example, ?subjectTags=TAG1,TAG2 will only return subjects in the hierarchy with tags matching TAG1 and TAG2 (and all those subjects' ancestors up to the specified root of the requested hierarchy). Prefix each of the tag names with a negative sign to indicate that the subject having tags with those names will be excluded. For example, ?subjectTags=-TAG3,-TAG4 will return the subject hierarchy without subjects having tags - TAG3 and TAG4. Tags should be passed as an include filter or as an exclude filter but not the combination of both.
Comma-delimited list of field names to include in the response.
Response
Success, returns specified subject heirarchy.