The device records the last event id it has shown to the parents, so one-shot notices appear exactly once.
Input
Encoding
application/jsonhomeId
stringtid
Required
A timestamp-based identifier (TID).
upTo
integer
Required
No description available.
minimum: 0Output
Encoding
application/jsonlastEventId
integer
Required
No description available.
Errors
NotMember
HomeNotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "The device records the last event id it has shown to the parents, so one-shot notices appear exactly once.",
"errors": [
{
"name": "NotMember"
},
{
"name": "HomeNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"homeId": {
"format": "tid",
"type": "string"
},
"upTo": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"homeId",
"upTo"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"lastEventId": {
"type": "integer"
}
},
"required": [
"lastEventId"
],
"type": "object"
}
},
"type": "procedure"
}