fix lists in readme
[mixstore.git] / src / Mixstore / StoreBundle / Resources / config / routing.yml
CommitLineData
929ca066
BA
1mixstore_store_package_list:
2 pattern: /package/list
3 defaults: { _controller: MixstoreStoreBundle:Package:list }
4
5mixstore_store_package_view:
6 pattern: /package/view/{id}
7 defaults: { _controller: MixstoreStoreBundle:Package:view }
8 requirements:
9 id: \d+
10
11mixstore_store_package_upsert:
12 #id = 0 means "new package"
13 pattern: /package/upsert/{id}
14 defaults: { _controller: MixstoreStoreBundle:Package:upsert, id: 0 }
15 requirements:
16 id: \d+
17
18mixstore_store_package_delete:
19 pattern: /package/delete/{id}
20 defaults: { _controller: MixstoreStoreBundle:Package:delete }
21 requirements:
22 id: \d+
23
24mixstore_store_usecase_list:
25 pattern: /usecase/list/{pkgid}
26 defaults: { _controller: MixstoreStoreBundle:Usecase:list }
27 requirements:
28 pkgid: \d+
29
30mixstore_store_usecase_view:
31 pattern: /usecase/view/{id}
32 defaults: { _controller: MixstoreStoreBundle:Usecase:view }
33 requirements:
34 id: \d+
35
36mixstore_store_usecase_upsert:
37 #id = 0 means "new usecase"
38 pattern: /usecase/upsert/{id}/{pkgid}
39 defaults: { _controller: MixstoreStoreBundle:Usecase:upsert, id: 0, pkgid: 0 }
40 requirements:
41 id: \d+
42 pkgid: \d+
43
44mixstore_store_usecase_delete:
45 pattern: /usecase/delete/{id}
46 defaults: { _controller: MixstoreStoreBundle:Usecase:delete }
47 requirements:
48 id: \d+