api_translation_domains_tree:
  path: /tree/{lang}/{type}/{selected}
  methods: [ GET ]
  defaults:
    _controller: PrestaShopBundle\Controller\Api\TranslationController::listTreeAction
    _legacy_controller: AdminTranslations
    selected: null

api_translation_domain_catalog:
  path: /{locale}/{domain}/{theme}
  methods: [ GET ]
  defaults:
    _controller: PrestaShopBundle\Controller\Api\TranslationController::listDomainTranslationAction
    _legacy_controller: AdminTranslations
    theme: null
    module: null

api_translation_value_edit:
  path: /edit
  methods: [ POST ]
  defaults:
    _controller: PrestaShopBundle\Controller\Api\TranslationController::translationEditAction
    _legacy_controller: AdminTranslations

api_translation_value_reset:
  path: /reset
  methods: [ POST ]
  defaults:
    _controller: PrestaShopBundle\Controller\Api\TranslationController::translationResetAction
    _legacy_controller: AdminTranslations
