Download Collector Conf File
Send file as attachment for download
Request
URI
GET
https://{api_host}/dcc/v1/collectors/{collector-name}/file/download
COPY
Path Parameters
string
collector-name
Required
id of the instantiated collector
collector-name example
demo-collector
Query Parameters
string
file_path
Required
path of file, which user wants to download
file_path example
Collecting/Availability-Filter/test4/conf/availability-filter.xml
Responses
200
downloaded file successfully.
Returns file of type(s) application/octet-stream
Operation doesn't return any data structure
400
Bad request
Operation doesn't return any data structure
401
User authentication failed
Operation doesn't return any data structure
403
Access to the requested resource/operation is forbidden
Operation doesn't return any data structure
404
Collector not found
Operation doesn't return any data structure
500
Internal server error
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/dcc/v1/collectors/{collector-name}/file/download?file_path=v
On This Page
Collector Operations
GET
List Collector Instances
POST
Create Collector
GET
Get Collector
DELETE
Delete Collector
POST
Management Of Collector Lifecycle
GET
List Collector Files
GET
Get Collector File Content
PUT
Update Collector File Content
DELETE
Delete Collector Conf Files
POST
Upload Collector Conf Files
GET
List Collector Modules
GET
Download Collector Conf File
GET
List Datacenter Instances
GET
List Collector Types