AC-540 Add /api/v1/inventory_sources/ list. OPTIONS request now returns all fields under actions['GET'] and only writable fields under actions['PUT'] or actions['POST'].

This commit is contained in:
Chris Church
2013-10-09 15:44:19 -04:00
parent a74a7dd21e
commit 85a9f2f68a
3 changed files with 64 additions and 15 deletions

View File

@@ -91,6 +91,7 @@ group_urls = patterns('awx.main.views',
)
inventory_source_urls = patterns('awx.main.views',
url(r'^$', 'inventory_source_list'),
url(r'^(?P<pk>[0-9]+)/$', 'inventory_source_detail'),
url(r'^(?P<pk>[0-9]+)/update/$', 'inventory_source_update_view'),
url(r'^(?P<pk>[0-9]+)/inventory_updates/$', 'inventory_source_updates_list'),