Added documentation for the newly added API method getPadID

pull/2169/head
Stephan Jauernick 2014-06-02 20:25:16 +02:00
parent fc3ce3429e
commit bbd50dfc62
1 changed files with 9 additions and 0 deletions

View File

@ -455,6 +455,15 @@ returns the read only link of a pad
* `{code: 0, message:"ok", data: {readOnlyID: "r.s8oes9dhwrvt0zif"}}` * `{code: 0, message:"ok", data: {readOnlyID: "r.s8oes9dhwrvt0zif"}}`
* `{code: 1, message:"padID does not exist", data: null}` * `{code: 1, message:"padID does not exist", data: null}`
#### getPadID(readOnlyID)
* API >= 1.2.10
returns the id of a pad which is assigned to the readOnlyID
*Example returns:*
* `{code: 0, message:"ok", data: {padID: "p.s8oes9dhwrvt0zif"}}`
* `{code: 1, message:"padID does not exist", data: null}`
#### setPublicStatus(padID, publicStatus) #### setPublicStatus(padID, publicStatus)
* API >= 1 * API >= 1