From 601be46993fe37626bed2649201a7177038bab33 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sat, 11 Apr 2015 13:16:03 +0200 Subject: [PATCH] Add docs for new error message for createPad api method --- doc/api/http_api.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/api/http_api.md b/doc/api/http_api.md index 2ae674d8..7ee8f953 100644 --- a/doc/api/http_api.md +++ b/doc/api/http_api.md @@ -388,10 +388,12 @@ Group pads are normal pads, but with the name schema GROUPID$PADNAME. A security * API >= 1 creates a new (non-group) pad. Note that if you need to create a group Pad, you should call **createGroupPad**. +You get an error message if you use one of the following characters in the padID: "/", "?", "&" or "#". *Example returns:* * `{code: 0, message:"ok", data: null}` - * `{code: 1, message:"pad does already exist", data: null}` + * `{code: 1, message:"padID does already exist", data: null}` + * `{code: 1, message:"malformed padID: Remove special characters", data: null}` #### getRevisionsCount(padID) * API >= 1