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