Novant

Documentation

Sign in

Typedef Points

Lists every point type and point prop.

GET /v1/typedef/points
curl https://api.novant.io/v1/typedef/points \
  -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 point type and every point prop.

{
  "types": [
    {
      "id": "air_direction_cmd",
      "name": "Air Direction Command",
      "desc": "Air flow direction command.",
      "ontology": {
        "brick": "Air_Direction_Command",
        "rec": "Air_Direction_Command",
        "haystack": "point,air,direction,cmd"
      }
    },
    ...
  ],
  "props": [
    {
      "id": "direction",
      "name": "Direction",
      "type": "text",
      "values": ["import", "export", "net"],
      "on": ["elec_*"],
      "desc": "Direction of electrical flow the point..."
    },
    ...
  ]
}

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