add facts recent endpoints

* Hang most recent listing of facts per-host off of /hosts/n/
This commit is contained in:
Chris Meyers
2017-04-04 17:09:07 -04:00
parent f5d7d0bce5
commit f7fb541fe2
6 changed files with 20 additions and 2 deletions

View File

@@ -114,6 +114,7 @@ host_urls = patterns('awx.api.views',
#url(r'^(?P<pk>[0-9]+)/single_fact/$', 'host_single_fact_view'),
url(r'^(?P<pk>[0-9]+)/fact_versions/$', 'host_fact_versions_list'),
url(r'^(?P<pk>[0-9]+)/fact_view/$', 'host_fact_compare_view'),
url(r'^(?P<pk>[0-9]+)/facts_recent/$', 'host_facts_recent_list'),
)
group_urls = patterns('awx.api.views',