14.7.1 Providing Complete Set of ORDS Handlers
Understand the full set of operations your REST API can implement for maximum control.
When your integration requirements go beyond the read-only use cases, consider
creating handlers for all five of the operations a client may need to perform using your
business entity REST API. For example, the
v1 module shown in the
diagram below has handlers for:
- Listing/Searching Action Items –
GETon/v1/actionitems - Creating a New Action Item –
POSTon/v1/actionitems - Getting a Specific Action Item by ID –
GETon/v1/actionitems/:id - Updating a Specific Action Item by ID –
PUTon/v1/actionitems/:id - Deleting a Specific Action Item by ID –
DELETEon/v1/actionitems/:id
Figure 14-19 ORDS "v1" Module with Templates and Handlers for Action Items API
Parent topic: Controlling REST API Behavior Completely
