API version adjusted

This commit is contained in:
Christian Mueller
2014-02-02 10:13:13 +01:00
parent 460db4185a
commit 6ed2d7198a
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1,10 +1,11 @@
# NoteHub API # NoteHub API
**Version 1.2, status: released.** **Version 1.3, status: released.**
## Changelog ## Changelog
- **V1.3**: New note ID format.
- **V1.2**: Theme & fonts can be specified during the publishing. - **V1.2**: Theme & fonts can be specified during the publishing.
- **V1.1**: fields `publisher` and `title` in the response to the note retrieval. - **V1.1**: fields `publisher` and `title` in the response to the note retrieval.
- **V1.0**: initial release. - **V1.0**: initial release.
@@ -56,7 +57,7 @@ Example:
Hence, the status of the request can be evaluated by reading of the property `status.success`. The field `status.comment`might contain an error message, a warning or any other comments from the server. Hence, the status of the request can be evaluated by reading of the property `status.success`. The field `status.comment`might contain an error message, a warning or any other comments from the server.
The note ID is a string, containing the date of publishing and a few first words of the note (usually the title), e.g.: `"2014 1 3 lorem-ipsum"`. This ID will be generated by NoteHub automatically. The note ID is a string, containing the date of publishing and a few first words of the note (usually the title), e.g.: `"2014/1/3/lorem-ipsum"`. This ID will be generated by NoteHub automatically.
## Note Publishing ## Note Publishing
+1 -1
View File
@@ -11,7 +11,7 @@
[hiccup.util :as util] [hiccup.util :as util]
[notehub.storage :as storage])) [notehub.storage :as storage]))
(def version "1.2") (def version "1.3")
(def domain (def domain
(get-setting (get-setting