diff options
author | Mark Holmquist <mtraceur@member.fsf.org> | 2012-08-08 10:24:57 -0700 |
---|---|---|
committer | Mark Holmquist <mtraceur@member.fsf.org> | 2012-08-08 10:26:18 -0700 |
commit | e491476a0f6c3875ad34cca20010a2a414f0a165 (patch) | |
tree | c8ec142eb2f6bce23aeb49ea789225a778235351 /doc/api/http_api.md | |
parent | db4ae500a109543212d762ef1a8964c44d6472ed (diff) | |
download | etherpad-lite-e491476a0f6c3875ad34cca20010a2a414f0a165.zip |
Added in docs for the HTTP call I just added
Diffstat (limited to 'doc/api/http_api.md')
-rw-r--r-- | doc/api/http_api.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/http_api.md b/doc/api/http_api.md index 33932ca3..da6e926b 100644 --- a/doc/api/http_api.md +++ b/doc/api/http_api.md @@ -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:* * `{code: 0, message:"ok", data: {lastEdited: 1340815946602}}` - * `{code: 1, message:"padID does not exist", data: null}`
\ No newline at end of file + * `{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}` |