Updated APIDocs to reflect light API tweak

This commit is contained in:
Josh Pruim 2012-12-01 23:11:05 -08:00
parent 6c3bcb33c0
commit 322f652501

View file

@ -295,10 +295,10 @@ Group pads are normal pads, but with the name schema GROUPID$PADNAME. A security
#### createPad(padID [, text])
* API >= 1
creates a new (non-group) pad. Note that if you need to create a group Pad, you should call **createGroupPad**.
creates a new (non-group) pad. Note that if you need to create a group Pad, you should call **createGroupPad**. Returns the actual PadID that was recorded (Checked against a regex so that nothing breaks when accessed.)
*Example returns:*
* `{code: 0, message:"ok", data: null}`
* `{code: 0, message:"ok", data: {"padID":"asdf_as_d"}}`
* `{code: 1, message:"pad does already exist", data: null}`
#### getRevisionsCount(padID)