Expose an API endpoint for loading resources