From bbd50dfc626786c890acd5a15e728cadc400f727 Mon Sep 17 00:00:00 2001 From: Stephan Jauernick Date: Mon, 2 Jun 2014 20:25:16 +0200 Subject: Added documentation for the newly added API method getPadID --- doc/api/http_api.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/api') diff --git a/doc/api/http_api.md b/doc/api/http_api.md index 2d6e7909..6cbe6e6b 100644 --- a/doc/api/http_api.md +++ b/doc/api/http_api.md @@ -455,6 +455,15 @@ returns the read only link of a pad * `{code: 0, message:"ok", data: {readOnlyID: "r.s8oes9dhwrvt0zif"}}` * `{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) * API >= 1 -- cgit v1.2.3