Fetch the already uploaded Custom Collector Package through below REST API.

GET: {{TCO_URL}}/dcc/v1/packages/<package_name>

Use below curl command to get the uploaded custom collector package response.

curl -X GET ":/dcc/v1/packages" -u 'user:password'



@custom_collector_v1.route('/packages/<package_name>', methods=['GET'])
def get_custom_collector(package_name):
""" Get the uploaded Collector Package via name attribute.             Returns: Custom Collector Object uploaded in the HDFS """