Browse Source

API version adjusted

master
Christian Mueller 12 years ago
parent
commit
6ed2d7198a
  1. 5
      API.md
  2. 2
      src/notehub/api.clj

5
API.md

@ -1,10 +1,11 @@ @@ -1,10 +1,11 @@
# NoteHub API
**Version 1.2, status: released.**
**Version 1.3, status: released.**
## Changelog
- **V1.3**: New note ID format.
- **V1.2**: Theme & fonts can be specified during the publishing.
- **V1.1**: fields `publisher` and `title` in the response to the note retrieval.
- **V1.0**: initial release.
@ -56,7 +57,7 @@ Example: @@ -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.
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

2
src/notehub/api.clj

@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
[hiccup.util :as util]
[notehub.storage :as storage]))
(def version "1.2")
(def version "1.3")
(def domain
(get-setting

Loading…
Cancel
Save