mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-20 22:56:30 +00:00
32 lines
661 B
YAML
32 lines
661 B
YAML
wallabag_api:
|
|
resource: "@WallabagApiBundle/Resources/config/routing.yml"
|
|
prefix: /
|
|
|
|
app:
|
|
resource: @WallabagCoreBundle/Controller/
|
|
type: annotation
|
|
|
|
doc-api:
|
|
resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
|
|
prefix: /api/doc
|
|
|
|
login:
|
|
pattern: /login
|
|
defaults: { _controller: WallabagCoreBundle:Security:login }
|
|
|
|
login_check:
|
|
pattern: /login_check
|
|
|
|
logout:
|
|
path: /logout
|
|
|
|
rest :
|
|
type : rest
|
|
resource : "routing_rest.yml"
|
|
prefix : /api
|
|
|
|
homepage:
|
|
pattern: "/{page}"
|
|
defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
|
|
requirements:
|
|
page: \d+
|