From 742a2fd2650799b4fa4f3f5972e6461911427ebc Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 1 Jun 2015 15:57:48 -0400 Subject: [PATCH] Adding documentation templates for endpoints --- awx/api/templates/api/host_fact_compare_view.md | 11 +++++++++++ awx/api/templates/api/host_fact_versions_list.md | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 awx/api/templates/api/host_fact_compare_view.md create mode 100644 awx/api/templates/api/host_fact_versions_list.md diff --git a/awx/api/templates/api/host_fact_compare_view.md b/awx/api/templates/api/host_fact_compare_view.md new file mode 100644 index 0000000000..a9b21079e9 --- /dev/null +++ b/awx/api/templates/api/host_fact_compare_view.md @@ -0,0 +1,11 @@ +Make a GET request to this resource to retrieve system tracking data for a particular scan + +You may filter by datetime: + +`?datetime=2015-06-01` + +and module + +`?datetime=2015-06-01&module=ansible` + +{% include "api/_new_in_awx.md" %} \ No newline at end of file diff --git a/awx/api/templates/api/host_fact_versions_list.md b/awx/api/templates/api/host_fact_versions_list.md new file mode 100644 index 0000000000..dd6e7a1afb --- /dev/null +++ b/awx/api/templates/api/host_fact_versions_list.md @@ -0,0 +1,11 @@ +Make a GET request to this resource to retrieve system tracking scans by module and date/time + +You may filter scan runs using the `from` and `to` properties: + +`?from=2015-06-01%2012:00:00&to=2015-06-03` + +You may also filter by module + +`?module=packages` + +{% include "api/_new_in_awx.md" %} \ No newline at end of file