List Collector Files
List the all collectors configuration files. This API can filter the configuration files based on "modules". By default API returns all the backup files, but user can enable/disable via query param "backup_files".
id of the instantiated collector
demo-collector
Module name for which user wants to list the configuration files.
Collecting
Set to false if doesn't want to list the backup files. Default is true.
Returns the list of configuration files.
[
{
"file_name": "collector.xml",
"display_path": "conf/collector.xml",
"file_path": "Collecting/Collector-Manager/vcenter-collector/conf/collector.xml",
"size": 1500,
"file_extension": "xml"
}
]
Bad request
User authentication failed
Access to the requested resource/operation is forbidden
Collector not found
Internal server error
curl -H 'Authorization: <value>' https://{api_host}/dcc/v1/collectors/{collector-name}/files