diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-05-24 16:44:03 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-05-31 14:00:15 +0200 |
commit | f0378b4d7c7b8c971239445f3a2a1535abab7d00 (patch) | |
tree | 2f8157ce6b50e454887827825ef8ebbc01dfdf70 /src/Wallabag/ApiBundle/Controller/EntryRestController.php | |
parent | 9e349f08a651c43c6d5dd890303ed529c38c4fde (diff) | |
download | wallabag-f0378b4d7c7b8c971239445f3a2a1535abab7d00.tar.gz wallabag-f0378b4d7c7b8c971239445f3a2a1535abab7d00.tar.zst wallabag-f0378b4d7c7b8c971239445f3a2a1535abab7d00.zip |
Forced date can now be a timestamp too
Add adding more tests for forced content
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/EntryRestController.php')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/EntryRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/EntryRestController.php b/src/Wallabag/ApiBundle/Controller/EntryRestController.php index cc2cca64..c3ba1858 100644 --- a/src/Wallabag/ApiBundle/Controller/EntryRestController.php +++ b/src/Wallabag/ApiBundle/Controller/EntryRestController.php | |||
@@ -286,7 +286,7 @@ class EntryRestController extends WallabagRestController | |||
286 | * {"name"="content", "dataType"="string", "required"=false, "description"="Content of the entry"}, | 286 | * {"name"="content", "dataType"="string", "required"=false, "description"="Content of the entry"}, |
287 | * {"name"="language", "dataType"="string", "required"=false, "description"="Language of the entry"}, | 287 | * {"name"="language", "dataType"="string", "required"=false, "description"="Language of the entry"}, |
288 | * {"name"="preview_picture", "dataType"="string", "required"=false, "description"="Preview picture of the entry"}, | 288 | * {"name"="preview_picture", "dataType"="string", "required"=false, "description"="Preview picture of the entry"}, |
289 | * {"name"="published_at", "dataType"="datetime", "format"="YYYY-MM-DDTHH:II:SS+TZ", "required"=false, "description"="Published date of the entry"}, | 289 | * {"name"="published_at", "dataType"="datetime|integer", "format"="YYYY-MM-DDTHH:II:SS+TZ or a timestamp", "required"=false, "description"="Published date of the entry"}, |
290 | * {"name"="authors", "dataType"="string", "format"="Name Firstname,author2,author3", "required"=false, "description"="Authors of the entry"}, | 290 | * {"name"="authors", "dataType"="string", "format"="Name Firstname,author2,author3", "required"=false, "description"="Authors of the entry"}, |
291 | * } | 291 | * } |
292 | * ) | 292 | * ) |