-
Notifications
You must be signed in to change notification settings - Fork 0
Backend for Lifelog.
License
u2x1/lifelog-server
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# lifelog-server ===== method ===== router method request body response body /user/login/ Post {username, password} {code, msg, value{null}} /user/register/ Post {username, password} {code, msg, value{null}} /user/exist/:username Get Boolean /event/fetch/ Post {userSession, lastSyncTime} {code, msg, value{tag, contents[$event]}} /event/upload/ Post {userSession, events[$event]} {code, msg, value{null}} note: event {id, startTime, endTime, modifyTime, name, nameSec, type} ===== status code ===== 100 opearation finished successfully 101 username already exists (registration) 102 username not exists 103 password does not match username 110 opearation finished successfully 111 user session not exists 201 not implemented 202 json parse error
About
Backend for Lifelog.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published