]> git.defcon.no Git - hermes/blobdiff - doc/api-nodes.txt
Changed database-references, 'provision' is now called 'hermes', reflects that this...
[hermes] / doc / api-nodes.txt
index 03b82b6f867627e8d94dda5c729f35a6f4c6da71..cb6ea9a2dfed330f9d9b3e414480a1b2ad456540 100644 (file)
@@ -449,7 +449,9 @@ phone/list
        a subset matching on the MAC addresses.
 
   Return:
-       TODO: Document this.
+       Returns 'list' as a simple array of registered MAC-adresses on success,
+       the list will be limited to addresses matching the search if provided.
+       
 
 phone/add
 -------------------
@@ -483,7 +485,7 @@ phone/remove
        are identical to the phone/add node.
 
   Return:
-       TODO: Document additional info provided on 'result' = 'ok'
+       Returns 'mac', 'username' and 'domain' on success.
        Returns 'failed' with 'cause' = 'invalid' if SIP address is malformed.
        Returns 'failed' with 'cause' = 'invalid' if MAC address is malformed.
        Returns 'failed' with 'cause' = 'nonexistant' on no such registration.