Search Endpoint from SuiteCRM 8 API

My sample code for a custom API entry-point is here:

and some extra bits about the XSRF token here: