widgets

Description
POST - Route that handle ajax call from application widgets
Details

Methods


start( data )

Description
Called at route start
Parameters
Name Type Description
data object
Name Type Description
req object Request - See expressjs definition
res object Response - See expressjs definition
transaction object Database transaction. Use this transaction in your hooks. Commit and rollback are handled through res.success() / res.error()
Details

beforeSend( data )

Description
Called before route end
Parameters
Name Type Description
data object
Name Type Description
req object Request - See expressjs definition
res object Response - See expressjs definition
transaction object Database transaction. Use this transaction in your hooks. Commit and rollback are handled through res.success() / res.error()
Details