iOS SDK 15.6.7,
Android SDK 15.5.3,
Hello Screen Dynamic States,
Bluedot Cordova plugin 4.0.1,
Bluedot Xamarin Android wrapper 15.5.2,
Bluedot Xamarin iOS wrapper 15.6.6,
Bluedot React Native wrapper 2.3.0,
POST
request to the /sessions
with your credentials
{
"email": "user@email.com",
"password": "Secret_Password_123"
}
{ "statusCode": 201, "idToken": "string", "accessToken": "string", "refreshToken": "string" }
This is an example of how you would get the list of Projects
// NODE.JS const https = require('https'); const options = { host: 'config.bluedot.io', path: '/prod1/projects', headers: { 'Authorization': 'Bearer <accessToken>' } }; const data = [] https.get(options, (res) =>; { res.setEncoding('utf8'); res.on('data', chunk => { data.push(chunk) }); res.on('error', error => { console.error(error) }) res.on('end', () => { console.log(data); }) });
accessToken
: An Access Token is a credential that can be used by an application to access the Configuration API. It is active for 1 hour.
refreshToken
: The Refresh Token is a special token that can be used to obtain a renewed accessToken
. It is active for 60 days.