ASE
April 1, 2025, 2:44pm
1
Is there a way to download (or view) our custom 2.0 Extensions’ extension.yaml files from our SaaS tenant?
We use Visual Studio Code (with the Dynatrace Extension) to build and deploy our custom extensions to Dynatrace.
However, if the local extension.yaml file were to become unavailable, we need a way to view it and/or download it from our tenant.
I’m not seeing a way to do this via either of the Extensions apps.
Thank you.
Hello @ASE ,
I’m not sure about the VS Code extension add-on, but there is definitely an option to download the ZIP file using the API.
Please refer to the following API documentation:
curl -X ‘GET’ \
‘https://{environmentid}.live.dynatrace.com/api/v2/extensions/com.dynatrace.extension.<name>/<version>’ \
-H ‘accept: application/octet-stream’ \
-H ‘Authorization: Api-Token <token>’ --output extension.zip
Thanks
ASE
April 4, 2025, 4:45pm
3
Thank you, @Akhil-Jayendran .
This was very helpful.
I was not able to download it via the Extensions app(s), but I was able to view the custom extension.yaml I needed to view using the API like you suggested.
The url I used was slightly different:
https://{environmentid}.live.dynatrace.com/api/v2/extensions/{extensionName}/{extensionVersion}
Got it from here: