perfectin / webservice
TYPO3 Flow package for creating webservices
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:typo3-flow-framework
Requires
- typo3/flow: *
This package is not auto-updated.
Last update: 2024-11-05 03:21:01 UTC
README
is a TYPO3.Flow package to create webservices for existing code
Create webservice configuration where you define the methods that needs to be delivered as webservices
- Supports REST and SOAP
Example webservice configurations
Find all TYPO3\Flow\Security\Role with REST
webservices.yaml:
-
name: Roles
operations:
-
name: findAll
bindings:
-
type: rest
options:
url: webservice/security/role
method: GET
implementation:
class: TYPO3\Flow\Security\Policy\RoleRepository
method: findAll
Find one TYPO3\Flow\Security\Roles with REST
Note that the variable {identifier} in the url is automatically mapped to the $identifier parameter in the
findByIdentifier
method
webservices.yaml:
-
name: read
bindings:
-
type: rest
options:
url: webservice/security/role/{identifier}
method: GET
implementation:
class: TYPO3\Flow\Security\Policy\RoleRepository
method: findByIdentifier