lizardsystem / lizard-history

Provide logging of database activities in django-apps
GNU General Public License v3.0
0 stars 1 forks source link

Add history API and function for retrieving object history #1

Open arjanverkerk opened 12 years ago

arjanverkerk commented 12 years ago

api For every object there must be a unique history url that gives the history as json:

history/contenttypeid/objectid/ for django objects history/object_id/ for mongo documents

get parameters: depth (default '1' , 'all' gives all, '0' defaults to 1) fields (all fields if not supplied) in csv style.

function give the history objects for a given object. Used by the api.