Additional parts of the API, DB layer.

Implemented additional API functions:
    * dispatch_timeline/4
    * dispatch_event_by_id/4
    * get_timeline/3
    * put_timeline/3
    * post_timeline/3
    * make_json_404/2, make_json_405/2, make_json_500/1
Implemented ts_timeline:lookup/2
Implemented ts_entry:lookup/2
This commit is contained in:
Jonathan Bernard
2011-01-30 08:28:56 -06:00
parent b690326cf4
commit 309d6915fc
7 changed files with 240 additions and 20 deletions

View File

@ -5,7 +5,7 @@
}).
-record(ts_entry, {
ref, % {username, timelineid, eventid}
ref, % {username, timelineid, entryid}
timestamp, % gregorian seconds
mark, % String description of entry
notes % String with further notes about the entry