Merge pull request #930 from MarkTraceur/new-doc/http/send-clients-message

Added in docs for the HTTP call I just added
pull/945/head
John McLear 2012-08-12 09:09:20 -07:00
commit 838834f438
1 changed files with 5 additions and 1 deletions

View File

@ -236,4 +236,8 @@ Group pads are normal pads, but with the name schema GROUPID$PADNAME. A security
* **getLastEdited(padID)** returns the timestamp of the last revision of the pad <br><br>*Example returns:* * **getLastEdited(padID)** returns the timestamp of the last revision of the pad <br><br>*Example returns:*
* `{code: 0, message:"ok", data: {lastEdited: 1340815946602}}` * `{code: 0, message:"ok", data: {lastEdited: 1340815946602}}`
* `{code: 1, message:"padID does not exist", data: null}` * `{code: 1, message:"padID does not exist", data: null}`
* **sendClientsMessage(padID, msg)** sends a custom message of type `msg` to the pad <br><br>*Example returns:*
* `{code: 0, message:"ok", data: {}}`
* `{code: 1, message:"padID does not exist", data: null}`