Class Dashboard

  • Direct Known Subclasses:
    Express, Item, Statistics

    public class Dashboard
    extends TableServletBase
    /api/dashboard : Access to dashboard items.

    Lists items for the home page dashboard, with the following attributes:

    • item_id : ID of the item.
    • type : The type of the item: "link", "sql", or "exec".
    • label : The item's text label.
    • icon : The item's icon.
  • Only the GET
    HTTP method is supported.
    • Response Body - the standard JSON envelope, with the model as an object with the above structure.
    • Response Status
      • 200 : The attributes were listed.
  • These are generally single statistics about the corpus that are displayed on the home page, which are individually configurable. However items can also be links, or the output of a command.

    /api/dashboard/item/item_id can be used to evaluate each item.

    Author:
    Robert Fromont robert@fromont.net.nz
    • Constructor Detail

      • Dashboard

        public Dashboard()