Skip to content

route config #7

Description

@hkremer

Hi, I am trying to implement the api in typo3 v9

Until now I was not able to get a right route config for the api

Can you help?

This is my config:

routeEnhancers:
  ApiPages:
    type: Extbase
    limitToPages: [48]
    extension: eo_pages
    plugin: api_page
    routes:
      -
        routePath: '/pageapi'
        _controller: 'Api::list'
      -
        routePath: '/pageapi/{page}'
        _controller: 'Api::show'
        _arguments:
          page: 'page'
    defaultController: 'Api::show'
    requirements:
      page: '\d+'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions