mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
fcb1fba5c2
* remove WSSE implementation * add oAuth2 implementation
39 lines
834 B
YAML
39 lines
834 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+
|
|
|
|
fos_user:
|
|
resource: "@FOSUserBundle/Resources/config/routing/all.xml"
|
|
|
|
fos_oauth_server_token:
|
|
resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml"
|