[MISC] Add /profile/store API notes to NOTES.

This commit is contained in:
Jan Philipp Timme 2013-09-18 16:01:34 +02:00
parent a0b426e7a2
commit 78f45e73b9

5
NOTES
View File

@ -32,6 +32,7 @@ user document:
profile document: profile document:
{ {
"_id": "%COUCHDOCID%", "_id": "%COUCHDOCID%",
"_attachments": {%COUCHATTACHMENTS%}
"type": "profile", "type": "profile",
"data": { "data": {
//the object that is handled //the object that is handled
@ -60,6 +61,10 @@ GET /profile {} {success, profile: {%PROFILE_DOCUMENT}}
PUT /profile {profile} {success} PUT /profile {profile} {success}
DELETE /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} GET /session {} {success, login}
PUT /session {username, password} {success} PUT /session {username, password} {success}
DELETE /session {} {success} DELETE /session {} {success}