API version adjusted
This commit is contained in:
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user