You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2017/01/06 21:50:12 UTC

lucene-solr:apiv2: SOLR-8029: changed command id to a parameter instead of path segment

Repository: lucene-solr
Updated Branches:
  refs/heads/apiv2 1fc35c136 -> d9caa8082


SOLR-8029: changed command id to a parameter instead of path segment


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/d9caa808
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/d9caa808
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/d9caa808

Branch: refs/heads/apiv2
Commit: d9caa8082c0e04909fd4d6b9095464ed452742b1
Parents: 1fc35c1
Author: Noble Paul <no...@apache.org>
Authored: Sat Jan 7 08:20:03 2017 +1030
Committer: Noble Paul <no...@apache.org>
Committed: Sat Jan 7 08:20:03 2017 +1030

----------------------------------------------------------------------
 solr/core/src/resources/apispec/cluster.commandstatus.json | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d9caa808/solr/core/src/resources/apispec/cluster.commandstatus.json
----------------------------------------------------------------------
diff --git a/solr/core/src/resources/apispec/cluster.commandstatus.json b/solr/core/src/resources/apispec/cluster.commandstatus.json
index daa0763..a8a402b 100644
--- a/solr/core/src/resources/apispec/cluster.commandstatus.json
+++ b/solr/core/src/resources/apispec/cluster.commandstatus.json
@@ -4,12 +4,16 @@
   ],
   "url": {
     "paths": [
-      "/cluster/command-status/{id}"
+      "/cluster/command-status"
     ],
     "params": {
       "flush": {
         "type": "boolean",
         "default": false
+      },
+      "id":{
+        "type":"string",
+        "description": "The command id"
       }
     }
   }