Changes between Version 13 and Version 14 of S3/S3REST/Methods
- Timestamp:
- 10/28/10 09:22:12 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/Methods
v13 v14 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: '''{{{http://localhost:8000/eden/pr/person/1}}}''' gives a read view of pr_person !#1, or an update form for this record if permitted. 25 Example: 26 {{{ 27 http://localhost:8000/eden/pr/person/1 28 }}} 29 - gives a '''read''' view of pr_person !#1, or an '''update''' form if the user is permitted to update this record 26 30 27 31 * with '''method''' in the URL: … … 31 35 - 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) 32 36 33 Example: '''{{{http://localhost:8000/eden/pr/person/create}}}''' gives a create form for the pr_person table. 37 Example: 38 {{{ 39 http://localhost:8000/eden/pr/person/create 40 }}} 41 - gives a create form for the pr_person table 34 42 35 43 * some resources support other (custom) methods, e.g. 36 44 - '''search_simple''' returns a form for simple string search in the resource 37 45 38 Example: '''{{{http://localhost:8000/eden/pr/person/search_simple}}}''' to search for a person by name or ID 46 Example: 47 {{{ 48 http://localhost:8000/eden/pr/person/search_simple 49 }}} 50 - to search for a person by name or ID 39 51 ==== Non-interactive formats ==== 40 52