# HG changeset patch # User neko259 # Date 2015-04-10 15:01:15 # Node ID bd081f7942928150e591da7e8c111835b4475d64 # Parent 0eaec6050e17707332c23602372b2655a51ba9eb Updated API documentation diff --git a/docs/api.markdown b/docs/api.markdown --- a/docs/api.markdown +++ b/docs/api.markdown @@ -35,9 +35,15 @@ Output format: ## Thread diff ## - /api/diff_thread/N/M/?type=O + /api/diff_thread + +Parameters: -Get the diff of the thread with id=``N`` from the ``M`` timestamp in the ``O`` +* ``thread``: thread id +* ``last_update``: last update timestamp +* ``last_post``: last added post id + +Get the diff of the thread in the `O`` format. 2 formats are available: ``html`` (used in AJAX thread update) and ``json``. The default format is ``html``. Return list format: