Changeset 82 in bookmarks for trunk/api


Ignore:
Timestamp:
06/03/15 17:13:52 (9 years ago)
Author:
peter
Message:

issue #8: added notes about deleting bookmarks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/api

    r61 r82  
    3434  Delete a bookmark 
    3535 
     36  -- bookmarks that have been deleted 
     37  create table deleted_bookmarks ( 
     38      id integer, 
     39      dtime integer 
     40  ); 
     41 
     42  insert into deleted_bookmarks (id) values (?)  <-- {id} 
     43  delete from bookmarks where id = ? <-- {id} 
     44 
     45  then a request to /{id} checks the deleted_bookmarks table and issues a 410 (cacheable) if it is in there 
     46 
    3647PUT /{id}/{field} 
    3748  Set a single field of a bookmark 
Note: See TracChangeset for help on using the changeset viewer.