Download the Collector SDK based on SDK type (‘snmp’, ‘rest’, and ‘kafka’).
GET: {{TCO_URL}}/dcc/v1/sdk/<sdk_type>
Use below curl command to download collector SDK:
curl -X GET ":/dcc/v1/sdk/{sdk_type}" -u 'user:password'
@custom_collector_v1.route('/sdk/<sdk_type>', methods=['GET']) def download_collector_sdk(sdk_type): """ Get the uploaded Collector Package via name attribute. Returns: Custom Collector Object uploaded in the HDFS """