epugh commented on a change in pull request #41:
URL: https://github.com/apache/solr/pull/41#discussion_r599498153



##########
File path: solr/solr-ref-guide/src/collections-api.adoc
##########
@@ -66,7 +96,29 @@ 
http://localhost:8983/solr/admin/collections?action=SPLITSHARD&collection=collec
 
 Request the status and response of an already submitted <<Asynchronous 
Calls,Asynchronous Collection API>> (below) call. This call is also used to 
clear up the stored statuses.
 
-`/admin/collections?action=REQUESTSTATUS&requestid=_request-id_`
+[.dynamic-tabs]
+--
+[example.tab-pane#v1asyncrequeststatus]
+====
+[.tab-label]*V1 API*
+
+[source,bash]
+----
+http://localhost:8983/solr/admin/collections?action=REQUESTSTATUS&requestid=1000
+
+----
+====
+
+[example.tab-pane#v2asyncrequeststatus]
+====
+[.tab-label]*V2 API*
+
+[source,bash]
+----
+curl -X GET http://localhost:8983/api/cluster/command-status/1000 -H 
'Content-Type: application/json'

Review comment:
       Sorry, this is my fault.   Please see SOLR-15276 / #40.   In the commit 
I tried to flag that this was depending on another PR.   I should maybe have 
kept things seperate completely, and not wasted your time!   Lesson learned.   
Agreed on the non existant case ;-)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to