collectiveAlarms(homeId)

Arguments

homeId
ID!,non-nullrequired

Return type

alarms
Query sample
query collectiveAlarms($homeId: ID!) {
  collectiveAlarms(homeId: $homeId) {
    alarms {
      id 
      state 
      triggeredAt 
      originLocation {
        unitNumber 
        apartmentNumber 
      }
      evacuationInstructions {
        evacuationPoint {
          mapImage {
            original 
            small 
            medium 
            large 
          }
        }
      }
    }
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "alarms": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "state": "ALARM", "triggeredAt": "Example String", "originLocation": { "unitNumber": "Example String", "apartmentNumber": "Example String" }, "evacuationInstructions": { "evacuationPoint": { "mapImage": { "original": "Example String", "small": "Example String", "medium": "Example String", "large": "Example String" } } } } ] } }
Previous page
Next page