40 lines
987 B
YAML
40 lines
987 B
YAML
bundle_AAAAA.node:
|
|
path: '/api/{lang}/AAAAAs/{alias}'
|
|
defaults:
|
|
_controller: 'Drupal\bundle_AAAAA\Controller\NodeController::getNode'
|
|
methods: [GET]
|
|
requirements:
|
|
_access: 'TRUE'
|
|
options:
|
|
no_cache: 'TRUE'
|
|
|
|
bundle_AAAAA.nodes:
|
|
path: '/api/{lang}/AAAAAs'
|
|
defaults:
|
|
_controller: 'Drupal\bundle_AAAAA\Controller\NodesController::getNodes'
|
|
methods: [GET]
|
|
requirements:
|
|
_access: 'TRUE'
|
|
options:
|
|
no_cache: 'TRUE'
|
|
|
|
# bundle_AAAAA.categories:
|
|
# path: '/api/{lang}/AAAAAs/categories'
|
|
# defaults:
|
|
# _controller: 'Drupal\bundle_AAAAA\Controller\CategoryController::getCategories'
|
|
# methods: [GET]
|
|
# requirements:
|
|
# _access: 'TRUE'
|
|
# options:
|
|
# no_cache: 'TRUE'
|
|
|
|
# bundle_AAAAA.nodes_category:
|
|
# path: '/api/{lang}/AAAAAs/categories/{category}'
|
|
# defaults:
|
|
# _controller: 'Drupal\bundle_AAAAA\Controller\NodesController::getNodes'
|
|
# methods: [GET]
|
|
# requirements:
|
|
# _access: 'TRUE'
|
|
# options:
|
|
# no_cache: 'TRUE'
|