[ https://issues.apache.org/jira/browse/TC-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Mitchell resolved TC-358. -------------------------------- Resolution: Fixed > TO API - provide endpoints to fetch existing snapshot as well as new snapshot > ----------------------------------------------------------------------------- > > Key: TC-358 > URL: https://issues.apache.org/jira/browse/TC-358 > Project: Traffic Control > Issue Type: New Feature > Components: Traffic Ops API > Reporter: Jeremy Mitchell > Assignee: Jeremy Mitchell > Priority: Minor > > Provide an endpoint to fetch existing cdn snapshot from snapshot table: > GET api/version/cdns/:name/snapshot which returns the contents of the > snapshot table for the provided cdn name. If no snapshot exists return {}. > Provide an endpoint to fetch what a new snapshot will look like based on the > current state of traffic ops: > GET api/version/cdns/:name/snapshot/new which returns what a new snapshot > will look like for the provided cdn name. > Both should be limited to ops role or above. -- This message was sent by Atlassian JIRA (v6.3.15#6346)