Add a batch of URLs

POST http://api.contextvoice.com/1.2/resources/batch

Parameters:

  • urls - a list of URLs separated by comma (,) (required)
  • apikey - your API key (required - get one now)

No redirects will be followed. This means that all the URLs sent through this request are considered final URLs.

Response

The response is a 200 OK HTTP status code with the following message:
<response>

   <info message="MESSAGE1" url=”URL1" />
   <info message="MESSAGE2" url="URL2" />
  
   ...
   <info message="MESSAGEn" url=”URLn" />
</response>

, where MESSAGE1,...,MESSAGEn can be one of the following:

  • Could not add this url
  • Resource created
  • The resource is in our system but was not crawled yet
  • Resource found

Sample code (Python)