routing_api.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. NelmioApiDocBundle:
  2. resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
  3. prefix: /doc
  4. sonata_api_classification:
  5. type: rest
  6. prefix: /classification
  7. resource: "@SonataClassificationBundle/Resources/config/routing/api.xml"
  8. sonata_api_news:
  9. type: rest
  10. prefix: /news
  11. resource: "@SonataNewsBundle/Resources/config/routing/api.xml"
  12. sonata_api_media:
  13. type: rest
  14. prefix: /media
  15. resource: "@SonataMediaBundle/Resources/config/routing/api.xml"
  16. sonata_api_notification:
  17. type: rest
  18. prefix: /notification
  19. resource: "@SonataNotificationBundle/Resources/config/routing/api.xml"
  20. #sonata_api_ecommerce_product:
  21. # type: rest
  22. # prefix: /ecommerce
  23. # resource: "@SonataProductBundle/Resources/config/routing/api.xml"
  24. #
  25. #sonata_api_ecommerce_order:
  26. # type: rest
  27. # prefix: /ecommerce
  28. # resource: "@SonataOrderBundle/Resources/config/routing/api.xml"
  29. #
  30. #sonata_api_ecommerce_invoice:
  31. # type: rest
  32. # prefix: /ecommerce
  33. # resource: "@SonataInvoiceBundle/Resources/config/routing/api.xml"
  34. #
  35. #sonata_api_ecommerce_customer:
  36. # type: rest
  37. # prefix: /ecommerce
  38. # resource: "@SonataCustomerBundle/Resources/config/routing/api.xml"
  39. #
  40. #sonata_api_ecommerce_basket:
  41. # type: rest
  42. # prefix: /ecommerce
  43. # resource: "@SonataBasketBundle/Resources/config/routing/api.xml"
  44. sonata_api_page:
  45. type: rest
  46. prefix: /page
  47. resource: "@SonataPageBundle/Resources/config/routing/api.xml"
  48. sonata_api_user:
  49. type: rest
  50. prefix: /user
  51. resource: "@SonataUserBundle/Resources/config/routing/api.xml"