Complex the element is part of.
The endpoints are served from /new_api/projects/{projectId}/maps/{mapId}/bio_entities/elements/{id}/complex.
1. Get complex
Returns the complex the element belongs to.
1.1. HTTP request
GET /minerva/new_api/projects/test_project/maps/214/bio_entities/elements/570/complex 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. CURL sample
$ curl 'https://minerva-dev.lcsb.uni.lu/minerva/new_api/projects/test_project/maps/214/bio_entities/elements/570/complex' -X GET \
-H 'Authorization: Bearer xxxxxxxx'
1.4. HTTP response
HTTP/1.1 200 OK
1.5. Response Fields
| Path | Type | Description |
|---|---|---|
|
|
link that should be opened immediately when element is clicked on the map |
|
|
unique bioEntity identifier |
|
|
name of the bioEntity displayed on the map |
|
|
element identifier taken from source file |
|
|
map identifier |
|
|
list of references |
|
|
z index (coordinate) of the element on the map |
|
|
notes and description |
|
|
at what zoom level this element becomes visible in hierarchical view |
|
|
multimer value |
|
|
SBO term identifying the type of the bioEntity |
|
|
short symbol identifying the element |
|
|
list of synonyms |
|
|
x coordinate of the element name on the map |
|
|
y coordinate of the element name on the map |
|
|
line type |
|
|
width of the box with element name |
|
|
height of the box with element name |
|
|
vertical align of the text inside the box with element name |
|
|
horizontal align of the text inside the box with element name |
|
|
font name used for element label, one of: ARIAL, HELVETICA, TIMES_NEW_ROMAN, COURIER_NEW, GEORGIA, VERDANA |
|
|
font weight for element label, one of: NORMAL, BOLD |
|
|
font style for element label, one of: NORMAL, ITALIC |
|
|
width of the element |
|
|
height of the element |
|
|
at what zoom level this element becomes transparent in hierarchical view |
|
|
list of former symbols |
|
|
unabbreviated name of the element |
|
|
image glyph associated with the element |
|
|
glyph id |
|
|
id of file associated with the glyph |
|
|
is the element active |
|
|
is the element hypothetical |
|
|
SBML kinetics is boundary condition |
|
|
SBML kinetics is constant |
|
|
SBML kinetics initial amount |
|
|
SBML kinetics initial concentration |
|
|
SBML charge |
|
|
SBML substance units |
|
|
SBML only substance units |
|
|
List of species modification residues |
|
|
Species structural state |
|
|
identifier of a complex in which element is located |
|
|
name of a complex in which element is located |
|
|
identifier of a compartment in which element is located |
|
|
identifier of a pathway in which element is located |
|
|
name of a compartment in which element is located |
|
|
submap to which this bioEntity is an entry point (anchor) |
|
|
submap id |
|
|
identifier of a submap to which this bioEntity is an entry point (anchor) |
|
|
type of submap connection |
|
|
x coordinate of the element on the map |
|
|
y coordinate of the element on the map |
|
|
border line width |
|
|
Species units |
|
|
color of the element label; |
|
|
size of the font used for the element label |
|
|
color used to fill the interior of the element; |
|
|
color used to draw the outline of the element; |
|
|
smiles identifier (for chemicals) |
|
|
inChI identifier (for chemicals) |
|
|
inChI key identifier (for chemicals) |
|
|
compartment membrane thickness |
|
|
compartment outer line width |
|
|
shape of a compartment |
|
|
compartment inner line width |
|
|
whether the element allows user interaction (e.g. clicking, hovering) |
1.6. Sample Response
{
"id" : 569,
"glyph" : null,
"compartment" : 572,
"pathway" : null,
"elementId" : "p2",
"x" : 10.0,
"y" : 20.0,
"z" : 11,
"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" : "CP",
"nameX" : 10.0,
"nameY" : 20.0,
"nameWidth" : 100.0,
"nameHeight" : 20.0,
"fontName" : "ARIAL",
"fontWeight" : "NORMAL",
"fontStyle" : "NORMAL",
"nameVerticalAlign" : "MIDDLE",
"nameHorizontalAlign" : "CENTER",
"synonyms" : [ ],
"formerSymbols" : [ ],
"modificationResidues" : [ ],
"activity" : false,
"lineWidth" : 1.0,
"complex" : null,
"initialAmount" : null,
"charge" : null,
"initialConcentration" : 0.0,
"onlySubstanceUnits" : false,
"homodimer" : 1,
"hypothetical" : null,
"boundaryCondition" : false,
"constant" : false,
"substanceUnits" : null,
"borderLineType" : "SOLID",
"map" : 214,
"submap" : null,
"references" : [ ],
"immediateLink" : null,
"sboTerm" : "SBO:0000253"
}
2. Set complex
Adds the element to the given complex.
|
Note
|
Supports optimistic locking via the If-Match header.
|
2.1. HTTP request
POST /minerva/new_api/projects/test_project/maps/212/bio_entities/elements/566/complex HTTP/1.1
2.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) |
2.3. Request Fields
| Path | Type | Description |
|---|---|---|
|
|
identifier of the referenced entity |
2.4. CURL sample
$ curl 'https://minerva-dev.lcsb.uni.lu/minerva/new_api/projects/test_project/maps/212/bio_entities/elements/566/complex' -X POST \
-H 'Authorization: Bearer xxxxxxxx' \
-d '{"id":564}' \
-H 'Content-Type: application/json'
2.5. HTTP response
HTTP/1.1 200 OK
2.6. Response Fields
| Path | Type | Description |
|---|---|---|
|
|
link that should be opened immediately when element is clicked on the map |
|
|
unique bioEntity identifier |
|
|
name of the bioEntity displayed on the map |
|
|
element identifier taken from source file |
|
|
map identifier |
|
|
list of references |
|
|
z index (coordinate) of the element on the map |
|
|
notes and description |
|
|
at what zoom level this element becomes visible in hierarchical view |
|
|
multimer value |
|
|
SBO term identifying the type of the bioEntity |
|
|
short symbol identifying the element |
|
|
list of synonyms |
|
|
x coordinate of the element name on the map |
|
|
y coordinate of the element name on the map |
|
|
line type |
|
|
width of the box with element name |
|
|
height of the box with element name |
|
|
vertical align of the text inside the box with element name |
|
|
horizontal align of the text inside the box with element name |
|
|
font name used for element label, one of: ARIAL, HELVETICA, TIMES_NEW_ROMAN, COURIER_NEW, GEORGIA, VERDANA |
|
|
font weight for element label, one of: NORMAL, BOLD |
|
|
font style for element label, one of: NORMAL, ITALIC |
|
|
width of the element |
|
|
height of the element |
|
|
at what zoom level this element becomes transparent in hierarchical view |
|
|
list of former symbols |
|
|
unabbreviated name of the element |
|
|
image glyph associated with the element |
|
|
glyph id |
|
|
id of file associated with the glyph |
|
|
is the element active |
|
|
is the element hypothetical |
|
|
SBML kinetics is boundary condition |
|
|
SBML kinetics is constant |
|
|
SBML kinetics initial amount |
|
|
SBML kinetics initial concentration |
|
|
SBML charge |
|
|
SBML substance units |
|
|
SBML only substance units |
|
|
List of species modification residues |
|
|
Species structural state |
|
|
identifier of a complex in which element is located |
|
|
name of a complex in which element is located |
|
|
identifier of a compartment in which element is located |
|
|
identifier of a pathway in which element is located |
|
|
name of a compartment in which element is located |
|
|
submap to which this bioEntity is an entry point (anchor) |
|
|
submap id |
|
|
identifier of a submap to which this bioEntity is an entry point (anchor) |
|
|
type of submap connection |
|
|
x coordinate of the element on the map |
|
|
y coordinate of the element on the map |
|
|
border line width |
|
|
Species units |
|
|
color of the element label; |
|
|
size of the font used for the element label |
|
|
color used to fill the interior of the element; |
|
|
color used to draw the outline of the element; |
|
|
smiles identifier (for chemicals) |
|
|
inChI identifier (for chemicals) |
|
|
inChI key identifier (for chemicals) |
|
|
compartment membrane thickness |
|
|
compartment outer line width |
|
|
shape of a compartment |
|
|
compartment inner line width |
|
|
whether the element allows user interaction (e.g. clicking, hovering) |
2.7. Sample Response
{
"id" : 564,
"glyph" : null,
"compartment" : 562,
"pathway" : null,
"elementId" : "p2",
"x" : 10.0,
"y" : 20.0,
"z" : 11,
"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" : "CP",
"nameX" : 10.0,
"nameY" : 20.0,
"nameWidth" : 100.0,
"nameHeight" : 20.0,
"fontName" : "ARIAL",
"fontWeight" : "NORMAL",
"fontStyle" : "NORMAL",
"nameVerticalAlign" : "MIDDLE",
"nameHorizontalAlign" : "CENTER",
"synonyms" : [ ],
"formerSymbols" : [ ],
"modificationResidues" : [ ],
"activity" : false,
"lineWidth" : 1.0,
"complex" : null,
"initialAmount" : null,
"charge" : null,
"initialConcentration" : 0.0,
"onlySubstanceUnits" : false,
"homodimer" : 1,
"hypothetical" : null,
"boundaryCondition" : false,
"constant" : false,
"substanceUnits" : null,
"borderLineType" : "SOLID",
"map" : 212,
"submap" : null,
"references" : [ ],
"immediateLink" : null,
"sboTerm" : "SBO:0000253"
}