Select Your IoT Device
Get a device and its Avatar up and running on Zatar:
Explore the Applications API
Use our interactive documentation and learn how to authorize access to your device avatars.
GET worlds and find your home world (CRUDXO) ID
GET Avatar Definitions and find your Avatar Definition ID
then locate your Revision ID
Ensure homeWorld is your world (or Zatar_public)
The Avatar Definition should be compatible with your Device - check its Name, Type, Model, Manufacturer,
POST your Avatar using your world ID and UDI/Serial number of your Device. Do this with the previously selected Avatar Definition.
GET Avatars and find your Avatar by its UDI and its Avatar ID
Change your Avatar with a PUT
In this example, we control the LEDs of the Rpi
3 Integrate OAuth 2
Authorization is done with OAuth 2.0 and to keep it simple, we've put together a video tutorial that will teach you how to authorize an application and then show it in action with a iOS example. Read more...