epugh commented on a change in pull request #41: URL: https://github.com/apache/solr/pull/41#discussion_r599498952
########## 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: In other places on GET's we don't have the "Content-type" header, so removing it. What do you think about on a DELETE? Same thing? -- 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]
