Last active
May 27, 2024 15:26
-
-
Save arevindh/253302628ad10eed8126a820c2ecdaec to your computer and use it in GitHub Desktop.
Tinxy_Open_APIs https://tinxyapi.pages.dev/
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
{ | |
"info": { | |
"_postman_id": "32c262fa-7384-4477-a610-cde252c8829e", | |
"name": "Tinxy Open APIs", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Device State", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer 60fe161c60687be22a0a1b5806724bfb5e7a1c18" | |
}, | |
{ | |
"key": "", | |
"value": "", | |
"disabled": true | |
} | |
], | |
"url": { | |
"raw": "https://backend.tinxy.in/v2/devices/6131bbacb1aba6001317ec1b/state?deviceNumber=1", | |
"protocol": "https", | |
"host": [ | |
"backend", | |
"tinxy", | |
"in" | |
], | |
"path": [ | |
"v2", | |
"devices", | |
"6131bbacb1aba6001317ec1b", | |
"state" | |
], | |
"query": [ | |
{ | |
"key": "deviceNumber", | |
"value": "1" | |
} | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Devices with userID", | |
"request": { | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Bearer 8428a2f9645f86dbdf4902aaadf73767d88272a6", | |
"type": "text" | |
} | |
], | |
"url": { | |
"raw": "https://backend.tinxy.in/v2/devices/", | |
"protocol": "https", | |
"host": [ | |
"backend", | |
"tinxy", | |
"in" | |
], | |
"path": [ | |
"v2", | |
"devices", | |
"" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Device Toggle", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Authorization", | |
"value": "Bearer 8428a2f9645f86dbdf4902aaadf73767d88272a6" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n\t\"request\": {\n\t\t\"state\": 1,\n \"brightness\": 0\n\t},\n \"deviceNumber\": 1\n}" | |
}, | |
"url": { | |
"raw": "https://backend.tinxy.in/v2/devices/6107cad3ec41f400139e315d/toggle", | |
"protocol": "https", | |
"host": [ | |
"backend", | |
"tinxy", | |
"in" | |
], | |
"path": [ | |
"v2", | |
"devices", | |
"6107cad3ec41f400139e315d", | |
"toggle" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
} |
Tinxy_Android_Integration.mp4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@akashks1998 not sure try asking on their forum https://forum.tinxy.in