Added the default `_all` value for document type in `get` API

This commit is contained in:
Karel Minarik 2013-09-09 13:36:31 +02:00
parent 44c56b0888
commit dc10b9b19a
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@
}, },
"type": { "type": {
"type" : "string", "type" : "string",
"required" : true, "required" : false,
"default" : "all",
"description" : "The type of the document (use `_all` to fetch the first document matching the ID across all types)" "description" : "The type of the document (use `_all` to fetch the first document matching the ID across all types)"
} }
}, },