You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/03/02 23:04:02 UTC

[GitHub] [trafficcontrol] jhg03a commented on a change in pull request #5601: fixing endpoint for snapshot

jhg03a commented on a change in pull request #5601:
URL: https://github.com/apache/trafficcontrol/pull/5601#discussion_r585976083



##########
File path: infrastructure/ansible/roles/dataset_loader/tasks/dataset_loader.yml
##########
@@ -949,8 +949,8 @@
 
 - name: Snapshot all CDNs
   uri:
-    url: "{{ dl_to_url }}/api/{{ dl_to_api_version }}/cdns/{{ item.name }}/snapshot"
-    method: GET
+    url: "{{ dl_to_url }}/api/{{ dl_to_api_version }}/snapshot?cdn={{ item.name }}"
+    method: PUT

Review comment:
       Is this specific to API 3.0 or does this also work with 1.x?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org