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