Downloading a TIBCO Flogo® App Executable Using the App ID with the API
Using the API you can build an app executable for an existing Flogo app and download it to be deployed and run outside the TIBCO Cloud™.
See the Executable Limitations page for additional information.
To download an app executable you need the following:
- Subscription Locator — The Subscription Locator of the Organization you want to access. To find Subscription Locators for your organizations use the
GET /v1/userinfo
method to return a list of all of the organizations for your OAuth Token with their Subscription Locators. You can use 0 as the Subscription Locator for the organization that owns the OAuth token. - App ID — ID of the app to be accessed, which can be retrieved using the
GET /v1/subscriptions/{subscriptionLocator}/apps
method. This is the ID of the source app for the executable.
- Use the
POST /v1/subscriptions/{subscriptionLocator}/apps/{appId}/flogo/build
method to build an app executable. See Building a TIBCO Flogo® App Executable from an Existing App with the API. - Use the
GET /v1/subscriptions/{subscriptionLocator}/apps/{appId}/flogo/build
method to download the executable. - When multiple executables are available for download, include the
os
query parameter to filter them based on the an operating system build option selected when the executable was built. Options include linux, darwin, or windows. - When multiple executables are available for download, include the
arch
query parameter to filter them based on the system architecture option selected when the executable was built. Options include amd64 or 386. - Include the
compress
parameter set to true to reduce the size of the executable. Default is false.
Note: Executables are removed from the TIBCO Cloud™ when they are downloaded or after 24 hours.
Role Requirements
- Admins can download any executable that they built.
- Users can download any executable they built for any app they own.
- Read-only users cannot download executables.
Related Topics
Managing Apps with the TIBCO Cloud™ Integration API
Building a TIBCO Flogo® App Executable from an Existing App with the API