Automated Import of Project Entities
What is the best way to automate the Import step of this sequence?
- Export Entities (with GitBackup Extension)
- Commit to Git Repo
- Preferably: Create Zip of All Entities
- Import (Zip of) All Entities into Another ThingWorx Environment
- Preferably, without first uploading to TWX Storage.
Research Findings:
- Docs show Export offers a zip option, but Import does not appear to. ??
- There is a little-known FileRepositoryUploader REST API, which could be used to upload a zip, but I find no way to Import a zip.
- Is there a remote way to unzip an uploaded zip into SourceControlRepository?
- The title of the Import and Export Entities section of Use REST API to Access ThingWorx implies it holds the answer, but then discusses ExtensionPackageUploader API.
- Can this be used to import zipped Entities that are not a formal Extension??
This seems like an obvious use case that would have a clear solution, but I cannot find it. I'd prefer not to iterate though each Entity XML, calling the Importer API for each file. I'm also concerned about dependency order issues doing that.
What is the suggestion for the best solution?
Thanks, Mike
PS - Is there a REST API Reference somewhere? This page is incomplete.
PS - I find no Solution Central API documentation indicating it could be used for this use case.
