Novant

Documentation

Sign in

Typedef Assets

Lists every asset type and asset prop.

GET /v1/typedef/assets
curl https://api.novant.io/v1/typedef/assets \
  -u ak_sample_123: \
  --compressed

Any valid API key can call this endpoint, and organization keys do not need proj_id. See Typedef for details.

Parameters

None

Returns

Returns every valid asset type and every asset prop.

{
  "types": [
    {
      "id": "mech.ahu",
      "name": "Air Handling Unit",
      "desc": "An enclosure with a fan that delivers...",
      "service": "mech",
      "ontology": {
        "vbis": "ME-AHU",
        "brick": "AHU",
        "rec": "AHU",
        "dbo": "AHU",
        "haystack": "equip,ahu"
      }
    },
    ...
  ],
  "props": [
    {
      "id": "meter_scope",
      "name": "Meter Scope",
      "type": "text",
      "values": ["utility", "main", "sub"],
      "on": [
        "elec.meter",
        "mech.gas_meter",
        "mech.water_meter",
        "mech.btu_meter"
      ],
      "desc": "Whether this meter is a utility (revenue)..."
    },
    ...
  ]
}

See Typedef for a description of each field, and Asset Types and Asset Props for how they are used.