aboutsummaryrefslogtreecommitdiff
path: root/snakeplan/readme_urls.txt
blob: 6a12fc161e7c820e6feb75e786b8ffc24fc86b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
====== ======================== ========================================
Method URL                      What it does
====== ======================== ========================================
GET    /modelname/              Lists model instances, using filters
                                like ?key=value1&key=value2

GET    /modelname/search        displays a search form

GET    /modelname/id            displays a readonly instance

GET    /modelname/edit/id       displays an edit form

POST   /modelname/update/id     updates an instance and redirects

POST   /modelname/upsert        Updates or inserts an instance and
                                redirects

GET    /modelname/upsert        Draws a form to do an upsert.

GET    /modelname/upsertform    Draws a form to do an upsert.

GET    /modelname/create        displays an insert form

GET    /modelname/insertform    displays an insert form

GET    /modelname/remove/id     displays a form that posts to
                                /model/delete/id

POST   /modelname/insert        inserts a new record and redirects

POST   /modelname/delete/id     deletes a record and redirects

GET    /modelname/bulk/edit     display a bulk edit ui

POST   /modelname/bulk/update   performs a bulk update and redirect

GET    /modelname/bulk/create   display a bulk insert form

POST   /modelname/bulk/insert   performs a bulk insert and redirect

POST   /modelname/bulk/delete   performs a bulk delete and redirect
====== ======================== ========================================