Skip to content

API_1_UPDATE_APP

gearsofdev edited this page Jun 4, 2013 · 14 revisions

API ▸ Update Application

###PUT /1/google/:appid

Update application parameters

###Resource URL https://katooserver.herokuapp.com/1/google/:appid

Parameters  
appid required String: Application ID
token optional String: OAUTH2 token to login with Google XMPP service
refreshtoken optional String: OAUT2 refresh token to generate new tokens
resource optional String: xmpp resource of app
pushtoken optional String: Push Notification Token. Client identifier to be used with the APNS to send notifications. Empty String if client doesn't have enabled push notifications
badgenumber optional Integer: Badge number of app
pushsound optional String: Push Notification Sound. Sound name (including extension) configured by the user for notifications
lang optional String: User language for custom push notification

###Return JSON

{
 "success": True, 
 "reason": "ok", 
}

###success True or False

###reason ok when success == True or string message when success == False

Clone this wiki locally