We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FUNCTIONALITY: end device, node or whole program
ENDPOINT: /end
TYPE: GET
URL ARGUMENTS:
-
?node_id=x
x
?node_id=x&device_type=xyz
xyz
POSSIBLE RESPONSES:
200, ''
400, 'Requested node is not initialized'
400, 'Device doesnt exist on node x'
401, 'Invalid Credentials'
500, error message
Example
import requests # end node requests.get('https://localhost:5000/end?node_id=1', verify=False, auth=('user', 'passwd')) # end device requests.get('https://localhost:5000/end?node_id=1&device_type=PBR', verify=False, auth=('user', 'passwd')) # end program requests.get('https://localhost:5000/end', verify=False, auth=('user', 'passwd'))
assuming the node with ID = 1 was running.
ID = 1