Update existing app

post
Update existing app

https://APITOKEN@api.appetize.io/v1/apps/:publicKey
Updates existing app, maintains same publicKey. Your API token must be provisioned to the same account where the app was uploaded. To replace a previously set field, use a value of null. The POST body must be a JSON object.
Request
Response
Request
Path Parameters
publicKey
required
string
publicKey for the app
Body Parameters
url
optional
string
A publicly accessible link to your .zip, .tar.gz, or .apk file.
platform
optional
string
ios or android, defaults to the current app platform.
fileType
optional
string
The type of file that the url points to. Must be zip, tar.gz, or apk. Default is zip for ios, apk for android.
note
optional
string
A note for your own purposes, will appear on your management dashboard.
timeout
optional
number
The number of seconds to wait until automatically ending the session due to user inactivity. Must be 30, 60, 90, 120, 180, 300, 600, 1800, 3600 or 7200, default is 120.
disabled
optional
boolean
Disables streaming for this app.
disableHome
optional
boolean
Disables the home button on the iOS simulator when available.
useLastFrame
optional
boolean
Show the last image on the screen in the simulator after session ends.
buttonText
optional
string
Customize the message prompting the user to start the session, default is "Tap to play".
postSessionButtonText
optional
string
Customize the message prompting the user to restart the session, default is "Tap to play".
launchUrl
optional
string
Specify a deep link to bring your users to a specific location when your app is launched.
appPermissions
optional
object
Values for each field determine who can perform the specified action. Values "authenticated" - must be authenticated into your account "public" - anybody with app's publicKey (26-character unguessable string) null - resets to default Fields run: run your app networkProxy: specify a network proxy when running app networkIntercept: use Appetize.io's intercepting proxy when running the app debugLog: view your app's NSLog or Logcat output adbConnect: debug your app by connecting ADB to the hosted emulator androidPackageManager: allow the installation of additional APK's while your app is running
Response
200: OK
{
"publicKey": "p7nww3n6ubq73r1nh9jtauqy8w",
"created": "2016-02-10T17:46:14.089Z",
"updated": "2016-02-10T17:46:14.089Z",
"platform": "ios",
"versionCode": 2 // increments with each update
}