Changes between Version 16 and Version 17 of BluePrintREST


Ignore:
Timestamp:
12/31/08 06:32:30 (16 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintREST

    v16 v17  
    1414/sahana/gis/add_feature
    1515/sahana/gis/list_features
    16 /sahana/gis/features         # List_add
     16/sahana/gis/features          # List_add
    1717/sahana/gis/display_feature/1
    1818/sahana/gis/update_feature/1
    1919}}}
    20 Is there much benefit in changing to URLs like:
     20We can easily change to URLs like these:
    2121{{{
     22/sahana/gis/feature           # Acts as 'list'
     23/sahana/gis/feature/id        # Acts as 'display'
    2224/sahana/gis/feature/create
    2325/sahana/gis/feature/list
     
    2729/sahana/gis/feature/delete/id
    2830}}}
    29 or
    30 {{{
    31 /sahana/gis/feature           # Acts as 'list'
    32 /sahana/gis/feature/id        # Acts as 'display'
    33 /sahana/gis/feature/id/update
    34 /sahana/gis/feature/id/delete
    35 }}}
    36 NB T3 requires ID to be the last argument, so won't change in core[[BR]]
    37 Would need to modify T2's AAA if we want to allow anonymous read access to data.
     31However, is there much benefit in this?[[BR]]
     32There are downsides:
     33 * We need to be authenticated for all actions (unless we patch T2)
     34NB T3 requires ID to be the last argument, so don't want URLs like: /id/create
    3835
    3936We want to be able extending this for exporting raw data in other formats, e.g. using the optional vars: