Skip to content
grayb edited this page Feb 29, 2012 · 5 revisions

The Citation api provides the ability to retrieve a citation for a publication at the paragraph level. The API currently supports both the MLA and Chicago style citations.

Requesting a Citation

(HTTP GET http://example.com/api/citations?section_id=1&paragraph_id=3)

  • Parameters
    • section_id (required) - The id of the section being cited
    • paragraph_id (required) - The id of the paragraph being cited

Citation Response

The response will be returned in JSON with the following format:

{
    success: (boolean),
    citation: {
        author : "",
        section_title : "",
        book_title : "",
        publisher : "",
        paragraph : "",
        publication_date : "",
        editor : ""
    }
}