|
1 | | -# Deprecated use the routing.yaml file |
| 1 | +sulu_form.list: |
| 2 | + type: rest |
| 3 | + resource: sulu_form.list_controller |
| 4 | + prefix: form |
| 5 | + name_prefix: sulu_form. |
2 | 6 |
|
3 | | -sulu_form.get_lists_fields: |
4 | | - path: '/form/lists/fields.{_format}' |
5 | | - methods: GET |
6 | | - controller: 'sulu_form.list_controller::cgetFieldsAction' |
7 | | - format: json |
8 | | - requirements: { _format: json|csv } |
9 | | - |
10 | | -sulu_form.get_lists: |
11 | | - path: '/form/lists.{_format}' |
12 | | - methods: GET |
13 | | - controller: 'sulu_form.list_controller::cgetAction' |
14 | | - format: json |
15 | | - requirements: { _format: json|csv } |
16 | | - |
17 | | -sulu_form.get_forms: |
18 | | - path: '/forms.{_format}' |
19 | | - methods: GET |
20 | | - controller: 'sulu_form.form_controller::cgetAction' |
21 | | - format: json |
22 | | - requirements: { _format: json|csv } |
23 | | - |
24 | | -sulu_form.get_form: |
25 | | - path: '/forms/{id}.{_format}' |
26 | | - methods: GET |
27 | | - controller: 'sulu_form.form_controller::getAction' |
28 | | - format: json |
29 | | - requirements: { _format: json|csv } |
30 | | - |
31 | | -sulu_form.post_form: |
32 | | - path: '/forms.{_format}' |
33 | | - methods: POST |
34 | | - controller: 'sulu_form.form_controller::postAction' |
35 | | - format: json |
36 | | - requirements: { _format: json|csv } |
37 | | - |
38 | | -sulu_form.put_form: |
39 | | - path: '/forms/{id}.{_format}' |
40 | | - methods: PUT |
41 | | - controller: 'sulu_form.form_controller::putAction' |
42 | | - format: json |
43 | | - requirements: { _format: json|csv } |
44 | | - |
45 | | -sulu_form.delete_form: |
46 | | - path: '/forms/{id}.{_format}' |
47 | | - methods: DELETE |
48 | | - controller: 'sulu_form.form_controller::deleteAction' |
49 | | - format: json |
50 | | - requirements: { _format: json|csv } |
| 7 | +sulu_form.forms: |
| 8 | + type: rest |
| 9 | + resource: sulu_form.form_controller |
| 10 | + name_prefix: sulu_form. |
51 | 11 |
|
52 | 12 | sulu_form.post_form_trigger: |
53 | | - path: '/forms/{id}.{_format}' |
| 13 | + path: /forms/{id}.{_format} |
54 | 14 | methods: POST |
55 | | - controller: 'sulu_form.form_controller::postTriggerAction' |
56 | | - format: json |
57 | | - requirements: { _format: json|csv } |
58 | | - |
59 | | -sulu_form.get_dynamics: |
60 | | - path: '/form/dynamics.{_format}' |
61 | | - methods: GET |
62 | | - controller: 'sulu_form.dynamic_controller::cgetAction' |
63 | | - format: json |
64 | | - requirements: { _format: json|csv } |
65 | | - |
66 | | -sulu_form.delete_dynamic: |
67 | | - path: '/form/dynamics/{id}.{_format}' |
68 | | - methods: DELETE |
69 | | - controller: 'sulu_form.dynamic_controller::deleteAction' |
70 | | - format: json |
71 | | - requirements: { _format: json|csv } |
| 15 | + defaults: |
| 16 | + _controller: sulu_form.form_controller::postTriggerAction |
| 17 | + _format: json |
| 18 | + |
| 19 | +sulu_form.dynamic: |
| 20 | + type: rest |
| 21 | + resource: sulu_form.dynamic_controller |
| 22 | + prefix: form |
| 23 | + name_prefix: sulu_form. |
0 commit comments