Report a Job result #146
Notifications
Due Date
No due date set.
Blocks
Depends on
#148 Home Assistant reference package
bobby/hapi
#144 Home Assistant leases the next Job
bobby/hapi
Reference: bobby/hapi#146
Reference in new issue
Block a user
Part of #73 (spec: #72)
What to build
POST /v1/smart_home/jobs/{id}/resultwith{status, error?, response?}is the single way to finish a pending Job, leased or not. It's accepted from any member or any Bot withsmart_home:write. The first result wins, later ones get409, and finished Jobs are immutable. A query Job'sresponsecarries state back from HA.Acceptance criteria
409responseis returned on GET