Skip to content

openURL Example

Chris Churas edited this page Oct 31, 2024 · 1 revision

Format of response for openURL results

[
  {
    "action": "openURL",
    "data": {
              "url": string, // URL to open
              "target": string  // Denotes where to open URL, if empty string, blank or null open in a new tab
                                 // if set to a name, open as an iframe on right side of Cytoscape WEB --NOT IMPLEMENTED YET
            }
  }
]

Example:

[
  {
    "action": "openURL",
    "data": {
              "url": "https://www.cytoscape.org", 
              "target": null
            }
  }
]