Import and Export Feeds can also be used as REST API endpoints with a flat data structure. So, if need need to use a custom REST API endpoint just configure a data feed for it.
Export Feeds
ModuleTo use this api, you need an active exportFeed with a valid code. Then you can do a GET
request to /api/v1/ExportFeed/action/EasyCatalog?code=ExportFeedCode&offset=0
.
This will return data configured in the ExportFeed.
Import Feeds
ModuleTo use this api, you need an active importFeed with a valid code. Then you can do a POST
request to /api/v1/ImportFeed/action/EasyCatalog
.
In the body of the request we have 2 parameters.
code
– the importFeed codejson
– an array of object that contains values to updateIf you have a EasyCatalog Adapter you can use the Import and Export Feeds to enable seemless data integration with InDesign. These REST API endpoints are to be used for data sources configured in EasyCatalog for Adobe InDesign.