Last active
December 4, 2018 08:55
-
-
Save reza-id/327212d8bac7dc2f8cdaa5b18c982dca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment