{"type":"api","title":"Retrieves the default retention settings","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":["data-retention-controller"],"summary":"Retrieves the default retention settings.","description":"Returns default retention settings for raw, hourly, daily and weekly policy schemas.","operationId":"getDefaultDataRetention","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"rawDataRetentionPeriod":{"type":"integer","format":"int32","default":24,"description":"Raw data retention period in hours","example":24},"hourlyDataRetentionPeriod":{"type":"integer","format":"int32","default":168,"description":"Hourly data retention period in hours","example":168},"dailyDataRetentionPeriod":{"type":"integer","format":"int32","default":744,"description":"Daily data retention period in hours","example":744},"weeklyDataRetentionPeriod":{"type":"integer","format":"int32","default":9072,"description":"Weekly data retention period in hours","example":9072}},"$$ref":"#/components/schemas/DataRetentionPeriodSettingsDTO"}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}},"method":"get","path":"/v1/dataretention/default"}}