def
func:obixReadObj
obixReadObj(conn, uri)
Read one Uri from an obixConn. The object is returned as a grid with the object's meta-data returned via grid.meta and each immediate child returned as a row in the grid. The tags used for grid meta and the columns are:
- href: meta.href is absolute uri of object, the href col is child's uri relative to meta.href
- name: obix
name
attribute - dis: obix
displayName
attribute - val: obix
val
attribute unlessnull
attribute is true - is: contract list
- icon: uri relative to meta.href of icon
You can read the icon via the tunnel URI:
{api}/obix/icon/{id}/{uri}
Side effects:
- performs blocking network IO