diff options
author | Francis Irving <francis@mysociety.org> | 2010-10-09 04:24:02 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-10-09 04:24:02 +0100 |
commit | 91ea937de9225a7bc748f51470eb6c7f3397e0c8 (patch) | |
tree | b7fdfa0057d52730b23f48430ca605f971f0f503 /app/views/help/api.rhtml | |
parent | 70d8b2d24c68ec57a8e5a0fcc618f690a989e920 (diff) |
Link to Atom JSON equivalents in HTTP header. Document.
Diffstat (limited to 'app/views/help/api.rhtml')
-rw-r--r-- | app/views/help/api.rhtml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/views/help/api.rhtml b/app/views/help/api.rhtml index 46c12b9ec..6f27cf908 100644 --- a/app/views/help/api.rhtml +++ b/app/views/help/api.rhtml @@ -51,14 +51,19 @@ tips</a> for details. <h2> 3. JSON structured data </h2> -<p>Request, public authority and user pages have JSON feeds, which let you download -information about objects in a structured form. Find them by: +<p>Quite a few pages have JSON versions, which let you download information about +objects in a structured form. Find them by: <ul> <li>Adding <tt>.json</tt> to the end of the URL. </li> <li>Look for the <tt><link rel="alternate" type="application/json"></tt> tag in the head of the HTML. </li> </ul> </p> +<p>Requests, users and authorities all have JSON versions containing basic +information about them. Every Atom feed has a JSON equivalent, containing +information about the list of events in the feed. +</p> + <hr> <h2> 4. Spreadsheet of all authorities </h2> |