We have seen how to Create, Get, and Update a ‘Person’ entity, but before we get around to the Delete operation, let’s take a quick look at some other simple things we can do with Get entity lists.
Each of the following bullet points can be expanded to show various ways that entities can be read, sorted and counted via a standardized set of URL suffixes. Remember to include the JWT and correct http verb in your requests when testing these operations in your test environment.
http://127.0.0.1:8080/persons/$count
.
http://127.0.0.1:8080/persons$orderby=age
.
http://127.0.0.1:8080/persons$orderby=age$desc
.
http://127.0.0.1:8080/persons/$orderby=age$desc$offset=1
.
http://127.0.0.1:8080/persons/$orderby=age$desc$limit=2
.
http://127.0.0.1:8080/persons/name(LIKE 'qui')
.
http://127.0.0.1:8080/persons/$age(EQ 46)
.