Ontology Terms Children
curl --request GET \
--url https://catalog-api-dev.demo.igvf.org/api/ontology-terms/{ontology_term_id}/childrenimport requests
url = "https://catalog-api-dev.demo.igvf.org/api/ontology-terms/{ontology_term_id}/children"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://catalog-api-dev.demo.igvf.org/api/ontology-terms/{ontology_term_id}/children', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"term": {
"uri": "<string>",
"term_id": "<string>",
"name": "<string>",
"synonyms": [
"<string>"
],
"description": "<string>",
"source": "<string>",
"subontology": "<string>",
"source_url": "<string>"
},
"relationship_type": "<string>"
}
]{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}API Reference
Ontology Terms Children
Retrieve all child nodes of an ontology term.
Example: ontology_term_id = CHEBI_20857.
The limit parameter controls the page size and can not exceed 500.
Pagination is 0-based.
Ontology Terms Children
curl --request GET \
--url https://catalog-api-dev.demo.igvf.org/api/ontology-terms/{ontology_term_id}/childrenimport requests
url = "https://catalog-api-dev.demo.igvf.org/api/ontology-terms/{ontology_term_id}/children"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://catalog-api-dev.demo.igvf.org/api/ontology-terms/{ontology_term_id}/children', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"term": {
"uri": "<string>",
"term_id": "<string>",
"name": "<string>",
"synonyms": [
"<string>"
],
"description": "<string>",
"source": "<string>",
"subontology": "<string>",
"source_url": "<string>"
},
"relationship_type": "<string>"
}
]{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}