mirror of
https://github.com/ansible/awx.git
synced 2026-04-29 13:45:26 -02:30
add "added_in_api_version" metadata to OPTIONS requests
This commit is contained in:
@@ -340,7 +340,7 @@ activity_stream_urls = patterns('awx.api.views',
|
||||
)
|
||||
|
||||
v1_urls = patterns('awx.api.views',
|
||||
url(r'^$', 'api_version_root_view'),
|
||||
url(r'^$', 'api_v1_root_view'),
|
||||
url(r'^ping/$', 'api_v1_ping_view'),
|
||||
url(r'^config/$', 'api_v1_config_view'),
|
||||
url(r'^auth/$', 'auth_view'),
|
||||
@@ -384,7 +384,7 @@ v1_urls = patterns('awx.api.views',
|
||||
)
|
||||
|
||||
v2_urls = patterns('awx.api.views',
|
||||
url(r'^$', 'api_version_root_view'),
|
||||
url(r'^$', 'api_v2_root_view'),
|
||||
url(r'^credential_types/', include(credential_type_urls)),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user