Thank you for your reply. I could use an Administrator app key to allow them to do this in the background if there was a way to import extensions remotely . I know there is a way to import entities from an Edge Agent for example, would it be possible to import extensions in the same way as well ?
Yes, you can provide an administrator app key to the users who can then make a POST call to ExtensionPackageUploader. However, providing that app key is giving the non-admin users quite a bit of power to the system. That app key will not be limited to extension import, rather could be used for any administrative service.
Here is how you setup your POST call:
- POST to /Thingworx/ExtensionPackageUploader
- Accept: application/json
- appKey: your administrative app key
- X-XSRF-TOKEN: TWX-XSRF-TOKEN-VALUE
- Content-type: multipart/form-data
- Your extension zip file