]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Fix ApiDoc about md5/sha1 3158/head
authorJérémy Benoist <j0k3r@users.noreply.github.com>
Tue, 2 Apr 2019 20:59:50 +0000 (22:59 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Apr 2019 20:59:50 +0000 (22:59 +0200)
src/Wallabag/ApiBundle/Controller/EntryRestController.php

index ad43b1d464ec081eb590365108d09051ab73665b..06520af917bc0745f58efe753fb34e3639b359dd 100644 (file)
@@ -29,8 +29,8 @@ class EntryRestController extends WallabagRestController
      *          {"name"="return_id", "dataType"="string", "required"=false, "format"="1 or 0", "description"="Set 1 if you want to retrieve ID in case entry(ies) exists, 0 by default"},
      *          {"name"="url", "dataType"="string", "required"=true, "format"="An url", "description"="DEPRECATED, use hashed_url instead"},
      *          {"name"="urls", "dataType"="string", "required"=false, "format"="An array of urls (?urls[]=http...&urls[]=http...)", "description"="DEPRECATED, use hashed_urls instead"},
-     *          {"name"="hashed_url", "dataType"="string", "required"=true, "format"="An url", "description"="Md5 url to check if it exists"},
-     *          {"name"="hashed_urls", "dataType"="string", "required"=false, "format"="An array of urls (?urls[]=http...&urls[]=http...)", "description"="Md5 urls (as an array) to check if it exists"}
+     *          {"name"="hashed_url", "dataType"="string", "required"=false, "format"="A hashed url", "description"="Hashed url using SHA1 to check if it exists"},
+     *          {"name"="hashed_urls", "dataType"="string", "required"=false, "format"="An array of hashed urls (?hashed_urls[]=xxx...&hashed_urls[]=xxx...)", "description"="An array of hashed urls using SHA1 to check if they exist"}
      *       }
      * )
      *