ReST API¶
eNMS has a ReST API allowing to:
- retrieve an object.
- execute a task.
Retrieve an object¶
# via a GET call to the following URL
http://IP_address/rest/get/object_type/object_name
object_type
can be any of the following: node
, link
, user
, script
, workflow
, task
.
Execute a task¶
# via a GET call to the following URL
http://IP_address/rest/execute_task/task_name
The task will start immediately (and its properties are displayed).