dev-master
9999999-devTYPO3 Flow package for creating webservices
LGPL-3.0+
The Requires
1.0.0
1.0.0.0TYPO3 Flow package for creating webservices
LGPL-3.0+
The Requires
Wallogit.com
2017 © Pedro Peláez
TYPO3 Flow package for creating webservices
is a TYPO3.Flow package to create webservices for existing code, (*1)
Create webservice configuration where you define the methods that needs to be delivered as webservices, (*2)
webservices.yaml:, (*3)
-
name: Roles
operations:
-
name: findAll
bindings:
-
type: rest
options:
url: webservice/security/role
method: GET
implementation:
class: TYPO3\Flow\Security\Policy\RoleRepository
method: findAll
Note that the variable {identifier} in the url is automatically mapped to the $identifier parameter in the
findByIdentifiermethod, (*4)
webservices.yaml:, (*5)
-
name: read
bindings:
-
type: rest
options:
url: webservice/security/role/{identifier}
method: GET
implementation:
class: TYPO3\Flow\Security\Policy\RoleRepository
method: findByIdentifier
TYPO3 Flow package for creating webservices
LGPL-3.0+
TYPO3 Flow package for creating webservices
LGPL-3.0+