API Key

Last modified by Alex Chang on 2022/04/07 09:14

Get WLINK API Key / Secret

Any Clients or Devices have to get API Key / Secret to use WLINK Cloud server.

URL/v1/getKey/:uuid
Method : POST
Auth required : NO
URL parameters

  • uuid : device(smart phone) uuid (must be an unique value. for example : MAC Address)
Data constraints
{
   "service_code" : "[valid service code]",
   "service_tag" : "[valid service tag]"
}
Data example
{
   "service_code" : "WLINK_XXXXX",
   "service_tag" : "ilovewinstars"
}

Success Response

Code : 200 OK
Content example

{
   "service_code": "WLINK_XXXXX",
   "uuid": "uuid1",
   "key": "WLINK_XXXXX56e9a5073bae54b7bb8e0b05",
   "secret": "5e7815dc2bf02b173d327c42315220c136c92b03",
   "expired_date":"20171231+0800"
}

Error Response

Condition : Invalid Message Format or Service Code.
Code : 400 BAD REQUEST
Content :

{
}
Remark:

About service code and tag Please contact with System Administrator.

Created by Alex Chang on 2022/04/07 09:14