]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Add public filter/field in the API
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 10 Jun 2017 13:31:57 +0000 (15:31 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 10 Jun 2017 13:31:57 +0000 (15:31 +0200)
commit1112e54772c9308ee3d7417869b5b8ef9b2b9812
tree1d4341b1a4889baf5c934dc2064a4f4e982f9947
parente8911f7c09fa9d8009d7c7ee9fb0c181d2ffbc31
Add public filter/field in the API

Listing entries can now be filtered by “public”.
Creating or patching an entry can now set is to public or remove the public.
Entry response now include “is_public” boolean field
src/Wallabag/ApiBundle/Controller/EntryRestController.php
src/Wallabag/CoreBundle/Entity/Entry.php
src/Wallabag/CoreBundle/Repository/EntryRepository.php
tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php