Reading Resources

Most TIBCO Cloud™ Integration API resources support GET requests, as a query operation.

Query

Query operations return a collection of instances of the requested resource, for example:

curl -X GET "https://api.cloud.tibco.com/tci/v1/subscriptions/0/apps" -H  "accept: application/json" -H  "Authorization: Bearer <your-oauth-token>"

Some query operations also support additional parameters that allow the result set to be filtered. For example, the following returns apps that are appType flogo:

curl -X GET "https://api.cloud.tibco.com/tci/v1/subscriptions/0/apps?appType=flogo" -H  "accept: application/json" -H  "Authorization: Bearer <your-oauth-token>"

Fetch

Fetch operations typically take no additional parameters and return a single item based on the unique identifier that is supplied. For example, the following returns the app with the ID ctpzbxd3ixndbmceudmkjfmpj42negn4.

curl -X GET "https://api.cloud.tibco.com/tci/v1/subscriptions/0/apps/ctpzbxd3ixndbmceudmkjfmpj42negn4" -H  "accept: application/json" -H  "Authorization: Bearer ,<your-oauth-token>"

Related Topics

API Basics