Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
I'm working to create some container images for Thingworx and I'm looking for a way to script the import of Thingworx extensions, unfortunately the only documentation that I've found about that explains how to import using Composer. Is there any API or external call that I can do to import an extension?
Solved! Go to Solution.
I was able to import using the following command line on Command Prompt (it doesn't work on Powershell):
curl -u Administrator:<passwoprd> "http://localhost:8080/Thingworx/ExtensionPackageUploader?purpose=import" -H "X-XSRF-TOKEN: TWX-XSRF-TOKEN-VALUE" -F "file=@<extension.zip>"
I was able to import using the following command line on Command Prompt (it doesn't work on Powershell):
curl -u Administrator:<passwoprd> "http://localhost:8080/Thingworx/ExtensionPackageUploader?purpose=import" -H "X-XSRF-TOKEN: TWX-XSRF-TOKEN-VALUE" -F "file=@<extension.zip>"