Skip to content

Instantly share code, notes, and snippets.

@reza-id
Last active December 4, 2018 08:55
Show Gist options
  • Save reza-id/327212d8bac7dc2f8cdaa5b18c982dca to your computer and use it in GitHub Desktop.
Save reza-id/327212d8bac7dc2f8cdaa5b18c982dca to your computer and use it in GitHub Desktop.
# http://example.com/path/to/endpoint?brand=icode
{
"code": "200",
"msg": "Operation succeeded",
"data": [
{
"deviceBrand": "icode",
"deviceName": "Mini Gateway",
"deviceImage": "https://example.com/path/to/image.png",
"addInstructions": []
},
{
"deviceBrand": "icode",
"deviceName": "Smart Plug",
"deviceImage": "https://example.com/path/to/image.png",
"addInstructions": [
{
"number": 1,
"text": "Pastikan Gateway / Mini Gateway dalam keadaan aktif dan terhubung ke internet."
},
{
"number": 2,
"text": "Scan Barcode perangkat Smart Socket pada aplikasi Indihome Smart Anda kemudian pilih Join"
},
{
"number": 3,
"text": "Colokan perangkat ke outlet, lalu tekan dan tahan tombol fungsi sampai lampu hijau berkedip cepat, lepas lalu tekan satu kali ketika lampu hijau berkedip cepat."
},
{
"number": 4,
"text": "Perangkat akan muncul pada home screen aplikasi Indihome Smart."
}
]
},
{
"deviceBrand": "icode",
"deviceName": "IP Camera",
"deviceImage": "https://example.com/path/to/image.png",
"addInstructions": []
}
]
}
# http://example.com/path/to/endpoint?brand=ezviz
{
"code": "200",
"msg": "Operation succeeded",
"data": [
{
"deviceBrand": "ezviz",
"deviceName": "Mini Gateway",
"deviceImage": "https://example.com/path/to/image.png",
"addInstructions": []
},
{
"deviceBrand": "ezviz",
"deviceName": "Smart Plug",
"deviceImage": "https://example.com/path/to/image.png",
"addInstructions": []
},
{
"deviceBrand": "ezviz",
"deviceName": "IP Camera",
"deviceImage": "https://example.com/path/to/image.png",
"addInstructions": []
}
]
}
@reza-id
Copy link
Author

reza-id commented Dec 4, 2018

image

@reza-id
Copy link
Author

reza-id commented Dec 4, 2018

image
photo_2018-12-04_15-54-21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment