/
How to create a REST API in Platform exposing an external REST Service?

How to create a REST API in Platform exposing an external REST Service?

You can create and manage external APIs that make use of external backends for their operations.

For these type of APIs, the platform acts as a gateway/proxy for security and rules checking, and then forwards the requests to the appropiate backend.

Creating the external API


Go to https://development.onesaitplatform.com/controlpanel/apimanager/create

In API type, choose 'External API':



Then, a new input will appear, and you can paste there the link to the Swagger descriptor resource in order to import it:


Take into account there could be problems loading the url with the permissions of cors. To avoid this issue copy the JSON and paste it in the box.


Managing the API


The security, invocation, and life cycle of the API, work as internal APIs work.






Related content