# This file is part of the Sylius package.
# (c) Sylius Sp. z o.o.

sylius_api:
    resource: .
    type: api_platform
    prefix: /

sylius_api_admin_authentication_token:
    path: /admin/administrators/token
    methods: ['POST']

sylius_api_admin_statistics:
    path: /admin/statistics
    methods: ['GET']
    defaults:
        _controller: Sylius\Bundle\ApiBundle\Controller\GetStatisticsAction

sylius_api_shop_authentication_token:
    path: /shop/customers/token
    methods: ['POST']
