13.7 Additional REST Data Source Features

REST Data Sources can cache responses, synchronize reference data, add computed columns, apply declarative filtering and sorting, combine local and remote data, and support custom adapter plug-ins.

Any of your REST Data Sources can take advantage of several additional features:
  • To improve performance, cache query responses in various ways in the server.
  • To speed up lookups for remote reference data, synchronize it to a local cache table.
  • To enrich remote data, add computed columns that reference other ones.
  • To add default filtering or sorting, use declarative syntax where available
  • To combine local and remote data, and filter, sort, or aggregate it, explore local post-processing.

Finally, if you work with REST APIs that follow a set of conventions APEX doesn't support natively, you can create a custom plug-in to add a new REST Data Source type that lets your teammates automatically benefit from all the declarative smarts you build into it.