Added api doc for editing configs

This commit is contained in:
Kyle Johnson 2014-04-25 19:19:56 +00:00
parent 2004a5de8a
commit e65e17093f
1 changed files with 7 additions and 0 deletions

View File

@ -68,3 +68,10 @@ Delete event 1
This command will delete Event 1, and any Frames which depend on it.
``curl -XDELETE http://zmdevapi/events/1.json``
Edit config 121
^^^^^^^^^^^^^^^
This command will change the 'Value' field of Config 121 to 901.
``curl -XPUT http://zmdevapi/configs/121.json -d "Config[Value]=901"``