Children of a complex or a compartment element.
The endpoints are served from /new_api/projects/{projectId}/maps/{mapId}/bio_entities/elements/{id}/children.
1. List children
Returns a page of elements contained in the given complex or compartment.
|
Note
|
The result is paged - use the page and size query parameters to
walk through it.
|
1.1. HTTP request
GET /minerva/new_api/projects/test_project/maps/206/bio_entities/elements/546/children/ HTTP/1.1
1.2. Path Parameters
| Parameter | Description |
|---|---|
|
project identifier |
|
map identifier |
|
unique element identifier (the numeric "id" field of the element, not the "elementId" taken from the source file) |
1.3. Query Parameters
| Parameter | Description |
|---|---|
|
index of the page to fetch, counted from 0; 0 by default |
|
number of entries on a page; 20 by default, 10000 at most |
1.4. CURL sample
$ curl 'https://minerva-dev.lcsb.uni.lu/minerva/new_api/projects/test_project/maps/206/bio_entities/elements/546/children/' -X GET \
-H 'Authorization: Bearer xxxxxxxx'
1.5. HTTP response
HTTP/1.1 200 OK
1.6. Sample Response
{
"content" : [ {
"id" : 548,
"glyph" : null,
"compartment" : 544,
"pathway" : null,
"elementId" : "p3",
"x" : 10.0,
"y" : 20.0,
"z" : 12,
"allowUiInteraction" : true,
"width" : 100.0,
"height" : 20.0,
"fontSize" : 12.0,
"fontColor" : "#000000ff",
"fillColor" : "#ffffffff",
"borderColor" : "#000000ff",
"visibilityLevel" : "",
"transparencyLevel" : "",
"notes" : "",
"symbol" : null,
"fullName" : null,
"name" : "GSTA4",
"nameX" : 10.0,
"nameY" : 20.0,
"nameWidth" : 100.0,
"nameHeight" : 20.0,
"fontName" : "ARIAL",
"fontWeight" : "NORMAL",
"fontStyle" : "NORMAL",
"nameVerticalAlign" : "MIDDLE",
"nameHorizontalAlign" : "CENTER",
"synonyms" : [ "GSTA_XX", "GSTA_YY" ],
"formerSymbols" : [ ],
"modificationResidues" : [ {
"id" : 51490,
"idModificationResidue" : "r4",
"name" : "",
"x" : 10.0,
"y" : 20.0,
"z" : 13,
"width" : 15.0,
"height" : 15.0,
"nameX" : 10.0,
"nameY" : 20.0,
"nameWidth" : 15.0,
"nameHeight" : 15.0,
"nameVerticalAlign" : "MIDDLE",
"nameHorizontalAlign" : "CENTER",
"species" : 548,
"borderColor" : "#000000ff",
"fillColor" : "#ffffffff",
"fontSize" : 10.0,
"fontWeight" : "NORMAL",
"fontStyle" : "NORMAL",
"state" : null,
"sboTerm" : "SBO:0000493",
"stateAbbreviation" : null,
"size" : 225.0,
"elementId" : "r4"
}, {
"id" : 51491,
"idModificationResidue" : "",
"name" : "X",
"x" : 10.0,
"y" : 20.0,
"z" : 14,
"width" : 10.0,
"height" : 10.0,
"nameX" : 10.0,
"nameY" : 20.0,
"nameWidth" : 10.0,
"nameHeight" : 10.0,
"nameVerticalAlign" : "MIDDLE",
"nameHorizontalAlign" : "CENTER",
"species" : 548,
"borderColor" : "#000000ff",
"fillColor" : "#ffffffff",
"fontSize" : 12.0,
"fontWeight" : "NORMAL",
"fontStyle" : "NORMAL",
"sboTerm" : "SBO:0000181",
"size" : 100.0,
"elementId" : ""
}, {
"id" : 51492,
"idModificationResidue" : "b5",
"name" : "",
"x" : 60.0,
"y" : 20.0,
"z" : 15,
"width" : 10.0,
"height" : 10.0,
"nameX" : 60.0,
"nameY" : 20.0,
"nameWidth" : 10.0,
"nameHeight" : 10.0,
"nameVerticalAlign" : "MIDDLE",
"nameHorizontalAlign" : "CENTER",
"species" : 548,
"borderColor" : "#000000ff",
"fillColor" : "#ffffffff",
"fontSize" : 10.0,
"fontWeight" : "NORMAL",
"fontStyle" : "NORMAL",
"sboTerm" : "SBO:0000494",
"size" : 100.0,
"elementId" : "b5"
} ],
"activity" : false,
"lineWidth" : 1.0,
"complex" : 546,
"initialAmount" : null,
"charge" : null,
"initialConcentration" : 0.0,
"onlySubstanceUnits" : false,
"homodimer" : 1,
"hypothetical" : null,
"boundaryCondition" : false,
"constant" : false,
"substanceUnits" : {
"id" : 181,
"unitId" : "u1",
"name" : "Weight",
"unitTypeFactors" : [ ]
},
"borderLineType" : "SOLID",
"map" : 206,
"submap" : {
"id" : 207
},
"references" : [ {
"link" : null,
"type" : "HGNC_SYMBOL",
"resource" : "GSTA4",
"id" : 702,
"annotator" : null
} ],
"immediateLink" : null,
"sboTerm" : "SBO:0000252"
} ],
"totalPages" : 1,
"totalElements" : 1,
"numberOfElements" : 1,
"size" : 20,
"number" : 0
}