My Resources

l

Go back to documentation

December 18, 2020

MY RESOURCES

My Resource feature is related which information is shared or can be accessed by your remote devices, remote application or any other that want to get access through Easyberry IoT REST API.

The user can give permission to read, write or read/write to the Contexts, Things or Dataset. There is some hierarchical rules for the last 3 object. Context1 Dataset1 Thing1 Thing2 Dataset2 Thing1.

These are some statement that are true about the structure above.

1.- Context1 read/write permission give permission to Dataset1,Dataset2,Thing1 and Thing2 to be read/write for the respective user.

             ex. If this user make a GET request to Context1, it can have access to all information related to this context.

{

 

   "op": "get",
      "context": [
         "/context1"
      ]
}

2.- Dataset2 read/write permission affect to Thing1 permission.

             ex. If this user make a GET request to Dataset2, it can have access to only the information related to this Thing1.

{

 

   "op": "get",
      "dataset": [
         "dataset2"
      ]
}

3.- Thing2 permission to read/write to affect only to Thing2.

             ex. If this user make a GET request to Thing2, it can have access to only the information related to this Thing1.

{

 

   "op": "get",
      "thing": [
         "thing1",
"thing2" ] }

My Resources Video

You May Also Like…

MODBUS TCP Gateway

MODBUS TCP Gateway

 Try this Modbus gateway and connect several Modbus devices to Easyberry IoT platform in just seconds. Go to App's...

Become a Developer

Become a Developer

Become an expert developer and sell yours amazing Android, IOS or Windows APP to Easyberry Marketplace. In addition,...

Become an Integrator

Become an Integrator

Become an expert integrator and publish your works related to IoT and Automation Systems, earning stars and gaining...

System Message

System Message

Get in touch in real time with what is going on in your Easyberry environment with your configuration. Message system...

Lab

Lab

Lab tool help you to give your first step and test applications, find errors, understand what is involved in login...

Things View

Things View

Things are de basic objet of Easyberry platform.
Thing is equal to register, it just we named “THING” , in short, we are talking about of Internet of Thing, right?.
THING object comes with some additional information by defaul like context, date(set for device), timestamp (set for easyberry).
Thing can have properties. These properties are data complement of the “THING” , like location, or state, or any other you want.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *