GET fitbit - ocariot/api-gateway GitHub Wiki
Description
Retrieve app data on Fitbit platform. With this information, customers can use OAuth2 for fitbit authentication and authorization.
Permissions:
- Application, Child, Educator, Family, and HealthProfessional users can retrieve application data on the Fitbit platform. Information used when these users are using OCARIoT DA (Android).
Scope
external:sync
URL
Curl example
curl -X GET "https://localhost/v1/fitbit" -H "accept: application/json"
Response body
-
200
Successful requisition.{ "client_id": "19CT7O", "client_secret": "19CT7O" }
-
403
Permission Error -
404
The verify code sended is invalid. There is no data to be returned{ "code": 404, "message": "Fitbit client id and secret key not found!" }