Get Collector File Content
Retrieves the requested configuration file's content.
Request
URI
GET
https://{api_host}/tcsa.host.com/dcc/v1/collectors/{collector-name}/file
COPY
Path Parameters
string
collector-name
Required
id of the instantiated collector
collector-name example
demo-collector
Query Parameters
string
file_path
Required
File path of configuration file.
file_path example
Collecting/Availability-Filter/test4/conf/availability-filter.xml
Responses
200
Returns the content of configuration file.
Returns file of type(s) application/octet-stream
"<config> <availability-check max-response-time=\"5000\" /> <local-queue size=\"10000\" /> </config>"
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/file not found
Operation doesn't return any data structure
500
Internal server error
Operation doesn't return any data structure
On This Page
Collector Operations
POST
Create Collector
DELETE
Delete Collector
DELETE
Delete Collector Conf Files
GET
Download Collector Conf File
GET
Get Collector
GET
Get Collector File Content
GET
List Collector Files
GET
List Collector Instances
GET
List Collector Modules
GET
List Collector Types
GET
List Datacenter Instances
POST
Management Of Collector Lifecycle
PUT
Update Collector File Content
POST
Upload Collector Conf Files