Added path to exist, supporting optional "type" part

Since the type is an optional part, there needs to be a path that can be used without it.
This commit is contained in:
spenceralger 2013-09-25 20:03:28 -07:00
parent a958d5a63d
commit e7465fee87

View File

@ -4,7 +4,7 @@
"methods": ["HEAD"],
"url": {
"path": "/{index}/{type}/{id}",
"paths": ["/{index}/{type}/{id}"],
"paths": ["/{index}/{type}/{id}", "/{index}/_all/{id}"],
"parts": {
"id": {
"type" : "string",