Checking Your Application
You can check your application settings as follows. This call requires an admin token. Please refer Admin Features to learn how to get the admin token.
curl -v -X GET \
-H "Authorization: Bearer {APP_ADMIN_TOKEN}" \
-H "Content-Type: application/json" \
"https://api-jp.kii.com/api/apps/{APP_ID}"
Kii Cloud will return the settings as follows:
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 501
Content-Type: application/vnd.kii.AppRetrievalResponse+json
Date: Thu, 25 Oct 2012 06:02:31 GMT
Server: nginx/1.0.15
{
"appID": {APP_ID},
"clientID": {CLIENT_ID},
"clientSecret": {CLIENT_SECRET},
"description": "app_description",
"emailAddress": "you@example.com",
"emailAddressVerificationRequired": false,
"phoneNumberVerificationRequired": false,
"facebookAppID": {FACEBOOK_APP_ID},
"phoneNumberVerificationRequired": false,
"smsFrom": "AppSmsSender",
"verificationSmsTemplate": "${code}",
"exposeFullUserDataToOthers": false,
"gcmCollapseKeyDefaultBehavior": {GCM_COLLAPSE_KEY_BEHAVIOR}
}