From 025923e13a9865c20a41bbd846a52a6db5bb46ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=BCller?= Date: Sun, 5 Oct 2014 15:59:57 +0200 Subject: [PATCH] API documentation fixed --- API.md | 10 +++++----- src/notehub/api.clj | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/API.md b/API.md index 0f2c287..9f8d679 100644 --- a/API.md +++ b/API.md @@ -4,11 +4,11 @@ ## Changelog -- **V1.4**: Bugfix: no whitespace elimination from the note text is needed now for the signature compuation. +- **V1.4**: Bugfix: no whitespace elimination from the note text is needed now for the signature computation. - **V1.3**: New note ID format. - **V1.2**: Theme & font settings can be specified during the publishing. -- **V1.1**: fields `publisher` and `title` in the response to the note retrieval. -- **V1.0**: initial release. +- **V1.1**: Fields `publisher` and `title` in the response to the note retrieval. +- **V1.0**: Initial release. ## Prerequisites @@ -46,8 +46,8 @@ Example: longURL: "https://www.notehub.org/2014/1/3/lorem-ipsum", shortURL: "https://www.notehub.org/0vrcp", statistics: { - published: "2014-1-3", - edited: "2014-1-12", + published: "1396250865735", + edited: "1412516289863", views: 24 }, status: { diff --git a/src/notehub/api.clj b/src/notehub/api.clj index 17e950c..e1a93de 100644 --- a/src/notehub/api.clj +++ b/src/notehub/api.clj @@ -58,7 +58,7 @@ (let [req-version (Double/parseDouble req-version) version (Double/parseDouble version)] (if (< req-version version) - {:status (create-response false "Deprecated API version")} + {:status (create-response false "Deprecated API version")} (f params))) {:status (create-response false "API version expected")}))