Revision f4fe8796
b/api/networks.py | ||
---|---|---|
48 | 48 |
urlpatterns = patterns('synnefo.api.networks', |
49 | 49 |
(r'^(?:/|.json|.xml)?$', 'demux'), |
50 | 50 |
(r'^/detail(?:.json|.xml)?$', 'list_networks', {'detail': True}), |
51 |
(r'^/(\d+)(?:.json|.xml)?$', 'network_demux'),
|
|
52 |
(r'^/(\d+)/action(?:.json|.xml)?$', 'network_action'),
|
|
51 |
(r'^/(\w+)(?:.json|.xml)?$', 'network_demux'),
|
|
52 |
(r'^/(\w+)/action(?:.json|.xml)?$', 'network_action'),
|
|
53 | 53 |
) |
54 | 54 |
|
55 | 55 |
|
Also available in: Unified diff