From 78f45e73b984c5e9f446078e7a14c944d7b0a857 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Wed, 18 Sep 2013 16:01:34 +0200 Subject: [PATCH] [MISC] Add /profile/store API notes to NOTES. --- NOTES | 5 +++++ 1 file changed, 5 insertions(+) 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