dev-master
9999999-devTYPO3 Flow package for creating api
LGPL-3.0+
The Requires
1.0
1.0.0.0TYPO3 Flow package for creating api
LGPL-3.0+
The Requires
TYPO3 Flow package for creating api
is a TYPO3.Flow package to create api's for existing code, (*1)
Routes.yaml:, (*2)
- name: 'Rest route for Roles' uriPattern: role httpMethods: - GET defaults: '@package': PerfectIn.Api '@controller': Rest '@action': handle class: TYPO3\Flow\Security\Policy\PolicyService method: getRoles
Note that the variable {roleIdentifier} in the url is automatically mapped to the $roleIdentifier parameter in the
getRole
method, (*3)
Routes.yaml:, (*4)
- name: 'Rest route for Role' uriPattern: 'role/{roleIdentifier}' httpMethods: - GET defaults: '@package': PerfectIn.Api '@controller': Rest '@action': handle class: TYPO3\Flow\Security\Policy\PolicyService method: getRole
TYPO3 Flow package for creating api
LGPL-3.0+
TYPO3 Flow package for creating api
LGPL-3.0+