Skip to content

API Details: Recent Log Entries

Rainer Simon edited this page Jan 25, 2013 · 2 revisions

API-Details: Recent Log Entries

/api/log/recent

Returns the N most recent log entries as a JSON array.

Note: work in progress – all log info will be returned eventually!

Parameters:

n the number of entries to return

Example: /api/log/recent?n=100

Response Fields

timestamp the UNIX timestamp of the log entry
url the crawled URL
download_size the download size, in bytes

Example Response
[{ 
   "timestamp":1345816094000,
   "url":"http://worcester-park.surrey-towns.co.uk/link.asp",
   "download_size":291
}]