Sorting, filtering, searching, and versioning

In addition to the CRUD operation, we need to handle various other regular operations, such as searching for certain device names. In addition, we can get the list of devices and sorting them into ascending or descending the results. Filtering is another interesting feature we can utilize to filter the responses, so that, by using includes, we can get only the fields we are interested in. Finally, we can have the endpoint support searching capability so that we can request certain types of devices with a name or asset of certain types.

Get Industrial Internet Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.