You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Apache Wiki <wi...@apache.org> on 2015/02/28 09:12:54 UTC

[Nutch Wiki] Trivial Update of "Nutch_1.X_RESTAPI" by SujenShah

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.

The "Nutch_1.X_RESTAPI" page has been changed by SujenShah:
https://wiki.apache.org/nutch/Nutch_1.X_RESTAPI?action=diff&rev1=1&rev2=2

- = Nutch 1.x REST API =
+ = Nutch 1.x REST API v1.0 =
  
  <<TableOfContents(4)>>
  
  == Introduction ==
- This page documents the Nutch 1.X REST API. 
+ This page documents the Nutch 1.X REST API v1.0. 
  
  It provides details on the type of REST calls which can be made to the Nutch 1.x REST API. Many of the API points are adapted from the ones provided by the  [[https://wiki.apache.org/nutch/NutchRESTAPI|Nutch 2.x REST API]]. One of the reasons to come up with a REST API is to integrate D3 to show visualizations about the working of a Nutch crawl. 
  
@@ -37, +37 @@

  ==== Stop server ====
  It is possible to stop running server using ''/admin/stop''.
  {{{{
- GET /admin/stop
+ POST /admin/stop
  }}}}
  
  __Response__
  {{{{
- Stopping in 5 seconds.
+     Ok
  }}}}
  
  === Jobs ===
@@ -99, +99 @@

  
  ==== Stop job ====
  {{{{
- GET /job/job-id-5977/stop
+ POST /job/job-id-5977/stop
  }}}}
  
  __Response__