[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
1 changed files with 5 additions and 0 deletions

5
NOTES
View File

@ -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}