Let the platform do the work

API Hooks

API hooks execute logic when working with the REST API and routing.

Topics

The after_routing hook executes when the v10+ REST Service has found the route for the request.
The before_api_call hook executes when the v10+ REST Service is about to call the API implementation.
The before_filter hook executes when the v10+ REST Service is about to route the request.
The before_respond hook executes before the v10+ REST Service call returns data to the user.
The before_routing hook executes when the v10+ REST Service is about to route the request.