Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Parameters

version - usage: router.version('1.0')


Syntax for endpoint (METHOD) definition

router.METHOD('route/path/{variable}') {
    strategy(STRATEGY_NAME){
        ... strategy parameters ...
    }
    accessPermission 'groupName1', 'groupName2', '[roleName1]', '[roleName2]', ...
    mapJson 'notesFieldName', json:'jsonFieldName', type: 'STRING|INTEGER|DOUBLE|DATETIME|ARRAY_OF_STRING|ARRAY_OF_INTEGER|ARRAY_OF_DOUBLE|ARRAY_OF_DATETIME', isformula: true/false, formula: '', readonly: true/false, writeonly: true/false
    mapJson ...
	events EVENT_NAME: {
	}
 }

METHOD - one of:

STRATEGY_NAME - one of:

 

accessPermission

mapJson

  • No labels