From e491476a0f6c3875ad34cca20010a2a414f0a165 Mon Sep 17 00:00:00 2001 From: Mark Holmquist Date: Wed, 8 Aug 2012 10:24:57 -0700 Subject: [PATCH] Added in docs for the HTTP call I just added --- doc/api/http_api.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/api/http_api.md b/doc/api/http_api.md index 33932ca3c..da6e926bd 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

*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

*Example returns:* + * `{code: 0, message:"ok", data: {}}` + * `{code: 1, message:"padID does not exist", data: null}`