API routing updated.
This commit is contained in:
parent
9779233e87
commit
5ccefa630f
|
@ -0,0 +1,4 @@
|
||||||
|
api_crawler_receive_all_page:
|
||||||
|
path: /all/page
|
||||||
|
defaults: { _controller: SkobkinPointToolsBundle:Api/Crawler:receiveAllPage, _format: json }
|
||||||
|
methods: [POST]
|
|
@ -1,4 +1,4 @@
|
||||||
last_user_events:
|
api_public_last_user_events:
|
||||||
path: /user/id/{id}/events/subscribers
|
path: /user/id/{id}/events/subscribers
|
||||||
defaults: { _controller: SkobkinPointToolsBundle:Api:lastUserSubscribersById, _format: json }
|
defaults: { _controller: SkobkinPointToolsBundle:Api:lastUserSubscribersById, _format: json }
|
||||||
requirements:
|
requirements:
|
|
@ -21,6 +21,10 @@ events_last:
|
||||||
path: /last
|
path: /last
|
||||||
defaults: { _controller: SkobkinPointToolsBundle:Events:last }
|
defaults: { _controller: SkobkinPointToolsBundle:Events:last }
|
||||||
|
|
||||||
skobkin_point_tools:
|
api_public:
|
||||||
resource: "@SkobkinPointToolsBundle/Resources/config/api/routing.yml"
|
resource: "@SkobkinPointToolsBundle/Resources/config/api/public.yml"
|
||||||
prefix: /api/v1
|
prefix: /api/v1
|
||||||
|
|
||||||
|
api_crawler:
|
||||||
|
resource: "@SkobkinPointToolsBundle/Resources/config/api/crawler.yml"
|
||||||
|
prefix: /api/crawler
|
Loading…
Reference in a new issue