Owners and Guests

The August REST API only works for locks where the OAuth'd user is a superuser:

Owner

GET /users/locks/mine

    {
       ":LockID": {
           "HouseID": ":HouseID",
           "HouseName": "August HQ",
           "LockName": "Main Interior",
           "UserType": "superuser",    // <--- means this is an Owner
           "macAddress": "mm.aa.cc.aa.dd.rr"
       },
      {...}
    }

When the UserType is superuser then the person is an Owner of the lock. A user might be a Guest on one lock and an Owner on another.

Using the REST API requires Owner/superuser access.

Guest

Here is an example of a Guest (non-owner) on a lock:

    {
        ":LockID": {
            "HouseID": ":HouseID",
            "HouseName": "Andy's Desk Prod 2",
            "LockName": "roadhouse 2",
            "UserType": "user",   // <--- means this is a Guest
            "macAddress": "mm.aa.cc.aa.dd.rr"
        }
    }