diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 12:59:17 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 12:59:19 +0200 |
commit | 3f3a60879e168f4a8040c441e295fa63e024961d (patch) | |
tree | a4b51dabab6bdaa6f7e7679b8bc424b2324b78dc /src/Wallabag/ApiBundle/Resources/config | |
parent | 24de86653440de3f84d585f089caab3734dcb573 (diff) | |
download | wallabag-3f3a60879e168f4a8040c441e295fa63e024961d.tar.gz wallabag-3f3a60879e168f4a8040c441e295fa63e024961d.tar.zst wallabag-3f3a60879e168f4a8040c441e295fa63e024961d.zip |
Add entry export in API
Export isn't available for json & xml because user can use the default
entry endpoint instead.
Diffstat (limited to 'src/Wallabag/ApiBundle/Resources/config')
-rw-r--r-- | src/Wallabag/ApiBundle/Resources/config/routing_rest.yml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml b/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml index 9aef7e8e..35f8b2c1 100644 --- a/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml +++ b/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml | |||
@@ -1,6 +1,4 @@ | |||
1 | entries: | 1 | api: |
2 | type: rest | 2 | type: rest |
3 | resource: "WallabagApiBundle:WallabagRest" | 3 | resource: "WallabagApiBundle:WallabagRest" |
4 | name_prefix: api_ | 4 | name_prefix: api_ |
5 | requirements: | ||
6 | _format: xml|json|html|epub | ||