Updated API POST /api/1.2/deliveryservices end-point docs to make missLat and missLong not required and added examples of the fields expected content.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/1309c0ff Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/1309c0ff Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/1309c0ff Branch: refs/heads/master Commit: 1309c0ff2ada9f190cb93afb07e462a20634a088 Parents: e9471cf Author: Robert Scrimo <robert_scr...@comcast.com> Authored: Mon Apr 10 09:30:17 2017 -0600 Committer: Jeremy Mitchell <mitchell...@gmail.com> Committed: Mon Apr 10 19:55:17 2017 -0600 ---------------------------------------------------------------------- .../development/traffic_ops_api/v12/deliveryservice.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/1309c0ff/docs/source/development/traffic_ops_api/v12/deliveryservice.rst ---------------------------------------------------------------------- diff --git a/docs/source/development/traffic_ops_api/v12/deliveryservice.rst b/docs/source/development/traffic_ops_api/v12/deliveryservice.rst index 3618141..1dfae20 100644 --- a/docs/source/development/traffic_ops_api/v12/deliveryservice.rst +++ b/docs/source/development/traffic_ops_api/v12/deliveryservice.rst @@ -1442,9 +1442,13 @@ SSL Keys +------------------------+----------+---------------------------------------------------------------------------------------------------------+ | midHeaderRewrite | no | The MID header rewrite actions to perform. | +------------------------+----------+---------------------------------------------------------------------------------------------------------+ - | missLat | yes | The latitude to use when the client cannot be found in the CZF or the Geo lookup. | + | missLat | no | The latitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup. | + | | | | + | | | - e.g 39.7391500, 45 or 0 | +------------------------+----------+---------------------------------------------------------------------------------------------------------+ - | missLong | yes | The longitude to use when the client cannot be found in the CZF or the Geo lookup. | + | missLong | no | The longitude as decimal degrees to use when the client cannot be found in the CZF or the Geo lookup. | + | | | | + | | | - e.g -104.9847000, 45 or 0 | +------------------------+----------+---------------------------------------------------------------------------------------------------------+ | multiSiteOrigin | yes | 1 if enabled, 0 if disabled. | +------------------------+----------+---------------------------------------------------------------------------------------------------------+ @@ -1508,8 +1512,8 @@ SSL Keys "ipv6RoutingEnabled": false, "logsEnabled": false, "multiSiteOrigin": false, - "missLat": 45, - "missLong": 45, + "missLat": 39.7391500, + "missLong": -104.9847000, "qstringIgnore": 0, "rangeRequestHandling": 0, "regionalGeoBlocking": false,