Scaling an App with the API

Using the API you can scale an app to change the number of running instances for TIBCO BusinessWorks, TIBCO Flogo®, and Node.js apps. Scaling is also used to start an app that has no running instances, or stop an app by scaling it down to zero instances.

Note: This API method does not support Hybrid apps, which are deployed and run by a Hybrid agent on a remote server, not in the TIBCO Cloud.

To scale an app you need the following: 

  1. Use the POST ​/v1​/subscriptions/{subscriptionLocator}/apps/{appId}/scale method to scale the number instances of an existing app to the count you specify. This is an asynchronous call.
  2. Use the GET ​/v1​/subscriptions/{subscriptionLocator}/apps​/{appId}​/status method to check whether or not the app has been successfully scaled.

TIBCO Cloud Integration - Connect has a separate API that allows you to manage objects for that capability. However, TIBCO Cloud Integration - Connect apps cannot be scaled and there is no corresponding information in the TIBCO Cloud Integration - Connect Developer Portal.

Role Requirements

Related Topics

Managing Apps with the TIBCO Cloud™ Integration API

Checking the Status of an App with the API