Changes between Version 16 and Version 17 of BluePrintREST
- Timestamp:
- 12/31/08 06:32:30 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintREST
v16 v17 14 14 /sahana/gis/add_feature 15 15 /sahana/gis/list_features 16 /sahana/gis/features # List_add16 /sahana/gis/features # List_add 17 17 /sahana/gis/display_feature/1 18 18 /sahana/gis/update_feature/1 19 19 }}} 20 Is there much benefit in changing to URLs like:20 We can easily change to URLs like these: 21 21 {{{ 22 /sahana/gis/feature # Acts as 'list' 23 /sahana/gis/feature/id # Acts as 'display' 22 24 /sahana/gis/feature/create 23 25 /sahana/gis/feature/list … … 27 29 /sahana/gis/feature/delete/id 28 30 }}} 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. 31 However, is there much benefit in this?[[BR]] 32 There are downsides: 33 * We need to be authenticated for all actions (unless we patch T2) 34 NB T3 requires ID to be the last argument, so don't want URLs like: /id/create 38 35 39 36 We want to be able extending this for exporting raw data in other formats, e.g. using the optional vars: