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}`