Developing APIs
TIBCO Cloud Integration - Flogo (PAYG) lets you take an API-first development approach to implement APIs from a GraphQL schema or a Swagger 2.0 specification. Once you upload a GraphQL schema or Swagger file, TIBCO Cloud Integration - Flogo (PAYG) validates the file and if the validation passes, it automatically creates the Flogo flows and trigger for you.
This section contains the following topics:
- Using an Open API Specification (Swagger)
TIBCO Cloud Integration - Flogo (PAYG) gives you the option to create the Flogo app logic (flows) by importing a Swagger 2.0 specification file. You simply drag and drop a Swagger file into the TIBCO Cloud Integration - Flogo (PAYG) UI or navigate to it, or if you already have a Swagger specification stored in the TIBCO Cloud™ Integration - API Modeler select it when creating the flow and the flows for your app automatically get created based on the definitions in the Swagger file that you uploaded. - Using GraphQL Schema
GraphQL provides a powerful query language for your APIs enabling clients to get the exact data that they need. It has the ability to get data from multiple resources in a single request by aggregating the requested data to form one result set. GraphQL provides a single endpoint for accessing data in terms of types and fields. - Using gRPC
The out-of-the-box gRPC trigger in TIBCO Cloud Integration - Flogo (PAYG) uses a .proto file to define one or more services and the various Remote Procedure Calls (methods) under the service. For an understanding of gRPC concepts, refer to the gRPC documentation.
Copyright © Cloud Software Group, Inc. All rights reserved.