Introduction
RESTful gRPC API V3¶
ResIOT provides RESTful API: application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data.
This allow the communication between ResIOT and another software. Every request's header must contain a communication Token provided by ResIOT.
TOKEN:
For a preview of these requests please visit the address:
Note
You need to insert your token in the top-right field, you don't have to press "enter", just paste your token there and you will be able to do Api calls.
If you want to get more info about the single call, click on Model near the "Example Value" option:
Proto and gRPC¶
The gRPC server host is:
ResIOT provides 7 .proto files:
- application.proto
- common.proto
- connector.proto
- gateway.proto
- node.proto
- scene.proto
- variable.proto
that allow you to generate the client and server stubs by yourself which, thanks to gRPC, is fairly easy. These files are avaible for download at this link.
gRPC has currently support for: C++, Java, Python, Go, Ruby, C#, Node.js, Android Java, Objective-C and PHP.
PHP Example¶
Workflow API Autenthication ---->
PHP code for API calls ---->