Authentication

Request

  1. POST /api/authenticate HTTP/1.1
  2. Host: starling.exploreembedded.com
  3. description: If email and password are sent in the post body, the API returns a token as below

Response

  1. [
  2. {
  3. "id": "4",
  4. "user_id": "2",
  5. "name": "EE unit 4",
  6. "product_id": "STAR0004",
  7. "location": "",
  8. "configuration":{
  9. "lines":"2" ,
  10. "brightness":"100",
  11. "current_message":"hello world",
  12. "scroll_speed":"6",
  13. "font":"arial"
  14. },
  15. "created_at": "2015-12-28 14:27:07",
  16. "updated_at": "2015-12-28 14:27:07"
  17. }
  18. ]