Fixes #38. Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
f721e56371
commit
de24146991
7 changed files with 42 additions and 20 deletions
|
@ -82,7 +82,7 @@ Return content of a note encrypted by the given encryption key.
|
|||
Return content of a protected note encrypted by the given encryption key.
|
||||
|
||||
Body (JSON):
|
||||
* **password** (string): password used to protect the note (required)
|
||||
* **password** (string): base64 encoded password used to protect the note (required)
|
||||
|
||||
### GET /api/note/\<id\>
|
||||
|
||||
|
@ -97,7 +97,7 @@ Return content of a protected note.
|
|||
If the note is encrypted, the encrypted value is returned (application/octet-stream). Otherwise, the text is returned (text/plain).
|
||||
|
||||
Body (JSON):
|
||||
* **password** (string): password used to protect the note (required)
|
||||
* **password** (string): base64 encoded password used to protect the note (required)
|
||||
|
||||
### Errors
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue