The Ninja Blocks REST API is implemented as JSON over HTTP using the GET/POST/PUT/DELETE verbs. Each resource, like Block, Device, User or Rule, has its own URL and is manipulated in isolation. In other words, we’ve tried to make the API follow the REST principles as much as possible.