trckpd

GET _/doc/range={f,t}

@See Document

Returns a list of documents whose titles are in the range specified. The information is returned in JSON format containing document details, except for attachments.

Path Parameters :

  • None

Request Headers :

  • Accept: application/json
  • Content-Type: application/json

Query Parameters :

  • range (comma-separated strings) : Range of document titles.

Response Headers :

  • Accept: application/json
  • Content-Type: application/json

Response JSON Array Objects :

  • _id (string) : Document id, UUID string.
  • srcid (string) : Document id at source.
  • title (string) : Title of the document.
  • abstract (string) : First 160 characters of the document.
  • source (string) : Origin of the document. Can be one of three, WIKIPEDIA, GUTENBERG and , YOUTUBE.
  • attachment (list) : HTML or/and plain text.
  • cdate (timestamp) : Time of creation.
  • udate (timestamp) : Last update time.

Status Codes :

  • 200 OK : Request completed successfully.
  • 404 Not Found : Invalid document title range.
  • 500 Server Error : Server failed, try later.