...
Code Block | ||
---|---|---|
| ||
router.METHOD('route/path/{variable}') { strategy(STRATEGY_NAME){ ... strategy parameters ... } 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 ... accessPermission 'groupName1', 'groupName2', '[roleName1]', '[roleName2]', ... } |
...