-
Notifications
You must be signed in to change notification settings - Fork 1
Logging in WebApps
Josh Chudy edited this page Jul 17, 2019
·
26 revisions
This page borrows information from the corresponding wiki page in the chaise repo. Click here for more details.
Following are the default attributes that you can find on all the requests:
-
cid
: The app name (boolean-search, heatmap, lineplot, treeview). -
wid
: The window id (randomly generated). -
pid
: The page id (randomly generated). -
schema_table
: Theschema:table
combination. -
column
: Thecolumn
for scalar facet -
action
: A pre-defined string that implies what the request was for. Refer the action list below for more information.
Following are the optional attributes that you might find on requests:
-
referrer
: It's an object that has the requesting schema_table as its attribute. This attribute is available on requests that need to capture their parent entity (for example related entities will have the main entity as referrer) -
source
: The source path of the facet. This attribute is only present in the requests that belong to a facet. -
params
: {}
Description | Action | Optional | Notes |
---|---|---|---|
Fetching the filter data | facet | table:Stage, table:Species | |
Select the actual stage associated with specimen | facet/selected | params={"Specimen_RID": "XXX"} | |
Fetching the parent-child info to build tree | main | table:Part_Of | |
Fetching the isolated nodes | isolated | table:Anatomy | |
Fetching the annotated data for specimen | annotation | table:Specimen_Expression. params={"Specimen_RID": "XXX"} |
Description | Action | Optional | Notes |
---|---|---|---|
Schema read | model/read | source | |
Main Array_Data read on load | main | ||
Subsequent reads to get all array data | page |
Description | Action | Optional | Notes |
---|---|---|---|
Load facet options for different sources | facet | referrer source | Follow recordset facet |
Similar to what is detailed in chaise, each webapp that has a navbar, will append a PCID
query parameter to the links in the url. The format for each webapp will be navbar/<appname>
. The following is the current list of PCID
's that are used:
navbar/boolean-search
navbar/heatmap
navbar/lineplot
navbar/treeview