diff --git a/NOTES b/NOTES index 5a7f0da..c6230dc 100644 --- a/NOTES +++ b/NOTES @@ -32,6 +32,7 @@ user document: profile document: { "_id": "%COUCHDOCID%", + "_attachments": {%COUCHATTACHMENTS%} "type": "profile", "data": { //the object that is handled @@ -60,6 +61,10 @@ GET /profile {} {success, profile: {%PROFILE_DOCUMENT}} PUT /profile {profile} {success} DELETE /profile {} {success} +GET /profile/store/%FILENAME% {} {success} +PUT /profile/store/%FILENAME% {file} {success} +DELETE /profile/store/%FILENAME% {} {success} + GET /session {} {success, login} PUT /session {username, password} {success} DELETE /session {} {success} \ No newline at end of file