Request params

To get the value of requested params, use g.req.params.

const req_params = g.req.params;

The tenant of the request, for a multi-tenant instance: named with the x-am-tenant-username header, or in the path of an API of the instance (crm::acme).

const tenantUsername = g.req.params.tenantUsername; // 'acme', undefined without a tenant