Expose information from a flatfile

Not applicable

Hi there,

I have a use case where I need to expose information via an API that is stored in a flatfile (could be xml, json or anything else).

Basically, it's a file with lots of table-like information for which I do not already have an API to query it.

Is there a solution inside apigee to do this? Or do I have to implement a 3rd party which does something like flatfile-to-api (like restlet APISpark and then query this API?

Thanks for your feedback,

Michael

0 1 204
1 REPLY 1

@Michael Schramm ,

If it's a static file, you can quickly do same using Node.JS. For example, see how to expose CSV file as an API with JSON response here. You can see the sample API proxy bundle in the answer.

If you want to use Apigee Edge as an HTTP facade on an FTP , We support using Java Callouts / Node.JS. See similar question asked here. Java Callouts are supported only in paid orgs.

Hope it helps. Keep us posted if any.