스마트팜/thingsboard
thingsboard cloud rest api
ZEROWIN.ART
2022. 1. 6. 14:34
728x90
Get JWT TOKENS
https://thingsboard.io/docs/paas/reference/rest-api/ |
![]() |
Example![]() |
https://thingsboard.cloud/api/auth/login { "username" : "cherrychance@naver.com", "password" : "" } RESULT : { "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJjaGVycnljaGFuY2VAbmF2ZXIuY29tIiwic2NvcGVzIjpbIlRFTkFOVF9BRE1JTiJdLCJ1c2VySWQiOiJiZThmMWM3MC0wZGUzLTExZWMtODRiMi0wNTNiMTAwNjM5NDEiLCJmaXJzdE5hbWUiOiJaRVJPV0lOIiwiZW5hYmxlZCI6dHJ1ZSwiaXNQdWJsaWMiOmZhbHNlLCJpc0JpbGxpbmdTZXJ2aWNlIjpmYWxzZSwicHJpdmFjeVBvbGljeUFjY2VwdGVkIjp0cnVlLCJ0ZXJtc09mVXNlQWNjZXB0ZWQiOnRydWUsInRlbmFudElkIjoiYmU1NGFiODAtMGRlMy0xMWVjLTg0YjItMDUzYjEwMDYzOTQxIiwiY3VzdG9tZXJJZCI6IjEzODE0MDAwLTFkZDItMTFiMi04MDgwLTgwODA4MDgwODA4MCIsImlzcyI6InRoaW5nc2JvYXJkLmNsb3VkIiwiaWF0IjoxNjQxNDM5MDQ1LCJleHAiOjE2NDE0Njc4NDV9.QmaUGLi5PM541Ll3v4o-6y2zSg7SouvJGL4WLcgfapx8pmB6pdXdKNa5M3Nrk7AbDj9i2t0B9L_drAw6CNrftA", "refreshToken": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJjaGVycnljaGFuY2VAbmF2ZXIuY29tIiwic2NvcGVzIjpbIlJFRlJFU0hfVE9LRU4iXSwidXNlcklkIjoiYmU4ZjFjNzAtMGRlMy0xMWVjLTg0YjItMDUzYjEwMDYzOTQxIiwiaXNQdWJsaWMiOmZhbHNlLCJpc0JpbGxpbmdTZXJ2aWNlIjpmYWxzZSwiaXNzIjoidGhpbmdzYm9hcmQuY2xvdWQiLCJqdGkiOiJiZjdlMjdjYi1jOWIzLTQ3MWMtYmRkMy0xOWIzYTFjZTljMGUiLCJpYXQiOjE2NDE0MzkwNDUsImV4cCI6MTY0MjA0Mzg0NX0.iKyiLMI0ngr0r4cydZbaUR2cnNR5tBTvCtf2Ly00jLathf_jG6hueMxPcedrCQimUAXw1LVps6sfw7J8n8ZmcQ" } |
DATA QUERY
RPC command
https://thingsboard.io/docs/user-guide/rpc/ |
참조
https://timestampgenerator.com/1641441934/+00:00 GENERATE A TIMESTAMP |
![]() |