Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

SEARCHING A SPECIMEN OR STRUCTURE TREE

Table of Contents
minLevel2
maxLevel3
stylenone
classtoc-style

Structure Tree Search Service

The Structure Tree Search service returns a flat list of ancestors and/or descendants for the specified Structure.

Prototype

No Format
 http://api.brain-map.org/api/v2/tree_search/Structure/[Structure.id].[json|xml]&ancestors=[true|false]&descendants=[true|false]

Example

Search for descendants of the Mouse Brain Atlas Ontology's Cortical plate Structure:

No Format
 http://api.brain-map.org/api/v2/tree_search/Structure/695.xml?descendants=true

Parameters

filename

Integer

Structure.id

file extension

String

.xml or .json

ancestors

Boolean (optional)

Defaults to false. Searches for Structures that the specified Structure descends from in the associated Ontology.

descendants

Boolean (optional)

Defaults to false. Searches for Structures that descend from the specified Structure in the associated Ontology.

Returns

Flat list of Structures ordered by level in XML or JSON format.

Specimen Tree Search Service

The Specimen Tree Search service returns a flat list of ancestors and/or descendants for the specified Specimen.

Prototype

No Format
 http://api.brain-map.org/api/v2/tree_search/Specimen/[Specimen.id].[json|xml]&ancestors=[true|false]&descendants=[true|false]

Example

Search for ancestors of a Specimen from the Human Brain ISH Neurotransmitter Study:

No Format
 http://api.brain-map.org/api/v2/tree_search/Specimen/113817886.xml?ancestors=true

Parameters

filename

Integer

Specimen.id

file extension

String

.xml or .json

ancestors

Boolean (optional)

Defaults to false. Searches for Specimens that the specified Specimen descends from in the hierarchy.

descendants

Boolean (optional)

Defaults to false. Searches for Specimens that descend from the specified Specimen in the hierarchy.

Returns

Flat list of Specimens ordered by level in XML or JSON format.