Revision 8a992938 snf-cyclades-app/synnefo/api/images.py
b/snf-cyclades-app/synnefo/api/images.py | ||
---|---|---|
54 | 54 |
(r'^(?:/|.json|.xml)?$', 'demux'), |
55 | 55 |
(r'^/detail(?:.json|.xml)?$', 'list_images', {'detail': True}), |
56 | 56 |
(r'^/([\w-]+)(?:.json|.xml)?$', 'image_demux'), |
57 |
(r'^/([\w-]+)/meta(?:.json|.xml)?$', 'metadata_demux'), |
|
58 |
(r'^/([\w-]+)/meta/(.+?)(?:.json|.xml)?$', 'metadata_item_demux') |
|
57 |
(r'^/([\w-]+)/metadata(?:.json|.xml)?$', 'metadata_demux'),
|
|
58 |
(r'^/([\w-]+)/metadata/(.+?)(?:.json|.xml)?$', 'metadata_item_demux')
|
|
59 | 59 |
) |
60 | 60 |
|
61 | 61 |
|
Also available in: Unified diff