- **V1.2**: Theme & fonts can be specified at the creation.
- **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.
@ -58,7 +58,7 @@ Hence, the status of the request can be evaluated by reading of the property `st
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 Creation
## Note Publishing
A note must be created by a `POST` request to the following URL:
A note must be created by a `POST` request to the following URL:
@ -115,7 +115,7 @@ Parameter | Explanation | Type
`note` | New text | **required**
`note` | New text | **required**
`pid` | Publisher ID | **required**
`pid` | Publisher ID | **required**
`signature` | Signature | **required**
`signature` | Signature | **required**
`password` | MD5 hash of the plain password used for creation | **required**
`password` | MD5 hash of the plain password used for publishing| **required**
`version` | Used API version | **required**
`version` | Used API version | **required**
The Signature is the MD5 hash of the following string concatenation:
The Signature is the MD5 hash of the following string concatenation:
@ -136,4 +136,4 @@ Example:
}
}
}
}
The status object serves the same purpose as in the case of note retrieval and creation.
The status object serves the same purpose as in the case of note retrieval and publishing.
Send your feedback and comments directly to [@gravitydenier](http://twitter.com/gravitydenier) or open an [issue](https://github.com/chmllr/NoteHub/issues) on GitHub.
Send your feedback and comments directly to [@gravitydenier](http://twitter.com/gravitydenier) or open an [issue](https://github.com/chmllr/NoteHub/issues) on GitHub.
## Features
## Features
- **API**: Integrate the publishing functionality into your editor using the official [NoteHub API](/api).
- **Color Themes**: specify the color scheme by appending the corresponding parameter to the URL:
- **Color Themes**: specify the color scheme by appending the corresponding parameter to the URL: