Updated: 1st August 2016

https://api.inzu.net/1.5/cms/articles

Articles

GETPOST

The articles feed is for generic HTML pages that include images and file attachments.

Parameters

  • latest (boolean)display the most recent entry
  • order (entry_id) (date)order results by entry date or entry id, defaults to entry_id
  • order_type (ASC) (DESC)descending or ascending, used with "order" parameter
  • page (int)currently selected page
  • page_rows (int)number of rows per page
  • tags (string)display only entries with matching tag(s) (comma separated)
  • tagsHide (string)ommit matching tagged entries
  • ------- -
  • category (string)match by category
  • entry_id (int)display a specific entry
  • select (string)retrieve only certain fields for speed (comma separated)

JSON Output

    {
  • "entry_id":"9",
  • "title":"Article title",
  • "description":"Description of article",
  • "category":"Article category",
  • "article":"The article text in full",
  • "date":"1295980972",
  • "tags":"Tag1, Tag2, Tag3",
  • "code":"theme=sky",
  • "image_list" : [
      {
      • "image":"https://media.inzu.net/user/mysite/articles/9/img_1295980913.png",
      • "image_thumb":"https://media.inzu.net/user/mysite/articles/9/thumbimg_1295980913.png",
      • "caption":"Image caption",
      • "width":"900",
      • "height":"450"
    • }
    ],
  • "file_list" : [
      {
      • "file":"https://media.inzu.net/user/mysite/articles/9/1_logo_80.jpg",
      • "decsription":"File 1"
    • }
    ],
  • "comments" : [
      {
      • "author":"Jon Doe",
      • "comment":"This is such a great article, thanks!"
    • }
    ]
  • }