update docs
authorMaksim Pechnikov <parallel588@gmail.com>
Wed, 12 Aug 2020 05:51:09 +0000 (08:51 +0300)
committerMaksim Pechnikov <parallel588@gmail.com>
Wed, 12 Aug 2020 05:51:09 +0000 (08:51 +0300)
docs/API/admin_api.md

index 4b143e4eec0d7c7df57bf2d599a0f3b596fa65c6..05e63b528cfd529c6b5164bb571f208ada1163dc 100644 (file)
@@ -1266,11 +1266,14 @@ Loads json generated from `config/descriptions.exs`.
 - Params:
 - *optional* `page`: **integer** page number
 - *optional* `page_size`: **integer** number of log entries per page (default is `50`)
+- *optional* `query`: **string** search term
 
 - Response:
 
 ``` json
 {
+  "page_size": integer,
+  "count": integer,
   "urls": [
     "http://example.com/media/a688346.jpg",
     "http://example.com/media/fb1f4d.jpg"
@@ -1290,12 +1293,7 @@ Loads json generated from `config/descriptions.exs`.
 - Response:
 
 ``` json
-{
-  "urls": [
-    "http://example.com/media/a688346.jpg",
-    "http://example.com/media/fb1f4d.jpg"
-  ]
-}
+{ }
 
 ```
 
@@ -1311,11 +1309,6 @@ Loads json generated from `config/descriptions.exs`.
 - Response:
 
 ``` json
-{
-  "urls": [
-    "http://example.com/media/a688346.jpg",
-    "http://example.com/media/fb1f4d.jpg"
-  ]
-}
+{ }
 
 ```