2017 © Pedro Peláez
 

typo3-flow-framework webservice

TYPO3 Flow package for creating webservices

image

perfectin/webservice

TYPO3 Flow package for creating webservices

  • Wednesday, February 10, 2016
  • by benovie
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PerfectIn.Webservice

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)

  • Supports REST and SOAP

Example webservice configurations

Find all TYPO3\Flow\Security\Role with REST

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 

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, (*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 

The Versions

10/02 2016

dev-master

9999999-dev

TYPO3 Flow package for creating webservices

  Sources   Download

LGPL-3.0+

The Requires

 

10/02 2016

1.0.0

1.0.0.0

TYPO3 Flow package for creating webservices

  Sources   Download

LGPL-3.0+

The Requires