Changes between Version 15 and Version 16 of S3/S3REST/Methods
- Timestamp:
- 10/28/10 09:24:06 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/Methods
v15 v16 23 23 - with a record ID/UID in the URL: '''read''' view of the specified record (if the user is permitted to update the record, an '''update''' form returned instead) 24 24 25 Example: 25 Example: '''read''' view of pr_person !#1 (or an '''update''' form if the user is permitted to update this record) 26 26 {{{ 27 27 http://localhost:8000/eden/pr/person/1 28 28 }}} 29 ...gives a '''read''' view of pr_person !#1, or an '''update''' form if the user is permitted to update this record30 29 31 30 * with '''method''' in the URL: … … 35 34 - method '''delete''' returns a delete confirmation form together with a list of the specified records (if there is exactly one record identified by its ID or UID, then the record will be deleted instead of a form being returned, see POST) 36 35 37 Example: 36 Example: '''create''' form for the pr_person table 38 37 {{{ 39 38 http://localhost:8000/eden/pr/person/create 40 39 }}} 41 ...gives a create form for the pr_person table42 40 43 41 * some resources support other (custom) methods, e.g. 44 42 - '''search_simple''' returns a form for simple string search in the resource 45 43 46 Example: 44 Example: simple '''search''' for a person by name or ID 47 45 {{{ 48 46 http://localhost:8000/eden/pr/person/search_simple 49 47 }}} 50 ...to search for a person by name or ID51 48 ==== Non-interactive formats ==== 52 49