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. sonata_api_ecommerce_order:
  25. type: rest
  26. prefix: /ecommerce
  27. resource: "@SonataOrderBundle/Resources/config/routing/api.xml"
  28. sonata_api_ecommerce_invoice:
  29. type: rest
  30. prefix: /ecommerce
  31. resource: "@SonataInvoiceBundle/Resources/config/routing/api.xml"
  32. sonata_api_ecommerce_customer:
  33. type: rest
  34. prefix: /ecommerce
  35. resource: "@SonataCustomerBundle/Resources/config/routing/api.xml"
  36. sonata_api_ecommerce_basket:
  37. type: rest
  38. prefix: /ecommerce
  39. resource: "@SonataBasketBundle/Resources/config/routing/api.xml"
  40. sonata_api_page:
  41. type: rest
  42. prefix: /page
  43. resource: "@SonataPageBundle/Resources/config/routing/api.xml"
  44. sonata_api_user:
  45. type: rest
  46. prefix: /user
  47. resource: "@SonataUserBundle/Resources/config/routing/api.xml"