summaryrefslogtreecommitdiffstats
path: root/doc/api
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-07-04 11:59:23 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-07-04 12:10:49 +0200
commit5a94df2221664f88fd3c8fc07e068fc2ce52118d (patch)
tree30958cf6e2a6f379aaefeee9b3413120e2679a4b /doc/api
parent56f176309428541e6868cb9c4a89f51f5cbdd2f8 (diff)
API: Fix return type of empty values in file/delete
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/file.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/file.md b/doc/api/file.md
index c461caf01..7d95274a3 100644
--- a/doc/api/file.md
+++ b/doc/api/file.md
@@ -230,7 +230,7 @@ Example:
> curl -s $base/file/delete -F apikey=$apikey -F "ids[1]=uu28" | json_pp
{
"data" : {
- "errors" : [],
+ "errors" : {},
"total_count" : 1,
"deleted" : {
"uu28" : {
@@ -243,6 +243,10 @@ Example:
}
```
+| Version | Change |
+| ------- | ------ |
+| 2.1.1 | Empty objects (values of `errors` and `deleted`) are now always returned as {}. Before they were returned as [] |
+
## file/create_multipaste
Required access level: `basic`