{"type":"api","title":"Retrieves the policy's historical deployment data","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-2/76fd4bb9d069fd2530d7a02f0b3a4ca00eccfd35/f117fa98-ad23-3ca8-adf8-21349b86b3ff","info":{"title":"Crosswork Performance APIs","description":"Performance APIs allow the user to perform CRUD operations on performance service","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.2.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/performance-api-overview.md"}},"openapi":"3.1.0","servers":[{"url":"https://{{server}}:30603/crosswork/performance","description":"Generated server url"}]},"spec":{"tags":["monitoring-policy-controller"],"summary":"Retrieves the policy's historical deployment data.","operationId":"getDeploymentHistory","parameters":[{"name":"policyId","in":"path","description":"policy instance ID","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number","description":"Policy ID, generated by the system.","example":1},"lastActivatedTimestamp":{"type":"number","description":"The last time the policy was activated in epoch"},"devices":{"type":"string","description":"List of device UUIDs separated by comma."},"deviceGroups":{"type":"string","description":"List of device group UUIDs or names separated by comma."},"portGroups":{"type":"string","description":"List of port group UUIDs or names separated by comma."}},"$$ref":"#/components/schemas/MonitoringPolicyHistory"}}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}},"method":"get","path":"/v1/policies/{policyId}/deployment-history"}}