DEVS-Fire API

setSuppressedCell

Suppress a single cell or a straight line of cells between two points. Suppressed cells cannot burn. Omit `x2`/`y2` to suppress only the cell at (`x1`,`y1`).

POST
/setSuppressedCell

Query Parameters

Prop

Type

import requestsbase_url: str = "https://firesim.cs.gsu.edu/api/setSuppressedCell/"params: dict[str, int | str] = {    "userToken": "abc123xyz",      "x1": 5,                       "y1": 5,                       "x2": 5,                   # optional    "y2": 10,                  # optional}response = requests.post(base_url, params=params)print(response.text)
"Updated Settings: Suppressed Cell"
""

Response Body

text/plain

text/plain