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 Creation
@ -71,14 +71,14 @@ The Signature is the MD5 hash of the following string concatenation:
@@ -71,14 +71,14 @@ The Signature is the MD5 hash of the following string concatenation:
The signature serves as a proof, that the request is authentic and will be issued by the publisher corresponding to the provided PID.
The response of the server will contain the fields `noteID`, `longPath`, `shortPath`, `status`.
The response of the server will contain the fields `noteID`, `longURL`, `shortURL`, `status`.
@ -109,13 +109,13 @@ The Signature is the MD5 hash of the following string concatenation:
@@ -109,13 +109,13 @@ The Signature is the MD5 hash of the following string concatenation:
pid + psk + noteID + note + password
The response of the server will contain the fields `longPath`, `shortPath`, `status`.
The response of the server will contain the fields `longURL`, `shortURL`, `status`.