01 Apr 2025
03:44 PM
- last edited on
02 Apr 2025
07:51 AM
by
MaciejNeumann
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.
Solved! Go to Solution.
04 Apr 2025 04:59 PM
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
04 Apr 2025 05:45 PM
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: