{
  "algorithm": {
    "parameters": [
      {
        "name": "catalogType",
        "type": "string"
      },
      {
        "name": "args",
        "type": "ArgsListGenericCatalog"
      }
    ],
    "statements": [],
    "typeReturn": "list(RootEntity)",
    "variables": []
  },
  "routing": {
    "method": "GET",
    "parameters": [
      {
        "bind": "catalogType",
        "in": "Path",
        "name": "catalogType",
        "remarks": "catalogType"
      },
      {
        "bind": "args.filters",
        "in": "Query",
        "name": "filters",
        "remarks": "Specific filters. Format: field [operator] value.  ie: name=mike  age>=28"
      },
      {
        "bind": "args.sortBy",
        "in": "Query",
        "name": "sortBy",
        "remarks": "Sort by fields. Minus implies descendent ie: \"-field1\""
      },
      {
        "bind": "args.offset",
        "in": "Query",
        "name": "offset",
        "remarks": "Offset row"
      },
      {
        "bind": "args.pageNumber",
        "in": "Query",
        "name": "pageNumber",
        "remarks": "Page number"
      },
      {
        "bind": "args.limit",
        "in": "Query",
        "name": "limit",
        "remarks": "Limit row count. 0 implies no limit"
      }
    ],
    "path": "/catalogs/{catalogType}",
    "remarks": "List instances of the geeneric catalog",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "errorName": "Unauthorized",
        "httpStatus": "401",
        "remarks": "Unauthorized"
      },
      {
        "errorName": "Forbidden",
        "httpStatus": "403",
        "remarks": "Forbidden"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "Not Found"
      }
    ]
  }
}