Skip to content

Note sharing 2.0

Sander edited this page Jul 9, 2017 · 5 revisions

Share a note

  • Status: Draft
  • Method: POST
  • Route: /sharing/shares
  • Parameters:
  • Returns:
[
    {
        "noteid":17 // The note you want to share
        "shareType":0
        "shareWith":"target uid"
        "publicUpload":0
        "permissions":31
    }
]

Unshare a note

  • Status: Draft
  • Method: DELETE
  • Route: /sharing/shares/{noteId}
  • Parameters:
    • shareType
    • shareWith (uid of the user you want to remove)
  • Returns:
true
Clone this wiki locally