APIs and Feeds

The following read-only APIs are available to users of this site:

/texts/:text_id/comments.json

returns all comments for the given text [example]

/texts/:text_id/comments.json?sentence=:sentence_checksum

returns all comments for a single sentence in a given text [example]

/texts/:text_id/comments/:comment_id.json

returns a single comment in a given text

/texts/:text_id/annotations.json

returns all flagged (as important) sentences in a given text and the flag count for each sentence [example]

/texts/:text_id/keywords.json

returns all index keywords recorded for a given text [example]

/texts/:text_id.json

returns a single text [example]

/texts/:text_id/sentences.json

returns parsed sentences in the given text [example]

/texts/:text_id/sentences/:sentence_id.json

returns detailed information about a given sentence (by ID), including annotations, comments, and keywords

/comments.atom

an Atom feed of all comments posted on the site in reverse chronological order [example]

/texts/:text_id/comments.atom

an Atom feed of all comments for a given text in reverse chronological order [example]